MediaWiki:Monobook.css
From Legion Wiki
Jump to navigationJump to search
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 Shift-F5 or Shift-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.
/* edit this file to customize the monobook skin for the entire site */ body.page-Main_Page h1.firstHeading { display: none; } /* lw wiki-specific */ body{font-family:Calibri,sans-serif;background:black url(http://legionwiki.com/wiki/images/b/b6/LegionWikiBg.png) repeat-x } h1,h2,h3,h4,h5,h6 { font-family:Arial,sans-serif; } /* background (edit/history/etc) tabs */ #p-cactions li { border: 1px solid black; border-bottom: none; } /*current tab */ #p-cactions li.selected { border-color: black; } #p-cactions li.selected a{ color:black } /*red tab */ #p-cactions li.new{ border-color: #c36666; } /* rounded corners in Firefox */ #p-cactions ul li, #p-cactions ul li a { -moz-border-radius-topright: 0.5em; -webkit-border-top-left-radius:0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-bottom-right-radius:0.5em; border-radius:0.5em 0 0 0; } #content { -moz-border-radius-topleft: 1em; -webkit-border-top-left-radius:1em; -moz-border-radius-bottomleft: 1em; -webkit-border-bottom-left-radius:1em; border-radius:1em 0 0 1em; border-color:black; } .toc { -moz-border-radius-topleft: 0.5em; -webkit-border-top-left-radius:0.5em; -moz-border-radius-bottomright: 0.5em; -webkit-border-bottom-right-radius:0.5em; border-radius:0.5em 0; } /* Personal links at top right */ #p-personal .pBody ul { font-family:Arial,sans-serif; background: black; border-bottom: 1px solid black; border-left: 1px solid black; float: right; padding-left: 0; -moz-border-radius-bottomleft: 1em; -webkit-border-bottom-left-radius:1em; border-radius: 0 0 0 1em; height: 1.45em; } #p-personal li { margin: 0; } #p-personal li a { padding: 0.5em; color:#91BCFF; } #p-personal li a.new { color:#FF6868; } #p-personal li a:hover { background: #000077; color:white } #p-personal li a:hover.new { background: #c30000; color:white } #pt-userpage, #pt-login, #pt-logout{font-weight:bold} /* navigation and other left-menu boxes */ #p-navigation, #p-external_links, #p-search, #p-tb, #p-lang { font-family:Arial,sans-serif; margin: 1em 0.5em; width: 11.2em; } #p-navigation h5, #p-external_links h5, #p-search h5, #p-tb h5, #p-lang h5 { background: black; // background: #000077; // border: 1px solid #000077; color: #FFFFFF; font-family:Gill Sans,Helvetica Neue,Helvetica,Helv,Arial,sans-serif; // font-weight:bold; // font-size:9pt; text-transform: uppercase; padding: 5px 4px; text-indent: 7px; width: 95%; display: block; -moz-border-radius-topleft: 1em; -webkit-border-top-left-radius:1em; border-radius: 1em 0 0 0; } #p-navigation .pBody, #p-external_links .pBody, #p-search .pBody, #p-tb .pBody, #p-lang .pBody { display: block; border: 1px solid black; background: #FFFFFF; -moz-border-radius-bottomright: 1em; -webkit-border-bottom-right-radius:1em; border-radius: 0 0 1em 0; } #p-navigation .pBody a, #p-external_links .pBody a, #p-search .pBody a, #p-tb .pBody a, #p-lang .pBody a { color: #000; text-decoration: none; } #p-navigation .pBody a:hover, #p-external_links .pBody a:hover, #p-search .pBody a:hover, #p-tb .pBody a:hover, #p-lang .pBody a:hover { color: #3F61AD !important; } /* search box */ #searchInput { background: #fff; border: 1px solid black; margin-bottom: 3px; padding: 2px; } /* the icon in front of the user name, single quotes in bg url to hide it from iemac */ li#pt-userpage, li#pt-anonuserpage, li#pt-login { background: url(http://legionwiki.com/wiki/images/7/7a/UserL.png) top left no-repeat; padding-left: 20px; margin-left: 5px; text-transform: none; }