Difference between revisions of "MediaWiki:Common.css"
GrumpyGecko (talk | contribs) |
GrumpyGecko (talk | contribs) |
||
Line 7: | Line 7: | ||
background-position: left top; | background-position: left top; | ||
background-color: rgba(249, 249, 249, 0.5); /* Higher opacity (last arg) means less transparency */ | background-color: rgba(249, 249, 249, 0.5); /* Higher opacity (last arg) means less transparency */ | ||
+ | } | ||
+ | |||
+ | #toc { | ||
+ | position: fixed; | ||
+ | right: 0; | ||
+ | top: 7em; /* 5em is height of header, 6em brings just under */ | ||
+ | /* bottom: 5em; /* 5em puts us above the footer; not bad but too low when TOC is collapsed */ | ||
+ | |||
+ | z-index: 10000; /* Ensure we float above the header, etc. */ | ||
+ | |||
+ | /* Add opacity (translucency) */ | ||
+ | background-color: rgb(249, 249, 249); | ||
+ | background-color: rgba(249, 249, 249, 0.9); /* Higher opacity (last arg) means less transparency */ | ||
} | } |
Revision as of 10:38, 18 July 2018
/* CSS placed here will be applied to all skins */ #mw-page-base { background: transparent; } body { background-image: url("images/backgrounds/cw-wiki-background.jpg"); background-position: left top; background-color: rgba(249, 249, 249, 0.5); /* Higher opacity (last arg) means less transparency */ } #toc { position: fixed; right: 0; top: 7em; /* 5em is height of header, 6em brings just under */ /* bottom: 5em; /* 5em puts us above the footer; not bad but too low when TOC is collapsed */ z-index: 10000; /* Ensure we float above the header, etc. */ /* Add opacity (translucency) */ background-color: rgb(249, 249, 249); background-color: rgba(249, 249, 249, 0.9); /* Higher opacity (last arg) means less transparency */ }