Changeset 521

Show
Ignore:
Timestamp:
08/06/09 10:59:52 (3 years ago)
Author:
david
Message:

updating doc styles

Location:
enpraxis.staticsite/trunk/enpraxis/staticsite/docs
Files:
2 added
2 removed
1 modified

Legend:

Unmodified
Added
Removed
  • enpraxis.staticsite/trunk/enpraxis/staticsite/docs/web.css

    r483 r521  
     1/* 
     2:Author: David Goodger 
     3:Contact: goodger@users.sourceforge.net 
     4:Date: $Date: 2005-09-23 15:58:00 -0600 (Fri, 23 Sep 2005) $ 
     5:Revision: $Revision: 1964 $ 
     6:Copyright: This stylesheet has been placed in the public domain. 
     7t 
     8Default 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. 
     12*/ 
     13 
     14/* "! important" is used here to override other ``margin-top`` and 
     15   ``margin-bottom`` styles that are later in the stylesheet or  
     16   more specific.  See http://www.w3.org/TR/CSS1#the-cascade */ 
     17 
    118body { 
    2     font-family: Arial, Helvetica, sans-serif; 
    3     font-size: .8em; 
    4     margin: 0; 
    5     padding:0; 
    6 } 
     19  
     20  background: #173682; 
     21  font-size: .9em; 
     22  text-align:center; 
     23  font-family: Arial, Helvetica, sans-serif; 
     24  margin: 0; 
     25  padding:0; 
     26} 
     27 
     28.document { 
     29  width: 960px; 
     30  margin:0 auto; 
     31  padding: 0 5px 0 5px; 
     32  color: #666; 
     33  border: 1px solid black; 
     34  text-align: left; 
     35  background: #E8E8E8;   
     36} 
     37 
     38.document h1 { 
     39  padding: 0; 
     40} 
     41 
     42.document a:link, .document a:visited, .document a:hover, .document a:active { 
     43  color: #CC6600; 
     44} 
     45 
     46.first { 
     47  margin-top: 0 ! important } 
     48 
     49.last, .with-subtitle { 
     50  margin-bottom: 0 ! important } 
     51 
     52.hidden { 
     53  display: none } 
     54 
     55a.toc-backref { 
     56  text-decoration: none ; 
     57  color: black } 
     58 
     59blockquote.epigraph { 
     60  margin: 2em 5em ; } 
     61 
     62dl.docutils dd { 
     63  margin-bottom: 0.5em } 
     64 
     65/* Uncomment (and remove this text!) to get bold-faced definition list terms 
     66dl.docutils dt { 
     67  font-weight: bold } 
     68*/ 
     69 
     70div.abstract { 
     71  margin: 2em 5em } 
     72 
     73div.abstract p.topic-title { 
     74  font-weight: bold ; 
     75  text-align: center } 
     76 
     77div.admonition, div.attention, div.caution, div.danger, div.error, 
     78div.hint, div.important, div.note, div.tip, div.warning { 
     79  margin: 2em ; 
     80  border: medium outset ; 
     81  padding: 1em } 
     82 
     83div.admonition p.admonition-title, div.hint p.admonition-title, 
     84div.important p.admonition-title, div.note p.admonition-title, 
     85div.tip p.admonition-title { 
     86  font-weight: bold ; 
     87   } 
     88 
     89div.attention p.admonition-title, div.caution p.admonition-title, 
     90div.danger p.admonition-title, div.error p.admonition-title, 
     91div.warning p.admonition-title { 
     92  color: red ; 
     93  font-weight: bold ; 
     94   } 
     95 
     96/* Uncomment (and remove this text!) to get reduced vertical space in 
     97   compound paragraphs. 
     98div.compound .compound-first, div.compound .compound-middle { 
     99  margin-bottom: 0.5em } 
     100 
     101div.compound .compound-last, div.compound .compound-middle { 
     102  margin-top: 0.5em } 
     103*/ 
     104 
     105div.dedication { 
     106  margin: 2em 5em ; 
     107  text-align: center ; 
     108  font-style: italic } 
     109 
     110div.dedication p.topic-title { 
     111  font-weight: bold ; 
     112  font-style: normal } 
     113 
     114div.figure { 
     115  margin-left: 2em } 
     116 
     117div.header { 
     118  clear: both; 
     119  font-size: smaller; 
     120  text-align: center; 
     121   
     122} 
     123 
     124div.footer { 
     125  clear: both; 
     126  font-size: smaller; 
     127  text-align: center; 
     128  padding-top: 5px; 
     129 
     130} 
     131 
     132hr.footer { 
     133  display: none; 
     134} 
     135 
     136 
     137 
     138 
     139 
     140div.footer a { 
     141  color: #fff; 
     142  text-decoration: underline; 
     143} 
     144 
     145div.line-block { 
     146  display: block ; 
     147  margin-top: 1em ; 
     148  margin-bottom: 1em } 
     149 
     150div.line-block div.line-block { 
     151  margin-top: 0 ; 
     152  margin-bottom: 0 ; 
     153  margin-left: 1.5em } 
     154 
     155div.sidebar { 
     156  margin-left: 1em ; 
     157  border: medium outset ; 
     158  padding: 1em ; 
     159  background-color: #ffffee ; 
     160  width: 40% ; 
     161  float: right ; 
     162  clear: right } 
     163 
     164div.sidebar p.rubric { 
     165   ; 
     166  font-size: medium } 
     167 
     168div.system-messages { 
     169  margin: 5em } 
     170 
     171div.system-messages h1 { 
     172  color: red } 
     173 
     174div.system-message { 
     175  border: medium outset ; 
     176  padding: 1em } 
     177 
     178div.system-message p.system-message-title { 
     179  color: red ; 
     180  font-weight: bold } 
     181 
     182div.topic { 
     183  margin: 2em } 
     184 
     185h1, h2, h3, h4, h5, h6 { 
     186  font-size: 1em; 
     187} 
     188 
     189h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, 
     190h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { 
     191  margin-top: 0.4em } 
    7192 
    8193h1 { 
    9     padding: 5px; 
    10     background: #173682; 
    11     color: #FFF; 
    12 } 
     194  text-align: center } 
     195 
     196h2.subtitle { 
     197  text-align: center } 
     198 
     199hr.docutils { 
     200  width: 75% } 
     201 
     202img.align-left { 
     203  clear: left } 
     204 
     205img.align-right { 
     206  clear: right } 
     207 
     208img.borderless { 
     209  border: 0 } 
     210 
     211ol.simple, ul.simple { 
     212  margin-bottom: 1em } 
     213 
     214ol.arabic { 
     215  list-style: decimal } 
     216 
     217ol.loweralpha { 
     218  list-style: lower-alpha } 
     219 
     220ol.upperalpha { 
     221  list-style: upper-alpha } 
     222 
     223ol.lowerroman { 
     224  list-style: lower-roman } 
     225 
     226ol.upperroman { 
     227  list-style: upper-roman } 
     228 
     229p.attribution { 
     230  text-align: right ; 
     231  margin-left: 50% } 
     232 
     233p.caption { 
     234  font-style: italic } 
     235 
     236p.credits { 
     237  font-style: italic ; 
     238  font-size: smaller } 
     239 
     240p.label { 
     241  white-space: nowrap } 
     242 
     243p.rubric { 
     244  font-weight: bold ; 
     245  font-size: larger ; 
     246  color: maroon ; 
     247  text-align: center } 
     248 
     249p.sidebar-title { 
     250   ; 
     251  font-weight: bold ; 
     252  font-size: larger } 
     253 
     254p.sidebar-subtitle { 
     255   ; 
     256  font-weight: bold } 
     257 
     258p.topic-title { 
     259  font-weight: bold } 
     260 
     261pre.address { 
     262  margin-bottom: 0 ; 
     263  margin-top: 0 ; 
     264  font-family: serif ; 
     265  font-size: 100% } 
     266 
     267pre.line-block { 
     268  font-family: serif ; 
     269  font-size: 100% } 
     270 
     271pre.literal-block, pre.doctest-block { 
     272  margin-left: 2em ; 
     273  margin-right: 2em ; 
     274  padding: 5px; 
     275  background-color: #D3D3D3;; 
     276  color: black; 
     277   } 
     278 
     279span.classifier { 
     280   ; 
     281  font-style: oblique } 
     282 
     283span.classifier-delimiter { 
     284   ; 
     285  font-weight: bold } 
     286 
     287span.interpreted { 
     288   } 
     289 
     290span.option { 
     291  white-space: nowrap } 
     292 
     293span.pre { 
     294  white-space: pre } 
     295 
     296span.problematic { 
     297  color: red } 
     298 
     299span.section-subtitle { 
     300  /* font-size relative to parent (h1..h6 element) */ 
     301  font-size: 80% } 
     302 
     303table.citation { 
     304  border-left: solid thin gray } 
     305 
     306table.docinfo { 
     307  margin: 2em 4em } 
     308 
     309table.docutils { 
     310  margin-top: 0.5em ; 
     311  margin-bottom: 0.5em } 
     312 
     313table.footnote { 
     314  border-left: solid thin black } 
     315 
     316table.docutils td, table.docutils th, 
     317table.docinfo td, table.docinfo th { 
     318  padding-left: 0.5em ; 
     319  padding-right: 0.5em ; 
     320  vertical-align: top } 
     321 
     322table.docutils th.field-name, table.docinfo th.docinfo-name { 
     323  font-weight: bold ; 
     324  text-align: left ; 
     325  white-space: nowrap ; 
     326  padding-left: 0 } 
     327 
     328h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, 
     329h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { 
     330  font-size: 100% } 
     331 
     332tt.docutils { 
     333  background-color: #eeeeee } 
     334 
     335ul.auto-toc { 
     336  list-style-type: none } 
     337   
     338.reference { 
     339  color: #FFF; 
     340} 
     341 
     342 
     343h1 { 
     344    border-bottom: 1px solid #173682;; 
     345} 
     346 
    13347h2 { 
    14348    border-bottom: 1px dashed #173682; 
    15349} 
     350 
    16351blockquote {  
    17352    background: #D3D3D3; 
     
    19354    padding: 0 5px; 
    20355} 
     356 
    21357img { 
    22358    border: 1px solid black; 
     
    24360} 
    25361 
    26 .document { 
    27     padding: 10px; 
    28     background: #E8E8E8; 
    29 } 
    30  
    31 .literal-block { 
    32    border: 1px solid black; 
    33    padding: 5px; 
    34    background: #000; 
    35    color: #FFF 
    36 } 
     362