Add the class jquery-tablesorter to all tables that are made sortable.
[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 <http://www.w3.org/
8 TR/CSS21/sample.html> to make sure the editsection links scale right */
9
10 h1 { font-size: 2em; }
11 h2 { font-size: 1.5em; }
12 h3 { font-size: 1.17em; }
13 h5 { font-size: .83em; }
14 h6 { font-size: .75em; }
15 h1, h2, h3, h4, h5, h6 {
16 font-weight: bolder;
17 }
18
19 /* Now the custom parts */
20
21 /* Make edit sections (which are inside h# tags) normal-sized */
22 .editsection {
23 font-weight: normal;
24 }
25 h1 .editsection { font-size: 50%; }
26 h2 .editsection { font-size: 66.7%; }
27 h3 .editsection { font-size: 85.5%; }
28 h5 .editsection { font-size: 120%; }
29 h6 .editsection { font-size: 133%; }
30
31 #footer { clear: both }
32 /* images */
33 /* @noflip */
34 div.floatright {
35 float: right;
36 clear: right;
37 margin: 0 0 1em 1em;
38 }
39
40 /* @noflip */
41 div.floatright p {
42 font-style: italic;
43 }
44
45 /* @noflip */
46 div.floatleft {
47 float: left;
48 clear: left;
49 margin: 0.3em 0.5em 0.5em 0;
50 }
51
52 /* @noflip */
53 div.floatleft p {
54 font-style: italic;
55 }
56
57
58 /* Print-specific things to hide */
59 .printfooter {
60 display: none;
61 }
62
63 /* table standards */
64 table.rimage {
65 float: right;
66 margin-left: 1em;
67 margin-bottom: 1em;
68 text-align: center;
69 font-size: smaller;
70 }
71
72 /* thumbnails */
73 div.thumb {
74 margin-bottom: .5em;
75 border-style: solid;
76 border-color: white;
77 width: auto;
78 }
79 div.thumbinner {
80 border: 1px solid #ccc;
81 padding: 3px !important;
82 background-color: #f9f9f9;
83 font-size: 94%;
84 text-align: center;
85 overflow: hidden;
86 }
87 html .thumbimage {
88 border: 1px solid #ccc;
89 }
90 html .thumbcaption {
91 border: none;
92 text-align: left;
93 line-height: 1.4em;
94 padding: 3px !important;
95 font-size: 94%;
96 }
97 div.magnify {
98 float: right;
99 border: none !important;
100 background: none !important;
101 }
102 div.magnify a, div.magnify img {
103 display: block;
104 border: none !important;
105 background: none !important;
106 }
107 /* @noflip */
108 div.tright {
109 clear: right;
110 float: right;
111 border-width: .5em 0 .8em 1.4em;
112 }
113 /* @noflip */
114 div.tleft {
115 float: left;
116 clear: left;
117 margin-right: .5em;
118 border-width: .5em 1.4em .8em 0;
119 }
120 img.thumbborder {
121 border: 1px solid #dddddd;
122 }
123
124 /* Page history styling */
125 /* the auto-generated edit comments */
126 .autocomment { color: #4b4b4b; }
127
128 img { border: none; }
129
130 #toc,
131 .toc {
132 border: 1px solid #bba;
133 background-color: #f7f8ff;
134 padding: 5px;
135 font-size: 95%;
136 text-align: center;
137 }
138 #toc h2,
139 .toc h2 {
140 display: inline;
141 border: none;
142 padding: 0;
143 font-size: 100%;
144 font-weight: bold;
145 }
146 #toc ul,
147 .toc ul {
148 list-style-type: none;
149 list-style-image: none;
150 padding: 0;
151 text-align: left;
152 }
153 #toc ul ul,
154 .toc ul ul {
155 margin: 0 0 0 2em;
156 }
157 #toc .toctoggle,
158 .toc .toctoggle {
159 font-size: 94%;
160 }
161
162 .error {
163 color: red;
164 font-size: larger;
165 }
166
167 /* preference page with js-genrated toc */
168 #mw-pref-clear {
169 clear: both;
170 }
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, table.mw_metadata th {
310 border: 1px solid #aaaaaa;
311 padding-left: 4px;
312 padding-right: 4px;
313 }
314 table.mw_metadata th {
315 background-color: #f9f9f9;
316 }
317 table.mw_metadata td {
318 background-color: #fcfcfc;
319 }
320 table.mw_metadata td.spacer {
321 background: inherit;
322 border-top: none;
323 border-bottom: none;
324 }
325 table.collapsed tr.collapsable {
326 display: none;
327 }
328
329 .visualClear {
330 clear: both;
331 }
332
333 /* Allmessages table */
334 #allmessagestable th {
335 background-color: #b2b2ff;
336 }
337
338 #allmessagestable tr.orig {
339 background-color: #ffe2e2;
340 }
341
342 #allmessagestable tr.new {
343 background-color: #e2ffe2;
344 }
345
346 #allmessagestable tr.def {
347 background-color: #f0f0ff;
348 }
349
350 #jump-to-nav {
351 display: none;
352 }
353
354 div.multipageimagenavbox {
355 border: solid 1px silver;
356 padding: 4px;
357 margin: 1em;
358 background: #f0f0f0;
359 }
360
361 div.multipageimagenavbox div.thumb {
362 border: none;
363 margin-left: 2em;
364 margin-right: 2em;
365 }
366
367 div.multipageimagenavbox hr {
368 margin: 6px;
369 }
370
371 table.multipageimage td {
372 text-align: center;
373 }
374
375 /*
376 Table pager (e.g. Special:Imagelist)
377 - remove underlines from the navigation link
378 - collapse borders
379 - set the borders to outsets (similar to Special:Allmessages)
380 - remove line wrapping for all td and th, set background color
381 - restore line wrapping for the last two table cells (description and size)
382 */
383 .TablePager_nav a {
384 text-decoration: none;
385 }
386 .TablePager {
387 border-collapse: collapse;
388 }
389 .TablePager, .TablePager td, .TablePager th {
390 border: 0.15em solid #777777;
391 padding: 0 0.15em 0 0.15em;
392 }
393 .TablePager th {
394 background-color: #eeeeff;
395 }
396 .TablePager td {
397 background-color: #ffffff;
398 }
399 .TablePager tr:hover td {
400 background-color: #eeeeff;
401 }
402
403 .imagelist td, .imagelist th {
404 white-space: nowrap;
405 }
406 .imagelist .TablePager_col_links {
407 background-color: #eeeeff;
408 }
409 .imagelist .TablePager_col_img_description {
410 white-space: normal;
411 }
412 .imagelist th.TablePager_sort {
413 background-color: #ccccff;
414 }
415
416 .templatesUsed {
417 margin-top: 1em;
418 }
419
420 .MediaTransformError {
421 border: thin solid #777;
422 background-color: #ccc;
423 padding: 0.1em;
424 }
425 .MediaTransformError td {
426 text-align: center;
427 vertical-align: middle;
428 font-size: 90%;
429 }
430
431 form#specialpages {
432 display: inline;
433 }
434
435 body {
436 direction: ltr;
437 unicode-bidi: embed;
438 background-color: #ffffec;
439 }
440 body.ns-0 {
441 background-color: white;
442 }
443
444 /** RTL specific CSS starts here **/
445
446 /**
447 * Lists:
448 * The following lines don't have a visible effect on non-Gecko browsers
449 * They fix a problem with Gecko browsers rendering lists to the right of
450 * left-floated objects in an RTL layout.
451 */
452 /* @noflip */
453 html > body.rtl div#article ul {
454 display: table;
455 }
456 /* @noflip */
457 html > body.rtl div#bodyContent ul#filetoc {
458 display: block;
459 }
460
461 /* RTL specific CSS ends here **/