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