From db8f977526d977c91a8bd6525041aad95c00a9dd Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sat, 15 Oct 2011 23:33:47 +0000 Subject: [PATCH] CSS clean up * 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 --- includes/Skin.php | 5 +- resources/jquery/jquery.suggestions.css | 13 +- resources/jquery/jquery.tablesorter.css | 6 +- .../mediawiki.action.history.diff.css | 18 +- .../mediawiki.special.changeslist.css | 9 +- skins/Standard.php | 18 +- skins/chick/IE50Fixes.css | 85 ++-- skins/chick/IE55Fixes.css | 15 +- skins/chick/IE60Fixes.css | 6 +- skins/cologneblue/screen.css | 6 +- skins/common/IE80Fixes.css | 2 +- skins/common/commonElements.css | 50 ++- skins/common/commonInterface.css | 2 +- skins/common/commonPrint.css | 82 ++-- skins/common/config-cc.css | 55 +-- skins/common/oldshared.css | 20 +- skins/common/shared.css | 30 +- skins/common/wikiprintable.css | 43 +- skins/common/wikistandard.css | 10 +- skins/modern/main.css | 44 +-- skins/monobook/IE50Fixes.css | 20 +- skins/monobook/IE55Fixes.css | 11 +- skins/monobook/main.css | 63 +-- skins/nostalgia/screen.css | 5 +- skins/simple/main.css | 367 ++++++++++-------- skins/vector/screen.css | 23 +- 26 files changed, 572 insertions(+), 436 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index b77cf78699..ca020d32c3 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1204,10 +1204,9 @@ abstract class Skin extends ContextSource { } /** - * Should we include common/wikiprintable.css? Skins that have their own + * Should we load mediawiki.legacy.wikiprintable? Skins that have their own * print stylesheet should override this and return false. (This is an - * ugly hack to get Monobook to play nicely with - * OutputPage::headElement().) + * ugly hack to get Monobook to play nicely with OutputPage::headElement().) * * @return bool */ diff --git a/resources/jquery/jquery.suggestions.css b/resources/jquery/jquery.suggestions.css index 74094c534a..3cbdad2298 100644 --- a/resources/jquery/jquery.suggestions.css +++ b/resources/jquery/jquery.suggestions.css @@ -3,9 +3,9 @@ .suggestions { overflow: hidden; position: absolute; - top: 0px; - left: 0px; - width: 0px; + top: 0; + left: 0; + width: 0; border: none; z-index: 1099; padding: 0; @@ -17,7 +17,7 @@ html > body .suggestions { } .suggestions-special { position: relative; - background-color: Window; + background-color: white; font-size: 0.8em; cursor: pointer; border: solid 1px #aaaaaa; @@ -30,7 +30,6 @@ html > body .suggestions { } .suggestions-results { background-color: white; - background-color: Window; font-size: 0.8em; cursor: pointer; border: solid 1px #aaaaaa; @@ -39,7 +38,6 @@ html > body .suggestions { } .suggestions-result { color: black; - color: WindowText; margin: 0; line-height: 1.5em; padding: 0.01em 0.25em; @@ -47,9 +45,7 @@ html > body .suggestions { } .suggestions-result-current { background-color: #4C59A6; - background-color: Highlight; color: white; - color: HighlightText; } .suggestions-special .special-label { font-size: 0.8em; @@ -67,7 +63,6 @@ html > body .suggestions { .suggestions-result-current .special-label, .suggestions-result-current .special-query { color: white; - color: HighlightText; } .autoellipsis-matched, .highlight { diff --git a/resources/jquery/jquery.tablesorter.css b/resources/jquery/jquery.tablesorter.css index 5044c0a29a..c31760a1de 100644 --- a/resources/jquery/jquery.tablesorter.css +++ b/resources/jquery/jquery.tablesorter.css @@ -1,6 +1,6 @@ -/* - * The !important is to make sure someone doesn't use element styling - * to set the background or padding of a headercell and +/* + * The !important is to make sure someone doesn't use element styling + * to set the background or padding of a headercell and * accidently override all these options. */ table.jquery-tablesorter th.headerSort { diff --git a/resources/mediawiki.action/mediawiki.action.history.diff.css b/resources/mediawiki.action/mediawiki.action.history.diff.css index cae30ec0fe..2b99ad278a 100644 --- a/resources/mediawiki.action/mediawiki.action.history.diff.css +++ b/resources/mediawiki.action/mediawiki.action.history.diff.css @@ -1,31 +1,40 @@ /* ** Diff rendering */ -table.diff, td.diff-otitle, td.diff-ntitle { +table.diff, +td.diff-otitle, +td.diff-ntitle { background-color: white; } + td.diff-otitle, td.diff-ntitle { text-align: center; } + td.diff-marker { text-align: right; } + td.diff-lineno { font-weight: bold; } + td.diff-addedline { background: #D1E7F6; font-size: smaller; } + td.diff-deletedline { background: #F6E0D1; font-size: smaller; } + td.diff-context { background: #eee; font-size: smaller; } + .diffchange { font-weight: bold; white-space: -moz-pre-wrap; @@ -51,20 +60,25 @@ table.diff { /* Ensure that colums are of equal width */ table-layout: fixed; } + table.diff td { padding: 0; } + table.diff col.diff-marker { width: 2%; } + table.diff col.diff-content { width: 48%; } + table.diff td div { /* Force-wrap very long lines such as URLs or page-widening char strings.*/ word-wrap: break-word; /* As fallback (FF<3.5, Opera <10.5), scrollbars will be added for very wide cells - instead of text overflowing or widening */ + * instead of text overflowing or widening + */ overflow: auto; } diff --git a/resources/mediawiki.special/mediawiki.special.changeslist.css b/resources/mediawiki.special/mediawiki.special.changeslist.css index cb4d21568b..42afbcd7e7 100644 --- a/resources/mediawiki.special/mediawiki.special.changeslist.css +++ b/resources/mediawiki.special/mediawiki.special.changeslist.css @@ -7,7 +7,8 @@ table.mw-enhanced-rc { border-spacing: 0; } -table.mw-enhanced-rc th, table.mw-enhanced-rc td { +table.mw-enhanced-rc th, +table.mw-enhanced-rc td { padding: 0; vertical-align: top; } @@ -30,8 +31,10 @@ table.mw-enhanced-rc td.mw-enhanced-rc-nested { float: none; } -/* If JS is disabled, the arrow is still needed - for spacing, but ideally shouldn't be shown */ +/** + * If JS is disabled, the arrow is still needed + * for spacing, but ideally shouldn't be shown + */ .mw-enhanced-rc .mw-rc-openarrow { visibility: hidden; } diff --git a/skins/Standard.php b/skins/Standard.php index 1b073c3c05..7db8a68a17 100644 --- a/skins/Standard.php +++ b/skins/Standard.php @@ -40,12 +40,12 @@ class SkinStandard extends SkinLegacy { $rules[] = "/* @noflip */#quickbar { position: fixed; padding: 4px; }"; } } elseif ( 4 == $qb ) { - $rules[] = "/* @noflip */#quickbar { position: fixed; right: 0px; top: 0px; padding: 4px;}"; + $rules[] = "/* @noflip */#quickbar { position: fixed; right: 0; top: 0; padding: 4px; }"; $rules[] = "/* @noflip */#quickbar { border-right: 1px solid gray; }"; $rules[] = "/* @noflip */#article, #mw-data-after-content { margin-right: 152px; margin-left: 4px; }"; $rules[] = "/* @noflip */#topbar, #footer { margin-right: 152px; }"; } - $style = implode( "\n", $rules ); + $style = implode( "\n", $rules ); $out->addInlineStyle( $style, 'flip' ); } @@ -214,12 +214,12 @@ class StandardTemplate extends LegacyTemplate { ) ); - /* - watching could cause problems in edit mode: - if user edits article, then loads "watch this article" in background and then saves - article with "Watch this article" checkbox disabled, the article is transparently - unwatched. Therefore we do not show the "Watch this page" link in edit mode - */ + /** + * Watching could cause problems in edit mode: + * if user edits article, then loads "watch this article" in background and then saves + * article with "Watch this article" checkbox disabled, the article is transparently + * unwatched. Therefore we do not show the "Watch this page" link in edit mode. + */ if ( $this->data['loggedin'] && $articleExists ) { if( $action != 'edit' && $action != 'submit' ) { $s .= $sep . $this->watchThisPage(); @@ -268,7 +268,7 @@ class StandardTemplate extends LegacyTemplate { global $wgSiteSupportPage; if( $wgSiteSupportPage ) { $s .= "\n
' . wfMsg( 'sitesupport' ) . ''; + '" class="internal">' . wfMsg( 'sitesupport' ) . ''; } $s .= "\n
\n"; diff --git a/skins/chick/IE50Fixes.css b/skins/chick/IE50Fixes.css index 4a193e943d..a02b74cb9f 100644 --- a/skins/chick/IE50Fixes.css +++ b/skins/chick/IE50Fixes.css @@ -1,67 +1,74 @@ -/* -** IE5.0 Fix Stylesheet -*/ +/** + * IE5.0 Fix Stylesheet + */ #column-content { - margin: 0 !important; - float: none; + margin: 0 !important; + float: none; } -#column-content #content { - margin-top: 3em; - height: 1%; +#column-content #content { + margin-top: 3em; + height: 1%; } #column-one { - position: absolute; - overflow: visible; - top: 0; - left: 0; - z-index: 3; + position: absolute; + overflow: visible; + top: 0; + left: 0; + z-index: 3; } #footer { - margin: 0 0 0 13.6em; + margin: 0 0 0 13.6em; } /* IE 5 & 5.5 interpret keyword sizes one off */ -body { font-size: xx-small; } -/* -** the edit tabs -*/ +body { + font-size: xx-small; +} + +/* the edit tabs */ #p-cactions li { - float: left; - padding-top: 0; - padding-bottom: 0 !important; - height: 0.9em; + float: left; + padding-top: 0; + padding-bottom: 0 !important; + height: 0.9em; } #p-cactions li a { - display: block; - padding-bottom: 0.045em; + display: block; + padding-bottom: 0.045em; } #p-cactions li.selected a { - padding-bottom: 0.17em; + padding-bottom: 0.17em; } #p-cactions li a:hover { - padding-bottom: 0.17em; + padding-bottom: 0.17em; } -/* 5.0 doesn't like the background icon for external links and user */ + +/* IE5.0 doesn't like the background icon for external links and user */ .link-external, .external { - background: none; - padding: 0; + background: none; + padding: 0; +} +#p-personal ul { + float: right; +} +#p-personal li { + float: left; } -#p-personal ul { float: right } -#p-personal li { float: left } li#pt-userpage, li#pt-anonuserpage, li#pt-login, li#pt-logout { - background: none; - padding-left: none; + background: none; + padding-left: none; } .visualClear { - width:100%; - height: 0px; - padding:0; - margin:0; + width: 100%; + height: 0; + padding: 0; + margin: 0; +} +#firstHeading { + margin-bottom: 0.3em; } -#firstHeading { margin-bottom: 0.3em; } -/*div{ border:1px solid Red !important;}*/ diff --git a/skins/chick/IE55Fixes.css b/skins/chick/IE55Fixes.css index 2f7856123a..3ba7ad2aef 100644 --- a/skins/chick/IE55Fixes.css +++ b/skins/chick/IE55Fixes.css @@ -1,7 +1,7 @@ /* IE5.5/win- only fixes */ -#column-content { - float: none; +#column-content { + float: none; margin-left: 0; height: 1%; } @@ -24,12 +24,13 @@ border-left: 1px solid #fabd23; } -/*#bodyContent div, -#bodyContent pre { overflow: auto; }*/ - -#p-personal { padding-bottom: 0.1em; } +#p-personal { + padding-bottom: 0.1em; +} -body { font-size: xx-small; } +body { + font-size: xx-small; +} #p-cactions { width: 76% !important; diff --git a/skins/chick/IE60Fixes.css b/skins/chick/IE60Fixes.css index feec15f166..18e9655d93 100644 --- a/skins/chick/IE60Fixes.css +++ b/skins/chick/IE60Fixes.css @@ -1,8 +1,8 @@ /* 6.0 - only fixes */ -/* content area */ +/* content area */ /* workaround for various ie float bugs */ -#column-content { - float: none; +#column-content { + float: none; margin-left: 0; height: 1%; } diff --git a/skins/cologneblue/screen.css b/skins/cologneblue/screen.css index d5ed280df6..802067d848 100644 --- a/skins/cologneblue/screen.css +++ b/skins/cologneblue/screen.css @@ -1,6 +1,6 @@ body { - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; color: black; } @@ -21,7 +21,7 @@ body { } #topbar { - padding: 0px; + padding: 0; } #powersearch { diff --git a/skins/common/IE80Fixes.css b/skins/common/IE80Fixes.css index b6360f60eb..6e5cb8a47c 100644 --- a/skins/common/IE80Fixes.css +++ b/skins/common/IE80Fixes.css @@ -1,5 +1,5 @@ /** - * Fixes textarea scrolling bug (bug #19334). The bug only occurs when a + * Fixes textarea scrolling bug (bug #19334). The bug only occurs when a * percentage width is given, so instead of width: 100%, use min-width: 100%; * max-width: 100%. We also need to give a fixed width for the actual width * property for the hack to work, although the actual value (500px here) ends diff --git a/skins/common/commonElements.css b/skins/common/commonElements.css index 01c2df6c24..1c26b1d7bb 100644 --- a/skins/common/commonElements.css +++ b/skins/common/commonElements.css @@ -80,10 +80,18 @@ h6 { border-bottom: 1px solid #aaa; width: auto; } -h1 { font-size: 188%; } -h1 .editsection { font-size: 53%; } -h2 { font-size: 150%; } -h2 .editsection { font-size: 67%; } +h1 { + font-size: 188%; +} +h1 .editsection { + font-size: 53%; +} +h2 { + font-size: 150%; +} +h2 .editsection { + font-size: 67%; +} h3, h4, h5, @@ -91,14 +99,32 @@ h6 { border-bottom: none; font-weight: bold; } -h3 { font-size: 132%; } -h3 .editsection { font-size: 76%; font-weight: normal; } -h4 { font-size: 116%; } -h4 .editsection { font-size: 86%; font-weight: normal; } -h5 { font-size: 100%; } -h5 .editsection { font-weight: normal; } -h6 { font-size: 80%; } -h6 .editsection { font-size: 125%; font-weight: normal; } +h3 { + font-size: 132%; +} +h3 .editsection { + font-size: 76%; + font-weight: normal; +} +h4 { + font-size: 116%; +} +h4 .editsection { + font-size: 86%; + font-weight: normal; } +h5 { + font-size: 100%; +} +h5 .editsection { + font-weight: normal; +} +h6 { + font-size: 80%; +} +h6 .editsection { + font-size: 125%; + font-weight: normal; +} /* Some space under the headers in the content area */ h1, diff --git a/skins/common/commonInterface.css b/skins/common/commonInterface.css index 6bf9db2fb2..60d6436b9f 100644 --- a/skins/common/commonInterface.css +++ b/skins/common/commonInterface.css @@ -37,7 +37,7 @@ #firstHeading { margin-bottom: .1em; /* These two rules hack around bug 2013 (fix for more limited bug 11325). - When bug 2013 is fixed properly, they should be removed. */ + * When bug 2013 is fixed properly, they should be removed. */ line-height: 1.2em; padding-bottom: 0; } diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index 014788f40b..0d4a0db3bf 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, @@ -22,7 +22,7 @@ a.new { margin-left: 2em; } .tocline { - margin-bottom: 0px; + margin-bottom: 0; } /* images */ @@ -105,9 +105,8 @@ table.rimage { } body { - background: White; - /*font-size: 11pt !important;*/ - color: Black; + background: white; + color: black; margin: 0; padding: 0; } @@ -142,9 +141,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 { @@ -160,12 +159,12 @@ h1, h2, h3, h4, h5, h6 { } p, .documentDescription { - margin: 1em 0 ! important; + margin: 1em 0 !important; line-height: 1.2em; } .tocindent p { - margin: 0 0 0 0 ! important; + margin: 0 0 0 0 !important; } pre { @@ -185,7 +184,7 @@ table.listing td { } a { - color: Black !important; + color: black !important; background: none !important; padding: 0 !important; } @@ -196,7 +195,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) ") "; } @@ -219,16 +219,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 { @@ -237,9 +244,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 { @@ -279,9 +290,10 @@ div.gallerytext { padding: 2px 4px; word-wrap: break-word; } -/* -** Diff rendering -*/ + +/** + * Diff rendering + */ table.diff { background: white; } @@ -311,10 +323,10 @@ td.diff-context { text-decoration: underline; } -/* -** Table rendering -** As on shared.css but with white background. -*/ +/** + * Table rendering + * As on shared.css but with white background. + */ table.wikitable, table.mw_metadata { margin: 1em 1em 1em 0; @@ -339,7 +351,7 @@ table.mw_metadata { } a.sortheader { - margin: 0px 0.3em; + margin: 0 0.3em; } /* Some pagination options */ @@ -359,7 +371,7 @@ p { */ .catlinks ul { display: inline; - margin: 0px; + margin: 0; list-style: none; list-style-type: none; list-style-image: none; diff --git a/skins/common/config-cc.css b/skins/common/config-cc.css index c629ad3fa3..d81218ec76 100644 --- a/skins/common/config-cc.css +++ b/skins/common/config-cc.css @@ -3,54 +3,55 @@ */ body { - margin:0px; - background:#eee; - font-family:verdana; - color:#333; + margin: 0; + background: #eee; + font-family: Verdana; + color: #333; } #main { - border:1px solid #D0D0D0; - background:#fff; + border: 1px solid #D0D0D0; + background: #fff; margin: 0.5em; } -/* Looks like you have to specify the width of #menu -or IE5 Mac stretches it all the way across the div, and -Opera streches it half way. */ +/** + * Looks like you have to specify the width of #menu + * or IE5 Mac stretches it all the way across the div, and + * Opera streches it half way. + */ #main #menu { - border-left:1px dotted #ccc; - /* border-bottom:1px solid #000;*/ - float:right; - width:230px; - background:white; - margin:0px 0px 10px 10px; + border-left: 1px dotted #ccc; + float: right; + width: 230px; + background: white; + margin: 0 0 10px 10px; } -td, h3, p,h1,pre { - margin:0px 20px 20px 20px; - font-size:11px; - line-height:140%; +td, h3, p, h1, pre { + margin: 0 20px 20px 20px; + font-size: 11px; + line-height: 140%; } .header { padding-left: 10px; - padding-top:10px; + padding-top: 10px; } .nav { - padding-left:10px; - padding-bottom:10px; - font-size:11px; - margin-bottom:16px; + padding-left: 10px; + padding-bottom: 10px; + font-size: 11px; + margin-bottom: 16px; } -#menu p { - font-size:11px; +#menu p { + font-size: 11px; } .dent { - margin-left:64px; + margin-left: 64px; } diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index 4be14f37a5..84d42c9f32 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -1,11 +1,12 @@ -/* +/** * oldshared.css * This file contains CSS settings common to Wikistandard, Nostalgia and * CologneBlue, the old pre-Monobook skins */ -/* For clarity, explicitly state some recommendations from to make sure the editsection links scale right */ +/* For clarity, explicitly state some recommendations from + * http://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right + */ h1 { font-size: 2em; } h2 { font-size: 1.5em; } @@ -99,7 +100,8 @@ div.magnify { border: none !important; background: none !important; } -div.magnify a, div.magnify img { +div.magnify a, +div.magnify img { display: block; border: none !important; background: none !important; @@ -306,7 +308,8 @@ table.mw_metadata { border: none; border-collapse: collapse; } -table.mw_metadata td, table.mw_metadata th { +table.mw_metadata td, +table.mw_metadata th { border: 1px solid #aaaaaa; padding-left: 4px; padding-right: 4px; @@ -386,7 +389,9 @@ table.multipageimage td { .TablePager { border-collapse: collapse; } -.TablePager, .TablePager td, .TablePager th { +.TablePager, +.TablePager td, +.TablePager th { border: 0.15em solid #777777; padding: 0 0.15em 0 0.15em; } @@ -400,7 +405,8 @@ table.multipageimage td { background-color: #eeeeff; } -.imagelist td, .imagelist th { +.imagelist td, +.imagelist th { white-space: nowrap; } .imagelist .TablePager_col_links { diff --git a/skins/common/shared.css b/skins/common/shared.css index 37952d9fd1..695c6e599a 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -159,9 +159,9 @@ div#mw-js-message { */ div.mw-filepage-resolutioninfo { - font-size: smaller; + font-size: smaller; } - + /** * File histories */ @@ -284,8 +284,8 @@ input#wpSummary { */ .catlinks ul { display: inline; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; list-style: none; list-style-type: none; list-style-image: none; @@ -333,11 +333,10 @@ p.mw-revdel-editreasons { overflow: auto; overflow-x: hidden; position: absolute; - top: 0px; - left: 0px; - width: 0px; + top: 0; + left: 0; + width: 0; background-color: white; - background-color: Window; border-style: solid; border-color: #AAAAAA; border-width: 1px; @@ -357,9 +356,7 @@ table.os-suggest-results { .os-suggest-result-hl { white-space: nowrap; background-color: white; - background-color: Window; color: black; - color: WindowText; padding: 2px; } .os-suggest-result-hl, @@ -367,13 +364,6 @@ table.os-suggest-results { background-color: #4C59A6; color: white; } -.os-suggest-result-hl { - /* System colors are misimplemented in Safari 3.0 and earlier, - * making highlighted text illegible... - */ - background-color: Highlight; - color: HighlightText; -} .os-suggest-toggle { position: relative; @@ -382,8 +372,8 @@ table.os-suggest-results { } .os-suggest-toggle-def { position: absolute; - top: 0px; - left: 0px; + top: 0; + left: 0; font-size: 65%; visibility: hidden; } @@ -896,7 +886,7 @@ ol:lang(or) li { display: none; margin-left: 2px; margin-bottom: -8px; - padding: 0px 0px 0px 15px; + padding: 0 0 0 15px; /* @embed */ background-image: url('images/help-question.gif'); background-position: left center; diff --git a/skins/common/wikiprintable.css b/skins/common/wikiprintable.css index a80c8307f6..95fcfef3cf 100644 --- a/skins/common/wikiprintable.css +++ b/skins/common/wikiprintable.css @@ -6,41 +6,54 @@ body { } /* 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; } #article { - margin: 0 ! important; + margin: 0 !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; } -/* Hide ugly UI stuff */ -#quickbar, #topbar, #logo, #footer, #siteNotice, -.editsection, .toctoggle { +/* Hide UI stuff */ +#quickbar, +#topbar, +#logo, +#footer, +#siteNotice, +.editsection, +.toctoggle { display: none; } /* */ #article { position: relative; - margin: inherit ! important; + margin: inherit !important; } .printfooter { border-top: solid 1px black; - display: block ! important; + display: block !important; } -/* Old stuff, fixme: +/* Old stuff. @todo FIXME: a.CBlink { color: #0000AA; text-decoration: none; font-size: 12pt; } -a.interwiki, a.external { color: #3333BB; text-decoration: none; } +a.interwiki, +a.external { color: #3333BB; text-decoration: none; } h1.pagetitle { padding-bottom: 0; margin-bottom: 0; } -i.link, u.link { color: #000066; } +i.link, +u.link { color: #000066; } p.subtitle { padding-top: 0; margin-top: 0; } */ diff --git a/skins/common/wikistandard.css b/skins/common/wikistandard.css index 6205092286..e47dc42d9c 100644 --- a/skins/common/wikistandard.css +++ b/skins/common/wikistandard.css @@ -39,13 +39,14 @@ } /* Table of contents */ -.toctoggle, .editsection { +.toctoggle, +.editsection { font-size: smaller; } /* ... */ #toolbar { - padding: 0px; + padding: 0; } #infobox { @@ -57,7 +58,8 @@ margin-top: 1px; } -a.interwiki, a.external { +a.interwiki, +a.external { color: #3366BB; } @@ -75,7 +77,7 @@ a:visited { } body { - margin: 0px; + margin: 0; padding: 4px; color: black; } diff --git a/skins/modern/main.css b/skins/modern/main.css index 3ad8df6387..ee09952d95 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -1,7 +1,6 @@ body { margin: 0 0 0 0; padding: 0 0 0 0; - /*font-size: 10pt;*/ font-size: x-small; @@ -371,9 +370,6 @@ h1, h2, h3, h4, h5, h6 { border: none; } -#preferences h2 { -} - .mainLegend { display: none; } @@ -455,7 +451,7 @@ h1, h2, h3, h4, h5, h6 { #mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"], .link-audio { /* @embed */ - background: url("audio.png") center right no-repeat; + background: url(audio.png) center right no-repeat; padding-right: 13px; } #mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"], @@ -464,7 +460,7 @@ h1, h2, h3, h4, h5, h6 { #mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"], .link-video { /* @embed */ - background: url("video.png") center right no-repeat; + background: url(video.png) center right no-repeat; padding-right: 13px; } #mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"], @@ -472,7 +468,7 @@ h1, h2, h3, h4, h5, h6 { #mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"], .link-document { /* @embed */ - background: url("document.png") center right no-repeat; + background: url(document.png) center right no-repeat; padding-right: 12px; } @@ -480,22 +476,18 @@ h1, h2, h3, h4, h5, h6 { /* @noflip */div.floatright, table.floatright { margin: 0 0 .5em .5em; border: 0; -/* - border: .5em solid white; - border-width: .5em 0 .8em 1.4em; -*/ } -div.floatright p { font-style: italic; } +div.floatright p { + font-style: italic; +} /* @noflip */div.floatleft, table.floatleft { margin: 0 .5em .5em 0; border: 0; -/* - margin: .3em .5em .5em 0; - border: .5em solid white; - border-width: .5em 1.4em .8em 0; -*/ } -div.floatleft p { font-style: italic; } +div.floatleft p { + font-style: italic; +} + /* thumbnails */ div.thumb { margin-bottom: .5em; @@ -704,17 +696,17 @@ div.noarticletext { } div#searchTargetContainer { - left: 10px; - top: 10px; - width: 90%; + left: 10px; + top: 10px; + width: 90%; background: white; } div#searchTarget { - padding: 3px; - margin: 5px; + padding: 3px; + margin: 5px; background: #F0F0F0; - border: solid 1px blue; + border: solid 1px blue; } div#searchTarget ul li { @@ -754,7 +746,9 @@ table.multipageimage td { text-align: center; } -.templatesUsed { margin-top: 1.5em; } +.templatesUsed { + margin-top: 1.5em; +} .mw-summary-preview { margin: 0.1em 0; diff --git a/skins/monobook/IE50Fixes.css b/skins/monobook/IE50Fixes.css index a054a91fc8..10d820b515 100644 --- a/skins/monobook/IE50Fixes.css +++ b/skins/monobook/IE50Fixes.css @@ -22,7 +22,10 @@ div#footer { } /* IE 5 & 5.5 interpret keyword sizes one off */ -body { font-size: xx-small; } +body { + font-size: xx-small; +} + /* ** the edit tabs */ @@ -48,8 +51,12 @@ body { font-size: xx-small; } background: none; padding: 0; } -#p-personal ul { float: right } -#p-personal li { float: left } +#p-personal ul { + float: right; +} +#p-personal li { + float: left; +} li#pt-userpage, li#pt-anonuserpage, li#pt-login, @@ -59,9 +66,10 @@ li#pt-logout { } .visualClear { width: 100%; - height: 0px; + height: 0; padding:0; margin: 0; } -#firstHeading { margin-bottom: .3em; } -/*div{ border:1px solid Red !important;}*/ +#firstHeading { + margin-bottom: 0.3em; +} diff --git a/skins/monobook/IE55Fixes.css b/skins/monobook/IE55Fixes.css index f3c2cde729..7aa2409aba 100644 --- a/skins/monobook/IE55Fixes.css +++ b/skins/monobook/IE55Fixes.css @@ -24,12 +24,13 @@ div#footer { border-left: 1px solid #fabd23; } -/*#bodyContent div, -#bodyContent pre { overflow: auto; }*/ - -#p-personal { padding-bottom: .1em; } +#p-personal { + padding-bottom: 0.1em; +} -body { font-size: xx-small; } +body { + font-size: xx-small; +} #p-cactions { width: 76% !important; diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 72eae86fca..3d776eff2f 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -65,7 +65,8 @@ a { a:visited { color: #5a3696; } -a.new, #p-personal a.new { +a.new, +#p-personal a.new { color: #cc2200; } @@ -193,7 +194,7 @@ table.rimage { #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"], .link-audio { /* @embed */ - background: url("audio.png") center right no-repeat; + background: url(audio.png) center right no-repeat; padding-right: 13px; } #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"], @@ -202,7 +203,7 @@ table.rimage { #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"], .link-video { /* @embed */ - background: url("video.png") center right no-repeat; + background: url(video.png) center right no-repeat; padding-right: 13px; } #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"], @@ -210,10 +211,10 @@ table.rimage { #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"], .link-document { /* @embed */ - background: url("document.png") center right no-repeat; + background: url(document.png) center right no-repeat; padding-right: 12px; } - + /* Interwiki Styling */ #bodyContent a.extiw, #bodyContent a.extiw:active { @@ -516,7 +517,10 @@ li#pt-login { li#ca-talk { margin-right: 1.6em; } -li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print { +li#ca-watch, +li#ca-unwatch, +li#ca-varlang-0, +li#ca-print { margin-left: 1.6em; } #p-cactions .pBody { @@ -729,15 +733,21 @@ div#userloginForm .captcha { ** @import("IEMacFixes.css"); */ /* tabs: border on the a, not the div */ -* > html #p-cactions li { border: none; } +* > html #p-cactions li { + border: none; +} * > html #p-cactions li a { border: 1px solid #aaa; border-bottom: none; } -* > html #p-cactions li.selected a { border-color: #fabd23; } +* > html #p-cactions li.selected a { + border-color: #fabd23; +} /* footer icons need a fixed width */ * > html #f-poweredbyico, -* > html #f-copyrightico { width: 88px; } +* > html #f-copyrightico { + width: 88px; +} * > html #bodyContent, * > html #bodyContent pre { overflow-x: auto; @@ -747,12 +757,16 @@ div#userloginForm .captcha { /* more IE fixes */ /* float/negative margin brokenness */ -* html div#footer {margin-top: 0;} +* html div#footer { + margin-top: 0; +} * html div#column-content { display: inline; margin-bottom: 0; } -#pagehistory li.selected { position: relative; } +#pagehistory li.selected { + position: relative; +} /* Mac IE 5.0 fix; floated content turns invisible */ * > html div#column-content { @@ -808,7 +822,8 @@ span.updatedmarker { } /* @bug 1714 */ -input#wpSave, input#wpDiff { +input#wpSave, +input#wpDiff { margin-right: 0.33em; } @@ -825,17 +840,17 @@ div.noarticletext { } div#searchTargetContainer { - left: 10px; - top: 10px; - width: 90%; + left: 10px; + top: 10px; + width: 90%; background: white; } div#searchTarget { - padding: 3px; - margin: 5px; + padding: 3px; + margin: 5px; background: #F0F0F0; - border: solid 1px blue; + border: solid 1px blue; } div#searchTarget ul li { @@ -848,10 +863,10 @@ div#searchTarget ul li:before { } div#searchTargetHide { - float:right; - border:solid 1px black; - background:#DCDCDC; - padding:2px; + float: right; + border: solid 1px black; + background: #DCDCDC; + padding: 2px; } #powersearch p { @@ -879,7 +894,9 @@ table.multipageimage td { text-align: center; } -.templatesUsed { margin-top: 1.5em; } +.templatesUsed { + margin-top: 1.5em; +} .mw-summary-preview { margin: 0.1em 0; diff --git a/skins/nostalgia/screen.css b/skins/nostalgia/screen.css index 1cac7a738a..d618362322 100644 --- a/skins/nostalgia/screen.css +++ b/skins/nostalgia/screen.css @@ -1,5 +1,5 @@ body { - /* Background color is set separately on page type */ + /* background color is set separately on page type */ color: black; } @@ -14,7 +14,8 @@ body { padding: 2px; } -a.interwiki, a.external { +a.interwiki, +a.external { color: #3366BB; } diff --git a/skins/simple/main.css b/skins/simple/main.css index 5b7b762e3c..3dadbc648a 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -1,12 +1,26 @@ -/* For clarity, explicitly state some recommendations from to make sure the editsection links scale right */ +/** + * For clarity, explicitly state some recommendations from + * http://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right. + */ -h1 { font-size: 2em; } -h2 { font-size: 1.5em; } -h3 { font-size: 1.17em; } -h5 { font-size: .83em; } -h6 { font-size: .75em; } -h1, h2, h3, h4, h5, h6 { font-weight: bolder } +h1 { + font-size: 2em; +} +h2 { + font-size: 1.5em; +} +h3 { + font-size: 1.17em; +} +h5 { + font-size: .83em; +} +h6 { + font-size: .75em; +} +h1, h2, h3, h4, h5, h6 { + font-weight: bolder; +} /* Now the custom parts */ @@ -14,50 +28,60 @@ h1, h2, h3, h4, h5, h6 { font-weight: bolder } .editsection { font-weight: normal; } -h1 .editsection { font-size: 50% } -h2 .editsection { font-size: 66.7% } -h3 .editsection { font-size: 85.5% } -h5 .editsection { font-size: 120% } -h6 .editsection { font-size: 133% } - +h1 .editsection { + font-size: 50%; +} +h2 .editsection { + font-size: 66.7%; +} +h3 .editsection { + font-size: 85.5%; +} +h5 .editsection { + font-size: 120%; +} +h6 .editsection { + font-size: 133%; +} #toolbar { - display: none; + display: none; } div.center { - text-align: center; + text-align: center; } #contentSub { - padding-left: 2em; + padding-left: 2em; } a { - text-decoration: none; + text-decoration: none; } a:hover { - text-decoration: underline; + text-decoration: underline; } #column-content { - width: 100%; - float: right; - margin: 0 0 0.6em -12.2em; - padding:0; + width: 100%; + float: right; + margin: 0 0 0.6em -12.2em; + padding: 0; } #content { - margin: 0em 0 0 12.2em; - padding: 0em 1em 1.5em 1em; - border-left: 1px solid #959595; - line-height: 1.5em; + margin: 0em 0 0 12.2em; + padding: 0em 1em 1.5em 1em; + border-left: 1px solid #959595; + line-height: 1.5em; } #column-one { - position: absolute; - top: 0px; left: 0px; + position: absolute; + top: 0; + left: 0; } #footer { @@ -65,245 +89,264 @@ a:hover { } body { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } #globalWrapper { - width: 100%; - height: 100%; - margin: 0; - padding: 0; + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} +.visualClear { + clear: both; } -.visualClear { clear: both; } img { - border: none; + border: none; } p { - margin: 0.4em 0em 0.5em 0em; - line-height: 1.5em; + margin: 0.4em 0em 0.5em 0em; + line-height: 1.5em; +} +p img { + margin: 0; } -p img { margin: 0; } h1, h2, h3, h4, h5, h6 { - margin: 0; - padding-top: 0.5em; - padding-bottom: 0.17em; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; } fieldset { - margin: 1em 0em 1em 0em; - padding: 0em 1em 1em 1em; + margin: 1em 0em 1em 0em; + padding: 0em 1em 1em 1em; } .usermessage { - background-color: #ffce7b; - border: 1px solid #ffa500; - color: Black; - font-weight: bold; - margin: 2em 0em 1em 0em; - padding: 0.5em 1em; - vertical-align: middle; + background-color: #ffce7b; + border: 1px solid #ffa500; + color: black; + font-weight: bold; + margin: 2em 0em 1em 0em; + padding: 0.5em 1em; + vertical-align: middle; } .error { - color: red; - font-size: larger; + color: red; + font-size: larger; } table.rimage { - float:right; - position:relative; - margin-left:1em; - margin-bottom:1em; - text-align:center; + float: right; + position: relative; + margin-left: 1em; + margin-bottom: 1em; + text-align: center; } .portlet { - border: none; - float: none; - padding: 0; - width: 11.8em; - overflow: hidden; + border: none; + float: none; + padding: 0; + width: 11.8em; + overflow: hidden; } .portlet h4 { - font-weight: normal; - white-space: nowrap; + font-weight: normal; + white-space: nowrap; } .portlet h5 { - padding: 0em 1em 0em 0.5em; - display: inline; - height: 1em; - font-weight: normal; - white-space: nowrap; + padding: 0em 1em 0em 0.5em; + display: inline; + height: 1em; + font-weight: normal; + white-space: nowrap; } .portlet h6 { - padding: 0em 1em 0em 1em; - display: block; - height: 1.2em; - font-weight: normal; - white-space: nowrap; + padding: 0em 1em 0em 1em; + display: block; + height: 1.2em; + font-weight: normal; + white-space: nowrap; } .pBody { - border-collapse: collapse; - padding: 0 0.8em 0.3em 0.5em; + border-collapse: collapse; + padding: 0 0.8em 0.3em 0.5em; } .portlet h1, .portlet h2, .portlet h3, .portlet h4 { - margin: 0; - padding: 0; - font-size: small; + margin: 0; + padding: 0; + font-size: small; } #p-search .pBody { - text-align: center; + text-align: center; } #searchInput { - width: 100%; - clear: both; - margin: 0 0 0 0; + width: 100%; + clear: both; + margin: 0 0 0 0; } input.searchButton { - margin-top:1px; - padding: 0 0.4em; - cursor: pointer; + margin-top: 1px; + padding: 0 0.4em; + cursor: pointer; } #p-search .pBody { - padding: 0.5em 0.4em 0.4em 0.4em; + padding: 0.5em 0.4em 0.4em 0.4em; } /* feed links */ a.feedlink { - background: url("../common/images/feed-icon.png") center left no-repeat; + background: url(../common/images/feed-icon.png) center left no-repeat; padding-left: 16px; } textarea { - width: 100%; + width: 100%; } -.pBody li, .pBody ul { +.pBody li, +.pBody ul { padding-left: 0em; margin-left: 0.5em; } pre { - margin: 2em; - border: solid 1px black; + margin: 2em; + border: solid 1px black; } -h1.firstHeading, h2 { - border-bottom: solid 1px black; +h1.firstHeading, +h2 { + border-bottom: solid 1px black; } #bodyContent a.external, #bodyContent a.external[href ^="gopher://"] { - background: url("external.png") center right no-repeat; - padding-right: 13px; + background: url(external.png) center right no-repeat; + padding-right: 13px; } #bodyContent a.external[href ^="https://"], .link-https { - background: url("lock_icon.gif") center right no-repeat; - padding-right: 16px; + background: url(lock_icon.gif) center right no-repeat; + padding-right: 16px; } #bodyContent a.external[href ^="mailto:"], .link-mailto { - background: url("mail_icon.gif") center right no-repeat; - padding-right: 18px; + background: url(mail_icon.gif) center right no-repeat; + padding-right: 18px; } #bodyContent a.external[href ^="news://"] { - background: url("news_icon.png") center right no-repeat; - padding-right: 18px; + background: url(news_icon.png) center right no-repeat; + padding-right: 18px; } #bodyContent a.external[href ^="ftp://"], .link-ftp { - background: url("file_icon.gif") center right no-repeat; - padding-right: 18px; + background: url(file_icon.gif) center right no-repeat; + padding-right: 18px; } #bodyContent a.external[href ^="irc://"], #bodyContent a.external[href ^="ircs://"], .link-irc { - background: url("discussionitem_icon.gif") center right no-repeat; - padding-right: 18px; + background: url(discussionitem_icon.gif) center right no-repeat; + padding-right: 18px; } #bodyContent a.extiw, #bodyContent a.extiw:active { - color: #5E7CFF; + color: #5E7CFF; } td.diff-addedline { - background-color: #B9FFB0; + background-color: #B9FFB0; } td.diff-deletedline { - background-color: #f8ffaa; + background-color: #f8ffaa; } -.diffchange { background-color: #FFCDF3; text-decoration: none; } +.diffchange { + background-color: #FFCDF3; + text-decoration: none; +} -#pagehistory li { border: none; } +#pagehistory li { + border: none; +} div.tocindent { - margin-left: 2em; + margin-left: 2em; } #toc { - text-align: left; - border-top: solid 1px black; - border-bottom: solid 1px black; + text-align: left; + border-top: solid 1px black; + border-bottom: solid 1px black; } /* @noflip */div.floatright, table.floatright { - margin: 0; - border-width: 0.5em 0 0.8em 1.4em; + margin: 0; + border-width: 0.5em 0 0.8em 1.4em; +} +div.floatright p { + font-style: italic; } -div.floatright p { font-style: italic; } /* @noflip */div.floatleft, table.floatleft { - margin: 0.3em 0.5em 0.5em 0; - border-width: 0.5em 1.4em 0.8em 0; + margin: 0.3em 0.5em 0.5em 0; + border-width: 0.5em 1.4em 0.8em 0; } -div.floatleft p { font-style: italic; } +div.floatleft p { + font-style: italic; +} + /* thumbnails */ div.thumb { - margin-bottom: 0.5em; - width: auto; + margin-bottom: 0.5em; + width: auto; } div.thumbinner { - padding: 3px !important; - text-align: center; - overflow: hidden; + padding: 3px !important; + text-align: center; + overflow: hidden; } html .thumbcaption { - border: none; - text-align: left; - line-height: 1.4; - padding: 0.3em 0 0.1em 0; + border: none; + text-align: left; + line-height: 1.4; + padding: 0.3em 0 0.1em 0; } div.magnify { - float: right; - border: none !important; - background: none !important; + float: right; + border: none !important; + background: none !important; } -div.magnify a, div.magnify img { - display: block; - border: none !important; - background: none !important; +div.magnify a, +div.magnify img { + display: block; + border: none !important; + background: none !important; } /* @noflip */div.tright { - border-width: 0.5em 0 0.8em 1.4em; + border-width: 0.5em 0 0.8em 1.4em; } /* @noflip */div.tleft { - margin-right:0.5em; - border-width: 0.5em 1.4em 0.8em 0; + margin-right: 0.5em; + border-width: 0.5em 1.4em 0.8em 0; } img.thumbborder { border: 1px solid #dddddd; } -a.stub { color: #772233; } +a.stub { + color: #772233; +} a.new, #p-personal a.new { text-decoration: line-through; @@ -312,47 +355,47 @@ li.new { text-decoration: line-through; } .catlinks { - text-align: center; - width: 80%; - margin-left: auto; - margin-right: auto; - padding: 3px; + text-align: center; + width: 80%; + margin-left: auto; + margin-right: auto; + padding: 3px; } #mytabs { - background-color: inherit; + background-color: inherit; } #p-cactions { - background-color: inherit; + background-color: inherit; } div.printfooter { - display: none; + display: none; } #n-portal, #n-currentevents, #n-help, #n-sitesupport { - display: none; + display: none; } #preftoc { - float: left; - margin: 1em; - width: 13em; + float: left; + margin: 1em; + width: 13em; } #preftoc li { } #preftoc li.selected { - border: 1px dashed #aaa; + border: 1px dashed #aaa; } #preftoc a, #preftoc a:active { - display: block; + display: block; } div.htmlform-tip { - font-size: 95%; - margin-top: 1em; + font-size: 95%; + margin-top: 1em; } #mw_trackbacks { @@ -360,12 +403,14 @@ div.htmlform-tip { } #jump-to-nav { - display: none; + display: none; } table.collapsed tr.collapsable { display: none; } -.templatesUsed { margin-top: 1.5em; } +.templatesUsed { + margin-top: 1.5em; +} diff --git a/skins/vector/screen.css b/skins/vector/screen.css index eed706e67f..76defbff84 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -2,7 +2,7 @@ * Any rules which should not be flipped automatically in right-to-left situations should be * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs * should be prepended with @embed in a comment block. - * + * * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using * a rule that makes things work in IE6, and then following it with a rule that begins with @@ -293,7 +293,8 @@ div#mw-head h5 { margin-left: 23px; } /* Enable forcing showing of the menu for accessibility */ - div.vectorMenu:hover div.menu, div.vectorMenu div.menuForceShow { + div.vectorMenu:hover div.menu, + div.vectorMenu div.menuForceShow { display: block; } div.vectorMenu ul { @@ -395,7 +396,7 @@ div#mw-head h5 { div#simpleSearch input.placeholder { color: #999999; } - div#simpleSearch input::-webkit-input-placeholder { + div#simpleSearch input::-webkit-input-placeholder { color: #999999; } div#simpleSearch input#searchInput { @@ -561,7 +562,7 @@ div#footer #footer-places li { } /* - * + * * The following code is highly modified from monobook. It would be nice if the * preftoc id was more human readable like preferences-toc for instance, * howerver this would require backporting the other skins. @@ -663,10 +664,8 @@ div#footer #footer-places li { margin-right: 0.25em; } -/* - * +/** * The following code is slightly modified from monobook - * */ div#content { line-height: 1.5em; @@ -675,7 +674,9 @@ div#content { font-size: 0.8em; } -.editsection { float: right; } +.editsection { + float: right; +} ul { /* @embed */ @@ -740,7 +741,7 @@ div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"], div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"], .link-audio { /* @embed */ - background: url("images/audio-icon.png?2") center right no-repeat; + background: url(images/audio-icon.png) center right no-repeat; padding-right: 13px; } div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"], @@ -749,7 +750,7 @@ div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"], div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"], .link-video { /* @embed */ - background: url("images/video-icon.png?2") center right no-repeat; + background: url(images/video-icon.png) center right no-repeat; padding-right: 13px; } div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"], @@ -757,7 +758,7 @@ div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"], div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"], .link-document { /* @embed */ - background: url("images/document-icon.png?2") center right no-repeat; + background: url(images/document-icon.png) center right no-repeat; padding-right: 13px; } -- 2.20.1