* Changes in IP.php:
[mediawiki.git] / skins / common / oldshared.css
blob33047ec93ae437a07b0091ee3d4cad7001bfd12d
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 <http://www.w3.org/
8 TR/CSS21/sample.html> to make sure the editsection links scale right */
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;
19 /* Now the custom parts */
21 /* Make edit sections (which are inside h# tags) normal-sized */
22 .editsection {
23 font-weight: normal;
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%; }
31 #footer { clear: both }
32 /* images */
33 div.floatright {
34 float: right;
35 clear: right;
36 margin: 0 0 1em 1em;
39 div.floatright p {
40 font-style: italic;
43 div.floatleft {
44 float: left;
45 clear: left;
46 margin: 0.3em 0.5em 0.5em 0;
49 div.floatleft p {
50 font-style: italic;
54 /* Print-specific things to hide */
55 .printfooter {
56 display: none;
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, div.magnify img {
99 display: block;
100 border: none !important;
101 background: none !important;
103 div.tright {
104 clear: right;
105 float: right;
106 border-width: .5em 0 .8em 1.4em;
108 div.tleft {
109 float: left;
110 clear: left;
111 margin-right: .5em;
112 border-width: .5em 1.4em .8em 0;
114 img.thumbborder {
115 border: 1px solid #dddddd;
118 /* Page history styling */
119 /* the auto-generated edit comments */
120 .autocomment { color: #4b4b4b; }
122 img { border: none; }
124 #toc,
125 .toc {
126 border: 1px solid #bba;
127 background-color: #f7f8ff;
128 padding: 5px;
129 font-size: 95%;
130 text-align: center;
132 #toc h2,
133 .toc h2 {
134 display: inline;
135 border: none;
136 padding: 0;
137 font-size: 100%;
138 font-weight: bold;
140 #toc ul,
141 .toc ul {
142 list-style-type: none;
143 list-style-image: none;
144 margin-left: 0;
145 padding-left: 0;
146 text-align: left;
148 #toc ul ul,
149 .toc ul ul {
150 margin: 0 0 0 2em;
152 #toc .toctoggle,
153 .toc .toctoggle {
154 font-size: 94%;
157 .error {
158 color: red;
159 font-size: larger;
162 /* preference page with js-genrated toc */
163 #mw-pref-clear {
164 clear: both;
166 #preftoc {
167 float: left;
168 margin: 1em 1em 1em 1em;
169 width: 13em;
171 #preftoc li {
172 border: 1px solid White;
174 #preftoc li.selected {
175 background-color:#f9f9f9;
176 border:1px dashed #aaaaaa;
178 #preftoc a,
179 #preftoc a:active {
180 display: block;
181 color: #005189;
183 .mw-prefs-buttons {
184 clear: left;
185 float: left;
186 margin-top: 1em;
188 div.htmlform-tip {
189 font-size: 94%;
190 margin-top: 0.4em;
191 color: #666;
193 fieldset.prefsection {
194 margin-top: 1em;
196 fieldset.operaprefsection {
197 margin-left: 15em;
200 /* emulate center */
201 .center {
202 width: 100%;
203 text-align: center;
205 *.center * {
206 margin-left: auto;
207 margin-right: auto;
210 /* small for tables and similar */
211 .small, .small * {
212 font-size: 94%;
214 table.small {
215 font-size: 100%;
218 /* use this instead of #toc for page content */
219 .toccolours {
220 border: 1px solid #aaaaaa;
221 background-color: #f9f9f9;
222 padding: 5px;
223 font-size: 95%;
225 #siteNotice {
226 border: 1px solid #aaaaaa;
227 padding-left: 0.5em;
228 padding-right: 0.5em;
230 .redirectText {
231 font-size: 150%;
232 margin: 5px;
234 .sharedUploadNotice {
235 font-style: italic;
237 span.unpatrolled {
238 font-weight: bold;
239 color: red;
242 span.updatedmarker {
243 color: black;
244 background-color: #00FF00;
247 div.gallerybox {
248 width: 150px;
251 span.comment {
252 font-style: italic;
255 span.changedby {
256 font-size: 95%;
259 .previewnote {
260 text-align: center;
261 color: #cc0000;
263 .editExternally {
264 border-style: solid;
265 border-width: 1px;
266 border-color: gray;
267 background: #ffffff;
268 padding: 3px;
269 margin-top: 0.5em;
270 float: left;
271 font-size: small;
272 text-align: center;
274 .editExternallyHelp {
275 font-style: italic;
276 color: gray;
279 li span.deleted {
280 text-decoration: line-through;
281 color: #888;
282 font-style: italic;
285 /* Classes for EXIF data display */
286 table.mw_metadata {
287 margin-left: 0.5em;
290 table.mw_metadata caption {
291 font-weight: bold;
293 table.mw_metadata th {
294 font-weight: normal;
296 table.mw_metadata td {
297 padding: 0.1em;
300 table.mw_metadata {
301 border: none;
302 border-collapse: collapse;
304 table.mw_metadata td, 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, .TablePager td, .TablePager th {
385 border: 0.15em solid #777777;
386 padding: 0 0.15em 0 0.15em;
388 .TablePager th {
389 background-color: #eeeeff;
391 .TablePager td {
392 background-color: #ffffff;
394 .TablePager tr:hover td {
395 background-color: #eeeeff;
398 .imagelist td, .imagelist th {
399 white-space: nowrap;
401 .imagelist .TablePager_col_links {
402 background-color: #eeeeff;
404 .imagelist .TablePager_col_img_description {
405 white-space: normal;
407 .imagelist th.TablePager_sort {
408 background-color: #ccccff;
411 .templatesUsed {
412 margin-top: 1em;
415 .MediaTransformError {
416 border: thin solid #777;
417 background-color: #ccc;
418 padding: 0.1em;
420 .MediaTransformError td {
421 text-align: center;
422 vertical-align: middle;
423 font-size: 90%;
426 form#specialpages {
427 display: inline;
430 body {
431 background-color: #ffffec;
433 body.ns-0 {
434 background-color: white;