diff options
Diffstat (limited to 'skins/common/commonPrint.css')
-rw-r--r-- | skins/common/commonPrint.css | 113 |
1 files changed, 63 insertions, 50 deletions
diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index 58703a33..4efabee3 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -1,10 +1,10 @@ -/* -** MediaWiki Print style sheet for CSS2-capable browsers. -** Copyright Gabriel Wicke, http://www.aulinx.de/ -** -** Derived from the plone (http://plone.org/) styles -** Copyright Alexander Limi -*/ +/** + * MediaWiki Print style sheet for CSS2-capable browsers. + * Copyright Gabriel Wicke, http://www.aulinx.de/ + * + * Derived from the plone (http://plone.org/) styles + * Copyright Alexander Limi + */ /* Thanks to A List Apart (http://alistapart.com/) for useful extras */ a.stub, @@ -18,12 +18,6 @@ a.new { background-color: #f9f9f9; padding: 5px; } -.tocindent { - margin-left: 2em; -} -.tocline { - margin-bottom: 0px; -} /* images */ div.floatright { @@ -105,15 +99,15 @@ table.rimage { } body { - background: White; - /*font-size: 11pt !important;*/ - color: Black; + background: white; + color: black; margin: 0; padding: 0; } .noprint, div#jump-to-nav, +.mw-jump, div.top, div#column-one, #colophon, @@ -125,9 +119,13 @@ div#f-copyrightico, li#viewcount, li#about, li#disclaimer, +li#mobileview, li#privacy, #footer-places, -#mw-hidden-catlinks { +.mw-hidden-catlinks, +tr.mw-metadata-show-hide-extended, +span.mw-filepage-other-resolutions, +#filetoc { /* Hides all the elements irrelevant for printing */ display: none; } @@ -138,9 +136,9 @@ ul { #content { background: none; - border: none ! important; - padding: 0 ! important; - margin: 0 ! important; + border: none !important; + padding: 0 !important; + margin: 0 !important; direction: ltr; } #footer { @@ -155,15 +153,11 @@ h1, h2, h3, h4, h5, h6 { font-weight: bold; } -p, .documentDescription { - margin: 1em 0 ! important; +p { + margin: 1em 0; line-height: 1.2em; } -.tocindent p { - margin: 0 0 0 0 ! important; -} - pre { border: 1pt dashed black; white-space: pre; @@ -181,7 +175,7 @@ table.listing td { } a { - color: Black !important; + color: black !important; background: none !important; padding: 0 !important; } @@ -192,7 +186,8 @@ a:link, a:visited { text-decoration: underline; } -#content a.external.text:after, #content a.external.autonumber:after { +#content a.external.text:after, +#content a.external.autonumber:after { /* Expand URLs for printing */ content: " (" attr(href) ") "; } @@ -215,16 +210,23 @@ a:link, a:visited { padding: 1em; margin: 0 !important; } + /* MSIE/Win doesn't understand 'inherit' */ -a, a.external, a.new, a.stub { - color: black ! important; - text-decoration: none ! important; +a, +a.external, +a.new, +a.stub { + color: black !important; + text-decoration: none !important; } /* Continue ... */ -a, a.external, a.new, a.stub { - color: inherit ! important; - text-decoration: inherit ! important; +a, +a.external, +a.new, +a.stub { + color: inherit !important; + text-decoration: inherit !important; } img { @@ -233,9 +235,13 @@ img { } /* math */ -span.texhtml { font-family: serif; } +span.texhtml { + font-family: serif; +} -#siteNotice { display: none; } +#siteNotice { + display: none; +} /* Galleries (see shared.css for more info) */ li.gallerybox { @@ -275,9 +281,10 @@ div.gallerytext { padding: 2px 4px; word-wrap: break-word; } -/* -** Diff rendering -*/ + +/** + * Diff rendering + */ table.diff { background: white; } @@ -307,31 +314,37 @@ td.diff-context { text-decoration: underline; } -/* -** Table rendering -** As on shared.css but with white background. -*/ -table.wikitable { +/** + * Table rendering + * As on shared.css but with white background. + */ +table.wikitable, +table.mw_metadata { margin: 1em 1em 1em 0; border: 1px #aaa solid; background: white; border-collapse: collapse; } -.wikitable th, .wikitable td { +table.wikitable > tr > th, table.wikitable > tr > td, +table.wikitable > * > tr > th, table.wikitable > * > tr > td, +.mw_metadata th, .mw_metadata td { border: 1px #aaa solid; padding: 0.2em; } -.wikitable th { +table.wikitable > tr > th, +table.wikitable > * > tr > th, +.mw_metadata th { text-align: center; background: white; font-weight: bold; } -.wikitable caption { +table.wikitable > caption, +.mw_metadata caption { font-weight: bold; } a.sortheader { - margin: 0px 0.3em; + margin: 0 0.3em; } /* Some pagination options */ @@ -351,7 +364,8 @@ p { */ .catlinks ul { display: inline; - margin: 0px; + margin: 0; + padding: 0; list-style: none; list-style-type: none; list-style-image: none; @@ -372,4 +386,3 @@ p { padding-left: .2em; border-left: none; } - |