]> git.saurik.com Git - wxWidgets.git/blob - wxPython/docs/default.css
styles, toolbar, and other visual tweaks
[wxWidgets.git] / wxPython / docs / default.css
1 /*
2 :Author: David Goodger
3 :Contact: goodger@users.sourceforge.net
4 :Date: $Date$
5 :Revision: $Revision$
6 :Copyright: This stylesheet has been placed in the public domain.
7
8 Default cascading style sheet for the HTML output of Docutils.
9
10 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
11 customize this style sheet.
12 */
13
14 /* used to remove borders from tables and images */
15 .borderless, table.borderless td, table.borderless th {
16 border: 0 }
17
18 table.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
23 .first {
24 /* Override more specific margin styles with "! important". */
25 margin-top: 0 ! important }
26
27 .last, .with-subtitle {
28 margin-bottom: 0 ! important }
29
30 .hidden {
31 display: none }
32
33 a.toc-backref {
34 text-decoration: none ;
35 color: black }
36
37 blockquote.epigraph {
38 margin: 2em 5em ; }
39
40 dl.docutils dd {
41 margin-bottom: 0.5em }
42
43 /* Uncomment (and remove this text!) to get bold-faced definition list terms
44 dl.docutils dt {
45 font-weight: bold }
46 */
47
48 div.abstract {
49 margin: 2em 5em }
50
51 div.abstract p.topic-title {
52 font-weight: bold ;
53 text-align: center }
54
55 div.admonition, div.attention, div.caution, div.danger, div.error,
56 div.hint, div.important, div.note, div.tip, div.warning {
57 margin: 2em ;
58 border: medium outset ;
59 padding: 1em }
60
61 div.admonition p.admonition-title, div.hint p.admonition-title,
62 div.important p.admonition-title, div.note p.admonition-title,
63 div.tip p.admonition-title {
64 font-weight: bold ;
65 font-family: sans-serif }
66
67 div.attention p.admonition-title, div.caution p.admonition-title,
68 div.danger p.admonition-title, div.error p.admonition-title,
69 div.warning p.admonition-title {
70 color: red ;
71 font-weight: bold ;
72 font-family: sans-serif }
73
74 /* Uncomment (and remove this text!) to get reduced vertical space in
75 compound paragraphs.
76 div.compound .compound-first, div.compound .compound-middle {
77 margin-bottom: 0.5em }
78
79 div.compound .compound-last, div.compound .compound-middle {
80 margin-top: 0.5em }
81 */
82
83 div.dedication {
84 margin: 2em 5em ;
85 text-align: center ;
86 font-style: italic }
87
88 div.dedication p.topic-title {
89 font-weight: bold ;
90 font-style: normal }
91
92 div.figure {
93 margin-left: 2em ;
94 margin-right: 2em }
95
96 div.footer, div.header {
97 clear: both;
98 font-size: smaller }
99
100 div.line-block {
101 display: block ;
102 margin-top: 1em ;
103 margin-bottom: 1em }
104
105 div.line-block div.line-block {
106 margin-top: 0 ;
107 margin-bottom: 0 ;
108 margin-left: 1.5em }
109
110 div.sidebar {
111 margin-left: 1em ;
112 border: medium outset ;
113 padding: 1em ;
114 background-color: #ffffee ;
115 width: 40% ;
116 float: right ;
117 clear: right }
118
119 div.sidebar p.rubric {
120 font-family: sans-serif ;
121 font-size: medium }
122
123 div.system-messages {
124 margin: 5em }
125
126 div.system-messages h1 {
127 color: red }
128
129 div.system-message {
130 border: medium outset ;
131 padding: 1em }
132
133 div.system-message p.system-message-title {
134 color: red ;
135 font-weight: bold }
136
137 div.topic {
138 margin: 2em }
139
140 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
141 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
142 margin-top: 0.4em }
143
144 h1.title {
145 text-align: center }
146
147 h2.subtitle {
148 text-align: center }
149
150 hr.docutils {
151 width: 75% }
152
153 img.align-left {
154 clear: left }
155
156 img.align-right {
157 clear: right }
158
159 ol.simple, ul.simple {
160 margin-bottom: 1em }
161
162 ol.arabic {
163 list-style: decimal }
164
165 ol.loweralpha {
166 list-style: lower-alpha }
167
168 ol.upperalpha {
169 list-style: upper-alpha }
170
171 ol.lowerroman {
172 list-style: lower-roman }
173
174 ol.upperroman {
175 list-style: upper-roman }
176
177 p.attribution {
178 text-align: right ;
179 margin-left: 50% }
180
181 p.caption {
182 font-style: italic }
183
184 p.credits {
185 font-style: italic ;
186 font-size: smaller }
187
188 p.label {
189 white-space: nowrap }
190
191 p.rubric {
192 font-weight: bold ;
193 font-size: larger ;
194 color: maroon ;
195 text-align: center }
196
197 p.sidebar-title {
198 font-family: sans-serif ;
199 font-weight: bold ;
200 font-size: larger }
201
202 p.sidebar-subtitle {
203 font-family: sans-serif ;
204 font-weight: bold }
205
206 p.topic-title {
207 font-weight: bold }
208
209 pre.address {
210 margin-bottom: 0 ;
211 margin-top: 0 ;
212 font-family: serif ;
213 font-size: 100% }
214
215 pre.literal-block, pre.doctest-block {
216 margin-left: 2em ;
217 margin-right: 2em ;
218 background-color: #eeeeee }
219
220 span.classifier {
221 font-family: sans-serif ;
222 font-style: oblique }
223
224 span.classifier-delimiter {
225 font-family: sans-serif ;
226 font-weight: bold }
227
228 span.interpreted {
229 font-family: sans-serif }
230
231 span.option {
232 white-space: nowrap }
233
234 span.pre {
235 white-space: pre }
236
237 span.problematic {
238 color: red }
239
240 span.section-subtitle {
241 /* font-size relative to parent (h1..h6 element) */
242 font-size: 80% }
243
244 table.citation {
245 border-left: solid 1px gray;
246 margin-left: 1px }
247
248 table.docinfo {
249 margin: 2em 4em }
250
251 table.docutils {
252 margin-top: 0.5em ;
253 margin-bottom: 0.5em }
254
255 table.footnote {
256 border-left: solid 1px black;
257 margin-left: 1px }
258
259 table.docutils td, table.docutils th,
260 table.docinfo td, table.docinfo th {
261 padding-left: 0.5em ;
262 padding-right: 0.5em ;
263 vertical-align: top }
264
265 table.docutils th.field-name, table.docinfo th.docinfo-name {
266 font-weight: bold ;
267 text-align: left ;
268 white-space: nowrap ;
269 padding-left: 0 }
270
271 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
272 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
273 font-size: 100% }
274
275 tt.docutils {
276 background-color: #eeeeee }
277
278 ul.auto-toc {
279 list-style-type: none }