« MediaWiki:Common.css » : différence entre les versions
De gahan
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
/* | /*====================*/ | ||
/* BODY (fond du site */ | |||
/*====================*/ | |||
body { | body { | ||
font-family: Verdana, Arial, Helvetica, sans-serif; | font-family: Verdana, Arial, Helvetica, sans-serif; | ||
Ligne 6 : | Ligne 7 : | ||
} | } | ||
/*====================*/ | |||
/* HEADER */ | |||
/*====================*/ | |||
h1 { | h1 { | ||
font-size: 200%; | font-size: 200%; | ||
Ligne 39 : | Ligne 44 : | ||
} | } | ||
/* | |||
/*====================*/ | |||
/* SOMMAIRE (TOC) */ | |||
/*====================*/ | |||
#toc { | #toc { | ||
font-size: 90%; | font-size: 90%; | ||
Ligne 50 : | Ligne 58 : | ||
} | } | ||
#toc a, #toc a:visited { | |||
color: #0645AD; | |||
} | |||
/*====================*/ | |||
/* SOMMAIRE (TOC) */ | |||
/*====================*/ | |||
#mw-content-text { | #mw-content-text { | ||
margin-right: 250px; /* Ajustez cette valeur selon la largeur de votre sommaire */ | margin-right: 250px; /* Ajustez cette valeur selon la largeur de votre sommaire */ | ||
} | } |
Version du 29 avril 2024 à 19:41
/*====================*/ /* BODY (fond du site */ /*====================*/ body { font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #D5C58A } /*====================*/ /* HEADER */ /*====================*/ h1 { font-size: 200%; font-weight: bold; font-variant-caps: small-caps; } h2 { font-size: 160%; font-weight: bold; font-variant-caps: small-caps; } h3 { font-size: 140%; font-weight: bold; font-variant-caps: small-caps; } h4 { font-size: 120%; font-weight: bold; } h5 { font-size: 110%; font-weight: bold; } h6 { font-size: 105%; font-weight: bold; } /*====================*/ /* SOMMAIRE (TOC) */ /*====================*/ #toc { font-size: 90%; position: fixed; top: 35%; right: 10px; /* Marge de droite */ transform: translateY(-50%); max-height: 80%; /* Hauteur max du sommaire */ overflow-y: auto; } #toc a, #toc a:visited { color: #0645AD; } /*====================*/ /* SOMMAIRE (TOC) */ /*====================*/ #mw-content-text { margin-right: 250px; /* Ajustez cette valeur selon la largeur de votre sommaire */ }