[Zope3-checkins] SVN: Zope3/trunk/src/zwiki/browser/skin/wiki.css Added to zwiki's CSS some actual handling of the ReST 'figure' object.

Derrick Hudson dman at dman13.dyndns.org
Fri Feb 25 21:46:36 EST 2005


Log message for revision 29306:
  Added to zwiki's CSS some actual handling of the ReST 'figure' object.
  Instead the image and caption appearing as plain paragraphs, they are
  highlighted and offset from surrounding entities.
  

Changed:
  U   Zope3/trunk/src/zwiki/browser/skin/wiki.css

-=-
Modified: Zope3/trunk/src/zwiki/browser/skin/wiki.css
===================================================================
--- Zope3/trunk/src/zwiki/browser/skin/wiki.css	2005-02-26 02:44:58 UTC (rev 29305)
+++ Zope3/trunk/src/zwiki/browser/skin/wiki.css	2005-02-26 02:46:36 UTC (rev 29306)
@@ -120,3 +120,29 @@
     float: right;
     text-align: left;
 }
+
+
+/* The ReST->HTML generator uses these classes for figures.  */
+
+.figure
+    {
+    margin: 15px;
+    padding: 5px;
+    border-style: dotted;
+    border-width: 1px;
+    background: LightGray;
+    }
+
+img > .figure
+    {
+    text-align: center;  /* this doesn't seem to work */
+    margin: 5px;
+    padding-left: 10px;
+    }
+
+.caption
+    {
+    font-style: italic;
+    /* text-align: center; */
+    }
+



More information about the Zope3-Checkins mailing list