« 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 72 : | Ligne 72 : | ||
/* PUCES */ | /* PUCES */ | ||
/*====================*/ | /*====================*/ | ||
ul | ul { | ||
content: "♦"; /* Utilise le caractère "♦" comme puce */ | content: "♦"; /* Utilise le caractère "♦" comme puce */ | ||
display: inline-block; | display: inline-block; |
Version du 29 avril 2024 à 19:58
/*====================*/ /* BODY (fond) */ /*====================*/ body { font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #D5C58A } a, a:visited { color: #0645AD; /* Couleur bleue classique des liens */ } /*====================*/ /* 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: 10%; /* Position à 10% de la hauteur de la fenêtre */ right: 20px; max-height: calc(90vh - 150px); /* Ajustez cette valeur selon vos besoins */ overflow-y: auto; } /*====================*/ /* Main du site ? */ /*====================*/ #mw-content-text { margin-right: 250px; /* Ajustez cette valeur selon la largeur de votre sommaire */ } /*====================*/ /* PUCES */ /*====================*/ ul { content: "♦"; /* Utilise le caractère "♦" comme puce */ display: inline-block; width: 1em; /* Ajuste la largeur pour un espacement correct */ margin-left: -1em; /* Décale le caractère pour l'aligner avec le texte */ }