Special case opus mime detction
[mediawiki.git] / resources / src / mediawiki.legacy / oldshared.css
blob4daf77f262e156a56b8051bf1bc86aced0c5dcfe
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 * https://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right
9 */
11 h1 {
12 font-size: 2em;
15 h2 {
16 font-size: 1.5em;
19 h3 {
20 font-size: 1.17em;
23 h4 {
24 font-size: 1.11em;
27 h5 {
28 font-size: 1.05em;
31 h6 {
32 font-size: 1em;
35 h1, h2, h3, h4, h5, h6 {
36 font-weight: bolder;
39 /* Now the custom parts */
41 #footer {
42 clear: both;
45 /* images */
46 /* @noflip */
47 div.floatright {
48 float: right;
49 clear: right;
50 margin: 0 0 1em 1em;
53 /* @noflip */
54 div.floatright p {
55 font-style: italic;
58 /* @noflip */
59 div.floatleft {
60 float: left;
61 clear: left;
62 margin: 0.3em 0.5em 0.5em 0;
65 /* @noflip */
66 div.floatleft p {
67 font-style: italic;
70 /* table standards */
71 table.rimage {
72 float: right;
73 margin-left: 1em;
74 margin-bottom: 1em;
75 text-align: center;
76 font-size: smaller;
79 /* thumbnails */
80 div.thumb {
81 margin-bottom: .5em;
82 border-style: solid;
83 border-color: #fff;
84 width: auto;
87 div.thumbinner {
88 border: 1px solid #ccc;
89 padding: 3px;
90 background-color: #f9f9f9;
91 font-size: 94%;
92 text-align: center;
93 /* new block formatting context,
94 * to clear background from floating content */
95 overflow: hidden;
98 html .thumbimage {
99 border: 1px solid #ccc;
102 html .thumbcaption {
103 border: none;
104 line-height: 1.4em;
105 padding: 3px;
106 font-size: 94%;
107 text-align: left;
110 div.magnify {
111 float: right;
112 margin-left: 3px;
115 div.magnify a {
116 display: block;
117 /* Hide the text… */
118 text-indent: 15px;
119 white-space: nowrap;
120 overflow: hidden;
121 /* …and replace it with the image */
122 width: 15px;
123 height: 11px;
124 /* Use same SVG support hack as mediawiki.legacy's shared.css */
125 background: url( images/magnify-clip-ltr.png ) center center no-repeat;
126 /* @embed */
127 background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-ltr.svg );
128 /* Don't annoy people who copy-paste everything too much */
129 -moz-user-select: none;
130 -webkit-user-select: none;
131 -ms-user-select: none;
132 user-select: none;
135 /* @noflip */
136 div.tright {
137 clear: right;
138 float: right;
139 border-width: .5em 0 .8em 1.4em;
142 /* @noflip */
143 div.tleft {
144 float: left;
145 clear: left;
146 margin-right: .5em;
147 border-width: .5em 1.4em .8em 0;
150 img.thumbborder {
151 border: 1px solid #ddd;
154 /* Page history styling */
155 /* the auto-generated edit comments */
156 .autocomment {
157 color: #4b4b4b;
160 img {
161 border: none;
164 #toc,
165 .toc {
166 border: 1px solid #bba;
167 background-color: #f7f8ff;
168 padding: 5px;
169 font-size: 95%;
170 text-align: center;
171 display: inline-block;
172 display: table;
174 /* IE7 and earlier */
175 zoom: 1;
176 *display: inline;
178 padding: 7px;
181 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
182 table#toc,
183 table.toc {
184 border-collapse: collapse;
187 /* Remove additional paddings inside table-cells that are not present in <div>s */
188 table#toc td,
189 table.toc td {
190 padding: 0;
193 #toc h2,
194 .toc h2 {
195 display: inline;
196 border: none;
197 padding: 0;
198 font-size: 100%;
199 font-weight: bold;
202 #toc ul,
203 .toc ul {
204 list-style-type: none;
205 list-style-image: none;
206 padding: 0;
207 text-align: left;
210 #toc ul ul,
211 .toc ul ul {
212 margin: 0 0 0 2em;
215 .error {
216 color: #f00;
217 font-size: larger;
220 /* preference page with js-genrated toc */
221 #preftoc {
222 float: left;
223 margin: 1em 1em 1em 1em;
224 width: 13em;
227 #preftoc li {
228 border: 1px solid #fff;
231 #preftoc li.selected {
232 background-color: #f9f9f9;
233 border: 1px dashed #aaa;
236 #preftoc a,
237 #preftoc a:active {
238 display: block;
239 color: #005189;
242 .mw-prefs-buttons {
243 clear: left;
244 float: left;
245 margin-top: 1em;
248 div.htmlform-tip {
249 font-size: 94%;
250 margin-top: 0.4em;
251 color: #666;
254 /* emulate center */
255 .center {
256 width: 100%;
257 text-align: center;
260 *.center * {
261 margin-left: auto;
262 margin-right: auto;
265 /* small for tables and similar */
266 .small {
267 font-size: 94%;
270 table.small {
271 font-size: 100%;
274 /* use this instead of #toc for page content */
275 .toccolours {
276 border: 1px solid #aaa;
277 background-color: #f9f9f9;
278 padding: 5px;
279 font-size: 95%;
282 #siteNotice {
283 border: 1px solid #aaa;
284 padding-left: 0.5em;
285 padding-right: 0.5em;
288 .sharedUploadNotice {
289 font-style: italic;
292 span.unpatrolled {
293 font-weight: bold;
294 color: #f00;
297 div.gallerybox {
298 width: 150px;
301 span.comment {
302 font-style: italic;
305 .previewnote {
306 text-align: center;
307 color: #c00;
310 .editExternally {
311 border-style: solid;
312 border-width: 1px;
313 border-color: #808080;
314 background: #fff;
315 padding: 3px;
316 margin-top: 0.5em;
317 float: left;
318 font-size: small;
319 text-align: center;
322 .editExternallyHelp {
323 font-style: italic;
324 color: #808080;
327 li span.deleted {
328 text-decoration: line-through;
329 color: #888;
330 font-style: italic;
333 /* Classes for Exif data display */
334 table.mw_metadata {
335 margin-left: 0.5em;
338 table.mw_metadata caption {
339 font-weight: bold;
342 table.mw_metadata th {
343 font-weight: normal;
346 table.mw_metadata td {
347 padding: 0.1em;
350 table.mw_metadata {
351 border: none;
352 border-collapse: collapse;
355 table.mw_metadata td,
356 table.mw_metadata th {
357 border: 1px solid #aaa;
358 padding-left: 4px;
359 padding-right: 4px;
362 table.mw_metadata th {
363 background-color: #f9f9f9;
366 table.mw_metadata td {
367 background-color: #fcfcfc;
370 table.mw_metadata td.spacer {
371 background: inherit;
372 border-top: none;
373 border-bottom: none;
376 .visualClear {
377 clear: both;
380 /* Allmessages table */
381 #allmessagestable th {
382 background-color: #b2b2ff;
385 #allmessagestable tr.orig {
386 background-color: #ffe2e2;
389 #allmessagestable tr.new {
390 background-color: #e2ffe2;
393 #allmessagestable tr.def {
394 background-color: #f0f0ff;
397 #jump-to-nav {
398 display: none;
401 div.multipageimagenavbox {
402 border: solid 1px #c0c0c0;
403 padding: 4px;
404 margin: 1em;
405 background: #f0f0f0;
408 div.multipageimagenavbox div.thumb {
409 border: none;
410 margin-left: 2em;
411 margin-right: 2em;
414 div.multipageimagenavbox hr {
415 margin: 6px;
418 table.multipageimage td {
419 text-align: center;
422 .templatesUsed {
423 margin-top: 1em;
426 .MediaTransformError {
427 border: thin solid #777;
428 background-color: #ccc;
429 padding: 0.1em;
432 .MediaTransformError td {
433 text-align: center;
434 vertical-align: middle;
435 font-size: 90%;
438 form#specialpages {
439 display: inline;
442 body {
443 direction: ltr;
444 unicode-bidi: embed;
445 background-color: #ffffec;
448 body.ns-0 {
449 background-color: #fff;
452 /** RTL specific CSS starts here **/
455 * Lists:
456 * The following lines don't have a visible effect on non-Gecko browsers
457 * They fix a problem with Gecko browsers rendering lists to the right of
458 * left-floated objects in an RTL layout.
460 /* @noflip */
461 html > body.rtl div#article ul {
462 display: table;
465 /* @noflip */
466 html > body.rtl .mw-body ul#filetoc {
467 display: block;
470 /* RTL specific CSS ends here **/