« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 48 : | Ligne 48 : | ||
url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.svg#Britannic Bold")format("svg"); | url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.svg#Britannic Bold")format("svg"); | ||
} | } | ||
.page-content :is(h2, h3, h4, h5, h6) .mw-headline { | |||
font-family: Britannic Bold; | |||
} | |||
/* | |||
h1, | h1, | ||
h2, | h2, | ||
| Ligne 54 : | Ligne 57 : | ||
font-family: Britannic Bold; | font-family: Britannic Bold; | ||
} | } | ||
*/ | |||
/* Sommaire fixe à droite | /* Sommaire fixe à droite | ||
https://webapps.stackexchange.com/questions/3851/how-can-i-float-the-table-of-contents-to-the-right-with-mediawiki | https://webapps.stackexchange.com/questions/3851/how-can-i-float-the-table-of-contents-to-the-right-with-mediawiki | ||
Version du 5 décembre 2025 à 08:37
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Images en taille écran */
.res-img img {
max-width:100%;
height:auto;
}
/* Police Garamond par défaut //font-size: larger; */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
body {
font-family:'EB Garamond', serif !important;
// font-size: 1.0em;
}
/* jwf--Make text larger */
#mw-content-text {
font-size: 1.1em;
}
/* jwf--Make text larger */
#bodyContent {
font-size: 1.1em;
}
/* Edit textarea */
#wpTextbox1 {
font-size: 1.1em;
}
/* Edit summary */
#wpSummary {
font-size: 1.1em;
}
// #h1.firstHeading {font-family: Britannic Bold;}
@import url(https://db.onlinewebfonts.com/c/8be4a2f403c2dc27187d892cca388e24?family=Britannic+Bold);
@font-face {
font-family: "Britannic Bold";
src: url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.eot");
src: url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.eot?#iefix")format("embedded-opentype"),
url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.woff2")format("woff2"),
url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.woff")format("woff"),
url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.ttf")format("truetype"),
url("https://db.onlinewebfonts.com/t/8be4a2f403c2dc27187d892cca388e24.svg#Britannic Bold")format("svg");
}
.page-content :is(h2, h3, h4, h5, h6) .mw-headline {
font-family: Britannic Bold;
}
/*
h1,
h2,
.firstHeading {
font-family: Britannic Bold;
}
*/
/* Sommaire fixe à droite
https://webapps.stackexchange.com/questions/3851/how-can-i-float-the-table-of-contents-to-the-right-with-mediawiki
*/
//#toc {float:right;margin:0 0 1em 1em;position:fixed;top:100px;right:10px;};
/* 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;
}
*/