Difference between revisions of "MediaWiki:Monobook.css"
From Legion Wiki
Jump to navigationJump to search(37 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* edit this file to customize the monobook skin for the entire site */ | /* edit this file to customize the monobook skin for the entire site */ | ||
+ | body.page-Main_Page h1.firstHeading { display: none; } | ||
− | h3. | + | /* lw wiki-specific */ |
+ | |||
+ | body{background:black url(/wiki/images/b/b6/LegionWikiBg.png) repeat-x } | ||
+ | |||
+ | |||
+ | /* background (edit/history/etc) tabs */ | ||
+ | #p-cactions li { | ||
+ | border: 1px solid black; | ||
+ | border-bottom: none;border-top:2px solid; | ||
+ | } | ||
+ | |||
+ | /*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 | ||
+ | { | ||
+ | border-radius:0.5em 0 0 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | #p-cactions li a{background:white} | ||
+ | #p-cactions li a:hover {background:#ffffcf} | ||
+ | #p-cactions li a #ca-addsection{border-radius:0} | ||
+ | |||
+ | #content | ||
+ | { | ||
+ | border-radius:1em 0 ; | ||
+ | border-color:black; | ||
+ | border-top:0.35em solid black; | ||
+ | margin: 2.6em 0 0 12.2em; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | .toc | ||
+ | { | ||
+ | border-radius:0.5em 0; | ||
+ | } | ||
+ | |||
+ | /* Personal links at top right */ | ||
+ | #p-personal .pBody ul { | ||
+ | background: black; | ||
+ | border-bottom: 1px solid black; | ||
+ | border-left: 1px solid black; | ||
+ | float: right; | ||
+ | padding-left: 0; | ||
+ | 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 { | ||
+ | margin: 0.25em 0.5em 0.75em 0.5em; | ||
+ | width: 11.2em; | ||
+ | } | ||
+ | #p-navigation h3, | ||
+ | #p-external_links h3, | ||
+ | #p-search h3, | ||
+ | #p-tb h3, | ||
+ | #p-lang h3 { | ||
+ | background: black; | ||
+ | color: #FFFFFF; | ||
+ | font-family:Gill Sans,Helvetica Neue,Helvetica,Helv,Arial,sans-serif; | ||
+ | text-transform: uppercase; | ||
+ | padding: 5px 4px; | ||
+ | text-indent: 7px; | ||
+ | width: 95%; | ||
+ | display: block; | ||
+ | border-radius: 1em 0 0 0; | ||
+ | margin-bottom: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; | ||
+ | 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(/wiki/images/7/7a/UserL.png) top left no-repeat; | ||
+ | padding-left: 20px; | ||
+ | margin-left: 5px; | ||
+ | text-transform: none; | ||
+ | } | ||
+ | |||
+ | table.gallery{border:none} | ||
+ | table.gallery td{background:none} | ||
+ | div.gallerybox{background:none;border:1px solid black;border-top:5px solid black;border-radius:2em 0;background:#FFFFcF} | ||
+ | div.gallerybox div.thumb{border:none} | ||
+ | div.gallerytext{text-align:center;margin-top:-10px} | ||
+ | |||
+ | #p-cactions li {padding:0 0 0.2em} |
Latest revision as of 08:05, 15 August 2015
/* edit this file to customize the monobook skin for the entire site */ body.page-Main_Page h1.firstHeading { display: none; } /* lw wiki-specific */ body{background:black url(/wiki/images/b/b6/LegionWikiBg.png) repeat-x } /* background (edit/history/etc) tabs */ #p-cactions li { border: 1px solid black; border-bottom: none;border-top:2px solid; } /*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 { border-radius:0.5em 0 0 0; } #p-cactions li a{background:white} #p-cactions li a:hover {background:#ffffcf} #p-cactions li a #ca-addsection{border-radius:0} #content { border-radius:1em 0 ; border-color:black; border-top:0.35em solid black; margin: 2.6em 0 0 12.2em; z-index: 0; } .toc { border-radius:0.5em 0; } /* Personal links at top right */ #p-personal .pBody ul { background: black; border-bottom: 1px solid black; border-left: 1px solid black; float: right; padding-left: 0; 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 { margin: 0.25em 0.5em 0.75em 0.5em; width: 11.2em; } #p-navigation h3, #p-external_links h3, #p-search h3, #p-tb h3, #p-lang h3 { background: black; color: #FFFFFF; font-family:Gill Sans,Helvetica Neue,Helvetica,Helv,Arial,sans-serif; text-transform: uppercase; padding: 5px 4px; text-indent: 7px; width: 95%; display: block; border-radius: 1em 0 0 0; margin-bottom: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; 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(/wiki/images/7/7a/UserL.png) top left no-repeat; padding-left: 20px; margin-left: 5px; text-transform: none; } table.gallery{border:none} table.gallery td{background:none} div.gallerybox{background:none;border:1px solid black;border-top:5px solid black;border-radius:2em 0;background:#FFFFcF} div.gallerybox div.thumb{border:none} div.gallerytext{text-align:center;margin-top:-10px} #p-cactions li {padding:0 0 0.2em}