Merge "Show change tags on diffs"
[lhc/web/wiklou.git] / skins / common / oldshared.css
1 /**
2 * oldshared.css
3 * This file contains CSS settings common to Wikistandard, Nostalgia and
4 * CologneBlue, the old pre-Monobook skins
5 */
6
7 /* For clarity, explicitly state some recommendations from
8 * http://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right
9 */
10
11 h1 { font-size: 2em; }
12 h2 { font-size: 1.5em; }
13 h3 { font-size: 1.17em; }
14 h4 { font-size: 1.11em; }
15 h5 { font-size: 1.05em; }
16 h6 { font-size: 1em; }
17 h1, h2, h3, h4, h5, h6 {
18 font-weight: bolder;
19 }
20
21 /* Now the custom parts */
22
23 #footer { clear: both }
24 /* images */
25 /* @noflip */
26 div.floatright {
27 float: right;
28 clear: right;
29 margin: 0 0 1em 1em;
30 }
31
32 /* @noflip */
33 div.floatright p {
34 font-style: italic;
35 }
36
37 /* @noflip */
38 div.floatleft {
39 float: left;
40 clear: left;
41 margin: 0.3em 0.5em 0.5em 0;
42 }
43
44 /* @noflip */
45 div.floatleft p {
46 font-style: italic;
47 }
48
49 /* table standards */
50 table.rimage {
51 float: right;
52 margin-left: 1em;
53 margin-bottom: 1em;
54 text-align: center;
55 font-size: smaller;
56 }
57
58 /* thumbnails */
59 div.thumb {
60 margin-bottom: .5em;
61 border-style: solid;
62 border-color: white;
63 width: auto;
64 }
65 div.thumbinner {
66 border: 1px solid #ccc;
67 padding: 3px !important;
68 background-color: #f9f9f9;
69 font-size: 94%;
70 text-align: center;
71 overflow: hidden;
72 }
73 html .thumbimage {
74 border: 1px solid #ccc;
75 }
76 html .thumbcaption {
77 border: none;
78 text-align: left;
79 line-height: 1.4em;
80 padding: 3px !important;
81 font-size: 94%;
82 }
83 div.magnify {
84 float: right;
85 border: none !important;
86 background: none !important;
87 margin-left: 3px;
88 }
89 div.magnify a,
90 div.magnify img {
91 display: block;
92 border: none !important;
93 background: none !important;
94 }
95 /* @noflip */
96 div.tright {
97 clear: right;
98 float: right;
99 border-width: .5em 0 .8em 1.4em;
100 }
101 /* @noflip */
102 div.tleft {
103 float: left;
104 clear: left;
105 margin-right: .5em;
106 border-width: .5em 1.4em .8em 0;
107 }
108 img.thumbborder {
109 border: 1px solid #dddddd;
110 }
111
112 /* Page history styling */
113 /* the auto-generated edit comments */
114 .autocomment { color: #4b4b4b; }
115
116 img { border: none; }
117
118 #toc,
119 .toc {
120 border: 1px solid #bba;
121 background-color: #f7f8ff;
122 padding: 5px;
123 font-size: 95%;
124 text-align: center;
125 display: -moz-inline-block;
126 display: inline-block;
127 zoom: 1;
128 *display: inline;
129 padding: 7px;
130 }
131 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
132 table#toc,
133 table.toc {
134 border-collapse: collapse;
135 }
136 /* Remove additional paddings inside table-cells that are not present in <div>s */
137 table#toc td,
138 table.toc td {
139 padding: 0;
140 }
141 #toc h2,
142 .toc h2 {
143 display: inline;
144 border: none;
145 padding: 0;
146 font-size: 100%;
147 font-weight: bold;
148 }
149 #toc ul,
150 .toc ul {
151 list-style-type: none;
152 list-style-image: none;
153 padding: 0;
154 text-align: left;
155 }
156 #toc ul ul,
157 .toc ul ul {
158 margin: 0 0 0 2em;
159 }
160 #toc .toctoggle,
161 .toc .toctoggle {
162 font-size: 94%;
163 }
164
165 .error {
166 color: red;
167 font-size: larger;
168 }
169
170 /* preference page with js-genrated toc */
171 #preftoc {
172 float: left;
173 margin: 1em 1em 1em 1em;
174 width: 13em;
175 }
176 #preftoc li {
177 border: 1px solid White;
178 }
179 #preftoc li.selected {
180 background-color:#f9f9f9;
181 border:1px dashed #aaaaaa;
182 }
183 #preftoc a,
184 #preftoc a:active {
185 display: block;
186 color: #005189;
187 }
188 .mw-prefs-buttons {
189 clear: left;
190 float: left;
191 margin-top: 1em;
192 }
193 div.htmlform-tip {
194 font-size: 94%;
195 margin-top: 0.4em;
196 color: #666;
197 }
198 fieldset.prefsection {
199 margin-top: 1em;
200 }
201 fieldset.operaprefsection {
202 margin-left: 15em;
203 }
204
205 /* emulate center */
206 .center {
207 width: 100%;
208 text-align: center;
209 }
210 *.center * {
211 margin-left: auto;
212 margin-right: auto;
213 }
214
215 /* small for tables and similar */
216 .small {
217 font-size: 94%;
218 }
219 table.small {
220 font-size: 100%;
221 }
222
223 /* use this instead of #toc for page content */
224 .toccolours {
225 border: 1px solid #aaaaaa;
226 background-color: #f9f9f9;
227 padding: 5px;
228 font-size: 95%;
229 }
230 #siteNotice {
231 border: 1px solid #aaaaaa;
232 padding-left: 0.5em;
233 padding-right: 0.5em;
234 }
235 .redirectText {
236 font-size: 150%;
237 margin: 5px;
238 }
239 .sharedUploadNotice {
240 font-style: italic;
241 }
242 span.unpatrolled {
243 font-weight: bold;
244 color: red;
245 }
246
247 span.updatedmarker {
248 color: black;
249 background-color: #00FF00;
250 }
251
252 div.gallerybox {
253 width: 150px;
254 }
255
256 span.comment {
257 font-style: italic;
258 }
259
260 span.changedby {
261 font-size: 95%;
262 }
263
264 .previewnote {
265 text-align: center;
266 color: #cc0000;
267 }
268 .editExternally {
269 border-style: solid;
270 border-width: 1px;
271 border-color: gray;
272 background: #ffffff;
273 padding: 3px;
274 margin-top: 0.5em;
275 float: left;
276 font-size: small;
277 text-align: center;
278 }
279 .editExternallyHelp {
280 font-style: italic;
281 color: gray;
282 }
283
284 li span.deleted {
285 text-decoration: line-through;
286 color: #888;
287 font-style: italic;
288 }
289
290 /* Classes for Exif data display */
291 table.mw_metadata {
292 margin-left: 0.5em;
293 }
294
295 table.mw_metadata caption {
296 font-weight: bold;
297 }
298 table.mw_metadata th {
299 font-weight: normal;
300 }
301 table.mw_metadata td {
302 padding: 0.1em;
303 }
304
305 table.mw_metadata {
306 border: none;
307 border-collapse: collapse;
308 }
309 table.mw_metadata td,
310 table.mw_metadata th {
311 border: 1px solid #aaaaaa;
312 padding-left: 4px;
313 padding-right: 4px;
314 }
315 table.mw_metadata th {
316 background-color: #f9f9f9;
317 }
318 table.mw_metadata td {
319 background-color: #fcfcfc;
320 }
321 table.mw_metadata td.spacer {
322 background: inherit;
323 border-top: none;
324 border-bottom: none;
325 }
326 table.collapsed tr.collapsable {
327 display: none;
328 }
329
330 .visualClear {
331 clear: both;
332 }
333
334 /* Allmessages table */
335 #allmessagestable th {
336 background-color: #b2b2ff;
337 }
338
339 #allmessagestable tr.orig {
340 background-color: #ffe2e2;
341 }
342
343 #allmessagestable tr.new {
344 background-color: #e2ffe2;
345 }
346
347 #allmessagestable tr.def {
348 background-color: #f0f0ff;
349 }
350
351 #jump-to-nav {
352 display: none;
353 }
354
355 div.multipageimagenavbox {
356 border: solid 1px silver;
357 padding: 4px;
358 margin: 1em;
359 background: #f0f0f0;
360 }
361
362 div.multipageimagenavbox div.thumb {
363 border: none;
364 margin-left: 2em;
365 margin-right: 2em;
366 }
367
368 div.multipageimagenavbox hr {
369 margin: 6px;
370 }
371
372 table.multipageimage td {
373 text-align: center;
374 }
375
376 /*
377 Table pager (e.g. Special:Imagelist)
378 - remove underlines from the navigation link
379 - collapse borders
380 - set the borders to outsets (similar to Special:Allmessages)
381 - remove line wrapping for all td and th, set background color
382 - restore line wrapping for the last two table cells (description and size)
383 */
384 .TablePager_nav a {
385 text-decoration: none;
386 }
387 .TablePager {
388 border-collapse: collapse;
389 }
390 .TablePager,
391 .TablePager td,
392 .TablePager th {
393 border: 0.15em solid #777777;
394 padding: 0 0.15em 0 0.15em;
395 }
396 .TablePager th {
397 background-color: #eeeeff;
398 }
399 .TablePager td {
400 background-color: #ffffff;
401 }
402 .TablePager tr:hover td {
403 background-color: #eeeeff;
404 }
405
406 .imagelist td,
407 .imagelist th {
408 white-space: nowrap;
409 }
410 .imagelist .TablePager_col_links {
411 background-color: #eeeeff;
412 }
413 .imagelist .TablePager_col_img_description {
414 white-space: normal;
415 }
416 .imagelist th.TablePager_sort {
417 background-color: #ccccff;
418 }
419
420 .templatesUsed {
421 margin-top: 1em;
422 }
423
424 .MediaTransformError {
425 border: thin solid #777;
426 background-color: #ccc;
427 padding: 0.1em;
428 }
429 .MediaTransformError td {
430 text-align: center;
431 vertical-align: middle;
432 font-size: 90%;
433 }
434
435 form#specialpages {
436 display: inline;
437 }
438
439 body {
440 direction: ltr;
441 unicode-bidi: embed;
442 background-color: #ffffec;
443 }
444 body.ns-0 {
445 background-color: white;
446 }
447
448 /** RTL specific CSS starts here **/
449
450 /**
451 * Lists:
452 * The following lines don't have a visible effect on non-Gecko browsers
453 * They fix a problem with Gecko browsers rendering lists to the right of
454 * left-floated objects in an RTL layout.
455 */
456 /* @noflip */
457 html > body.rtl div#article ul {
458 display: table;
459 }
460 /* @noflip */
461 html > body.rtl div#bodyContent ul#filetoc {
462 display: block;
463 }
464
465 /* RTL specific CSS ends here **/