[Checkins] SVN: buildout-website/trunk/source/_static/default.css Sync with Sphinx default css

Baiju M baiju.m.mail at gmail.com
Wed Apr 22 16:30:23 EDT 2009


Log message for revision 99408:
  Sync with Sphinx default css
  

Changed:
  U   buildout-website/trunk/source/_static/default.css

-=-
Modified: buildout-website/trunk/source/_static/default.css
===================================================================
--- buildout-website/trunk/source/_static/default.css	2009-04-22 19:41:29 UTC (rev 99407)
+++ buildout-website/trunk/source/_static/default.css	2009-04-22 20:30:23 UTC (rev 99408)
@@ -1,6 +1,6 @@
 /**
- * Sphinx stylesheet -- buildout theme
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * Sphinx stylesheet -- default theme
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
 
 @import url("basic.css");
@@ -17,120 +17,134 @@
 }
 
 div.document {
-    background-color: #1c4e63;
+    background-color: {{ theme_sidebarbgcolor }};
 }
 
 div.body {
-    background-color: #ffffff;
-    color: #000000;
+    background-color: {{ theme_bgcolor }};
+    color: {{ theme_textcolor }};
     padding: 0 20px 30px 20px;
 }
 
+{%- if theme_rightsidebar|tobool %}
+div.bodywrapper {
+    margin: 0 230px 0 0;
+}
+{%- endif %}
+
 div.footer {
-    color: #ffffff;
+    color: {{ theme_footertextcolor }};
+    width: 100%;
     padding: 9px 0 9px 0;
     text-align: center;
     font-size: 75%;
 }
 
 div.footer a {
-    color: #ffffff;
+    color: {{ theme_footertextcolor }};
     text-decoration: underline;
 }
 
-div.related { /* horizontal bar across the top */
-    background-color: #272D7B /* was #133f52 */;
+div.related {
+    background-color: {{ theme_relbarbgcolor }};
     line-height: 30px;
-    color: #ffffff;
+    color: {{ theme_relbartextcolor }};
 }
 
 div.related a {
-    color: #ffffff;
+    color: {{ theme_relbarlinkcolor }};
 }
 
 div.sphinxsidebar {
+    {%- if theme_stickysidebar|tobool %}
+    top: 30px;
+    margin: 0;
+    position: fixed;
+    overflow: auto;
+    height: 100%;
+    {%- endif %}
+    {%- if theme_rightsidebar|tobool %}
+    float: right;
+    {%- if theme_stickysidebar|tobool %}
+    right: 0;
+    {%- endif %}
+    {%- endif %}
 }
 
