Parcourir la source

HADOOP-5466. Change documenation CSS style for headers and code. (Corinne Chandel via szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@753451 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze il y a 16 ans
Parent
commit
c23474fac1
2 fichiers modifiés avec 23 ajouts et 0 suppressions
  1. 3 0
      CHANGES.txt
  2. 20 0
      src/docs/src/documentation/skinconf.xml

+ 3 - 0
CHANGES.txt

@@ -341,6 +341,9 @@ Release 0.20.0 - Unreleased
 
     HADOOP-4191. Adds a testcase for JobHistory. (Ravi Gummadi via ddas)
 
+    HADOOP-5466. Change documenation CSS style for headers and code. (Corinne
+    Chandel via szetszwo)
+
   OPTIMIZATIONS
 
     HADOOP-3293. Fixes FileInputFormat to do provide locations for splits

+ 20 - 0
src/docs/src/documentation/skinconf.xml

@@ -141,6 +141,26 @@ which will be used to configure the chosen Forrest skin.
       background-color: #f0f0f0;
       font-family: monospace;
     }
+    
+    <!--Headers -->
+	#content h1 {
+	  margin-bottom: .5em;
+	  font-size: 200%; color: black;
+	  font-family: arial;
+	}  
+    h2, .h3 { font-size: 195%; color: black; font-family: arial; }
+	h3, .h4 { font-size: 140%; color: black; font-family: arial; margin-bottom: 0.5em; }
+	h4, .h5 { font-size: 125%; color: black;  font-style: italic; font-weight: bold; font-family: arial; }
+	h5, h6 { font-size: 110%; color: #363636; font-weight: bold; } 
+   
+   <!--Code Background -->
+    pre.code {
+      margin-left: 0em;
+      padding: 0.5em;
+      background-color: rgb(241,239,231);
+      font-family: monospace;
+    }   
+    
   </extra-css>
 
   <colors>