Merge "Make line breaks in <blockquote> behave like <div> (bug 6200)."
[mediawiki.git] / skins / common / oldshared.css
blobb68a9964e7231e56483f47863ba3dfca1d2bfb63
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 #footer { clear: both }
24 /* images */
25 /* @noflip */
26 div.floatright {
27 float: right;
28 clear: right;
29 margin: 0 0 1em 1em;
32 /* @noflip */
33 div.floatright p {
34 font-style: italic;
37 /* @noflip */
38 div.floatleft {
39 float: left;
40 clear: left;
41 margin: 0.3em 0.5em 0.5em 0;
44 /* @noflip */
45 div.floatleft p {
46 font-style: italic;
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;
58 /* thumbnails */
59 div.thumb {
60 margin-bottom: .5em;
61 border-style: solid;
62 border-color: white;
63 width: auto;
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;
73 html .thumbimage {
74 border: 1px solid #ccc;
76 html .thumbcaption {
77 border: none;
78 text-align: left;
79 line-height: 1.4em;
80 padding: 3px !important;
81 font-size: 94%;
83 div.magnify {
84 float: right;
85 border: none !important;
86 background: none !important;
87 margin-left: 3px;
89 div.magnify a,
90 div.magnify img {
91 display: block;
92 border: none !important;
93 background: none !important;
95 /* @noflip */
96 div.tright {
97 clear: right;
98 float: right;
99 border-width: .5em 0 .8em 1.4em;
101 /* @noflip */
102 div.tleft {
103 float: left;
104 clear: left;
105 margin-right: .5em;
106 border-width: .5em 1.4em .8em 0;
108 img.thumbborder {
109 border: 1px solid #dddddd;
112 /* Page history styling */
113 /* the auto-generated edit comments */
114 .autocomment { color: #4b4b4b; }
116 img { border: none; }
118 #toc,
119 .toc {
120 border: 1px solid #bba;
121 background-color: #f7f8ff;
122 padding: 5px;
123 font-size: 95%;
124 text-align: center;
125 display: -moz-inline-block;
126 display: inline-block;
127 zoom: 1;
128 *display: inline;
129 padding: 7px;
131 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
132 table#toc,
133 table.toc {
134 border-collapse: collapse;
136 /* Remove additional paddings inside table-cells that are not present in <div>s */
137 table#toc td,
138 table.toc td {
139 padding: 0;
141 #toc h2,
142 .toc h2 {
143 display: inline;
144 border: none;
145 padding: 0;
146 font-size: 100%;
147 font-weight: bold;
149 #toc ul,
150 .toc ul {
151 list-style-type: none;
152 list-style-image: none;
153 padding: 0;
154 text-align: left;
156 #toc ul ul,
157 .toc ul ul {
158 margin: 0 0 0 2em;
160 #toc .toctoggle,
161 .toc .toctoggle {
162 font-size: 94%;
165 .error {
166 color: red;
167 font-size: larger;
170 /* preference page with js-genrated toc */
171 #preftoc {
172 float: left;
173 margin: 1em 1em 1em 1em;
174 width: 13em;
176 #preftoc li {
177 border: 1px solid White;
179 #preftoc li.selected {
180 background-color:#f9f9f9;
181 border:1px dashed #aaaaaa;
183 #preftoc a,
184 #preftoc a:active {
185 display: block;
186 color: #005189;
188 .mw-prefs-buttons {
189 clear: left;
190 float: left;
191 margin-top: 1em;
193 div.htmlform-tip {
194 font-size: 94%;
195 margin-top: 0.4em;
196 color: #666;
198 fieldset.prefsection {
199 margin-top: 1em;
201 fieldset.operaprefsection {
202 margin-left: 15em;
205 /* emulate center */
206 .center {
207 width: 100%;
208 text-align: center;
210 *.center * {
211 margin-left: auto;
212 margin-right: auto;
215 /* small for tables and similar */
216 .small {
217 font-size: 94%;
219 table.small {
220 font-size: 100%;
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%;
230 #siteNotice {
231 border: 1px solid #aaaaaa;
232 padding-left: 0.5em;
233 padding-right: 0.5em;
235 .redirectText {
236 font-size: 150%;
237 margin: 5px;
239 .sharedUploadNotice {
240 font-style: italic;
242 span.unpatrolled {
243 font-weight: bold;
244 color: red;
247 span.updatedmarker {
248 color: black;
249 background-color: #00FF00;
252 div.gallerybox {
253 width: 150px;
256 span.comment {
257 font-style: italic;
260 span.changedby {
261 font-size: 95%;
264 .previewnote {
265 text-align: center;
266 color: #cc0000;
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;
279 .editExternallyHelp {
280 font-style: italic;
281 color: gray;
284 li span.deleted {
285 text-decoration: line-through;
286 color: #888;
287 font-style: italic;
290 /* Classes for Exif data display */
291 table.mw_metadata {
292 margin-left: 0.5em;
295 table.mw_metadata caption {
296 font-weight: bold;
298 table.mw_metadata th {
299 font-weight: normal;
301 table.mw_metadata td {
302 padding: 0.1em;
305 table.mw_metadata {
306 border: none;
307 border-collapse: collapse;
309 table.mw_metadata td,
310 table.mw_metadata th {
311 border: 1px solid #aaaaaa;
312 padding-left: 4px;
313 padding-right: 4px;
315 table.mw_metadata th {
316 background-color: #f9f9f9;
318 table.mw_metadata td {
319 background-color: #fcfcfc;
321 table.mw_metadata td.spacer {
322 background: inherit;
323 border-top: none;
324 border-bottom: none;
326 table.collapsed tr.collapsable {
327 display: none;
330 .visualClear {
331 clear: both;
334 /* Allmessages table */
335 #allmessagestable th {
336 background-color: #b2b2ff;
339 #allmessagestable tr.orig {
340 background-color: #ffe2e2;
343 #allmessagestable tr.new {
344 background-color: #e2ffe2;
347 #allmessagestable tr.def {
348 background-color: #f0f0ff;
351 #jump-to-nav {
352 display: none;
355 div.multipageimagenavbox {
356 border: solid 1px silver;
357 padding: 4px;
358 margin: 1em;
359 background: #f0f0f0;
362 div.multipageimagenavbox div.thumb {
363 border: none;
364 margin-left: 2em;
365 margin-right: 2em;
368 div.multipageimagenavbox hr {
369 margin: 6px;
372 table.multipageimage td {
373 text-align: center;
377 Table pager (e.g. Special:Imagelist)
378 - remove underlines from the navigation link
379 - collapse borders
380 - set the borders to outsets (similar to Special:Allmessages)
381 - remove line wrapping for all td and th, set background color
382 - restore line wrapping for the last two table cells (description and size)
384 .TablePager_nav a {
385 text-decoration: none;
387 .TablePager {
388 border-collapse: collapse;
390 .TablePager,
391 .TablePager td,
392 .TablePager th {
393 border: 0.15em solid #777777;
394 padding: 0 0.15em 0 0.15em;
396 .TablePager th {
397 background-color: #eeeeff;
399 .TablePager td {
400 background-color: #ffffff;
402 .TablePager tr:hover td {
403 background-color: #eeeeff;
406 .imagelist td,
407 .imagelist th {
408 white-space: nowrap;
410 .imagelist .TablePager_col_links {
411 background-color: #eeeeff;
413 .imagelist .TablePager_col_img_description {
414 white-space: normal;
416 .imagelist th.TablePager_sort {
417 background-color: #ccccff;
420 .templatesUsed {
421 margin-top: 1em;
424 .MediaTransformError {
425 border: thin solid #777;
426 background-color: #ccc;
427 padding: 0.1em;
429 .MediaTransformError td {
430 text-align: center;
431 vertical-align: middle;
432 font-size: 90%;
435 form#specialpages {
436 display: inline;
439 body {
440 direction: ltr;
441 unicode-bidi: embed;
442 background-color: #ffffec;
444 body.ns-0 {
445 background-color: white;
448 /** RTL specific CSS starts here **/
451 * Lists:
452 * The following lines don't have a visible effect on non-Gecko browsers
453 * They fix a problem with Gecko browsers rendering lists to the right of
454 * left-floated objects in an RTL layout.
456 /* @noflip */
457 html > body.rtl div#article ul {
458 display: table;
460 /* @noflip */
461 html > body.rtl div#bodyContent ul#filetoc {
462 display: block;
465 /* RTL specific CSS ends here **/