« MediaWiki:Common.css » : différence entre les versions

De cinema-theatre
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 38 : Ligne 38 :
  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
*/
*/
#toc {float:right;margin:0 0 1em 1em;position:fixed;top:100px;right:10px;};
//#toc {float:right;margin:0 0 1em 1em;position:fixed;top:100px;right:10px;};


/* Sommaire fixe */
/* Sommaire fixe */

Version du 5 décembre 2025 à 07:51

/* 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;
}

/* 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;
}
*/