* Apply code conventions (mostly whitespace and missing semi-colons)
* Minor other nitpicks
-- '! important' -> '!important'
-- Ucfirst -> lc; for color names and keywords
-- Remove uses of system color keywords (they are deprecated) [1] Most had fixed fallbacks already. Using those now.
-- Remove version query string (foo.png?2), last modified in r66151. Now obsolete with ResourceLoader
-- 0px to 0 where possible
-- Remove commented out css rules and declarations without any comment (debug stuff like /*div{ border:1px solid Red !important;}*/)
-- Remove empty blocks ( .foo { } )
[1] https://developer.mozilla.org/en/CSS/color_value#System_Colors
59 lines
939 B
CSS
59 lines
939 B
CSS
/* MediaWiki print stylesheet */
|
|
|
|
body {
|
|
color: #000000;
|
|
background: #ffffff;
|
|
}
|
|
|
|
/* MSIE/Win doesn't understand 'inherit' */
|
|
a,
|
|
a.external,
|
|
a.new,
|
|
a.stub {
|
|
color: black !important;
|
|
text-decoration: none !important;
|
|
}
|
|
#article {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Continue ... */
|
|
a,
|
|
a.external,
|
|
a.new,
|
|
a.stub {
|
|
color: inherit !important;
|
|
text-decoration: inherit !important;
|
|
}
|
|
|
|
/* Hide UI stuff */
|
|
#quickbar,
|
|
#topbar,
|
|
#logo,
|
|
#footer,
|
|
#siteNotice,
|
|
.editsection,
|
|
.toctoggle {
|
|
display: none;
|
|
}
|
|
|
|
/* */
|
|
#article {
|
|
position: relative;
|
|
margin: inherit !important;
|
|
}
|
|
|
|
.printfooter {
|
|
border-top: solid 1px black;
|
|
display: block !important;
|
|
}
|
|
|
|
/* Old stuff. @todo FIXME:
|
|
a.CBlink { color: #0000AA; text-decoration: none; font-size: 12pt; }
|
|
a.interwiki,
|
|
a.external { color: #3333BB; text-decoration: none; }
|
|
h1.pagetitle { padding-bottom: 0; margin-bottom: 0; }
|
|
i.link,
|
|
u.link { color: #000066; }
|
|
p.subtitle { padding-top: 0; margin-top: 0; }
|
|
*/
|