Difference between revisions of "MediaWiki:Common.css"
Line 10: | Line 10: | ||
/* replace the book in the background with something else */ | /* replace the book in the background with something else */ | ||
body { background: black; } | body { background: black; } | ||
+ | h1 { color: white; } | ||
#content { color: white; } | #content { color: white; } | ||
#mw-head { background: black; } | #mw-head { background: black; } | ||
Line 28: | Line 29: | ||
/* change text colors | /* change text colors | ||
− | + | ||
− | + | ||
/* change the logo */ | /* change the logo */ |
Revision as of 19:28, 4 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: #545454; } /* stop background image from scrolling with content area */ /*body { background-attachment: fixed; } /* replace the book in the background with something else */ body { background: black; } h1 { color: white; } #content { color: white; } #mw-head { background: black; } #mw-body { background: black; } #ca-nstab-mediawiki { background: black; } #ca-talk { background: black; } #ca-view { background: black; } #ca-edit { background: black; } #ca-history { background: black; } .ca-history a { color: white; } #ca-unwatch { background: black; } #ca-delete { background: black; } #ca-move { background: black; } #ca-nstab-main { background: black; } #ca-viewsource { background: black; } #ca-watch { background: black; } #ca-nstab-special { background: black; } /* change text colors /* change the logo */ #p-logo { background-image: url(/pics/gb.png) 35% 50% no-repeat; } /* 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 #545454; } /* Prevent sidewards scrolling in pre elements */ pre { overflow: auto; max-height: 25em; }