Doc: Small beauty fix of field tables.
[shapes.git] / doc / styles / html / shapes.css
blobd4525d26149b88c26b890e18eac0dce0cd67c33b
1 /* This file is part of Shapes.
3 * Shapes is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * any later version.
8 * Shapes is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with Shapes. If not, see <http://www.gnu.org/licenses/>.
16 * Copyright 2008 Henrik Tidefelt
19 p { font-family: "Times New Roman", serif;
22 tt { font-size: 1.3em;
23 font-weight: normal;
26 img {/* border style for all images */
27 border: 0;
30 img.b {/* replacement for <br /> after images */
31 display: block; /* forces line break for content after */
34 img.t {/* top margin control */
35 margin-top: 0.8em;
38 img.g53 {/* scalable em 53 */
39 width: 3.3em;
40 height: 3.3em;
43 img.g32 {/* scalable em 32 */
44 width: 2em;
45 height: 2em;
48 img.g45 {/* scalable em 45 */
49 width: 12em;
50 height: 15em;
53 h0, h1, h2, h3, h4, h5, h6 {
54 color: #006633;
55 font-family: "Lucida Grande", sans-serif;
56 font-weight: bold;
57 margin-top: 0.8em;
58 margin-bottom: 0.2em;
61 h0 {
62 font-size: 3em;
63 line-height: normal;
64 margin-top: 0;
65 margin-bottom: 0.5em;
66 text-align: center;
69 h1 {
70 font-family: "Zapfino", sans-serif;
71 font-size: 2em;
72 line-height: normal;
73 margin-top: 0;
75 h2 {
76 text-decoration: underline;
77 font-size: 1.6em;
78 line-height: normal;
79 margin-top: 1.2em;
82 h3 {
83 margin-top: 1.2em;
85 h3, th.big {
86 font-size: 1.3em;
89 h4 {
90 font-size: 1em;
91 font-weight: bold;
94 h5 {
95 font-size: 1em;
98 h2.puff {
99 font-size: 1.6em;
100 font-weight: bold;
101 color: #000;
102 padding: 0.1em 0 0 0;
103 margin: 0.1em 0 0 0;
106 h3.puff {
107 font-size: 1.3em;
108 font-weight: bold;
109 color: #000;
110 padding: 0.1em 0 0 0;
111 margin: 0.1em 0 0 0;
114 div.p {
115 margin-top: 0.3em;
116 margin-bottom: 0.7em;
118 div.p ol {
119 margin-top: 0.1em;
120 margin-bottom: 0.1em;
122 div.p ol li {
123 margin-top: 0em;
124 margin-bottom: 0.3em;
126 div.p ol li p {
127 margin-top: 0.3em;
128 margin-bottom: 0em;
130 div.p pre {
131 margin-top: 0.5em;
132 margin-bottom: 0.5em;
134 div.p table.syntax, div.p table.tight, div.p table.loose, div.p table.type-templates, div.p table.dynvars, div.p table.function, table.mutator, div.p table.simple, div.p table.hotvalue, div.p table.state, div.p table.state-type, div.p table.type {
135 margin-top: 0.1em;
136 margin-bottom: 0.1em;
139 p.center {
140 text-align: center;
143 body { font-size: 12pt; }
145 pre, inline, varname, lengthunit, lexerregexp, syntaxname, typename, bnf, program-param
147 font-family: courier;
148 font-size: 0.9em
150 varname.replacable, typename.replacable, constname.replacable, filename.replacable, lengthunit.replacable, program-param.replacable
151 { color: #CC6600; }
152 typename.template
153 { color: #0000FF; }
155 pre, table.syntax, table.tokens, table.tight, table.loose, table.wide, table.type-templates, table.dynvars, table.function, table.mutator, table.simple, table.hotvalue, table.state, table.state-type, table.type { margin-left: 1.5em; }
156 pre.terminal { /* width: 80; */ }
157 pre.bad { color: #900; text-decoration: line-through; }
158 inline { color: #009; }
159 varname { }
160 lengthunit{ text-decoration: overline; }
161 paramname { font-style: italic; }
162 typename { font-style: italic; font-weight: bold; }
163 lexerregexp { color: F00; font-weight: bold; }
164 constname { font-weight: bold; }
165 filename { font-family: sans-serif; font-style: italic; font-size: 90%; }
167 syntaxname { font-style: italic; color: #F0F; text-decoration: none; }
168 syntaxname.new { text-decoration: none; }
169 bnf { font-size: 140%; color: #00F; }
171 exampleswitch { font-size: bigger; color: #9900FF; text-decoration: underline; cursor:pointer }
173 remark div.p { margin-left: 0.5em; font-size: smaller; font-style: italic; }
174 here-caption div.p { margin-left: 10%; margin-right: 10%; font-size: smaller; font-style: italic; }
175 todo div.p { margin-left: 0.5em; font-size: bigger; font-style: italic; color: F00; }
177 table.syntax { cellspacing:5; }
178 table.tokens { cellspacing:5; }
179 table.loose table.wide { cellspacing:5; }
180 table.tight { cellspacing:0; }
181 hr.thick { border:0; height:3px; color:#000; background:#000; }
182 hr.thin { border:0; height:1px; color:#666; background:#000; }
184 table.dynvars, table.function, table.mutator, table.simple, table.hotvalue, table.state, table.state-type, table.type
186 text-align: left;
187 border-collapse: collapse;
188 border-spacing: 0px;
189 cellspacing:0;
190 width:95%;
192 table.mutator
194 width: 98%;
196 table.dynvars tr th, table.function tr th, table.mutator tr th, table.simple tr th, table.hotvalue tr th, table.state tr th, table.state-type tr th, table.type tr th
198 padding: 0em 2em 0em 2em;
199 text-align: left;
200 border-bottom: 2px solid #6699CC;
201 border-left: 1px solid #6699CC;
202 background-color: #BEC8D1;
203 color: #404040;
205 table.mutator tr th
207 background-color: #EEEE00;
209 table.dynvars tr td, table.function tr td, table.mutator tr td, table.simple tr td, table.hotvalue tr td, table.state tr td, table.state-type tr td, table.type tr td
211 padding: 0em 0.5em 0em 0.5em;
212 vertical-align: top;
215 table.dynvars
217 color: #404040;
218 border: 1px #6699CC solid;
220 table.dynvars, table.dynvars tr th.horiz
222 background-color: #fafafa;
224 table.dynvars tr td, table.dynvars tr th
226 border-bottom: 2px solid #6699CC;
227 border-left: 1px solid #6699CC;
230 table.function
232 color: #404040;
233 border: 1px #CC6633 solid;
235 table.function, table.function tr th.horiz
237 background-color: #fafafa;
239 table.function tr td, table.function tr th
241 border-bottom: 2px solid #CC6633;
242 border-left: 1px solid #CC6633;
244 table.function tr th.heading
246 font-size: 1em;
247 background-color: #FFCC99;
250 table.mutator
252 color: #404040;
253 border: 1px #DDDD99 solid;
255 table.mutator, table.mutator tr th.horiz
257 background-color: #fafafa;
259 table.mutator tr td, table.mutator tr th
261 border-bottom: 2px solid #DDDD99;
262 border-left: 1px solid #DDDD99;
264 table.mutator tr th.heading
266 font-size: 1em;
267 background-color: #DDDD99;
270 table.simple
272 color: #404040;
273 border: 1px #333333 solid;
275 table.simple, table.simple tr th.horiz
277 background-color: #fafafa;
279 table.simple tr td, table.simple tr th
281 border-bottom: 2px solid #333333;
282 border-left: 1px solid #333333;
285 table.hotvalue
287 color: #404040;
288 border: 1px #FF3300 solid;
290 table.hotvalue, table.hotvalue tr th.horiz
292 background-color: #fafafa;
294 table.hotvalue tr td, table.hotvalue tr th
296 border-bottom: 2px solid #FF3300;
297 border-left: 1px solid #FF3300;
299 table.hotvalue tr th.note
301 font-size: 1em;
302 background-color: #FFFF33;
305 table.state
307 color: #404040;
308 border: 1px #3366FF solid;
310 table.state, table.state tr th.horiz
312 background-color: #fafafa;
314 table.state tr td, table.state tr th
316 border-bottom: 2px solid #3366FF;
317 border-left: 1px solid #3366FF;
320 table.state-type
322 color: #404040;
323 border: 1px #669933 solid;
325 table.state-type, table.state-type tr th.horiz
327 background-color: #fafafa;
329 table.state-type tr td, table.state-type tr th
331 border-bottom: 2px solid #669933;
332 border-left: 1px solid #669933;
335 table.type
337 color: #404040;
338 border: 1px #FF6699 solid;
340 table.type, table.type tr th.horiz
342 background-color: #fafafa;
344 table.type tr td, table.type tr th
346 border-bottom: 2px solid #FF6699;
347 border-left: 1px solid #FF6699;
349 table.type tr th.heading
351 padding-top: 0.3em
352 font-size: 1em;
353 background-color: #F0F0F9;
354 border-bottom: 1px solid #FF6699;
357 table.dynvars tr th.horiz, table.function tr th.horiz, table.mutator tr th.horiz, table.simple tr th.horiz, table.hotvalue tr th.horiz, table.state tr th.horiz, table.state-type tr th.horiz, table.type tr th.horiz
359 width: 10em;
360 text-align: right;
363 table.note
365 width:100%;
366 border-top: 1px solid;
367 border-bottom: 1px solid;
368 border-left: none;
369 border-right: none;
370 border-color:#0C0;
371 background-color: #CCFFCC;
372 margin: 5px
374 table.operator-table { width:100%; }
375 table.constructor-table { background:#FFFFCC; }
376 table.codefile
378 width:100%;
379 border-top: 3px solid #000;
380 border-bottom: 3px solid #000;
381 border-left: 2px solid #000;
382 border-right: 2px solid #000;
385 table.loose tr th, table.loose tr td, table.wide tr th, table.wide tr td, table.tight tr th, table.tight tr td, table.operator-table tr th, table.operator-table tr td, table.type-templates tr th, table.type-templates tr td, table.codefile tr th, table.codefile tr td, table.note tr td
387 padding: 0em 0.5em 0em 0.5em;
388 border-bottom: none;
389 border-left: none;
390 color: #000;
392 table.loose tr th, table.loose tr td, table.wide tr th, table.wide tr td, table.tight tr th, table.tight tr td, table.operator-table tr th, table.operator-table tr td, table.type-templates tr th, table.type-templates tr td, table.codefile tr th, table.codefile tr td
394 background-color: #fafafa;
396 table.loose tr th, table.wide tr th, table.tight tr th, table.operator-table tr th, table.type-templates tr th, table.codefile tr th
398 padding: 0em 2em 0em 2em;
399 text-align: center;
401 table.wide
403 width: 95%;
407 .tex sub, .latex sub, .latex sup {
408 text-transform: uppercase;
410 .tex sub, .latex sub {
411 vertical-align: -0.5ex;
412 margin-left: -0.1667em;
413 margin-right: -0.125em;
415 .tex, .latex, .tex sub, .latex sub {
416 font-size: 1em;
418 .latex sup {
419 font-size: 0.85em;
420 vertical-align: 0.15em;
421 margin-left: -0.36em;
422 margin-right: -0.15em;
424 span.Google { font-family: serif; }
425 span.Google blue { color:#003EC5; }
426 span.Google red { color:#D8240C; }
427 span.Google yellow { color:#F4C513; }
428 span.Google green { color:#2C9F2C; }
429 span.Google black { color:#000; }
431 .small-caps
433 font-variant: small-caps;
435 .medium-caps
437 font-size: smaller;
438 text-transform: uppercase;
440 .medium-caps sup, .small-caps sup {
441 vertical-align: 0.4em;
444 tolparam
446 font-family: helvetica;
447 font-style: italic;
448 font-size: 0.9em;
449 color: orange;
452 .xx-small
454 font-size: xx-small;
456 .nowrap
458 white-space: nowrap;
461 a:link.discrete
463 text-decoration: none;
464 color: black;
466 a:visited.discrete
468 text-decoration: none;
469 color: black;
471 a:hover.discrete
473 text-decoration: none;
474 color: black;
475 background-color: #CCCCCC;
478 eq { font-style: italic;
479 font-family: "Georgia", serif;
480 font-size: 0.95em;
481 font-weight: normal;
482 color: #000;
484 eq span.text { /* Peek at the definition of the <p> style! */
485 font-style: normal;
486 font-family: "Times New Roman", serif;
488 eq span.rm {
489 font-style: normal;
490 font-famil: "Verdana", sans-serif;
492 eq span.sub {
493 vertical-align: -0.5ex;
494 font-size: 0.7em;
496 eq span.sup {
497 vertical-align: 0.5ex;
498 font-size: 0.7em;