MediaWiki:Common.css
From Dark Omen Wiki
Revision as of 19:06, 6 September 2008 by Bembelimen (Talk | contribs)
Note - After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh); Konqueror: click Reload or press F5; Opera: clear the cache in Tools → Preferences; Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */ .wikitable, .prettytable { margin: 1em 1em 1em 0; background: #2E2E2E; for the new Design border: 1px #AAA solid; border-collapse: collapse; empty-cells:show; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #AAA solid; padding: 0.3em; } .wikitable caption, .prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } .nogrid th, .nogrid td {border: none;} .float-left { float: left; clear: left; } .float-right { float: right; clear: right; margin: 1em 0 1em 1em; } .centered { margin-left: auto; margin-right: auto; } table.boxes { margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; /* Default "notice" gray */ background: #f9f9f9; } table.boxes-notice { border: 1px solid #aaa; } th.boxes-text, td.boxes-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; } td.boxes-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } body { background: #6a7872 url(http://www.zilla774.com/journal/dAogle_firefox_bkgrd.gif) repeat-x !important; padding-top: 25px !important; } body a:hover { color: #fff !important; text-decoration:underline !important; } body, td, div, .p, a { text-decoration: none !important; } a, font { color: #bac5ba !important; } .a,.a:link { color: #fff !important; } div.plainlinks div { background: transparent !important; } hr { border-top: 1px dotted #bac5da !important; border-bottom: 0px solid red !important; border-left: 0px solid red !important; border-right: 0px solid red !important; background: transparent !important; } /* ********************** */ /* Swap bookshelf image */ /* ********************** */ img[src="http://upload.wikimedia.org/wikipedia/meta/b/ba/Bookshelf-40x20.png"] { background: url(http://www.zilla774.com/journal/wikibooks.gif) transparent !important; width: 0 !important; padding-left: 40px !important; } /* ********************** */ /* Swap globe image */ /* ********************** */ img[src="http://upload.wikimedia.org/wikipedia/meta/2/2a/Nohat-logo-nowords-bgwhite-200px.jpg"] { background: url(http://www.zilla774.com/journal/wikiglobe.gif) transparent !important; width: 0 !important; padding-left: 200px !important; } /* ********************** */ /* Swap title image */ /* ********************** */ img[src="http://upload.wikimedia.org/wikipedia/meta/thumb/7/7c/Wikipedia-word.png/174px-Wikipedia-word.png "] { background: url(http://www.zilla774.com/journal/wikilogo.gif) transparent !important; width: 0 !important; padding-left: 174px !important; } /* ********************** */ /* input/textfields/forms */ /* ********************** */ #searchform fieldset { background-color: #4b5b59 !important; border: 0px solid white !important; } input[id=searchInput] { background-color: #899b91 !important; padding: 2px 5px !important; color: #374341 !Important; border: 0px solid white !important; } select[name=language] { border: 1px solid #899b91 !important; background-color: #899b91 !important; margin-left: 1px !important; margin-right: 1px !important; color: #374341 !important; } input[name=go] { border: 0px solid #374341 !important; padding: 4px !important; background-color: #374341 !important; margin-left: 1px !important; margin-right: 1px !important; color: #899b91 !important; font: 90% Verdana,sans-serif !important; } input[name=go]:active { background-color: #AFC81C !important; color: #586608 !important; font: 90% Verdana,sans-serif !important; } } /* ******************** */ /* Internal pages */ /* ******************** */ @-moz-document url-prefix(http://en.wikipedia) /* regions to come: url-prefix(http://de.wikipedia), url-prefix(http://pl.wikipedia), url-prefix(http://it.wikipedia), url-prefix(http://pt.wikipedia), url-prefix(http://sv.wikipedia), url-prefix(http://es.wikipedia), url-prefix(http://nl.wikipedia), url-prefix(http://ja.wikipedia), url-prefix(http://fr.wikipedia) */ { body { background: #a7afa7 url(http://www.zilla774.com/journal/wiki_bkgrd.gif) 0 0 repeat-x !important; } #content { background: #c4c9c4 !important; color: black !important; border: 1px solid #546359 !important; border-right: none !important; line-height: 1.5em !important; } #content { margin: 2.8em 0 0 13.2em !important; } #column-content { margin: 0 0 .6em -14.2em !important; } a { text-decoration: none !important; color: #3e8eb7 !important; background: none !important; font-weight: bold !important; } a:visited { color: #374341 !important; } a:active { color: #374341 !important; } a:hover { text-decoration: underline !important; background: none !important; } /* swap corner wikipedia logo */ a[style="background-image: url(/images/wiki-en.png);"] { width: 0 !important; height: 155px !important; padding-left: 135px !important; background: url(http://www.zilla774.com/journal/wiki_mini_globe.png) transparent no-repeat !important; margin-left: .8em !important; } /* nav headers */ h5 { color: #3B4A4A !important; font-size: 100% !important; background-color: #88938D !important; border-top: 1px solid #546359 !important; border-left: 1px solid #546359 !important; border-right: 1px solid #546359 !important; border-bottom: 0px solid #546359 !important; } #p-interaction h5, #p-navigation h5, #p-search h5, #p-tb h5, #p-lang h5 { background: transparent; padding: 5px 5px 5px 5px !important; display: block !important; height: 1em !important; text-transform: none !important; font-size: 91%; font-weight: normal; white-space: nowrap; letter-spacing: 2px !important; font-family: tahoma !important; } /* navigation */ #column-one { margin-left: .8em !important; width: 12em !important; } div#p-interaction div.pBody, div#p-navigation div.pBody, div#p-search div.pBody, div#p-tb div.pBody, div#p-lang div.pBody { background-color: #c4c9c4 !important; border-top: 1px solid #546359 !important; border-left: 1px solid #546359 !important; border-right: 1px solid #546359 !important; border-bottom: 1px solid #546359 !important; padding: 0 .8em .3em .5em !important; } #p-interaction li a, #p-navigation li a, #p-search li a, #p-tb li a, #p-lang li a { color: #3B4A4A !important; font-weight: normal !important; } #p-interaction li a:hover, #p-navigation li a:hover, #p-search li a:hover, #p-tb li a:hover, #p-lang li a:hover { color: #3e8eb7 !important; font-weight: normal !important; } #p-cactions li { border-top: 1px solid #546359 !important; border-left: 1px solid #546359 !important; border-right: 1px solid #546359 !important; border-bottom: 1px solid #e7f0ec !important; padding-top: 3px !important; background-color: #bac5ba !important; font-weight: normal !important; font-size: 110% !important; margin: 0px !important; } /* background-color: #e7f0ec !important; */ #p-cactions li.selected { border-top: 1px solid #546359 !important; border-left: 1px solid #546359 !important; border-right: 1px solid #546359 !important; border-bottom: 1px solid #e7f0ec !important; background-color: #c4c9c4 !important; } #p-cactions li.selected a { border-bottom: 2px solid #c4c9c4 !important; background-color: #c4c9c4 !important; font-weight: bold !important; color: black !important; } #p-cactions li a { color: #374341 !important; font-weight: normal !important; margin: 0px !important; } table { background-color: transparent !important; } .infobox, .messagebox { background-color: #e7f0ec !important; } .infobox tbody div { background-color: #c4c9c4 !important; margin-top: 5px !important; } div#catlinks { background-color: #e7f0ec !important; } .thumb { background-color: transparent !important; border: 0px solid red !important; } #toc { background-color: #e7f0ec !important; } input[type=submit] { border: 0px solid #374341 !important; padding: 0.25em !important; background-color: #374341 !important; margin-top: 2px !important; margin-left: 1px !important; margin-right: 1px !important; color: #899b91 !important; font: 90% Verdana,sans-serif !important; } input[type=submit]:active { background-color: #AFC81C !important; color: #586608 !important; font: 85% Verdana,sans-serif !important; } input[id=searchInput] { background-color: #899b91 !important; padding: 2px 5px !important; color: #374341 !Important; border: 1px solid #546359 !important; margin-top: 2px !important; }