|
| 1 | +/* |
| 2 | +:Authors: Ian Bicking, Michael Foord |
| 3 | +:Contact: fuzzyman@voidspace.org.uk |
| 4 | +:Date: 2005/08/26 |
| 5 | +:Version: 0.1.0 |
| 6 | +:Copyright: This stylesheet has been placed in the public domain. |
| 7 | +
|
| 8 | +Stylesheet for Docutils. |
| 9 | +Based on ``blue_box.css`` by Ian Bicking |
| 10 | +and ``html4css1.css`` revision 1.46. |
| 11 | +*/ |
| 12 | + |
| 13 | +@import url(html4css1.css); |
| 14 | + |
| 15 | +body { |
| 16 | + font-family: Arial, sans-serif; |
| 17 | + background-color: lightblue; |
| 18 | +} |
| 19 | + |
| 20 | +em, i { |
| 21 | + /* Typically serif fonts have much nicer italics */ |
| 22 | + font-family: Times New Roman, Times, serif; |
| 23 | +} |
| 24 | + |
| 25 | +a.target { |
| 26 | + color: blue; |
| 27 | +} |
| 28 | + |
| 29 | +a.target { |
| 30 | + color: blue; |
| 31 | +} |
| 32 | + |
| 33 | +a.toc-backref { |
| 34 | + text-decoration: none; |
| 35 | + color: black; |
| 36 | +} |
| 37 | + |
| 38 | +a.toc-backref:hover { |
| 39 | + background-color: inherit; |
| 40 | +} |
| 41 | + |
| 42 | +a:hover { |
| 43 | + background-color: #cccccc; |
| 44 | +} |
| 45 | + |
| 46 | +div.attention, div.caution, div.danger, div.error, div.hint, |
| 47 | +div.important, div.note, div.tip, div.warning { |
| 48 | + background-color: #cccccc; |
| 49 | + padding: 3px; |
| 50 | + width: 80%; |
| 51 | +} |
| 52 | + |
| 53 | +div.admonition p.admonition-title, div.hint p.admonition-title, |
| 54 | +div.important p.admonition-title, div.note p.admonition-title, |
| 55 | +div.tip p.admonition-title { |
| 56 | + text-align: center; |
| 57 | + background-color: #999999; |
| 58 | + display: block; |
| 59 | + margin: 0; |
| 60 | +} |
| 61 | + |
| 62 | +div.attention p.admonition-title, div.caution p.admonition-title, |
| 63 | +div.danger p.admonition-title, div.error p.admonition-title, |
| 64 | +div.warning p.admonition-title { |
| 65 | + color: #cc0000; |
| 66 | + font-family: sans-serif; |
| 67 | + text-align: center; |
| 68 | + background-color: #999999; |
| 69 | + display: block; |
| 70 | + margin: 0; |
| 71 | +} |
| 72 | + |
| 73 | +h1, h2, h3, h4, h5, h6 { |
| 74 | + font-family: Helvetica, Arial, sans-serif; |
| 75 | + border: thin solid black; |
| 76 | + /* This makes the borders rounded on Mozilla, which pleases me */ |
| 77 | + -moz-border-radius: 8px; |
| 78 | + padding: 4px; |
| 79 | +} |
| 80 | + |
| 81 | +h1 { |
| 82 | + background-color: #444499; |
| 83 | + color: #ffffff; |
| 84 | + border: medium solid black; |
| 85 | +} |
| 86 | + |
| 87 | +h1 a.toc-backref, h2 a.toc-backref { |
| 88 | + color: #ffffff; |
| 89 | +} |
| 90 | + |
| 91 | +h2 { |
| 92 | + background-color: #666666; |
| 93 | + color: #ffffff; |
| 94 | + border: medium solid black; |
| 95 | +} |
| 96 | + |
| 97 | +h3, h4, h5, h6 { |
| 98 | + background-color: #cccccc; |
| 99 | + color: #000000; |
| 100 | +} |
| 101 | + |
| 102 | +h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref, |
| 103 | +h6 a.toc-backref { |
| 104 | + color: #000000; |
| 105 | +} |
| 106 | + |
| 107 | +h1.title { |
| 108 | + text-align: center; |
| 109 | + background-color: pink; |
| 110 | + color: #eeeeee; |
| 111 | + border: thick solid black; |
| 112 | + -moz-border-radius: 20px; |
| 113 | +} |
| 114 | + |
| 115 | +table.footnote { |
| 116 | + padding-left: 0.5ex; |
| 117 | +} |
| 118 | + |
| 119 | +table.citation { |
| 120 | + padding-left: 0.5ex |
| 121 | +} |
| 122 | + |
| 123 | +pre.literal-block, pre.doctest-block { |
| 124 | + border: thin black solid; |
| 125 | + padding: 5px; |
| 126 | +} |
| 127 | + |
| 128 | +.image img { border-style : solid; |
| 129 | + border-width : 2px; |
| 130 | +} |
| 131 | + |
| 132 | +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |
| 133 | + font-size: 100%; |
| 134 | +} |
| 135 | + |
| 136 | +code, tt { |
| 137 | + color: #000066; |
| 138 | +} |
| 139 | + |
0 commit comments