tex aligned middle
[lhc/web/wiklou.git] / stylesheets / common.css
1 /*
2 * common.css
3 * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue
4 */
5
6 /* images */
7 div.floatright { float: right; margin: 0 0 1em 1em; }
8 div.floatright p { font-style: italic; }
9 div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; }
10 div.floatleft p { font-style: italic; }
11
12
13 /* Print-specific things to hide */
14 .urlexpansion, .printfooter {
15 display: none;
16 }
17
18 /* table standards */
19 table.rimage {
20 float:right;
21 width:1pt;
22 margin-left:1em;
23 margin-bottom:1em;
24 text-align:center;
25 font-size:smaller;
26 }
27
28 /* thumbnails */
29 div.thumb {
30 margin: 10px;
31 text-align: center;
32 width: auto;
33 }
34 div.thumb div {
35 border: 1px solid #8888aa;
36 background-color: #f7f8ff;
37 padding: 2px;
38 font-size: 94%;
39 }
40 div.thumb div * {
41 border: none;
42 background: none;
43 }
44 div.thumb img {
45 border:1px solid #8888AA;
46 margin-bottom:3px;
47 background:#FFFFFF;
48 }
49 div.thumbcaption,
50 div.thumbcaption * {
51 border: none !important;
52 background: none !important;
53 }
54 div.thumbcaption {
55 padding: 0.2em 0 0.2em 0 !important;
56 text-align: left !important;
57 }
58 div.tright {
59 float: right;
60 margin-left:0.5em;
61 }
62 div.tleft {
63 float: left;
64 margin-right:0.5em;
65 }
66
67 table.diff {
68 background:white;
69 }
70 td.diff-otitle {
71 background:#cccccc;
72 }
73 td.diff-ntitle {
74 background:#cccccc;
75 }
76 td.diff-addedline {
77 background:#ccffcc;
78 }
79 td.diff-deletedline {
80 background:#ffffaa;
81 }
82 td.diff-context {
83 background:#eeeeee;
84 }
85
86 img { border: none; }
87 img.tex { vertical-align: middle; }
88
89 /* automatically generated edit summaries */
90 .autocomment { color: gray; }
91
92 #toc {
93 border: 1px solid #8888aa;
94 background-color: #f7f8ff;
95 padding: 5px;
96 font-size: 95%;
97 }
98
99 .error {
100 color: red;
101 font-size: larger;
102 }