r22889 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22888‎ | r22889 | r22890 >
Date:17:16, 10 June 2007
Author:simetrical
Status:old
Tags:
Comment:
Use shared.css as a common CSS file for all skins, and oldshared.css in place of common.css for pre-Monobook skins (avoiding "common" to reduce naming confusion with MediaWiki:Common.css).
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Skin.php (modified) (history)
  • /trunk/phase3/skins/MonoBook.php (modified) (history)
  • /trunk/phase3/skins/chick/main.css (modified) (history)
  • /trunk/phase3/skins/common/common.css (deleted) (history)
  • /trunk/phase3/skins/common/oldshared.css (added) (history)
  • /trunk/phase3/skins/common/shared.css (added) (history)
  • /trunk/phase3/skins/monobook/handheld.css (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)
  • /trunk/phase3/skins/simple/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/chick/main.css
@@ -473,13 +473,4 @@
474474 /* Recreating-deleted-page warning and log entries */
475475 div#mw-recreate-deleted-warn ul li {
476476 font-size: 95%;
477 -}
478 -
479 -/**
480 - * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
481 - * When the day comes, it can be moved to a *real* common.css.
482 - */
483 -.mw-plusminus-null { color: #aaa; }
484 -.texvc { direction: ltr; unicode-bidi: embed; }
485 -/* Stop floats from intruding into edit area in previews */
486 -#toolbar, #wpTextbox1 { clear: both; }
 477+}
\ No newline at end of file
Index: trunk/phase3/skins/monobook/handheld.css
@@ -1299,13 +1299,4 @@
13001300 /* Kill big bulky stuff that will clog up the screen */
13011301 display: none;
13021302 }
1303 -}
1304 -
1305 -/**
1306 - * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1307 - * When the day comes, it can be moved to a *real* common.css.
1308 - */
1309 -.mw-plusminus-null { color: #aaa; }
1310 -.texvc { direction: ltr; unicode-bidi: embed; }
1311 -/* Stop floats from intruding into edit area in previews */
1312 -#toolbar, #wpTextbox1 { clear: both; }
\ No newline at end of file
 1303+}
