From 4c300b8ccf88da49df82da1fa555ca80caab175f Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Sun, 16 May 2010 16:55:14 +0000 Subject: [PATCH] follow-up to r66538: more of the same --- skins/common/nostalgia.css | 49 +++++-- skins/common/oldshared.css | 232 ++++++++++++++++++++------------- skins/common/shared.css | 141 ++++++++++++-------- skins/common/wikiprintable.css | 4 +- skins/common/wikistandard.css | 212 ++++++++++++++++++++++++------ 5 files changed, 441 insertions(+), 197 deletions(-) diff --git a/skins/common/nostalgia.css b/skins/common/nostalgia.css index c9b36a70b0..e1b774dfe3 100644 --- a/skins/common/nostalgia.css +++ b/skins/common/nostalgia.css @@ -2,16 +2,47 @@ body { /* Background color is set separately on page type */ color: black; } -#specialform { display: inline; } + +#specialform { + display: inline; +} + #powersearch { - background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px; + background: #DDEEFF; + border-style: solid; + border-width: 1px; + padding: 2px; +} + +a.interwiki, a.external { + color: #3366BB; +} + +a.printable { + text-decoration: underline; } -a.interwiki, a.external { color: #3366BB; } -a.printable { text-decoration: underline; } -a.stub { color:#772233; text-decoration:none; } -h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; } -h2, h3, h4, h5, h6 { margin-bottom: 0; } -textarea { overflow: auto; } -p.subtitle { padding-top: 0; margin-top: 0; } +a.stub { + color: #772233; + text-decoration: none; +} +h1.pagetitle { + padding-top: 0; + margin-top: 0; + padding-bottom: 0; + margin-bottom: 0; +} + +h2, h3, h4, h5, h6 { + margin-bottom: 0; +} + +textarea { + overflow: auto; +} + +p.subtitle { + padding-top: 0; + margin-top: 0; +} diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index 1bd1544e6f..33047ec93a 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -12,7 +12,9 @@ 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, h2, h3, h4, h5, h6 { + font-weight: bolder; +} /* Now the custom parts */ @@ -20,32 +22,47 @@ 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%; } #footer { clear: both } /* images */ -div.floatright { float: right; clear: right; margin: 0 0 1em 1em; } -div.floatright p { font-style: italic; } -div.floatleft { float: left; clear: left; margin: 0.3em 0.5em 0.5em 0; } -div.floatleft p { font-style: italic; } +div.floatright { + float: right; + clear: right; + margin: 0 0 1em 1em; +} + +div.floatright p { + font-style: italic; +} + +div.floatleft { + float: left; + clear: left; + margin: 0.3em 0.5em 0.5em 0; +} + +div.floatleft p { + font-style: italic; +} /* Print-specific things to hide */ .printfooter { - display: none; + display: none; } /* table standards */ table.rimage { - float:right; - margin-left:1em; - margin-bottom:1em; - text-align:center; - font-size:smaller; + float: right; + margin-left: 1em; + margin-bottom: 1em; + text-align: center; + font-size: smaller; } /* thumbnails */ @@ -137,7 +154,6 @@ img { border: none; } font-size: 94%; } - .error { color: red; font-size: larger; @@ -148,77 +164,88 @@ img { border: none; } clear: both; } #preftoc { - float: left; - margin: 1em 1em 1em 1em; - width: 13em; + float: left; + margin: 1em 1em 1em 1em; + width: 13em; +} +#preftoc li { + border: 1px solid White; } -#preftoc li { border: 1px solid White; } #preftoc li.selected { - background-color:#f9f9f9; - border:1px dashed #aaaaaa; + background-color:#f9f9f9; + border:1px dashed #aaaaaa; } #preftoc a, #preftoc a:active { - display: block; - color: #005189; + display: block; + color: #005189; } .mw-prefs-buttons { - clear: left; - float: left; - margin-top: 1em; + clear: left; + float: left; + margin-top: 1em; } div.htmlform-tip { - font-size: 94%; - margin-top: 0.4em; - color: #666; + font-size: 94%; + margin-top: 0.4em; + color: #666; +} +fieldset.prefsection { + margin-top: 1em; +} +fieldset.operaprefsection { + margin-left: 15em; } -fieldset.prefsection { margin-top: 1em } -fieldset.operaprefsection { margin-left: 15em } /* emulate center */ .center { - width: 100%; - text-align: center; + width: 100%; + text-align: center; } *.center * { - margin-left: auto; - margin-right: auto; + margin-left: auto; + margin-right: auto; } + /* small for tables and similar */ -.small, .small * { font-size: 94%; } -table.small { font-size: 100% } +.small, .small * { + font-size: 94%; +} +table.small { + font-size: 100%; +} /* use this instead of #toc for page content */ .toccolours { - border:1px solid #aaaaaa; - background-color:#f9f9f9; - padding:5px; - font-size: 95%; + border: 1px solid #aaaaaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; } #siteNotice { - border:1px solid #aaaaaa; - padding-left: 0.5em; - padding-right: 0.5em; + border: 1px solid #aaaaaa; + padding-left: 0.5em; + padding-right: 0.5em; } .redirectText { - font-size:150%; - margin:5px; + font-size: 150%; + margin: 5px; } .sharedUploadNotice { font-style: italic; } span.unpatrolled { - font-weight:bold; - color:red; + font-weight: bold; + color: red; } span.updatedmarker { - color:black; - background-color:#00FF00; + color: black; + background-color: #00FF00; } div.gallerybox { - width: 150px; + width: 150px; } span.comment { @@ -234,19 +261,19 @@ span.changedby { color: #cc0000; } .editExternally { - border-style:solid; - border-width:1px; - border-color:gray; - background: #ffffff; - padding:3px; - margin-top:0.5em; - float:left; - font-size:small; - text-align:center; + border-style: solid; + border-width: 1px; + border-color: gray; + background: #ffffff; + padding: 3px; + margin-top: 0.5em; + float: left; + font-size: small; + text-align: center; } .editExternallyHelp { - font-style:italic; - color:gray; + font-style: italic; + color: gray; } li span.deleted { @@ -260,9 +287,15 @@ table.mw_metadata { margin-left: 0.5em; } -table.mw_metadata caption { font-weight: bold; } -table.mw_metadata th { font-weight: normal; } -table.mw_metadata td { padding: 0.1em; } +table.mw_metadata caption { + font-weight: bold; +} +table.mw_metadata th { + font-weight: normal; +} +table.mw_metadata td { + padding: 0.1em; +} table.mw_metadata { border: none; @@ -289,11 +322,10 @@ table.collapsed tr.collapsable { } .visualClear { - clear: both; + clear: both; } /* Allmessages table */ - #allmessagestable th { background-color: #b2b2ff; } @@ -311,28 +343,28 @@ table.collapsed tr.collapsable { } #jump-to-nav { - display: none; + display: none; } div.multipageimagenavbox { - border: solid 1px silver; - padding: 4px; - margin: 1em; - background: #f0f0f0; + border: solid 1px silver; + padding: 4px; + margin: 1em; + background: #f0f0f0; } div.multipageimagenavbox div.thumb { - border: none; - margin-left: 2em; - margin-right: 2em; + border: none; + margin-left: 2em; + margin-right: 2em; } div.multipageimagenavbox hr { - margin: 6px; + margin: 6px; } table.multipageimage td { - text-align: center; + text-align: center; } /* @@ -343,22 +375,42 @@ table.multipageimage td { - remove line wrapping for all td and th, set background color - restore line wrapping for the last two table cells (description and size) */ -.TablePager_nav a { text-decoration: none; } -.TablePager { border-collapse: collapse; } -.TablePager, .TablePager td, .TablePager th { +.TablePager_nav a { + text-decoration: none; +} +.TablePager { + border-collapse: collapse; +} +.TablePager, .TablePager td, .TablePager th { border: 0.15em solid #777777; padding: 0 0.15em 0 0.15em; } -.TablePager th { background-color: #eeeeff } -.TablePager td { background-color: #ffffff } -.TablePager tr:hover td { background-color: #eeeeff } +.TablePager th { + background-color: #eeeeff; +} +.TablePager td { + background-color: #ffffff; +} +.TablePager tr:hover td { + background-color: #eeeeff; +} -.imagelist td, .imagelist th { white-space: nowrap } -.imagelist .TablePager_col_links { background-color: #eeeeff } -.imagelist .TablePager_col_img_description { white-space: normal } -.imagelist th.TablePager_sort { background-color: #ccccff } +.imagelist td, .imagelist th { + white-space: nowrap; +} +.imagelist .TablePager_col_links { + background-color: #eeeeff; +} +.imagelist .TablePager_col_img_description { + white-space: normal; +} +.imagelist th.TablePager_sort { + background-color: #ccccff; +} -.templatesUsed { margin-top: 1em; } +.templatesUsed { + margin-top: 1em; +} .MediaTransformError { border: thin solid #777; diff --git a/skins/common/shared.css b/skins/common/shared.css index f482781c9f..87f805e543 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -19,7 +19,10 @@ span.changedby { } /* Math */ -.texvc { direction: ltr; unicode-bidi: embed; } +.texvc { + direction: ltr; + unicode-bidi: embed; +} img.tex { vertical-align: middle; } span.texhtml { font-family: serif; } @@ -28,7 +31,9 @@ span.texhtml { font-family: serif; } #wikiPreview.ontop { margin-bottom: 1em; } /* Stop floats from intruding into edit area in previews */ -#editform, #toolbar, #wpTextbox1 { clear: both; } +#editform, #toolbar, #wpTextbox1 { + clear: both; +} div#mw-js-message { margin: 1em 5%; @@ -52,14 +57,14 @@ h2#filehistory { table.filehistory th, table.filehistory td { - vertical-align:top; + vertical-align: top; } table.filehistory th { text-align: left; } table.filehistory td.mw-imagepage-filesize, table.filehistory th.mw-imagepage-filesize { - white-space:nowrap; + white-space: nowrap; } table.filehistory td.filehistory-selected { @@ -107,7 +112,9 @@ td.mw-label { vertical-align: top; } .prefsection table { width: 100%; } td.mw-submit { white-space: nowrap; } -table.mw-htmlform-nolabel td.mw-label { width: 0 !important; } +table.mw-htmlform-nolabel td.mw-label { + width: 0 !important; +} input#wpSummary { width: 80%; @@ -116,11 +123,11 @@ input#wpSummary { /** * Image captions */ -body.rtl .thumbcaption { text-align:right; } -body.rtl .magnify { float:left; } +body.rtl .thumbcaption { text-align: right; } +body.rtl .magnify { float: left; } -body.ltr .thumbcaption { text-align:left; } -body.ltr .magnify { float:right; } +body.ltr .thumbcaption { text-align: left; } +body.ltr .magnify { float: right; } /** * Hidden categories @@ -148,7 +155,7 @@ p.mw-revdel-editreasons { div.searchresult { font-size: 95%; - width:38em; + width: 38em; } .mw-search-results { @@ -157,8 +164,8 @@ div.searchresult { .mw-search-results li { padding-bottom: 1em; - list-style:none; - list-style-image:none; + list-style: none; + list-style-image: none; } .mw-search-results li a { font-size: 108%; @@ -175,7 +182,7 @@ div.searchresult { border: 1px solid silver; } .mw-search-formheader div.search-types { - float:left; + float: left; padding-left: 0.25em; } .rtl .mw-search-formheader div.search-types { @@ -319,8 +326,8 @@ div#mw-search-interwiki-caption { padding-right: 0.15em; padding-bottom: 0.2em; padding-top: 0.15em; - background-color:#ececec; - border-top:1px solid #BBBBBB; + background-color: #ececec; + border-top: 1px solid #BBBBBB; } .rtl .mw-search-interwiki-project { @@ -354,20 +361,18 @@ table#mw-search-top-table { /* * Advanced PowerSearch box */ - td#mw-search-togglebox { - text-align: right; + text-align: right; } table#mw-search-powertable { - width:100%; + width: 100%; } form#powersearch { clear: both; } - /* * UserRights stuff */ @@ -443,14 +448,18 @@ table.os-suggest-results { /* the auto-generated edit comments */ .autocomment { color: gray; } #pagehistory .history-user { - margin-left: 0.4em; - margin-right: 0.2em; + margin-left: 0.4em; + margin-right: 0.2em; +} +#pagehistory span.minor { + font-weight: bold; +} +#pagehistory li { + border: 1px solid white; } -#pagehistory span.minor { font-weight: bold; } -#pagehistory li { border: 1px solid white; } #pagehistory li.selected { - background-color: #f9f9f9; - border: 1px dashed #aaa; + background-color: #f9f9f9; + border: 1px dashed #aaa; } /** Generic minor/bot/newpage styling */ @@ -464,10 +473,12 @@ table.os-suggest-results { } /* Special:ListGroupRights styling */ -table.mw-listgrouprights-table tr { +table.mw-listgrouprights-table tr { vertical-align: top; } -.listgrouprights-revoked { text-decoration: line-through; } +.listgrouprights-revoked { + text-decoration: line-through; +} /* Special:Statistics styling */ td.mw-statistics-numbers { @@ -512,7 +523,7 @@ td.mw-allpages-nav, p.mw-allpages-nav { font-size: smaller; margin-bottom: 1em; } -table.mw-allpages-table-form tr { +table.mw-allpages-table-form tr { vertical-align: top; } @@ -522,7 +533,7 @@ table#mw-prefixindex-nav-table { width: 98%; background-color: transparent; } -td#mw-prefixindex-nav-form { +td#mw-prefixindex-nav-form { font-size: smaller; margin-bottom: 1em; text-align: right; @@ -566,30 +577,30 @@ a.feedlink { padding-left: 16px; } -/* Plainlinks - this can be used to switch +/* Plainlinks - this can be used to switch * off special external link styling */ .plainlinks a { - background: none !important; - padding: 0 !important; + background: none !important; + padding: 0 !important; } /* wikitable class for skinning normal tables */ table.wikitable { - margin: 1em 1em 1em 0; - background: #f9f9f9; - border: 1px #aaa solid; - border-collapse: collapse; + margin: 1em 1em 1em 0; + background: #f9f9f9; + border: 1px #aaa solid; + border-collapse: collapse; } .wikitable th, .wikitable td { - border: 1px #aaa solid; - padding: 0.2em; + border: 1px #aaa solid; + padding: 0.2em; } .wikitable th { - background: #f2f2f2; - text-align: center; + background: #f2f2f2; + text-align: center; } .wikitable caption { - font-weight: bold; + font-weight: bold; } /* hide initially collapsed collapsable tables */ @@ -648,21 +659,41 @@ table.collapsed tr.collapsable { - remove line wrapping for all td and th, set background color - restore line wrapping for the last two table cells (description and size) */ -.TablePager { min-width: 80%; } -.TablePager_nav a { text-decoration: none; } -.TablePager { border-collapse: collapse; } -.TablePager, .TablePager td, .TablePager th { +.TablePager { + min-width: 80%; +} +.TablePager_nav a { + text-decoration: none; +} +.TablePager { + border-collapse: collapse; +} +.TablePager, .TablePager td, .TablePager th { border: 1px solid #aaaaaa; padding: 0 0.15em 0 0.15em; } -.TablePager th { background-color: #eeeeff } -.TablePager td { background-color: #ffffff } -.TablePager tr:hover td { background-color: #eeeeff } +.TablePager th { + background-color: #eeeeff; +} +.TablePager td { + background-color: #ffffff; +} +.TablePager tr:hover td { + background-color: #eeeeff; +} -.imagelist td, .imagelist th { white-space: nowrap } -.imagelist .TablePager_col_links { background-color: #eeeeff } -.imagelist .TablePager_col_img_description { white-space: normal } -.imagelist th.TablePager_sort { background-color: #ccccff } +.imagelist td, .imagelist th { + white-space: nowrap; +} +.imagelist .TablePager_col_links { + background-color: #eeeeff; +} +.imagelist .TablePager_col_img_description { + white-space: normal; +} +.imagelist th.TablePager_sort { + background-color: #ccccff; +} /* Allmessages table */ #mw-allmessagestable .allmessages-customised td.am_default { @@ -792,19 +823,19 @@ td.mw-enhanced-rc { display: inline; margin-left: 1em; } - + #mw-addcategory-prompt input { margin-left: 0.5em; margin-right: 0.5em; } - + .mw-remove-category { padding: 8px; background-image: url(images/remove.png); background-position: center center; background-repeat: no-repeat; } - + .mw-ajax-addcategory { padding-left: 20px; background-image: url(images/add.png); diff --git a/skins/common/wikiprintable.css b/skins/common/wikiprintable.css index 8b099bb29a..a80c8307f6 100644 --- a/skins/common/wikiprintable.css +++ b/skins/common/wikiprintable.css @@ -1,10 +1,10 @@ /* MediaWiki print stylesheet */ body { - color: #000000; background: #ffffff; + color: #000000; + background: #ffffff; } - /* MSIE/Win doesn't understand 'inherit' */ a, a.external, a.new, a.stub { color: black ! important; diff --git a/skins/common/wikistandard.css b/skins/common/wikistandard.css index 5bf59246de..6205092286 100644 --- a/skins/common/wikistandard.css +++ b/skins/common/wikistandard.css @@ -1,48 +1,178 @@ -#article { padding: 4px; } -#content { margin: 0; padding: 0; } -#footer { padding: 4px;font-size:95%;clear: both; } -#pagestats { font-size: 9pt; } +#article { + padding: 4px; +} + +#content { + margin: 0; + padding: 0; +} + +#footer { + padding: 4px; + font-size: 95%; + clear: both; +} + +#pagestats { + font-size: 9pt; +} + #powersearch { - background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px; + background: #DDEEFF; + border-style: solid; + border-width: 1px; + padding: 2px; +} + +#quickbar { + width: 140px; + height: 100%; + padding: 4px; + visibility: visible; + z-index: 99; + font-size: 95%; } -#quickbar { width: 140px; height:100%; padding: 4px; visibility: visible; z-index:99;font-size:95%;} -#topbar { padding: 4px;font-size:95%; } +#topbar { + padding: 4px; + font-size: 95%; +} /* Table of contents */ -.toctoggle, .editsection { font-size: smaller; } +.toctoggle, .editsection { + font-size: smaller; +} /* ... */ -#toolbar { padding:0px; } -#infobox { background:#eeeeff;color:black;} -#editform { margin-top:1px; } -a.interwiki, a.external { color: #3366BB; } -a.printable { text-decoration: underline; } -a.stub { color:#772233; text-decoration:none; } -a:visited { color: #5A3696; } -body { margin: 0px; padding: 4px; color: black; } -form.inline { display: inline; } -textarea { overflow: auto; } - - -h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; -font-size:150%; } -h1.pagetitle .editsection { font-size: 66.7%; } -h2 { font-size: 120%; } -h2 .editsection { font-size: 83.3%; } -h2, h3, h4, h5, h6 { margin-bottom: 0;} -h3 { font-size: 106.25%; } -h3 .editsection { font-size: 94.1%; } -h4 { font-size: 103.125%; } -h4 .editsection { font-size: 97.0%; } -h5 { font-size: 100%; } -h5 .editsection { font-size: 100%; } -h6 { font-size: 95%; } -h6 .editsection { font-size: 105.3%; } -hr.sep { color:gray;height:1px;background-color:gray;} -p.subpages { font-size:small;} -p.subtitle { padding-top: 0; margin-top: 0;} -.catlinks { font-size:small; margin-top:0; text-align:right;} -td { empty-cells:show; } -td.bottom { border-top: 1px solid gray; } -td.top { border-bottom: 1px solid gray; } +#toolbar { + padding: 0px; +} + +#infobox { + background: #eeeeff; + color: black; +} + +#editform { + margin-top: 1px; +} + +a.interwiki, a.external { + color: #3366BB; +} + +a.printable { + text-decoration: underline; +} + +a.stub { + color: #772233; + text-decoration: none; +} + +a:visited { + color: #5A3696; +} + +body { + margin: 0px; + padding: 4px; + color: black; +} + +form.inline { + display: inline; +} + +textarea { + overflow: auto; +} + +h1.pagetitle { + padding-top: 0; + margin-top: 0; + padding-bottom: 0; + margin-bottom: 0; + font-size: 150%; +} + +h1.pagetitle .editsection { + font-size: 66.7%; +} + +h2 { + font-size: 120%; +} + +h2 .editsection { + font-size: 83.3%; +} + +h2, h3, h4, h5, h6 { + margin-bottom: 0; +} + +h3 { + font-size: 106.25%; +} + +h3 .editsection { + font-size: 94.1%; +} + +h4 { + font-size: 103.125%; +} + +h4 .editsection { + font-size: 97.0%; +} + +h5 { + font-size: 100%; +} + +h5 .editsection { + font-size: 100%; +} + +h6 { + font-size: 95%; +} + +h6 .editsection { + font-size: 105.3%; +} + +hr.sep { + color: gray; + height: 1px; + background-color: gray; +} + +p.subpages { + font-size: small; +} + +p.subtitle { + padding-top: 0; + margin-top: 0; +} + +.catlinks { + font-size: small; + margin-top: 0; + text-align:right; +} + +td { + empty-cells: show; +} + +td.bottom { + border-top: 1px solid gray; +} + +td.top { + border-bottom: 1px solid gray; +} -- 2.20.1