MediaWiki:Common.css
Révision datée du 5 novembre 2025 à 08:28 par Admin (discussion | contributions)
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Images en taille écran */
.res-img img {
max-width:100%;
height:auto;
}
/* Sommaire fixe */
/*
#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
}
// 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;
overflow: auto;
}
.toctoggle {
float: right;
}
*/