MediaWiki:Timeless.css
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).
- Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* CSS placed here will affect users of the Timeless skin */ /* Sommaire ne passe pas sous l'infobox si certaines sections ont des noms longs (standard sous les autres skins) */ #toc, .toc { display: table; } /* mise en évidence des balises code */ code { background-color: WhiteSmoke; } /* repositionnement des appels de référence */ .reference, .exposant { line-height: 1em; } /* Amélioration de la présentation des templatedata */ #mw-content .mw-templatedata-doc-params dt, #mw-content .mw-templatedata-doc-params dd { margin: 0; } /* Double Wiki */ .mw-content-ltr { background-color: #FFFFFF !important; } .catlinks { border: 1px solid #a2a9b1; background-color: #f8f9fa; padding: 50em; margin-top: 1em; clear: both; } /* Table of Contents */ .toc, .mw-warning, .toccolours { border: 1px solid #a2a9b1; background-color: #f8f9fa; padding: 5px; font-size: 95%; } /** * We want to display the ToC element with intrinsic width in block mode. The fit-content * value for width is however not supported by large groups of browsers. * * We use display:table. Even though it should only contain other table-* display * elements, there are no known problems with using this. * * Because IE < 8 and other older browsers don't support display:table, we fallback to * using inline-block mode, which features at least intrinsic width, but won't clear preceding * inline elements. In practice inline elements surrounding the TOC are uncommon enough that * this is an acceptable sacrifice. */ .toc { display: inline-block; display: table; /* IE7 and earlier */ zoom: 1; *display: inline; /* stylelint-disable declaration-block-no-duplicate-properties */ padding: 7px; } /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */ table.toc { border-collapse: collapse; } /* Remove additional paddings inside table-cells that are not present in <div>s */ table.toc td { padding: 0; } .toc h2 { display: inline; border: 0; padding: 0; font-size: 100%; font-weight: bold; } .toc .toctitle { text-align: center; } .toc ul { list-style-type: none; list-style-image: none; margin-left: 0; padding: 0; text-align: left; } .toc ul ul { margin: 0 0 0 2em; } /* Separate columns for tocnumber and toctext */ /* Ignored by IE7 and lower */ .tocnumber, .toctext { display: table-cell; /* Text decorations are not propagated to the contents of inline blocks and inline tables, according to <https://www.w3.org/TR/css-text-decor-3/#line-decoration>, and 'display: table-cell' generates an inline table when used without any parent table-rows and tables. */ text-decoration: inherit; } /* Space between the columns for tocnumber and toctext */ .tocnumber { padding-left: 0; padding-right: 0.5em; color: #222; } /* @noflip */ .mw-content-ltr .tocnumber { padding-left: 0; padding-right: 0.5em; } /* @noflip */ .mw-content-rtl .tocnumber { padding-left: 0.5em; padding-right: 0; }