fixed margin moved to class for rtl support
[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 /* Page history styling */
68 /* automatically generated edit summaries */
69 .autocomment { color: gray; }
70 #pagehistory span.hlinedesc { margin-left: 1.4em }
71 #pagehistory span.hflag {
72 margin-left: -1em;
73 font-weight: bold;
74 }
75 #pagehistory li {
76 border: 1px solid White;
77 padding-left: 1em;
78 }
79 #pagehistory li.selected {
80 background-color:#f9f9f9;
81 border:1px dashed #aaaaaa;
82 }
83
84 table.diff {
85 background:white;
86 }
87 td.diff-otitle {
88 background:#cccccc;
89 }
90 td.diff-ntitle {
91 background:#cccccc;
92 }
93 td.diff-addedline {
94 background:#ccffcc;
95 }
96 td.diff-deletedline {
97 background:#ffffaa;
98 }
99 td.diff-context {
100 background:#eeeeee;
101 }
102
103 img { border: none; }
104 img.tex { vertical-align: middle; }
105
106
107 #toc {
108 border: 1px solid #8888aa;
109 background-color: #f7f8ff;
110 padding: 5px;
111 font-size: 95%;
112 }
113
114 .error {
115 color: red;
116 font-size: larger;
117 }
118
119 /* preference page with js-genrated toc */
120 #preftoc {
121 float: left;
122 margin: 1em 1em 1em 1em;
123 width: 13em;
124 }
125 #preftoc li { border: 1px solid White; }
126 #preftoc li.selected {
127 background-color:#f9f9f9;
128 border:1px dashed #aaaaaa;
129 }
130 #preftoc a,
131 #preftoc a:active {
132 display: block;
133 color: #005189;
134 }
135 #prefcontrol {
136 clear: left;
137 float: left;
138 margin-top: 1em;
139 }
140 fieldset.operaprefsection { margin-left: 15em }