Difference between revisions of "MediaWiki:Common.css"
Line 7: | Line 7: | ||
/* stop background image from scrolling with content area */ | /* stop background image from scrolling with content area */ | ||
body { background-attachment: fixed; } | body { background-attachment: fixed; } | ||
− | |||
− | |||
/* replace the book in the background with something else */ | /* replace the book in the background with something else */ | ||
body { background: Black; } | body { background: Black; } | ||
+ | menu { background-color: Black; } | ||
/* change header colors | /* change header colors |
Revision as of 00:44, 3 March 2016
/* CSS placed here will be applied to all skins */ /* make the background behind the content area and the tabs a light grey */ #content, #content table #p-cactions ul li a { background: #696969; } /* stop background image from scrolling with content area */ body { background-attachment: fixed; } /* replace the book in the background with something else */ body { background: Black; } menu { background-color: Black; } /* change header colors .header_outer { background: red; } .header_container { background: purple; } .header { background: yellow; } #header { background: green; } /* changes the background of pre areas */ pre { background: green; } /* change the logo */ /* #p-logo a { background: url(http://www.compneurosci.com/images/bg_visual.jpg) 35% 50% no-repeat; } /* change background of unselected tabs */ #p-cactions ul li a { background: Black; } /* change background of selected tabs */ #p-cactions ul li.selected a { background: white; } /* change border background of selected tabs */ #p-cactions li.selected { border-color: #A9A9A9; } /* style the search box and the buttons below it */ .searchButton { background-color: #efefef; border: 1px outset; } #searchInput { border: 1px inset; } /* standard link colors */ a:link { color: White; } a:visited { color: #DCDCDC; } a.new:link { color: White; } a.new:visited { color: #DCDCDC; } a.extiw:link { color: White; } /* links to other Wikipedias */ a.extiw:visited { color: #DCDCDC; } a.external:link { color: White; } /* external links */ a.external:visited { color: #DCDCDC; } /* put scrollbar on pre sections instead of ugly cutoff/overlap in Firefox */ pre { overflow: auto; } /* make a few corners round */ #p-cactions ul li, #p-cactions ul li a { border-top-left-radius: 1em; border-top-right-radius: 1em; } #content { border-top-left-radius: 1em; border-bottom-left-radius: 1em; } .pBody { border-top-right-radius: 1em; border-bottom-right-radius: 1em; } /* Fix sidebar */ div#mw-panel { position: fixed; overflow: auto; top: 100px; bottom: 0px; height: 100%; /* Prevent content overlay when sidewards scrolling */ background-color: Black; border-right: 1px solid #A7D7F9; } /* Prevent sidewards scrolling in pre elements */ pre { overflow: auto; max-height: 25em; }