milde | 11 May 2012 23:06
Picon

SF.net SVN: docutils:[7434] trunk/docutils/docutils/writers/html4css1/ html4css1.css

Revision: 7434
          http://docutils.svn.sourceforge.net/docutils/?rev=7434&view=rev
Author:   milde
Date:     2012-05-11 21:06:27 +0000 (Fri, 11 May 2012)
Log Message:
-----------
Basic CSS rules for (source)code (margin, background, linenumbers).

Modified Paths:
--------------
    trunk/docutils/docutils/writers/html4css1/html4css1.css

Modified: trunk/docutils/docutils/writers/html4css1/html4css1.css
===================================================================
--- trunk/docutils/docutils/writers/html4css1/html4css1.css	2012-05-11 21:03:07 UTC (rev 7433)
+++ trunk/docutils/docutils/writers/html4css1/html4css1.css	2012-05-11 21:06:27 UTC (rev 7434)
 <at>  <at>  -240,10 +240,18  <at>  <at> 
   margin-top: 0 ;
   font: inherit }

-pre.literal-block, pre.doctest-block, pre.math {
+pre.literal-block, pre.doctest-block, pre.math, pre.code {
   margin-left: 2em ;
   margin-right: 2em }

+pre.code .ln { /* line numbers */
+  color: grey;
+}
+
+.code {
+  background-color: #eeeeee
+}
+
 span.classifier {
   font-family: sans-serif ;
   font-style: oblique }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane