Différences entre les versions de « MediaWiki:Timeless.css »
De Nations.fr
Balise : Révoqué |
m Balise : Révoqué |
||
Ligne 1 : | Ligne 1 : | ||
/* | /* Width optimization: Prevents too narrow appearance on mobile phones */ | ||
@media | @media (max-width:850px) { | ||
#mw-content { padding: 0.5em 0.5em 3em; } | |||
#firstHeading { width: 100%; } | |||
#mw-header-container { padding: 3.75em 0.5em 0.35em; } | |||
#site-navigation h2 { left: 0.5em; } | |||
#p-logo-text { left: 3em; } | |||
#user-tools h2 { right: 1em; } | |||
#site-tools h2 { right: 4em; } | |||
} | |||
/* Table of contents indentation patch (retrofits header level indentations if missing) */ | |||
#toc ul ul { | |||
margin: 0 0 0 2em; | |||
} | } | ||
Version du 28 octobre 2021 à 17:46
/* Width optimization: Prevents too narrow appearance on mobile phones */ @media (max-width:850px) { #mw-content { padding: 0.5em 0.5em 3em; } #firstHeading { width: 100%; } #mw-header-container { padding: 3.75em 0.5em 0.35em; } #site-navigation h2 { left: 0.5em; } #p-logo-text { left: 3em; } #user-tools h2 { right: 1em; } #site-tools h2 { right: 4em; } } /* Table of contents indentation patch (retrofits header level indentations if missing) */ #toc ul ul { margin: 0 0 0 2em; } /* CSS placed here will affect users of the Timeless skin */ /* FEUILLE DE STYLE POUR HABILLAGE TIMELESS SEULEMENT Cette page contrôle l'apparence pour l'apparence Timeless. Les modifications devant s'appliquer à toutes les apparences devraient aller dans MediaWiki:Common.css. */ /* Couleur pour les notifications non lues */ #pt-notifications-alert .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after, #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-unseen-notifications::after { background-color: #dd3333; } #pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-unseen-notifications::after { background-color: #3366cc; } /* 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; } /* positionnement de "Modifier les liens" sous les interwikis */ .after-portlet-lang { margin: -1.5em 0 2em; } /* repositionnement des appels de référence */ .reference, .exposant { line-height: 1em; } /* Position du message d'homonymie, pour ne pas être repoussé à droite par les boutons "Article" et "Discussion" */ .homonymie { margin-top: 0; } /* Mise en forme des infoboxes et palettes */ /* Pour les infoboxes V2 et les palettes, annule le "table {border-collapse: collapse}" présent dans la skin */ .infobox_v2, .navbox { border-collapse: separate; } .infobox_v2, div.infobox_v3, table.navbox { font-size: 83%; } .navbox td { padding: 0.2em 0.5em; } .navbox tr + tr + tr > th { border-top: 1px solid lightgrey; } /* PAGES DE DISCUSSION : indentation plus explicite */ .ns-talk #mw-content-text dl { border-top: 1px dotted #a7d7f9; margin: 0.5em 0; } .ns-talk #mw-content-text dd { margin: 0.5em 0 0.5em 1.6em; } /* Amélioration de la présentation des templatedata */ #mw-content .mw-templatedata-doc-params dt, #mw-content .mw-templatedata-doc-params dd { margin: 0; } #mw-content-container { background-image: linear-gradient(transparent,transparent),url(//nations.fr/_images/bibliobigbg.png); background-size: 1900px; background-attachment: fixed; background-position: center top; }