\ No newline at end of file
Index: trunk/phase3/skins/monobook/main.css
@@ -1622,16 +1622,6 @@
16231623 div#mw-recreate-deleted-warn ul li {
16241624 font-size: 90%;
16251625 }
1626 -
1627 -/**
1628 - * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1629 - * When the day comes, it can be moved to a *real* common.css.
1630 - */
1631 -.mw-plusminus-null { color: #aaa; }
1632 -.texvc { direction: ltr; unicode-bidi: embed; }
1633 -/* Stop floats from intruding into edit area in previews */
1634 -#toolbar, #wpTextbox1 { clear: both; }
1635 -
16361626 .MediaTransformError {
16371627 background-color: #ccc;
16381628 padding: 0.1em;
Index: trunk/phase3/skins/common/common.css
@@ -1,484 +0,0 @@
2 -/*
3 - * common.css
4 - * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue
5 - */
6 -
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 */
9 -
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 { font-weight: bolder }
16 -
17 -/* Now the custom parts */
18 -
19 -/* Make edit sections (which are inside h# tags) normal-sized */
20 -.editsection {
21 - font-weight: normal;
22 - float: right;
23 - margin-left: 5px;
24 -}
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% }
30 -
31 -#footer { clear: both }
32 -/* images */
33 -div.floatright { float: right; clear: right; margin: 0 0 1em 1em; }
34 -div.floatright p { font-style: italic; }
35 -div.floatleft { float: left; clear: left; margin: 0.3em 0.5em 0.5em 0; }
36 -div.floatleft p { font-style: italic; }
37 -
38 -
39 -/* Print-specific things to hide */
40 -.printfooter {
41 - display: none;
42 -}
43 -
44 -/* table standards */
45 -table.rimage {
46 - float:right;
47 - margin-left:1em;
48 - margin-bottom:1em;
49 - text-align:center;
50 - font-size:smaller;
51 -}
52 -
53 -/* thumbnails */
54 -div.thumb {
55 - margin-bottom: .5em;
56 - border-style: solid;
57 - border-color: white;
58 - width: auto;
59 -}
60 -div.thumbinner {
61 - border: 1px solid #ccc;
62 - padding: 3px !important;
63 - background-color: #f9f9f9;
64 - font-size: 94%;
65 - text-align: center;
66 - overflow: hidden;
67 -}
68 -html .thumbimage {
69 - border: 1px solid #ccc;
70 -}
71 -html .thumbcaption {
72 - border: none;
73 - text-align: left;
74 - line-height: 1.4em;
75 - padding: 3px !important;
76 - font-size: 94%;
77 -}
78 -div.magnify {
79 - float: right;
80 - border: none !important;
81 - background: none !important;
82 -}
83 -div.magnify a, div.magnify img {
84 - display: block;
85 - border: none !important;
86 - background: none !important;
87 -}
88 -div.tright {
89 - clear: right;
90 - float: right;
91 - border-width: .5em 0 .8em 1.4em;
92 -}
93 -div.tleft {
94 - float: left;
95 - clear: left;
96 - margin-right: .5em;
97 - border-width: .5em 1.4em .8em 0;
98 -}
99 -img.thumbborder {
100 - border: 1px solid #dddddd;
101 -}
102 -
103 -/* Page history styling */
104 -/* the auto-generated edit comments */
105 -.autocomment { color: #4b4b4b; }
106 -#pagehistory span.user {
107 - margin-left: 1.4em;
108 - margin-right: 0.4em;
109 -}
110 -#pagehistory span.minor { font-weight: bold; }
111 -#pagehistory li { border: 1px solid White; }
112 -#pagehistory li.selected {
113 - background-color:#f9f9f9;
114 - border:1px dashed #aaaaaa;
115 -}
116 -
117 -img { border: none; }
118 -img.tex { vertical-align: middle; }
119 -span.texhtml { font-family: serif; }
120 -
121 -
122 -#toc,
123 -.toc {
124 - border: 1px solid #bba;
125 - background-color: #f7f8ff;
126 - padding: 5px;
127 - font-size: 95%;
128 - text-align: center;
129 -}
130 -#toc h2,
131 -.toc h2 {
132 - display: inline;
133 - border: none;
134 - padding: 0;
135 - font-size: 100%;
136 - font-weight: bold;
137 -}
138 -#toc ul,
139 -.toc ul {
140 - list-style-type: none;
141 - list-style-image: none;
142 - margin-left: 0;
143 - padding-left: 0;
144 - text-align: left;
145 -}
146 -#toc ul ul,
147 -.toc ul ul {
148 - margin: 0 0 0 2em;
149 -}
150 -#toc .toctoggle,
151 -.toc .toctoggle {
152 - font-size: 94%;
153 -}
154 -
155 -
156 -.error {
157 - color: red;
158 - font-size: larger;
159 -}
160 -
161 -/* preference page with js-genrated toc */
162 -#preftoc {
163 - float: left;
164 - margin: 1em 1em 1em 1em;
165 - width: 13em;
166 -}
167 -#preftoc li { border: 1px solid White; }
168 -#preftoc li.selected {
169 - background-color:#f9f9f9;
170 - border:1px dashed #aaaaaa;
171 -}
172 -#preftoc a,
173 -#preftoc a:active {
174 - display: block;
175 - color: #005189;
176 -}
177 -#prefcontrol {
178 - clear: left;
179 - float: left;
180 - margin-top: 1em;
181 -}
182 -div.prefsectiontip {
183 - font-size: 94%;
184 - margin-top: 0.4em;
185 - color: #666;
186 -}
187 -fieldset.prefsection { margin-top: 1em }
188 -fieldset.operaprefsection { margin-left: 15em }
189 -
190 -/* emulate center */
191 -.center {
192 - width: 100%;
193 - text-align: center;
194 -}
195 -*.center * {
196 - margin-left: auto;
197 - margin-right: auto;
198 -}
199 -/* small for tables and similar */
200 -.small, .small * { font-size: 94%; }
201 -table.small { font-size: 100% }
202 -
203 -div.townBox {
204 - position:relative;
205 - float:right;
206 - background:White;
207 - margin-left:1em;
208 - border: 1px solid gray;
209 - padding:0.3em;
210 - width: 200px;
211 - overflow: hidden;
212 - clear: right;
213 -}
214 -div.townBox dl {
215 - padding: 0;
216 - margin: 0 0 0.3em 0;
217 - font-size: 96%;
218 -}
219 -div.townBox dl dt {
220 - background: none;
221 - margin: 0.4em 0 0 0;
222 -}
223 -div.townBox dl dd {
224 - margin: 0.1em 0 0 1.1em;
225 - background-color: #f3f3f3;
226 -}
227 -/* use this instead of #toc for page content */
228 -.toccolours {
229 - border:1px solid #aaaaaa;
230 - background-color:#f9f9f9;
231 - padding:5px;
232 - font-size: 95%;
233 -}
234 -#siteNotice {
235 - border:1px solid #aaaaaa;
236 - padding-left: 0.5em;
237 - padding-right: 0.5em;
238 -}
239 -.redirectText {
240 - font-size:150%;
241 - margin:5px;
242 -}
243 -.searchmatch {
244 - color: red;
245 - font-weight: bold;
246 -}
247 -.sharedUploadNotice {
248 - font-style: italic;
249 -}
250 -span.unpatrolled {
251 - font-weight:bold;
252 - color:red;
253 -}
254 -
255 -span.updatedmarker {
256 - color:black;
257 - background-color:#00FF00;
258 -}
259 -
260 -table.gallery {
261 - border: 1px solid #cccccc;
262 - margin: 2px;
263 - padding: 2px;
264 - background-color:#ffffff;
265 -}
266 -
267 -table.gallery tr {
268 - vertical-align:top;
269 -}
270 -
271 -table.gallery td {
272 - vertical-align:top;
273 - background-color:#f9f9f9;
274 - border: solid 2px white;
275 -}
276 -
277 -div.gallerybox {
278 - margin: 2px;
279 - width: 150px;
280 -}
281 -
282 -div.gallerybox div.thumb {
283 - text-align: center;
284 - border: 1px solid #cccccc;
285 - margin: 2px;
286 -}
287 -
288 -div.gallerytext {
289 - overflow: hidden;
290 - font-size: 94%;
291 - padding: 2px 4px;
292 -}
293 -
294 -span.comment {
295 - font-style: italic;
296 -}
297 -
298 -span.changedby {
299 - font-size: 95%;
300 -}
301 -
302 -.previewnote {
303 - text-align: center;
304 - color: #cc0000;
305 -}
306 -.editExternally {
307 - border-style:solid;
308 - border-width:1px;
309 - border-color:gray;
310 - background: #ffffff;
311 - padding:3px;
312 - margin-top:0.5em;
313 - float:left;
314 - font-size:small;
315 - text-align:center;
316 -}
317 -.editExternallyHelp {
318 - font-style:italic;
319 - color:gray;
320 -}
321 -
322 -li span.deleted {
323 - text-decoration: line-through;
324 - color: #888;
325 - font-style: italic;
326 -}
327 -
328 -/* Classes for EXIF data display */
329 -table.mw_metadata {
330 - margin-left: 0.5em;
331 -}
332 -
333 -table.mw_metadata caption { font-weight: bold; }
334 -table.mw_metadata th { font-weight: normal; }
335 -table.mw_metadata td { padding: 0.1em; }
336 -
337 -table.mw_metadata {
338 - border: none;
339 - border-collapse: collapse;
340 -}
341 -table.mw_metadata td, table.mw_metadata th {
342 - border: 1px solid #aaaaaa;
343 - padding-left: 4px;
344 - padding-right: 4px;
345 -}
346 -table.mw_metadata th {
347 - background-color: #f9f9f9;
348 -}
349 -table.mw_metadata td {
350 - background-color: #fcfcfc;
351 -}
352 -table.mw_metadata td.spacer {
353 - background: inherit;
354 - border-top: none;
355 - border-bottom: none;
356 -}
357 -table.collapsed tr.collapsable {
358 - display: none;
359 -}
360 -
361 -.visualClear {
362 - clear: both;
363 -}
364 -
365 -#mw_trackbacks {
366 - border: solid 1px #bbbbff;
367 - background-color: #eeeeff;
368 - padding: 0.2em;
369 -}
370 -
371 -/* Allmessages table */
372 -
373 -#allmessagestable th {
374 - background-color: #b2b2ff;
375 -}
376 -
377 -#allmessagestable tr.orig {
378 - background-color: #ffe2e2;
379 -}
380 -
381 -#allmessagestable tr.new {
382 - background-color: #e2ffe2;
383 -}
384 -
385 -#allmessagestable tr.def {
386 - background-color: #f0f0ff;
387 -}
388 -
389 -#jump-to-nav {
390 - display: none;
391 -}
392 -
393 -/* Keep this temporarily so that cached pages will display right */
394 -table.gallery td.galleryheader {
395 - text-align: center;
396 - font-weight: bold;
397 -}
398 -table.gallery caption {
399 - font-weight: bold;
400 -}
401 -
402 -div.multipageimagenavbox {
403 - border: solid 1px silver;
404 - padding: 4px;
405 - margin: 1em;
406 - -moz-border-radius: 6px;
407 - background: #f0f0f0;
408 -}
409 -
410 -div.multipageimagenavbox div.thumb {
411 - border: none;
412 - margin-left: 2em;
413 - margin-right: 2em;
414 -}
415 -
416 -div.multipageimagenavbox hr {
417 - margin: 6px;
418 -}
419 -
420 -table.multipageimage td {
421 - text-align: center;
422 -}
423 -
424 -/*
425 - Table pager (e.g. Special:Imagelist)
426 - - remove underlines from the navigation link
427 - - collapse borders
428 - - set the borders to outsets (similar to Special:Allmessages)
429 - - remove line wrapping for all td and th, set background color
430 - - restore line wrapping for the last two table cells (description and size)
431 -*/
432 -.TablePager_nav a { text-decoration: none; }
433 -.TablePager { border-collapse: collapse; }
434 -.TablePager, .TablePager td, .TablePager th {
435 - border: 0.15em solid #777777;
436 - padding: 0 0.15em 0 0.15em;
437 -}
438 -.TablePager th { background-color: #eeeeff }
439 -.TablePager td { background-color: #ffffff }
440 -.TablePager tr:hover td { background-color: #eeeeff }
441 -
442 -.imagelist td, .imagelist th { white-space: nowrap }
443 -.imagelist .TablePager_col_links { background-color: #eeeeff }
444 -.imagelist .TablePager_col_img_description { white-space: normal }
445 -.imagelist th.TablePager_sort { background-color: #ccccff }
446 -
447 -.templatesUsed { margin-top: 1em; }
448 -
449 -/* Convenience links on Special:Ipblocklist */
450 -p.mw-ipb-conveniencelinks {
451 - font-size: 90%;
452 - float: right;
453 -}
454 -
455 -/* Recreating-deleted-page warning and log entries */
456 -div#mw-recreate-deleted-warn ul li {
457 - font-size: 95%;
458 -}
459 -
460 -/**
461 - * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
462 - * When the day comes, it can be moved to a *real* common.css.
463 - */
464 -.mw-plusminus-null { color: #aaa; }
465 -.texvc { direction: ltr; unicode-bidi: embed; }
466 -/* Stop floats from intruding into edit area in previews */
467 -#toolbar, #wpTextbox1 { clear: both; }
468 -
469 -/*
470 -#file img, .gallerybox .thumb img {
471 - background: url(images/Checker-16x16.png) repeat;
472 -}
473 -*/
474 -.MediaTransformError {
475 - border: thin solid #777;
476 - background-color: #ccc;
477 - padding: 0.1em;
478 -}
479 -.MediaTransformError td {
480 - text-align: center;
481 - vertical-align: middle;
482 - font-size: 90%;
483 -}
484 -
485 -
Index: trunk/phase3/skins/common/oldshared.css
@@ -0,0 +1,470 @@
 2+/*
 3+ * oldshared.css
 4+ * This file contains CSS settings common to Wikistandard, Nostalgia and
 5+ * CologneBlue, the old pre-Monobook skins
 6+ */
 7+
 8+/* For clarity, explicitly state some recommendations from <http://www.w3.org/
 9+ TR/CSS21/sample.html> to make sure the editsection links scale right */
 10+
 11+h1 { font-size: 2em; }
 12+h2 { font-size: 1.5em; }
 13+h3 { font-size: 1.17em; }
 14+h5 { font-size: .83em; }
 15+h6 { font-size: .75em; }
 16+h1, h2, h3, h4, h5, h6 { font-weight: bolder }
 17+
 18+/* Now the custom parts */
 19+
 20+/* Make edit sections (which are inside h# tags) normal-sized */
 21+.editsection {
 22+ font-weight: normal;
 23+ float: right;
 24+ margin-left: 5px;
 25+}
 26+h1 .editsection { font-size: 50% }
 27+h2 .editsection { font-size: 66.7% }
 28+h3 .editsection { font-size: 85.5% }
 29+h5 .editsection { font-size: 120% }
 30+h6 .editsection { font-size: 133% }
 31+
 32+#footer { clear: both }
 33+/* images */
 34+div.floatright { float: right; clear: right; margin: 0 0 1em 1em; }
 35+div.floatright p { font-style: italic; }
 36+div.floatleft { float: left; clear: left; margin: 0.3em 0.5em 0.5em 0; }
 37+div.floatleft p { font-style: italic; }
 38+
 39+
 40+/* Print-specific things to hide */
 41+.printfooter {
 42+ display: none;
 43+}
 44+
 45+/* table standards */
 46+table.rimage {
 47+ float:right;
 48+ margin-left:1em;
 49+ margin-bottom:1em;
 50+ text-align:center;
 51+ font-size:smaller;
 52+}
 53+
 54+/* thumbnails */
 55+div.thumb {
 56+ margin-bottom: .5em;
 57+ border-style: solid;
 58+ border-color: white;
 59+ width: auto;
 60+}
 61+div.thumbinner {
 62+ border: 1px solid #ccc;
 63+ padding: 3px !important;
 64+ background-color: #f9f9f9;
 65+ font-size: 94%;
 66+ text-align: center;
 67+ overflow: hidden;
 68+}
 69+html .thumbimage {
 70+ border: 1px solid #ccc;
 71+}
 72+html .thumbcaption {
 73+ border: none;
 74+ text-align: left;
 75+ line-height: 1.4em;
 76+ padding: 3px !important;
 77+ font-size: 94%;
 78+}
 79+div.magnify {
 80+ float: right;
 81+ border: none !important;
 82+ background: none !important;
 83+}
 84+div.magnify a, div.magnify img {
 85+ display: block;
 86+ border: none !important;
 87+ background: none !important;
 88+}
 89+div.tright {
 90+ clear: right;
 91+ float: right;
 92+ border-width: .5em 0 .8em 1.4em;
 93+}
 94+div.tleft {
 95+ float: left;
 96+ clear: left;
 97+ margin-right: .5em;
 98+ border-width: .5em 1.4em .8em 0;
 99+}
 100+img.thumbborder {
 101+ border: 1px solid #dddddd;
 102+}
 103+
 104+/* Page history styling */
 105+/* the auto-generated edit comments */
 106+.autocomment { color: #4b4b4b; }
 107+#pagehistory span.user {
 108+ margin-left: 1.4em;
 109+ margin-right: 0.4em;
 110+}
 111+#pagehistory span.minor { font-weight: bold; }
 112+#pagehistory li { border: 1px solid White; }
 113+#pagehistory li.selected {
 114+ background-color:#f9f9f9;
 115+ border:1px dashed #aaaaaa;
 116+}
 117+
 118+img { border: none; }
 119+img.tex { vertical-align: middle; }
 120+span.texhtml { font-family: serif; }
 121+
 122+
 123+#toc,
 124+.toc {
 125+ border: 1px solid #bba;
 126+ background-color: #f7f8ff;
 127+ padding: 5px;
 128+ font-size: 95%;
 129+ text-align: center;
 130+}
 131+#toc h2,
 132+.toc h2 {
 133+ display: inline;
 134+ border: none;
 135+ padding: 0;
 136+ font-size: 100%;
 137+ font-weight: bold;
 138+}
 139+#toc ul,
 140+.toc ul {
 141+ list-style-type: none;
 142+ list-style-image: none;
 143+ margin-left: 0;
 144+ padding-left: 0;
 145+ text-align: left;
 146+}
 147+#toc ul ul,
 148+.toc ul ul {
 149+ margin: 0 0 0 2em;
 150+}
 151+#toc .toctoggle,
 152+.toc .toctoggle {
 153+ font-size: 94%;
 154+}
 155+
 156+
 157+.error {
 158+ color: red;
 159+ font-size: larger;
 160+}
 161+
 162+/* preference page with js-genrated toc */
 163+#preftoc {
 164+ float: left;
 165+ margin: 1em 1em 1em 1em;
 166+ width: 13em;
 167+}
 168+#preftoc li { border: 1px solid White; }
 169+#preftoc li.selected {
 170+ background-color:#f9f9f9;
 171+ border:1px dashed #aaaaaa;
 172+}
 173+#preftoc a,
 174+#preftoc a:active {
 175+ display: block;
 176+ color: #005189;
 177+}
 178+#prefcontrol {
 179+ clear: left;
 180+ float: left;
 181+ margin-top: 1em;
 182+}
 183+div.prefsectiontip {
 184+ font-size: 94%;
 185+ margin-top: 0.4em;
 186+ color: #666;
 187+}
 188+fieldset.prefsection { margin-top: 1em }
 189+fieldset.operaprefsection { margin-left: 15em }
 190+
 191+/* emulate center */
 192+.center {
 193+ width: 100%;
 194+ text-align: center;
 195+}
 196+*.center * {
 197+ margin-left: auto;
 198+ margin-right: auto;
 199+}
 200+/* small for tables and similar */
 201+.small, .small * { font-size: 94%; }
 202+table.small { font-size: 100% }
 203+
 204+div.townBox {
 205+ position:relative;
 206+ float:right;
 207+ background:White;
 208+ margin-left:1em;
 209+ border: 1px solid gray;
 210+ padding:0.3em;
 211+ width: 200px;
 212+ overflow: hidden;
 213+ clear: right;
 214+}
 215+div.townBox dl {
 216+ padding: 0;
 217+ margin: 0 0 0.3em 0;
 218+ font-size: 96%;
 219+}
 220+div.townBox dl dt {
 221+ background: none;
 222+ margin: 0.4em 0 0 0;
 223+}
 224+div.townBox dl dd {
 225+ margin: 0.1em 0 0 1.1em;
 226+ background-color: #f3f3f3;
 227+}
 228+/* use this instead of #toc for page content */
 229+.toccolours {
 230+ border:1px solid #aaaaaa;
 231+ background-color:#f9f9f9;
 232+ padding:5px;
 233+ font-size: 95%;
 234+}
 235+#siteNotice {
 236+ border:1px solid #aaaaaa;
 237+ padding-left: 0.5em;
 238+ padding-right: 0.5em;
 239+}
 240+.redirectText {
 241+ font-size:150%;
 242+ margin:5px;
 243+}
 244+.searchmatch {
 245+ color: red;
 246+ font-weight: bold;
 247+}
 248+.sharedUploadNotice {
 249+ font-style: italic;
 250+}
 251+span.unpatrolled {
 252+ font-weight:bold;
 253+ color:red;
 254+}
 255+
 256+span.updatedmarker {
 257+ color:black;
 258+ background-color:#00FF00;
 259+}
 260+
 261+table.gallery {
 262+ border: 1px solid #cccccc;
 263+ margin: 2px;
 264+ padding: 2px;
 265+ background-color:#ffffff;
 266+}
 267+
 268+table.gallery tr {
 269+ vertical-align:top;
 270+}
 271+
 272+table.gallery td {
 273+ vertical-align:top;
 274+ background-color:#f9f9f9;
 275+ border: solid 2px white;
 276+}
 277+
 278+div.gallerybox {
 279+ margin: 2px;
 280+ width: 150px;
 281+}
 282+
 283+div.gallerybox div.thumb {
 284+ text-align: center;
 285+ border: 1px solid #cccccc;
 286+ margin: 2px;
 287+}
 288+
 289+div.gallerytext {
 290+ overflow: hidden;
 291+ font-size: 94%;
 292+ padding: 2px 4px;
 293+}
 294+
 295+span.comment {
 296+ font-style: italic;
 297+}
 298+
 299+span.changedby {
 300+ font-size: 95%;
 301+}
 302+
 303+.previewnote {
 304+ text-align: center;
 305+ color: #cc0000;
 306+}
 307+.editExternally {
 308+ border-style:solid;
 309+ border-width:1px;
 310+ border-color:gray;
 311+ background: #ffffff;
 312+ padding:3px;
 313+ margin-top:0.5em;
 314+ float:left;
 315+ font-size:small;
 316+ text-align:center;
 317+}
 318+.editExternallyHelp {
 319+ font-style:italic;
 320+ color:gray;
 321+}
 322+
 323+li span.deleted {
 324+ text-decoration: line-through;
 325+ color: #888;
 326+ font-style: italic;
 327+}
 328+
 329+/* Classes for EXIF data display */
 330+table.mw_metadata {
 331+ margin-left: 0.5em;
 332+}
 333+
 334+table.mw_metadata caption { font-weight: bold; }
 335+table.mw_metadata th { font-weight: normal; }
 336+table.mw_metadata td { padding: 0.1em; }
 337+
 338+table.mw_metadata {
 339+ border: none;
 340+ border-collapse: collapse;
 341+}
 342+table.mw_metadata td, table.mw_metadata th {
 343+ border: 1px solid #aaaaaa;
 344+ padding-left: 4px;
 345+ padding-right: 4px;
 346+}
 347+table.mw_metadata th {
 348+ background-color: #f9f9f9;
 349+}
 350+table.mw_metadata td {
 351+ background-color: #fcfcfc;
 352+}
 353+table.mw_metadata td.spacer {
 354+ background: inherit;
 355+ border-top: none;
 356+ border-bottom: none;
 357+}
 358+table.collapsed tr.collapsable {
 359+ display: none;
 360+}
 361+
 362+.visualClear {
 363+ clear: both;
 364+}
 365+
 366+#mw_trackbacks {
 367+ border: solid 1px #bbbbff;
 368+ background-color: #eeeeff;
 369+ padding: 0.2em;
 370+}
 371+
 372+/* Allmessages table */
 373+
 374+#allmessagestable th {
 375+ background-color: #b2b2ff;
 376+}
 377+
 378+#allmessagestable tr.orig {
 379+ background-color: #ffe2e2;
 380+}
 381+
 382+#allmessagestable tr.new {
 383+ background-color: #e2ffe2;
 384+}
 385+
 386+#allmessagestable tr.def {
 387+ background-color: #f0f0ff;
 388+}
 389+
 390+#jump-to-nav {
 391+ display: none;
 392+}
 393+
 394+/* Keep this temporarily so that cached pages will display right */
 395+table.gallery td.galleryheader {
 396+ text-align: center;
 397+ font-weight: bold;
 398+}
 399+table.gallery caption {
 400+ font-weight: bold;
 401+}
 402+
 403+div.multipageimagenavbox {
 404+ border: solid 1px silver;
 405+ padding: 4px;
 406+ margin: 1em;
 407+ -moz-border-radius: 6px;
 408+ background: #f0f0f0;
 409+}
 410+
 411+div.multipageimagenavbox div.thumb {
 412+ border: none;
 413+ margin-left: 2em;
 414+ margin-right: 2em;
 415+}
 416+
 417+div.multipageimagenavbox hr {
 418+ margin: 6px;
 419+}
 420+
 421+table.multipageimage td {
 422+ text-align: center;
 423+}
 424+
 425+/*
 426+ Table pager (e.g. Special:Imagelist)
 427+ - remove underlines from the navigation link
 428+ - collapse borders
 429+ - set the borders to outsets (similar to Special:Allmessages)
 430+ - remove line wrapping for all td and th, set background color
 431+ - restore line wrapping for the last two table cells (description and size)
 432+*/
 433+.TablePager_nav a { text-decoration: none; }
 434+.TablePager { border-collapse: collapse; }
 435+.TablePager, .TablePager td, .TablePager th {
 436+ border: 0.15em solid #777777;
 437+ padding: 0 0.15em 0 0.15em;
 438+}
 439+.TablePager th { background-color: #eeeeff }
 440+.TablePager td { background-color: #ffffff }
 441+.TablePager tr:hover td { background-color: #eeeeff }
 442+
 443+.imagelist td, .imagelist th { white-space: nowrap }
 444+.imagelist .TablePager_col_links { background-color: #eeeeff }
 445+.imagelist .TablePager_col_img_description { white-space: normal }
 446+.imagelist th.TablePager_sort { background-color: #ccccff }
 447+
 448+.templatesUsed { margin-top: 1em; }
 449+
 450+/* Convenience links on Special:Ipblocklist */
 451+p.mw-ipb-conveniencelinks {
 452+ font-size: 90%;
 453+ float: right;
 454+}
 455+
 456+/* Recreating-deleted-page warning and log entries */
 457+div#mw-recreate-deleted-warn ul li {
 458+ font-size: 95%;
 459+}
 460+
 461+
 462+.MediaTransformError {
 463+ border: thin solid #777;
 464+ background-color: #ccc;
 465+ padding: 0.1em;
 466+}
 467+.MediaTransformError td {
 468+ text-align: center;
 469+ vertical-align: middle;
 470+ font-size: 90%;
 471+}
\ No newline at end of file
Property changes on: trunk/phase3/skins/common/oldshared.css
___________________________________________________________________
Added: svn:eol-style
1472 + native
Index: trunk/phase3/skins/common/shared.css
@@ -0,0 +1,9 @@
 2+/**
 3+ * CSS in this file is used by *all* skins (that have any CSS at all). Be
 4+ * careful what you put in here, since what looks good in one skin may not in
 5+ * another, but don't ignore the poor non-Monobook users either.
 6+ */
 7+.mw-plusminus-null { color: #aaa; }
 8+.texvc { direction: ltr; unicode-bidi: embed; }
 9+/* Stop floats from intruding into edit area in previews */
 10+#toolbar, #wpTextbox1 { clear: both; }
\ No newline at end of file
Property changes on: trunk/phase3/skins/common/shared.css
___________________________________________________________________
Added: svn:eol-style
111 + native
Index: trunk/phase3/skins/simple/main.css
@@ -449,18 +449,3 @@
450450 float: right;
451451 font-size: 90%;
452452 }
453 -
454 -/**
455 - * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
456 - * When the day comes, it can be moved to a *real* common.css.
457 - */
458 -.mw-plusminus-null { color: #aaa; }
459 -.texvc { direction: ltr; unicode-bidi: embed; }
460 -/* Stop floats from intruding into edit area in previews */
461 -#toolbar, #wpTextbox1 { clear: both; }
462 -
463 -/*
464 -#file img, .gallerybox .thumb img {
465 - background: url(../common/images/Checker-16x16.png) repeat;
466 -}
467 -*/
Index: trunk/phase3/skins/MonoBook.php
@@ -56,7 +56,10 @@
5757 <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
5858 <?php $this->html('headlinks') ?>
5959 <title><?php $this->text('pagetitle') ?></title>
60 - <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/main.css?<?php echo $GLOBALS['wgStyleVersion'] ?>"; /*]]>*/</style>
 60+ <style type="text/css" media="screen,projection">/*<![CDATA[*/
 61+ @import "<?php $this->text('stylepath') ?>/common/shared.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
 62+ @import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/main.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
 63+ /*]]>*/</style>
6164 <link rel="stylesheet" type="text/css" <?php if(empty($this->data['printable']) ) { ?>media="print"<?php } ?> href="<?php $this->text('stylepath') ?>/common/commonPrint.css?<?php echo $GLOBALS['wgStyleVersion'] ?>" />
6265 <link rel="stylesheet" type="text/css" media="handheld" href="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/handheld.css?<?php echo $GLOBALS['wgStyleVersion'] ?>" />
6366 <!--[if lt IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE50Fixes.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";</style><![endif]-->
Index: trunk/phase3/includes/Skin.php
@@ -388,7 +388,8 @@
389389 function getUserStylesheet() {
390390 global $wgStylePath, $wgRequest, $wgContLang, $wgSquidMaxage, $wgStyleVersion;
391391 $sheet = $this->getStylesheet();
392 - $s = "@import \"$wgStylePath/common/common.css?$wgStyleVersion\";\n";
 392+ $s = "@import \"$wgStylePath/common/shared.css?$wgStyleVersion\";\n";
 393+ $s .= "@import \"$wgStylePath/common/oldshared.css?$wgStyleVersion\";\n";
393394 $s .= "@import \"$wgStylePath/$sheet?$wgStyleVersion\";\n";
394395 if($wgContLang->isRTL()) $s .= "@import \"$wgStylePath/common/common_rtl.css?$wgStyleVersion\";\n";
395396
Index: trunk/phase3/RELEASE-NOTES
@@ -76,6 +76,9 @@
7777 post-installation
7878 * (bug 10196) Add classes and dir="ltr" to the <pre>s on user CSS and JS pages
7979 (new classes: mw-user-css, mw-user-js)
 80+* Use shared.css for all skins and oldshared.css in place of common.css for
 81+ pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
 82+ Common.css and MediaWiki:Monobook.css.
8083
8184 == Bugfixes since 1.10 ==
8285

Follow-up revisions

RevisionCommit summaryAuthorDate
r22919Merged revisions 22878-22918 via svnmerge from...david00:00, 12 June 2007

Status & tagging log