[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29105] trunk/blender/source/blender/ python/doc/blender-org/static/default.css_t: == Sphinx theme ==

Alex Sytnik the.smerch at gmail.com
Mon May 31 13:04:09 CEST 2010


Revision: 29105
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29105
Author:   smerch
Date:     2010-05-31 13:04:09 +0200 (Mon, 31 May 2010)

Log Message:
-----------
== Sphinx theme ==

First aproach to color things.
1. Classes, functions, methods and attributes are colored.
   * classes        - #82A3C7 
   * functions      - #FCB100
   * methods        - #FCB100
   * attributes     - #FCB100
2. Corresponding descriptions colors are shades of it's base color.
   * class desc     - #637B96
   * function desc  - #CB8F00
   * method desc    - #CB8F00
   * attribute desc - #CB8F00
3. Parameters 
   of func/methods  - #97B9CF
   and it's desc    - #728C96
4. Permalink background 
   changed to gray  - #333
5. 'Description:''Parameters:' etc aligned to the right.
6. Description paragraph no longer indented from other items.

I note that the idea of the colors belongs to mindrones, 
as well as the merit of the first beta-tester.

P.S. any comments and suggestions are welcome.

Modified Paths:
--------------
    trunk/blender/source/blender/python/doc/blender-org/static/default.css_t

Modified: trunk/blender/source/blender/python/doc/blender-org/static/default.css_t
===================================================================
--- trunk/blender/source/blender/python/doc/blender-org/static/default.css_t	2010-05-31 10:21:57 UTC (rev 29104)
+++ trunk/blender/source/blender/python/doc/blender-org/static/default.css_t	2010-05-31 11:04:09 UTC (rev 29105)
@@ -412,37 +412,62 @@
 }
 
 dl.function>dt em, dl.method>dt em {
-    color: #999;
+    color: #97b9cf;
 }
 
+dl.function>dd em, dl.method>dd em {
+    color: #97b9cf;
+    font-weight:bold;
+}
+
+dl.function table.field-list td.field-body {
+    color: #728c96;
+}
+
 dl.function>dt em:before, dl.method>dt em:before {
     content: " ";
     display: block;
 }
 
-dl.function>dd>p,dl.method>dd>p,dl.attribute>dd>p,dl.class>dd>p:first-child {
+dl.function>dd>p,dl.method>dd>p,dl.attribute>dd>p {
     color: #999;
 }
 
-dl.function>dd>p, dl.method>dd>p, dl.attribute>dd>p {
-    margin-left: 112px;
+dl.class>dt {
+    color: #82a3c7;
 }
 
-dl.function>dd>p:first-child, dl.method>dd>p:first-child, dl.attribute>dd>p:first-child {
-    text-indent: -112px;
+dl.class>dd>p {
+    color: #637b96;
 }
 
+dl.function>dt,dl.method>dt,dl.attribute>dt {
+    color: #fcb100;
+}
+
+dl.function>dd>p:first-child,dl.method>dd>p:first-child,dl.attribute>dd>p:first-child {
+    color: #cb8f00;
+}
+
+dl.function>dd>p, dl.method>dd>p, dl.attribute>dd>p {
+    margin: 0 0 3px 112px;
+}
+
 dl.function>dd>p:first-child:before, dl.method>dd>p:first-child:before, dl.attribute>dd>p:first-child:before {
     content:"Description:";
-    color:white;
+    color:#555;
     font-weight:bold;
-    width:112px;
+    font-style:normal;
+    width:95px;
     display:inline-block;
-    float:left;
+    margin-left:-112px;
+    text-align:right;
+    padding-right:17px;
 }
 
 dt:target, .highlight {
     color: #444;
+    background: #333;
 }
 
 tt {
@@ -468,7 +493,9 @@
 }
 
 table.field-list th {
-    color:white;
+    color:#555;
+    padding-right:5px;
+    text-align:right;
 }
 
 table.field-list td.field-body {





More information about the Bf-blender-cvs mailing list