MediaWiki:Common.css
De gahan
Révision datée du 4 mai 2024 à 00:05 par MetaOsten (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.
/*====================*/ /* BODY et BASE */ /*====================*/ body { font-family: Calibri, Verdana, sans-serif; /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/ font-size: 12px; background-image: none; background-color: #DEDEDE; /*Fond du wiki } /*====================*/ /* HEADER */ /*====================*/ /*h1, h2, h3, h4, h5, h6 {*/ /* font-family: 'Linux Libertine', 'Georgia', 'Times', serif;*/ /*}*/ h1 { font-size: 230%; font-weight: bold; font-variant-caps: small-caps; color: #661810; } h2 { font-size: 190%; font-weight: bold; font-variant-caps: small-caps; color: #112A78; } h3 { font-size: 160%; font-weight: bold; font-variant-caps: small-caps; color: #661810; } h4 { font-size: 140%; font-weight: bold; font-variant-caps: small-caps; } h5 { font-size: 125%; font-weight: bold; } h6 { font-size: 110%; font-weight: bold; } /*====================*/ /* SOMMAIRE (TOC) */ /*====================*/ #toc { font-size: 90%; border: none; /* Supprime le bord */ box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ajoute une ombre */ position: fixed; top: 10%; /* Position à 10% de la hauteur de la fenêtre */ right: -1px; max-height: calc(90vh - 150px); /* Ajustez cette valeur selon vos besoins */ overflow-y: auto; background-color: #E5E5E5; width: 250px; /* Largeur fixe du TOC */ } /*====================*/ /* Main du site ? */ /*====================*/ #mw-content-text { /* Fond du bloc général de texte */ margin-right: 280px; } .mw-content-padding { padding: 20px; } /*====================*/ /* INFOBOX */ /*====================*/ .infobox { box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ajoute une ombre */ float: right; background-color :#EEEEEE; margin-left: 10px; font-size: 11px; float: right; } .infoboxtitle { text-align: center; font-weight: bold; background-color: #4C7B52; color: white; font-size: 14px; } /*====================*/ /* LIEN HYPERTEXTE */ /*====================*/ a:visited { color: #0645AD !important; /* Couleur bleue classique des liens */ } /*====================*/ /* QUOTE */ /*====================*/ q { font-style: italic; } /*====================*/ /* PUCES */ /*====================*/ ul { list-style-type: none; list-style-image: none; list-style-type: "\002B27"; } ul ul { list-style-type: none; list-style-image: none; list-style-type: "\002B28"; } ul ul ul { list-style-type: none; list-style-image: none; list-style-type: "\002B2A"; } li::marker { color: #5F5F5F; } li { padding-left: 0.2em } /*====================*/ /* mw-collapsible */ /*====================*/ .mw-collapsible span.mw-collapsible-toggle { float:left; margin-left:0; margin-right:1em; background-color: #FAFAFA; } /*.mw-collapsible-content img {*/ /* display: none;*/ /*}*/ .mw-collapsible-content { padding-left: 10px; padding-top: 1.5em; } /*====================*/ /* TEST ACCUEIL */ /*====================*/ .section-title { background-color: #8B4513; color: #FFFFFF; margin-top: 5px; padding: 5px; } .section-content { background-color: #D2B48C; padding: 5px; } .section-50 { float: left; background-color: red; width: 45%; padding: 10px;