MediaWiki:Common.css: verschil tussen versies
Uit Klimaatwiki
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting Label: Teruggedraaid |
||
| Regel 23: | Regel 23: | ||
position: fixed; | position: fixed; | ||
right: 0; | right: 0; | ||
top: | top: 4em; /* 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 */ | /* bottom: 5em; /* 5em puts us above the footer; not bad but too low when TOC is collapsed */ | ||
| Regel 30: | Regel 30: | ||
/* Add opacity (translucency) */ | /* Add opacity (translucency) */ | ||
background-color: rgb(224, 255, 255); | background-color: rgb(224, 255, 255); | ||
background-color: rgba(224, 255, 255, 0. | background-color: rgba(224, 255, 255, 0.8); /* Higher opacity (last arg) means less transparency */ | ||
} | } | ||
/* Ensure the TOC height doesn't take over the screen; percentages may be higher than view port, so we use pixels */ | /* Ensure the TOC height doesn't take over the screen; percentages may be higher than view port, so we use pixels */ | ||
Versie van 18 sep 2025 14:12
/* CSS die hier wordt geplaatst heeft invloed op alle vormgevingen
.vector-page-tools-landmark { display: block !important; }
#vector-page-tools-pinned-container { display: none; }
.vector-main-menu-action-opt-out { display: none; }
*/
body { font-size: larger; }
/* ---------- Reading progress bar ---------- */
#readingProgress {
position: fixed;
bottom: 0;
left: 0;
height: 8px; /* thickness of the bar */
background-color: #E30000; /* choose any colour you like */
width: 0%;
z-index: 9999; /* stay on top of everything */
transition: width 0.1s ease-out;
}
#toc {
position: fixed;
right: 0;
top: 4em; /* 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(224, 255, 255);
background-color: rgba(224, 255, 255, 0.8); /* Higher opacity (last arg) means less transparency */
}
/* Ensure the TOC height doesn't take over the screen; percentages may be higher than view port, so we use pixels */
#toc > ul {
max-height: 350px;
max-width: 600px;
overflow: auto;
}
.toctoggle {
float: right;
}