--- a/doc/book/en/standard_theme/static/lglb-sphinx-doc.css Tue Apr 20 15:35:13 2010 +0200
+++ b/doc/book/en/standard_theme/static/lglb-sphinx-doc.css Tue Apr 20 18:32:42 2010 +0200
@@ -1,8 +1,8 @@
/**
- * Sphinx stylesheet -- Logilab theme
+ * Sphinx stylesheet -- CubicWeb theme
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
- * Inspired from sphinxdoc original theme.
+ * Inspired from sphinxdoc original theme and logilab theme.
*/
@import url("basic.css");
@@ -10,24 +10,16 @@
/* -- page layout ----------------------------------------------------------- */
body {
- font-family: 'Bitstream Vera Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
- 'Verdana', sans-serif;
+ font-family: 'Bitstream Vera Sans', 'Lucida Grande', 'Lucida Sans Unicode',
+ 'Geneva', 'Verdana', sans-serif;
font-size: 14px;
line-height: 150%;
text-align: center;
- background-color: #D0D0D0;
- color: #000000;
padding: 0;
- border: 1px solid #CCBCA7;
- min-width: 640px;
- margin: 0px 30px 0px 30px;
}
div.document {
- background-color: #FFFFFF;
text-align: left;
- background-image: url(contents.png);
- background-repeat: repeat-x;
}
div.bodywrapper {
@@ -41,19 +33,21 @@
}
div.header {
- margin: 0;
- padding: 5px 5px 25px 5px;
- background-color: #FFFFFF;
text-align: left;
- line-height: 80%;
}
div.related {
+ background-color: #FF7700;
+ color: white;
+ font-weight: bolder;
font-size: 1em;
}
+div.related a {
+ color: white;
+}
+
div.related ul {
- background-image: url(navigation.png);
height: 2em;
border-top: 1px solid #CCBCA7;
border-bottom: 1px solid #CCBCA7;
@@ -91,21 +85,13 @@
}
div.sphinxsidebar h3, div.sphinxsidebar h4 {
- margin: 1em 0 0.5em 0;
- font-size: 1em;
- padding: 0.1em 0 0.1em 0.5em;
- color: white;
- border: 1px solid #CCBCA7;
- background-color: #909090;
-}
-
-div.sphinxsidebar h3 a {
- color: white;
+ font-size: 1.2em;
+ font-style: italic;
}
div.sphinxsidebar ul {
padding-left: 1.5em;
- margin-top: 7px;
+ margin-top: 15px;
padding: 0;
line-height: 130%;
font-weight: bold;
@@ -127,16 +113,14 @@
}
div.footer {
- background-color: #FFFFFF;
- color: #707070;
+ color: orangered;
padding: 3px 8px 3px 0;
clear: both;
font-size: 0.8em;
- text-align: right;
+ text-align: center;
}
div.footer a {
- color: #707070;
text-decoration: underline;
}
@@ -155,15 +139,16 @@
}
a {
- color: #B45300;
+ color: orangered;
+ text-decoration: none;
+}
+
+div.sphinxsidebar a {
+ color: black;
text-decoration: none;
}
a:hover {
- color: #4BACFF;
-}
-
-div.body a {
text-decoration: underline;
}
@@ -171,8 +156,7 @@
margin: 0;
padding: 0.7em 0 0.3em 0;
font-size: 1.5em;
- border-bottom: 3px solid #CC8B00;
- color: #404040;
+ border-bottom: 1px dotted;
}
h2 {