Merge "Add ss_active_users in SiteStats::isSane"
[mediawiki.git] / skins / common / oldshared.css
blobfa86aeeeb7ffa71b745b1dfa533cd8dbde55aa9d
1 /**
2 * oldshared.css
3 * This file contains CSS settings common to Wikistandard, Nostalgia and
4 * CologneBlue, the old pre-Monobook skins
5 */
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 */
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;
21 /* Now the custom parts */
23 /* Make edit sections (which are inside h# tags) normal-sized */
24 .editsection {
25 font-weight: normal;
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%; }
33 #footer { clear: both }
34 /* images */
35 /* @noflip */
36 div.floatright {
37 float: right;
38 clear: right;
39 margin: 0 0 1em 1em;
42 /* @noflip */
43 div.floatright p {
44 font-style: italic;
47 /* @noflip */
48 div.floatleft {
49 float: left;
50 clear: left;
51 margin: 0.3em 0.5em 0.5em 0;
54 /* @noflip */
55 div.floatleft p {
56 font-style: italic;
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;
68 /* thumbnails */
69 div.thumb {
70 margin-bottom: .5em;
71 border-style: solid;
72 border-color: white;
73 width: auto;
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;
83 html .thumbimage {
84 border: 1px solid #ccc;
86 html .thumbcaption {
87 border: none;
88 text-align: left;
89 line-height: 1.4em;
90 padding: 3px !important;
91 font-size: 94%;
93 div.magnify {
94 float: right;
95 border: none !important;
96 background: none !important;
98 div.magnify a,
99 div.magnify img {
100 display: block;
101 border: none !important;
102 background: none !important;
104 /* @noflip */
105 div.tright {
106 clear: right;
107 float: right;
108 border-width: .5em 0 .8em 1.4em;
110 /* @noflip */
111 div.tleft {
112 float: left;
113 clear: left;
114 margin-right: .5em;
115 border-width: .5em 1.4em .8em 0;
117 img.thumbborder {
118 border: 1px solid #dddddd;
121 /* Page history styling */
122 /* the auto-generated edit comments */
123 .autocomment { color: #4b4b4b; }
125 img { border: none; }
127 #toc,
128 .toc {
129 border: 1px solid #bba;
130 background-color: #f7f8ff;
131 padding: 5px;
132 font-size: 95%;
133 text-align: center;
135 #toc h2,
136 .toc h2 {
137 display: inline;
138 border: none;
139 padding: 0;
140 font-size: 100%;
141 font-weight: bold;
143 #toc ul,
144 .toc ul {
145 list-style-type: none;
146 list-style-image: none;
147 padding: 0;
148 text-align: left;
150 #toc ul ul,
151 .toc ul ul {
152 margin: 0 0 0 2em;
154 #toc .toctoggle,
155 .toc .toctoggle {
156 font-size: 94%;
159 .error {
160 color: red;
161 font-size: larger;
164 /* preference page with js-genrated toc */
165 #preftoc {
166 float: left;
167 margin: 1em 1em 1em 1em;
168 width: 13em;
170 #preftoc li {
171 border: 1px solid White;
173 #preftoc li.selected {
174 background-color:#f9f9f9;
175 border:1px dashed #aaaaaa;
177 #preftoc a,
178 #preftoc a:active {
179 display: block;
180 color: #005189;
182 .mw-prefs-buttons {
183 clear: left;
184 float: left;
185 margin-top: 1em;
187 div.htmlform-tip {
188 font-size: 94%;
189 margin-top: 0.4em;
190 color: #666;
192 fieldset.prefsection {
193 margin-top: 1em;
195 fieldset.operaprefsection {
196 margin-left: 15em;
199 /* emulate center */
200 .center {
201 width: 100%;
202 text-align: center;
204 *.center * {
205 margin-left: auto;
206 margin-right: auto;
209 /* small for tables and similar */
210 .small {
211 font-size: 94%;
213 table.small {
214 font-size: 100%;
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%;
224 #siteNotice {
225 border: 1px solid #aaaaaa;
226 padding-left: 0.5em;
227 padding-right: 0.5em;
229 .redirectText {
230 font-size: 150%;
231 margin: 5px;
233 .sharedUploadNotice {
234 font-style: italic;
236 span.unpatrolled {
237 font-weight: bold;
238 color: red;
241 span.updatedmarker {
242 color: black;
243 background-color: #00FF00;
246 div.gallerybox {
247 width: 150px;
250 span.comment {
251 font-style: italic;
254 span.changedby {
255 font-size: 95%;
258 .previewnote {
259 text-align: center;
260 color: #cc0000;
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;
273 .editExternallyHelp {
274 font-style: italic;
275 color: gray;
278 li span.deleted {
279 text-decoration: line-through;
280 color: #888;
281 font-style: italic;
284 /* Classes for Exif data display */
285 table.mw_metadata {
286 margin-left: 0.5em;
289 table.mw_metadata caption {
290 font-weight: bold;
292 table.mw_metadata th {
293 font-weight: normal;
295 table.mw_metadata td {
296 padding: 0.1em;
299 table.mw_metadata {
300 border: none;
301 border-collapse: collapse;
303 table.mw_metadata td,
304 table.mw_metadata th {
305 border: 1px solid #aaaaaa;
306 padding-left: 4px;
307 padding-right: 4px;
309 table.mw_metadata th {
310 background-color: #f9f9f9;
312 table.mw_metadata td {
313 background-color: #fcfcfc;
315 table.mw_metadata td.spacer {
316 background: inherit;
317 border-top: none;
318 border-bottom: none;
320 table.collapsed tr.collapsable {
321 display: none;
324 .visualClear {
325 clear: both;
328 /* Allmessages table */
329 #allmessagestable th {
330 background-color: #b2b2ff;
333 #allmessagestable tr.orig {
334 background-color: #ffe2e2;
337 #allmessagestable tr.new {
338 background-color: #e2ffe2;
341 #allmessagestable tr.def {
342 background-color: #f0f0ff;
345 #jump-to-nav {
346 display: none;
349 div.multipageimagenavbox {
350 border: solid 1px silver;
351 padding: 4px;
352 margin: 1em;
353 background: #f0f0f0;
356 div.multipageimagenavbox div.thumb {
357 border: none;
358 margin-left: 2em;
359 margin-right: 2em;
362 div.multipageimagenavbox hr {
363 margin: 6px;
366 table.multipageimage td {
367 text-align: center;
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)
378 .TablePager_nav a {
379 text-decoration: none;
381 .TablePager {
382 border-collapse: collapse;
384 .TablePager,
385 .TablePager td,
386 .TablePager th {
387 border: 0.15em solid #777777;
388 padding: 0 0.15em 0 0.15em;
390 .TablePager th {
391 background-color: #eeeeff;
393 .TablePager td {
394 background-color: #ffffff;
396 .TablePager tr:hover td {
397 background-color: #eeeeff;
400 .imagelist td,
401 .imagelist th {
402 white-space: nowrap;
404 .imagelist .TablePager_col_links {
405 background-color: #eeeeff;
407 .imagelist .TablePager_col_img_description {
408 white-space: normal;
410 .imagelist th.TablePager_sort {
411 background-color: #ccccff;
414 .templatesUsed {
415 margin-top: 1em;
418 .MediaTransformError {
419 border: thin solid #777;
420 background-color: #ccc;
421 padding: 0.1em;
423 .MediaTransformError td {
424 text-align: center;
425 vertical-align: middle;
426 font-size: 90%;
429 form#specialpages {
430 display: inline;
433 body {
434 direction: ltr;
435 unicode-bidi: embed;
436 background-color: #ffffec;
438 body.ns-0 {
439 background-color: white;
442 /** RTL specific CSS starts here **/
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.
450 /* @noflip */
451 html > body.rtl div#article ul {
452 display: table;
454 /* @noflip */
455 html > body.rtl div#bodyContent ul#filetoc {
456 display: block;
459 /* RTL specific CSS ends here **/