diff options
Diffstat (limited to 'stylesheets/monobook')
-rw-r--r-- | stylesheets/monobook/IE55Fixes.css | 27 | ||||
-rw-r--r-- | stylesheets/monobook/IE60Fixes.css | 22 | ||||
-rw-r--r-- | stylesheets/monobook/main.css | 189 | ||||
-rw-r--r-- | stylesheets/monobook/null | 0 | ||||
-rw-r--r-- | stylesheets/monobook/rtl.css | 35 |
5 files changed, 197 insertions, 76 deletions
diff --git a/stylesheets/monobook/IE55Fixes.css b/stylesheets/monobook/IE55Fixes.css index 4c2c384ad5d2..b3258d5132e8 100644 --- a/stylesheets/monobook/IE55Fixes.css +++ b/stylesheets/monobook/IE55Fixes.css @@ -1,17 +1,36 @@ /* IE5.5/win- only fixes */ -#column-content { display: inline; } -#column-content #content { - margin-top: 3em; - overflow: auto; +#column-content { + float: none; + margin-left: 0; height: 1%; } +#column-content #content { + position: relative; + z-index: 5; + margin-left: 12.2em; + margin-top: 3em; + height: 1%; +} +#column-one { + position: absolute; + top: 0; + left: 0; + z-index: 4; + width: 100%; +} +#footer { + margin-left: 13.6em; + border-left: 1px solid #fabd23; +} + /*#bodyContent div, #bodyContent pre { overflow: auto; }*/ #p-personal { padding-bottom: 0.1em; } body { font-size: xx-small; } + #p-cactions { width: 76% !important; z-index: 3 !important; diff --git a/stylesheets/monobook/IE60Fixes.css b/stylesheets/monobook/IE60Fixes.css index b71cb2d099f7..ab5a97a7c729 100644 --- a/stylesheets/monobook/IE60Fixes.css +++ b/stylesheets/monobook/IE60Fixes.css @@ -1,16 +1,26 @@ /* 6.0 - only fixes */ /* content area */ - /* workaround for various ie float bugs */ +#column-content { + float: none; + margin-left: 0; + height: 1%; +} #column-content #content { + margin-left: 12.2em; margin-top: 3em; height: 1%; } -#bodyContent { - height: 1%; +#column-one { + position: absolute; + top: 0; + left: 0; + z-index: 4; +} +#footer { + margin-left: 13.6em; + border-left: 1px solid #fabd23; } - -#column-content { display: inline; } /* the tabs */ @@ -53,7 +63,7 @@ div.visualClear { } textarea { overflow: auto; - width: 97%; + width: 96%; } div.editsection, diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 8facf54b1c99..8d741a1bfeb5 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -37,7 +37,7 @@ */ body { - font: x-small "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + font: x-small sans-serif; background: #f9f9f9 url("headbg.jpg") 0px 0px no-repeat; color: Black; margin: 0; @@ -46,7 +46,7 @@ body { /* scale back up to a sane default */ #globalWrapper { - font-size:123%; + font-size:127%; width: 100%; margin: 0; padding: 0; @@ -61,21 +61,24 @@ table { } a { text-decoration: none; - color: #005189; + color: #002bb8; background: none; } a:visited { color: #5a3696; } a:active { color: Orange; } a:hover { text-decoration: underline; } -a.stub, -a.new { color:#ba0000; } +a.stub { color: #772233; } +a.new, +#p-personal a.new { color:#ba0000; } +a.new:visited, +#p-personal a.new:visited { color:#a55858; } img { border: none; vertical-align: middle; } p { - margin: 0.4em 0em 0.7em 0em; + margin: 0.4em 0em 0.5em 0em; line-height: 1.5em; } @@ -92,7 +95,6 @@ hr { h1, h2, h3, h4, h5, h6 { color: Black; background: none; - font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; padding-top: 0.5em; @@ -121,13 +123,21 @@ ol { line-height: 1.5em; margin: 0.3em 0 0 3.2em; padding:0; + list-style-image: none; } li { margin-bottom: 0.1em; } -dt { font-weight: bold; } +dt { + font-weight: bold; + margin-bottom: 0.1em; +} +dl{ + margin-top: 0.2em; + margin-bottom: 0.5em; +} dd { line-height: 1.5em; - margin-bottom: 0.8em; margin-left: 2em; + margin-bottom: 0.1em; } fieldset { @@ -157,7 +167,6 @@ textarea { /* hide this from ie/mac and konq2.2 */ @media All { head:first-child+body input { - font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; visibility: visible; border: 1px solid #2f6fab; color: Black; @@ -166,6 +175,13 @@ textarea { padding: 0.2em; } } +input.historysubmit { + padding: 0 0.3em 0.3em 0.3em !important; + font-size: 94%; + cursor: pointer; + height: 1.7em !important; + margin-left: 1.6em; +} input[type="radio"], input[type="checkbox"] { border:none; } select { @@ -194,6 +210,7 @@ pre { border: 1px dashed #2f6fab; color: Black; background-color: #f9f9f9; + line-height: 1.1em; } @@ -210,13 +227,6 @@ pre { width: auto; } span.subpages { display: block; } -#catlinks { - margin: 0; - padding: 0; - width: 34%; - text-align: right; - float: right; -} /* Some space under the headers in the content area */ #bodyContent h1, @@ -242,6 +252,13 @@ span.subpages { display: block; } color: red; font-size: larger; } +#catlinks { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + margin-top: 1em; + clear: both; +} /* currently unused, intended to be used by a metadata box in the bottom-right corner of the content area */ .documentDescription { @@ -281,27 +298,29 @@ in the bottom-right corner of the content area */ padding:5px; font-size: 95%; } -.tocindent { margin-left: 2em; } -.tocline { margin-bottom: 0px; } -.toctoggle { font-size: 94%; } -.editsection { +#toc .tocindent { margin-left: 2em; } +#toc .tocline { margin-bottom: 0px; } +#toc p { margin: 0 } +#toc .toctoggle { font-size: 94%; } +#toc .editsection { margin-top: 0.7em; font-size: 94%; } /* images */ -div.floatright { +div.floatright, table.floatright { + clear: right; float: right; margin: 0; - position:relative; + position: relative; border: 0.5em solid White; border-width: 0.5em 0 0.8em 1.4em; } -div.floatright p { font-style: italic;} -div.floatleft { +div.floatright p { font-style: italic; } +div.floatleft, table.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; - position:relative; + position: relative; border: 0.5em solid White; border-width: 0.5em 1.4em 0.8em 0; } @@ -318,6 +337,7 @@ div.thumb div { background-color:#f9f9f9; font-size: 94%; text-align: center; + overflow: hidden; } div.thumb div a img { border:1px solid #cccccc; @@ -325,6 +345,7 @@ div.thumb div a img { div.thumb div div.thumbcaption { border: none; text-align: left; + line-height: 1.4; padding: 0.3em 0 0.1em 0; } div.magnify { @@ -337,35 +358,46 @@ div.magnify a, div.magnify img { border: none !important; background: none !important; } +div.tright { + clear: right; + float: right; + border-width: 0.5em 0 0.8em 1.4em; +} +div.tleft { + float: left; + margin-right:0.5em; + border-width: 0.5em 1.4em 0.8em 0; +} .urlexpansion, .hiddenStructure { display: none; } img.tex { vertical-align: middle; } +span.texhtml { font-family: serif; } /* ** classes for special content elements like town boxes ** intended to be referenced directly from the wiki src */ + +/* +** User styles +*/ + /* table standards */ table.rimage { float:right; - width:1pt; position:relative; margin-left:1em; margin-bottom:1em; text-align:center; } -div.tright { - float: right; - border-width: 0.5em 0 0.8em 1.4em; -} -div.tleft { - float: left; - margin-right:0.5em; - border: 0.5em 1.4em 0.8em 0; +.toccolours { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + font-size: 95%; } - div.townBox { position:relative; float:right; @@ -421,9 +453,19 @@ div.townBox dl dd { table.diff { background:white; } td.diff-otitle { background:#ffffff; } td.diff-ntitle { background:#ffffff; } -td.diff-addedline { background:#ccffcc; } -td.diff-deletedline { background:#ffffaa; } -td.diff-context { background:#eeeeee; } +td.diff-addedline { + background:#ccffcc; + font-size: smaller; +} +td.diff-deletedline { + background:#ffffaa; + font-size: smaller; +} +td.diff-context { + background:#eeeeee; + font-size: smaller; +} +span.diffchange { color: red; } /* ** keep the whitespace in front of the ^=, hides rule from konqueror @@ -458,7 +500,20 @@ td.diff-context { background:#eeeeee; } background: url("discussionitem_icon.gif") center right no-repeat; padding-right: 18px; } - +/* disable interwiki styling */ +#bodyContent a.extiw, +#bodyContent a.extiw:active { + color: #3366bb; + background: none; + padding: 0; +} +#bodyContent a.external { color: #3366bb; } +/* this can be used in the content area to switch off +special external link styling */ +#bodyContent .plainlinks a { + background: none !important; + padding: 0; +} /* ** Structural Elements */ @@ -668,7 +723,6 @@ li#pt-login { padding-left: 20px; text-transform: none; } -#p-personal a.new { color:#ba0000; } /* ** the page-related actions- page/talk, edit etc @@ -708,7 +762,7 @@ li#pt-login { } #p-cactions li a { background-color: White; - color: #005189; + color: #002bb8; border: none; padding: 0 0.8em 0.3em 0.8em; text-decoration: none; @@ -732,7 +786,7 @@ li#pt-login { } /* offsets to distinguish the tab groups */ li#ca-talk { margin-right: 1.6em; } -li#ca-watch { margin-left: 1.6em; } +li#ca-watch, li#ca-watch { margin-left: 1.6em; } /* @@ -776,15 +830,6 @@ head:first-child+body #footer li { white-space: nowrap; } height: 1%; } -/* JeLuF's js-based preference dialog */ -#bar #p-cactions { - top: 8.0em; - left: 5em; -} -form #content { - left: -8em; -} - /* js pref toc */ #preftoc { float: left; @@ -799,7 +844,7 @@ form #content { #preftoc a, #preftoc a:active { display: block; - color: #005189; + color: #0014a6; } #prefcontrol { clear: both; @@ -819,29 +864,49 @@ fieldset.operaprefsection { margin-left: 15em } */ /* tabs: border on the a, not the div */ -*>html #p-cactions li { border:none; } -*>html #p-cactions li a { +* > html #p-cactions li { border:none; } +* > html #p-cactions li a { border: 1px solid #aaaaaa; 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; } - -/* more IE fixes */ -/* float/negative margin brokenness */ -* html #bodyContent { +* > html #f-poweredbyico, +* > html #f-copyrightico { width: 88px; } +* > html #bodyContent, +* > html #bodyContent pre { overflow-x: auto; width: 100%; padding-bottom: 25px; } + +/* more IE fixes */ +/* float/negative margin brokenness */ * html #footer {margin-top: 0;} * html #column-content { display: inline; margin-bottom: 0; } * html div.editsection { font-size: smaller; } +#pagehistory li.selected { position: relative; } /* debugging tool.. */ /*div{ border:1px solid #000000;}*/ + +#siteNotice { + border: 1px solid red; +} + + +/* Mac IE 5.0 fix; floated content turns invisible */ +* > html #column-content { + float: none; +} +* > html #column-one { + position: absolute; + left: 0; + top: 0; +} +* > html #footer { + margin-left: 13.2em; +} diff --git a/stylesheets/monobook/null b/stylesheets/monobook/null new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/stylesheets/monobook/null diff --git a/stylesheets/monobook/rtl.css b/stylesheets/monobook/rtl.css index 2dd986ccab67..919e6d0943e1 100644 --- a/stylesheets/monobook/rtl.css +++ b/stylesheets/monobook/rtl.css @@ -57,7 +57,6 @@ html>body .portlet { } /* Fix alignment */ -#catlinks, .documentByLine, .portletDetails, .portletMore, @@ -69,7 +68,6 @@ div div.thumbcaption { text-align: right; } -#catlinks, div.magnify, #div.townBox, #p-logo { @@ -104,7 +102,7 @@ li#ca-talk { margin-right: auto; margin-left: 1.6em; } -li#ca-watch { +li#ca-watch,li#ca-unwatch { margin-right: 1.6em !important; } @@ -131,6 +129,18 @@ dd { margin-left: 0; margin-right: 2em; } +div.tright { + clear: none; +} +div.tleft { + clear: left; +} +div.floatright table.floatright { + clear: none; +} +div.floatleft table.floatleft { + clear: left; +} div.townBox { margin-left: 0; margin-right: 1em; @@ -167,6 +177,23 @@ li#pt-login { #footer { clear: both; } +* html #footer { + margin-left: 0; + margin-right: 13.6em; + border-left: 0; + border-right: 1px solid #fabd23; +} +* html #column-content { + float: none; + margin-left: 0; + margin-right: 0; +} +* html #column-content #content { + margin-left: 0; + margin-top: 3em; +} +* html #column-one { right: 0; } + /* js pref toc */ #preftoc { float: right; } /* workaround for moz bug, displayed bullets on left side */ @@ -174,6 +201,6 @@ li#pt-login { #prefcontrol { float: right; } fieldset.prefsection, fieldset.operaprefsection { + margin-left: 0 !important; margin-right: 15em; - margin-left: 0; } |