Changeset 242 for trunk/docs


Ignore:
Timestamp:
Jan 22, 2006, 11:15:33 AM (14 years ago)
Author:
cito
Message:

Updated default style sheet to docutils 0.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/default.css

    r213 r242  
    22:Author: David Goodger
    33:Contact: goodger@users.sourceforge.net
    4 :Date: $Date: 2005-09-08 20:09:50 $
    5 :Version: $Revision: 1.1 $
     4:Date: $Date: 2006-01-22 16:15:33 $
     5:Revision: $Revision: 1.2 $
    66:Copyright: This stylesheet has been placed in the public domain.
    77
    88Default cascading style sheet for the HTML output of Docutils.
     9
     10See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
     11customize this style sheet.
    912*/
    1013
    11 /* "! important" is used here to override other ``margin-top`` and
    12    ``margin-bottom`` styles that are later in the stylesheet or
    13    more specific.  See http://www.w3.org/TR/CSS1#the-cascade */
     14/* used to remove borders from tables and images */
     15.borderless, table.borderless td, table.borderless th {
     16  border: 0 }
     17
     18table.borderless td, table.borderless th {
     19  /* Override padding for "table.docutils td" with "! important".
     20     The right padding separates the table cells. */
     21  padding: 0 0.5em 0 0 ! important }
     22
    1423.first {
     24  /* Override more specific margin styles with "! important". */
    1525  margin-top: 0 ! important }
    1626
     
    8191
    8292div.figure {
    83   margin-left: 2em }
     93  margin-left: 2em ;
     94  margin-right: 2em }
    8495
    8596div.footer, div.header {
     97  clear: both;
    8698  font-size: smaller }
    8799
     
    139151  width: 75% }
    140152
     153img.align-left {
     154  clear: left }
     155
     156img.align-right {
     157  clear: right }
     158
    141159ol.simple, ul.simple {
    142160  margin-bottom: 1em }
     
    195213  font-size: 100% }
    196214
    197 pre.line-block {
    198   font-family: serif ;
    199   font-size: 100% }
    200 
    201215pre.literal-block, pre.doctest-block {
    202216  margin-left: 2em ;
     
    225239
    226240span.section-subtitle {
    227   /* font-size relative to parent (<h#> element) */
     241  /* font-size relative to parent (h1..h6 element) */
    228242  font-size: 80% }
    229243
    230244table.citation {
    231   border-left: solid thin gray }
     245  border-left: solid 1px gray;
     246  margin-left: 1px }
    232247
    233248table.docinfo {
     
    239254
    240255table.footnote {
    241   border-left: solid thin black }
     256  border-left: solid 1px black;
     257  margin-left: 1px }
    242258
    243259table.docutils td, table.docutils th,
Note: See TracChangeset for help on using the changeset viewer.