Просмотр исходного кода

Documentation: Merge css changes for consistency + validation

[SVN r72558]
Daniel James 15 лет назад
Родитель
Сommit
29d7065312
1 измененных файлов с 18 добавлено и 8 удалено
  1. 18 8
      doc/src/boostbook.css

+ 18 - 8
doc/src/boostbook.css

@@ -72,12 +72,12 @@
         font-weight: bold;
         font-weight: bold;
     }
     }
 
 
-    h1 { font: 140% }
-    h2 { font: bold 140% }
-    h3 { font: bold 130% }
-    h4 { font: bold 120% }
-    h5 { font: italic 110% }
-    h6 { font: italic 100% }
+    h1 { font-size: 140%; }
+    h2 { font-weight: bold; font-size: 140%; }
+    h3 { font-weight: bold; font-size: 130%; }
+    h4 { font-weight: bold; font-size: 120%; }
+    h5 { font-weight: normal; font-style: italic; font-size: 110%; }
+    h6 { font-weight: normal; font-style: italic; font-size: 100%; }
 
 
     /* Top page titles */
     /* Top page titles */
     title,
     title,
@@ -221,7 +221,11 @@
 	
 	
     /* Code on toc */
     /* Code on toc */
     .toc .computeroutput { font-size: 120% }
     .toc .computeroutput { font-size: 120% }
-	
+
+    /* No margin on nested menus */
+
+    .toc dl dl { margin: 0; }
+
 /*=============================================================================
 /*=============================================================================
     Tables
     Tables
 =============================================================================*/
 =============================================================================*/
@@ -586,11 +590,17 @@ sub {
 	height: 0;
 	height: 0;
 	line-height: 1;
 	line-height: 1;
 	vertical-align: baseline;
 	vertical-align: baseline;
-	_vertical-align: bottom;
 	position: relative;
 	position: relative;
 	
 	
 }
 }
 
 
+/* For internet explorer: */
+
+* html sup,
+* html sub {
+	vertical-align: bottom;
+}
+
 sup {
 sup {
 	bottom: 1ex;
 	bottom: 1ex;
 }
 }

粤ICP备19079148号