MediaWiki:Common.css
From Wiki4Games
Revision as of 10:47, 9 May 2010 by Patheticcockroach (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 */ @import "/index.php?title=MediaWiki:Common.css/user_links&action=raw&ctype=text/css"; .messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; text-align: justify; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } /** modifying skins/monobook/main.css **/ h2 { font-size:170%; } h2 .mw-headline { /* font-family: Georgia, "Times New Roman", Times, serif; */ /* font-weight: bold; */ color: #080e31; } h2 .editsection { font-size: 58%; } h2 {margin-top:1em;} h3 {margin-top:1.5em;} h4 {margin-top:1.5em;} .portlet h5 {text-transform:none;} div#content {min-height:900px;} /* ** the page-related actions- page/talk, edit etc */ #p-cactions li.selected { border-color: #23bdfa; } #p-cactions li a { background-color: #fafaff; } #p-cactions .new a { background-color: #fffafa; } /** Infobox template style **/ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } /** bytes between 2 revisions **/ .mw-plusminus-pos {color:#337700;} .mw-plusminus-neg {color:#990011;} /* Tiles to show transparency on image pages. */ #file img {background: url("images/a/a7/Tiles.png") repeat;} /* Wikitable/Prettytable class for skinning normal tables. */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #FFFFFF; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #F2F2F2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } /* For making smaller tables */ table.smalltable {margin: 0;} table.smalltable td {font-size:80%;padding: 0;} table.smalltable th {font-size:90%} /* Rating Bar css */ .w4g_ratinglist { margin-bottom: 0px; padding-left: .4em; } .w4g_ratinglist-headercell { background-color:#153E7E; font-weight: bold; text-align: center; margin-bottom: 0px; padding-left: .4em; color:#FFFFFF; } .w4g_ratinglist-contentcell { padding-left: .2em; padding-right: .2em; } .w4g_ratinglist-error { font-weight: bold; color:#FF0000; } /* ContributionScores.css */ .contributionscores-wrapper { } .contributionscores-title { background-color: #0086b3; margin-bottom: 0px; padding-left: .4em; color:#ffffff; } .contributionscores-tableheadings { background-color: #b7edff; border-bottom: 1px solid #999999; } .contributionscores-altrow { background-color: #d5f4ff; } .contributionscores-headercell { font-weight: bold; padding-left: .2em; padding-right: .2em; } .contributionscores-contentcell { padding-left: .2em; padding-right: .2em; } /* default style for main page elements - override as necessary in individual skin CSS */ /* Hide main page title */ body.page-Main_Page h1.firstHeading {display:none;} body.page-Main_Page h2 {margin-top:0;} body.page-Main_Page h3 {margin-top:0;} body.page-Main_Page h4 {margin-top:0;} .maincomplete {width:100%; border:1px solid #ccc; text-align:center;} td.mainpage {border:1px solid; padding: 5px;} div.mainpage {border:1px solid; padding-left:5px; line-height:100%; text-align: center;} td.aotm {width:70%; border-color:#cef2e0;} div.aotm {border-color:#f5fffa; background-color:#cef2e0;} td.article_selection {width:70%; text-align:left; vertical-align:top; border-color:#cef2e0;} div.article_selection {border-color:#f5fffa; background-color:#cef2e0; margin-bottom:5px;} div#random_pic {border-color:#fAf5ff; background-color:#c6c9ff; margin-bottom:5px;} div#create_new_page {border-color:#fAf5ff; background-color:#c6c9ff; margin-bottom:5px;} td.all_games {border-color:#c6c9ff;} div.all_games {border-color:#eeeeff; background-color:#c6c9ff;} td.top_contributors {width:70%; border-color:#e8e7fb;} div.top_contributors, div#top_games {border-color:#FFF0F5; background-color:#e8e7fb;} td.newest_articles {width:50%;text-align:left; vertical-align:top; border-color:#cef2e0;} div.newest_articles {border-color:#f5fffa; background-color:#cef2e0; margin-bottom:5px;} td.newest_files {width:50%;text-align:left; vertical-align:top; border-color:#cef2e0;} div.newest_files {border-color:#f5fffa; background-color:#cef2e0; margin-bottom:5px;} td.top_pages {width:50%;text-align:left; vertical-align:top; border-color:#cef2e0;} div.top_pages {border-color:#f5fffa; background-color:#cef2e0; margin-bottom:5px;} /* not used yet */ td#news {width:50%; border-color:#EEE8AA;} div#news {border-color:#ffffe0; background-color:#EEE8AA;} td#categories {width:50%; border-color:#CCCCCC;} div#categories {border-color:#EFEFEF; background-color:#CCCCCC;} /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. Grabbed from http://en.wikipedia.org/wiki/MediaWiki:Common.css */ div.NavFrame { margin: 0; padding: 4px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; font-size: 90%; }