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