[Checkins] SVN: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml Added CSS classes for extended ReST markup.

Uli Fouquet uli at gnufix.de
Mon Jan 14 13:07:47 EST 2008


Log message for revision 82874:
  Added CSS classes for extended ReST markup.

Changed:
  U   gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml

-=-
Modified: gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml
===================================================================
--- gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml	2008-01-14 17:03:20 UTC (rev 82873)
+++ gzo.plonesmashtheme/trunk/gzo/plonesmashtheme/skins/smash_styles/gzo.plonesmashtheme.css.dtml	2008-01-14 18:07:46 UTC (rev 82874)
@@ -636,10 +636,64 @@
   font-size: medium;
 }
 
+/* Previous/Next links */
+
+.listingBar {
+    vertical-align: top;
+    margin: 0.5em 0 2em 0;
+}
+
+.listingPrevious {
+    float: left;
+}
+
+.listingNext {
+    text-align: right;
+    float: right;
+    margin-left: 1em;
+}
+
+/* 
+  -------------------------
+  ReStructured Text Classes 
+  -------------------------
+*/
+/*
+  Document-Info, i.e. metadata like 'author'
+  ------------------------------------------
+*/
+.docinfo {} /* Table that contains docinfos */
+.docinfo-name {} /* Table-headomg cell that contains a meta field 
+                    description */
+
+/* 
+  Directives, i.e. divs with an included text-block 
+  -------------------------------------------------
+*/
 .desc-function {
     margin-left: 2em;
 }
+.desc-data {}
+.desc-class {}
+.desc-method {}
+.desc-attribute {}
+.desc-exception {}
+.desc-cmdoption {}
+.desc-envvar {}
+.desc-describe {}
 
+/*
+  seealso, versionchanged, versionadded and deprecated are admonitions, whose
+  first line (i.e. the heading text like 'Changed in version 0.11:') is 
+  attributed with class 'admonition-title'.
+
+  Furthermore the first line has class 'first' and the last line 'last'.
+*/
+.admonition-title {}
+.first {}
+.last {}
+
+/* Directives with titles */
 .seealso {
     background-color: #efffee;
     border-top: 1px solid #f1f1f1;
@@ -656,21 +710,42 @@
     padding-right: 0.5em;
 }
 
-/* Previous/Next links */
+.versionadded {}
+.deprecated {}
 
-.listingBar {
-    vertical-align: top;
-    margin: 0.5em 0 2em 0;
-}
 
-.listingPrevious {
-    float: left;
-}
+/*
+  Text-Roles, i.e. short terms with special markup
+  ------------------------------------------------
+*/
 
-.listingNext {
-    text-align: right;
-    float: right;
-    margin-left: 1em;
-}
+/* All role terms are (additionally) attributed 'role' */
+.role {} 
 
+.role-data {}
+.role-exc {}
+.role-func {}
+.role-class {}
+.role-const {}
+.role-attr {}
+.role-meth {}
+.role-cfunc {}
+.role-cdata {}
+.role-ctype {}
+.role-cmacro {}
+.role-mod {}
+.role-keyword {}
+.role-ref {}
+.role-token {}
+.role-term {}
+.role-file {}
+.role-samp {}
+
+/* 
+  Misc. ReStructured Text classes 
+  -------------------------------
+*/
+div.highlight {} /* Source code block with inline CSS */
+
+
 /* </dtml-with> (please do not molest the dtml) */



More information about the Checkins mailing list