-div.sphinxsidebar h3 {
-    font-family:		'Trebuchet MS', sans-serif;
-    font-size:			1.2em;
-    font-weight:		normal;
+{%- if theme_stickysidebar|tobool %}
+/* this is nice, but it it leads to hidden headings when jumping
+   to an anchor */
+/*
+div.related {
+    position: fixed;
+}
 
-    color:			#ffffff;
-    margin:			0;
+div.documentwrapper {
+    margin-top: 30px;
+}
+*/
+{%- endif %}
 
-    background-color:		#272D7B; /* blueprint blue */
-    padding:			4px 4px 4px 4px;
-
-    -moz-border-radius:		5px;
-    -webkit-border-radius:	5px;
-    border:			2px solid #878DDB;
+div.sphinxsidebar h3 {
+    font-family: {{ theme_headfont }};
+    color: {{ theme_sidebartextcolor }};
+    font-size: 1.4em;
+    font-weight: normal;
+    margin: 0;
+    padding: 0;
 }
 
 div.sphinxsidebar h3 a {
-  color:			#ffffff;
+    color: {{ theme_sidebartextcolor }};
 }
 
 div.sphinxsidebar h4 {
-  font-family:			'Trebuchet MS', sans-serif;
-  color:			#ffffff;
-  background-color:		#272D7B; /* blueprint blue */
-  font-size:			1.3em;
-  font-weight:			normal;
-  margin:			5px 0 0 0;
-  padding:			4px 4px 4px 4px;
-  -moz-border-radius:		5px;
-  -webkit-border-radius:	5px;
-  border:			2px solid #878DDB;
+    font-family: {{ theme_headfont }};
+    color: {{ theme_sidebartextcolor }};
+    font-size: 1.3em;
+    font-weight: normal;
+    margin: 5px 0 0 0;
+    padding: 0;
 }
 
 div.sphinxsidebar p {
-  color:			#ffffff;
+    color: {{ theme_sidebartextcolor }};
 }
 
 div.sphinxsidebar p.topless {
-  margin:			5px 10px 10px 10px;
+    margin: 5px 10px 10px 10px;
 }
 
 div.sphinxsidebar ul {
-  margin:			10px;
-  padding:			0;
-  color:			#ffffff;
+    margin: 10px;
+    padding: 0;
+    color: {{ theme_sidebartextcolor }};
 }
 
 div.sphinxsidebar a {
-  color:			#B8EBFC /*#98dbcc*/;
-  background-color:		#272D7B; /* blueprint blue */
-  padding:			4px 4px 4px 4px;
-  font-size:			1.2em;
-  font-weight:			bold;
+    color: {{ theme_sidebarlinkcolor }};
 }
 
-div.sphinxsidebar a:hover {
-  color:			white;
-  text-decoration:		none;
-}
-
 div.sphinxsidebar input {
-  border:			1px solid #98dbcc;
-  font-family:			sans-serif;
-  font-size:			1em;
+    border: 1px solid {{ theme_sidebarlinkcolor }};
+    font-family: sans-serif;
+    font-size: 1em;
 }
 
 /* -- body styles ----------------------------------------------------------- */
 
 a {
-  color:			#355f7c;
-  text-decoration:		none;
+    color: {{ theme_linkcolor }};
+    text-decoration: none;
 }
 
 a:hover {
-  text-decoration:		underline;
+    text-decoration: underline;
 }
 
 div.body p, div.body dd, div.body li {
-  text-align:			justify;
-  line-height:			130%;
+    text-align: justify;
+    line-height: 130%;
 }
 
 div.body h1,
@@ -139,10 +153,10 @@
 div.body h4,
 div.body h5,
 div.body h6 {
-    font-family: 'Trebuchet MS', sans-serif;
-    background-color: #f2f2f2;
+    font-family: {{ theme_headfont }};
+    background-color: {{ theme_headbgcolor }};
     font-weight: normal;
-    color: #20435c;
+    color: {{ theme_headtextcolor }};
     border-bottom: 1px solid #ccc;
     margin: 20px -20px 10px -20px;
     padding: 3px 0 3px 10px;
@@ -156,103 +170,69 @@
 div.body h6 { font-size: 100%; }
 
 a.headerlink {
-  color:		#c60f0f;
-  font-size:		0.8em;
-  padding:		0 4px 0 4px;
-  text-decoration:	none;
+    color: {{ theme_headlinkcolor }};
+    font-size: 0.8em;
+    padding: 0 4px 0 4px;
+    text-decoration: none;
 }
 
 a.headerlink:hover {
-  background-color:	#c60f0f;
-  color:		white;
+    background-color: {{ theme_headlinkcolor }};
+    color: white;
 }
 
 div.body p, div.body dd, div.body li {
-  text-align:		justify;
-  line-height:		130%;
+    text-align: justify;
+    line-height: 130%;
 }
 
 div.admonition p.admonition-title + p {
-  display:		inline;
+    display: inline;
 }
 
 div.note {
-  background-color:	#eee;
-  border:		1px solid #ccc;
+    background-color: #eee;
+    border: 1px solid #ccc;
 }
 
 div.seealso {
-  background-color:	#ffc;
-  border:		1px solid #ff6;
+    background-color: #ffc;
+    border: 1px solid #ff6;
 }
 
 div.topic {
-  background-color:	#eee;
+    background-color: #eee;
 }
 
 div.warning {
-  background-color:	#ffe4e4;
-  border:		1px solid #f66;
+    background-color: #ffe4e4;
+    border: 1px solid #f66;
 }
 
 p.admonition-title {
-  display:		inline;
+    display: inline;
 }
 
 p.admonition-title:after {
-  content:		":";
+    content: ":";
 }
 
 pre {
-  padding:		5px;
-  background-color:	#eeffcc;
-  color:		#333333;
-  line-height:		120%;
-  border:		1px solid #ac9;
-  border-left:		none;
-  border-right:		none;
+    padding: 5px;
+    background-color: {{ theme_codebgcolor }};
+    color: {{ theme_codetextcolor }};
+    line-height: 120%;
+    border: 1px solid #ac9;
+    border-left: none;
+    border-right: none;
 }
 
 tt {
-  background-color:	#ecf0f3;
-  padding:		0 1px 0 1px;
-  font-size:		0.95em;
+    background-color: #ecf0f3;
+    padding: 0 1px 0 1px;
+    font-size: 0.95em;
 }
 
-div.mainbody {
-  background-color: #ffffff;
-  color: #000000;
-  padding: 0 20px 30px 20px;
-  background-image: url(grad1.jpg);
-  background-repeat: repeat-x;
-}
-
-div.maintitle { 
-  padding-top: 15px;
-  font-size: 29px;
-  text-align: center;
-  font-weight: bold;
-}
-
-div.maindescription {
-  font-size: 19px;
-  font-weight: bold;
-}
-
-div.maindescription p {
-  text-align: center;
-  color: gray;
-}
-
-ul.mainlinks {
-  margin: 0;
-  list-style-type: none;
-}
-
-ul.mainlinks li {
-  display: inline;
-}
-
 ul.mainlinks li a {
   float: left;
   padding: 15px;
@@ -282,15 +262,6 @@
   text-align: center;
 }
 
-/*
-.clearall {
-  float:		right;
-  clear:		left;
-  width:		40%;
-  border:		4px solid red !important;
-}
-*/
-
 .creatorandusers { 
   margin: 40px auto 0;
   width: 710px;



More information about the Checkins mailing list