Difference between revisions of "MediaWiki:Monobook.css"
MyWikiBiz, Author Your Legacy — Wednesday November 13, 2024
Jump to navigationJump to searchLine 22: | Line 22: | ||
/* Make all non-namespace pages have a light blue content area. This is done by | /* Make all non-namespace pages have a light blue content area. This is done by | ||
setting the background color for all #content areas to light blue and then | setting the background color for all #content areas to light blue and then | ||
− | overriding it for any #content enclosed in a .ns-0 (main | + | overriding it for any #content enclosed in a .ns-0 or .ns-100 (main & directory namespaces). I then |
do the same for the "tab" background colors. --Lupo */ | do the same for the "tab" background colors. --Lupo */ | ||
Line 34: | Line 34: | ||
.ns-0 * #content { | .ns-0 * #content { | ||
+ | background: white; | ||
+ | } | ||
+ | |||
+ | .ns-110 * #content { | ||
background: white; | background: white; | ||
} | } | ||
Line 42: | Line 46: | ||
.ns-0 * #mytabs li { | .ns-0 * #mytabs li { | ||
+ | background: white; | ||
+ | } | ||
+ | |||
+ | .ns-110 * #mytabs li { | ||
background: white; | background: white; | ||
} | } | ||
Line 50: | Line 58: | ||
.ns-0 * #mytabs li a { | .ns-0 * #mytabs li a { | ||
+ | background-color: white; | ||
+ | } | ||
+ | |||
+ | .ns-110 * #mytabs li a { | ||
background-color: white; | background-color: white; | ||
} | } | ||
Line 58: | Line 70: | ||
.ns-0 * #p-cactions li a { | .ns-0 * #p-cactions li a { | ||
+ | background-color: #fbfbfb; | ||
+ | } | ||
+ | |||
+ | .ns-110 * #p-cactions li a { | ||
background-color: #fbfbfb; | background-color: #fbfbfb; | ||
} | } | ||
.ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover { | .ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover { | ||
+ | background-color: white; | ||
+ | } | ||
+ | |||
+ | .ns-110 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover { | ||
background-color: white; | background-color: white; | ||
} | } | ||
.ns-0 * #content div.thumb { | .ns-0 * #content div.thumb { | ||
+ | border-color: white; | ||
+ | } | ||
+ | |||
+ | .ns-110 * #content div.thumb { | ||
border-color: white; | border-color: white; | ||
} | } |
Revision as of 16:45, 3 November 2006
/* CSS placed here will affect users of the Monobook skin */ /* the tagline */ #siteSub { display: inline; font-size: 100%; font-weight: bold; color: #01459A; border-bottom-style: none; } #siteNotice { margin-top:5px; padding-left: 4px; font-style: italic; text-align: right; } /****************************/ /* BEGIN LIGHT BLUE SECTION */ /****************************/ /* Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 or .ns-100 (main & directory namespaces). I then do the same for the "tab" background colors. --Lupo */ #content { background: #F8FCFF; /* a light blue */ } #content div.thumb { border-color: #F8FCFF; } .ns-0 * #content { background: white; } .ns-110 * #content { background: white; } #mytabs li { background: #F8FCFF; } .ns-0 * #mytabs li { background: white; } .ns-110 * #mytabs li { background: white; } #mytabs li a { background-color: #F8FCFF; } .ns-0 * #mytabs li a { background-color: white; } .ns-110 * #mytabs li a { background-color: white; } #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a { background-color: #F8FCFF; } .ns-0 * #p-cactions li a { background-color: #fbfbfb; } .ns-110 * #p-cactions li a { background-color: #fbfbfb; } .ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover { background-color: white; } .ns-110 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover { background-color: white; } .ns-0 * #content div.thumb { border-color: white; } .ns-110 * #content div.thumb { border-color: white; } /**************************/ /* END LIGHT BLUE SECTION */ /**************************/