[Lxml-checkins] r39548 - lxml/trunk/doc/html

scoder at codespeak.net scoder at codespeak.net
Wed Feb 28 08:52:48 CET 2007


Author: scoder
Date: Wed Feb 28 08:52:46 2007
New Revision: 39548

Modified:
   lxml/trunk/doc/html/style.css
Log:
print support in CSS

Modified: lxml/trunk/doc/html/style.css
==============================================================================
--- lxml/trunk/doc/html/style.css	(original)
+++ lxml/trunk/doc/html/style.css	Wed Feb 28 08:52:46 2007
@@ -5,12 +5,29 @@
     padding: 1em;
 }
 
+
+ at media screen {
+    div.document {
+        width: 45em;
+        padding-left: 21em;
+        background-color: white;
+    }
+}
+
+ at media print {
+    div.document {
+        width: auto;
+        padding-left: 0px;
+    }
+
+    div.sidemenu {
+        display: none;
+    }
+}
+
 div.document {
-    width: 45em;
     font: 13px Arial, Verdana, Helvetica, sans-serif;
     margin: 1em auto 1em auto;
-    padding-left: 20em;
-    background-color: white;
     color: #222;
     text-align: left;
 }
@@ -22,21 +39,27 @@
 }
 
 div.contents.topic > ul > li {
+    text-decoration: none;
     line-height: 1.1em;
 }
 
+div.contents.topic > p > a {
+    text-decoration: none;
+}
+
 /*** side menu ***/
 
 div.sidemenu {
     position: fixed;
     top: 0px;
     left: 0px;
-    width: 20em;
+    width: 22em;
     font-size: 11px;
     text-align: left;
     border-right: groove gray;
     border-bottom: groove gray;
     padding-right: 1ex;
+    background-color: #FFFAFA;
 }
 
 div.sidemenu span.section.title {
@@ -47,7 +70,7 @@
 div.sidemenu ul.menu.current > li {
     color: orange;
     border: groove orange;
-    background-color: yellow;
+    background-color: #FFFACA;
 }
 
 div.sidemenu ul.menu.current ul.submenu {
@@ -67,7 +90,7 @@
     margin-top: 0px;
     margin-left: 4em;
     margin-right: -20em;
-    background-color: white;
+    background-color: #FFFACA;
 }
 
 div.sidemenu ul.submenu {
@@ -95,6 +118,14 @@
     font-family: Helvetica, sans-serif;
 }
 
+ at media screen {
+    div.section > h1 > a:before {
+        margin-left: -2ex;
+        color: orange;
+        content: "\00BB" " ";
+    }
+}
+
 h1 {
     font-size: 150%;
 }


More information about the lxml-checkins mailing list