Différences entre versions de « MediaWiki:Common.css »
Sauter à la navigation
Sauter à la recherche
(Page créée avec « Aller au contenu Afficher / masquer la barre latérale Wikipédia l'encyclopédie libre Rechercher Anabellebel Alerte (1) Notifications (3) Discussio… ») |
|||
(68 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/** | /** | ||
− | * Cette page contrôle l'apparence pour tous les skins. | + | * Cette page contrôle l'apparence pour tous les skins. |
− | * | + | * Pour la version mobile du site, mettre à jour [[MediaWiki:Mobile.css]]. |
− | |||
− | |||
− | |||
− | |||
*/ | */ | ||
− | |||
/* <nowiki> */ | /* <nowiki> */ | ||
− | /* | + | /* Infobox */ |
− | . | + | /* Infobox V2 (voir : [[Projet:Infobox/V2]]) */ |
− | + | .infobox_v2 { | |
+ | background: #121212; | ||
+ | color: #c1c1c1; | ||
font-size: 90%; | font-size: 90%; | ||
+ | line-height: 1.2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | margin: 0 0 0.5em 1em; | ||
+ | width: 300px; | ||
+ | border: 1px solid #353535; | ||
+ | border-spacing: 5px; | ||
+ | padding: 5px; | ||
} | } | ||
− | + | .infobox_v2 th { | |
− | + | vertical-align: super; | |
− | . | + | text-align: left; |
− | color: # | + | } |
+ | .infobox_v2 .entete { | ||
+ | height: 35px; | ||
+ | vertical-align: middle; | ||
+ | padding-top:10px; | ||
+ | text-align: center; | ||
+ | font-size: 140%; | ||
+ | font-weight: bolder; | ||
+ | line-height: 1.4em; | ||
+ | color: #c1c1c1; | ||
} | } | ||
− | + | .infobox_v2 .caption { | |
− | + | height: 20px; | |
− | + | vertical-align: middle; | |
− | font-size: | + | padding-top:5px; |
+ | margin-top:5px; | ||
+ | margin-bottom:5px; | ||
+ | text-align: center; | ||
+ | font-size: 100%; | ||
+ | font-weight: bold; | ||
+ | line-height: 1.4em; | ||
+ | color: #000; | ||
} | } | ||
− | /* | + | /* Graphiques transparents d'en-têtes des Infobox */ |
− | + | .entete { | |
− | + | background-position: right 10px center; | |
+ | background-repeat: no-repeat; | ||
+ | background-size: auto 90%; | ||
} | } | ||
− | + | ||
− | + | .entete.animal { background-image: url(/resources/assets/Infobox-Animal.png); } | |
− | + | .entete.robot { background-image: url(/resources/assets/Infobox-Robot.png); } | |
− | + | .entete.coutume { background-image: url(/resources/assets/Infobox-Coutume.png); } | |
− | + | .entete.secret { background-image: url(/resources/assets/Infobox-Secret.png); } | |
− | + | .entete.profession { background-image: url(/resources/assets/Infobox-Profession.png); } | |
− | + | .entete.personnage { background-image: url(/resources/assets/Infobox-Perso.png); } | |
+ | .entete.quete { background-image: url(/resources/assets/Infobox-Quete.png); } | ||
+ | .entete.communaute { background-image: url(/resources/assets/Infobox-Communaute.png); } | ||
+ | .entete.semihabite { background-image: url(/resources/assets/Infobox-Semi_habite.png); } | ||
+ | .entete.fantome { background-image: url(/resources/assets/Infobox-Fantome.png); } | ||
+ | .entete.groupe { background-image: url(/resources/assets/Infobox-Groupe.png); } | ||
+ | .entete.arme { background-image: url(/resources/assets/Infobox-Arme.png); } | ||
+ | .entete.consommable { background-image: url(/resources/assets/Infobox-Consommable.png); } | ||
+ | .entete.collectionnable { background-image: url(/resources/assets/Infobox-Collectionnable.png); } | ||
+ | .entete.outil { background-image: url(/resources/assets/Infobox-Outil.png); } | ||
+ | .entete.presenter { background-image: url(/resources/assets/Infobox-Exemple.png); } | ||
+ | /* Pour [[Modèle:Image et son]], etc. */ | ||
+ | .infobox_v2 .media { | ||
+ | height: 35px; | ||
+ | vertical-align: middle; | ||
+ | text-align: center; | ||
+ | font-weight: bolder; | ||
+ | color: #000; | ||
} | } | ||
− | + | ||
− | + | /* Fil d'ariane */ | |
− | + | .aa-couleur-aide { | |
+ | color: #ffff00 !important; | ||
} | } | ||
− | /* | + | /* Bouton Basculer vers l’ancien habillage */ |
− | .mw- | + | .mw-sidebar-action { |
− | + | display: none; | |
} | } | ||
− | + | ||
− | + | /* Petit cadre de photo */ | |
− | + | figure[typeof~="mw:Image/Thumb"], figure[typeof~="mw:Video/Thumb"], figure[typeof~="mw:Audio/Thumb"], figure[typeof~="mw:Image/Frame"], figure[typeof~="mw:Video/Frame"], figure[typeof~="mw:Audio/Frame"] { | |
− | + | background-color: #1d1d1d !important; | |
} | } | ||
− | /* | + | /* Dessus de table */ |
− | + | table.mw_metadata th, table.wikitable > * > tr > th { | |
− | + | background-color: #666 !important; | |
− | |||
} | } | ||
− | /* | + | /* Aspect des tags de filtrage dans les modifications récentes. */ |
− | + | .mw-tag-markers { | |
− | + | font-style: italic; | |
− | font-size: | + | font-size: 90%; |
− | |||
− | |||
} | } | ||
− | /* | + | |
− | . | + | /* Menu tab contours rouges en haut */ |
− | + | .vector-menu-tabs li { | |
+ | background-image: linear-gradient(to top,#000 10%,#0f0f0f 30px,transparent 50%) !important; | ||
+ | box-shadow: 0px -1px 0px #ff0000 inset; | ||
+ | margin-top: 31px !important; | ||
} | } | ||
− | /* | + | /* Bouton retour haut gauche */ |
− | . | + | #mw-sidebar-checkbox:checked ~ .mw-header #mw-sidebar-button::before { |
− | + | background-image: url(/resources/assets/chevron.svg) !important; | |
} | } | ||
− | . | + | |
− | + | /* Bouton menu haut gauche */ | |
+ | #mw-sidebar-checkbox:not(:checked) ~ .mw-header #mw-sidebar-button::before { | ||
+ | background-image: url(/resources/assets/menu.svg) !important; | ||
} | } | ||
− | /* | + | /* Icône commentaire */ |
− | + | .oo-ui-icon-notice, .mw-ui-icon-notice::before { | |
− | + | background-image: url(/resources/assets/notice.svg) !important; | |
+ | background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Enotice%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1010 10A10 10 0 0010 0zm1 16H9v-2h2zm0-4H9V4h2z%22/%3E%3C/svg%3E"); | ||
} | } | ||
− | /* | + | |
− | . | + | /* Étiquette commentaire */ |
− | + | .ve-ce-commentNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconElement .oo-ui-labelElement-label { | |
+ | padding-top: 5px; | ||
+ | color: #c1c1c1; | ||
} | } | ||
− | /* | + | /* Redirections sur [[Special:AllPages]], [[Special:PrefixIndex]] et [[Special:EditWatchlist]]. */ |
− | + | .allpagesredirect > a, | |
− | + | .watchlistredir > a { | |
− | + | color: #a5ffa5; | |
} | } | ||
− | /* | + | /* Révisions dans l'historique et "(← liens)" dans les pages liées. */ |
− | + | .history-size, | |
− | + | .mw-whatlinkshere-tools { | |
− | + | font-size: 80%; | |
− | |||
− | |||
− | font- | ||
} | } | ||
− | /* | + | /* Affichage des coordonnées géo à côté du titre, pour tous les skins. */ |
− | |||
− | |||
− | |||
− | + | élément { | |
− | + | box-shadow: 0 0 0.3rem #000 !important; | |
− | + | border-radius: 0.2rem; | |
− | + | margin: 0.4rem; | |
− | + | padding: 0.2rem; | |
− | + | background: #121212; | |
− | + | border: 1px solid #353535; | |
− | + | width: 280px; | |
− | + | color:c1c1c1; | |
} | } | ||
− | + | #coordinates { | |
− | + | margin-right: 1em; | |
− | |||
− | margin | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #coordinates_osm { | |
− | + | font-size: 110%; | |
+ | box-shadow: 0 0 5px #000; | ||
+ | border-radius: 5px; | ||
+ | margin-left: 7px; | ||
+ | padding: 3px; | ||
+ | background-color: #121212; | ||
} | } | ||
− | + | #coordinates_osm:hover { | |
− | + | box-shadow: 0 0 5px #000; | |
+ | background-color: #121212; | ||
} | } | ||
− | /* | + | /* Décoration des titres de sous-chapitre. */ |
− | . | + | .mw-parser-output h3 { |
− | + | border-bottom: dotted 1px #353535; | |
− | |||
− | |||
− | |||
− | |||
− | border-bottom: | ||
} | } | ||
− | + | .mw-parser-output h4, | |
− | + | .mw-parser-output h5, | |
− | + | .mw-parser-output h6 { | |
− | .mw- | + | border-bottom: dotted 1px #353535; |
− | |||
} | } | ||
− | /* | + | /* rewritePageH1bis() du Common.js, pour [[Modèle:Aide contextuelle]] et plusieurs inlinages du modèle dans des messages système |
− | + | n'affiche pas le lien avant son déplacement via JavaScript, pour ne pas avoir de FOUC */ | |
− | + | #helpPage { | |
+ | display: none; | ||
} | } | ||
− | /* | + | /* Sous-titre ([[Modèle:Sous-titre]]) */ |
− | + | h1 #sous_titre_h1 { | |
− | # | + | display: block; |
− | + | font-size: 0.7em; | |
+ | line-height: 1.3em; | ||
+ | margin: 0.2em 0 0.1em 0.5em; | ||
+ | } | ||
+ | /* Masque le texte avant que JavaScript le déplace au bon endroit */ | ||
+ | .client-js #mw-content-text #sous_titre_h1 { | ||
+ | visibility: hidden; | ||
} | } | ||
− | /* | + | /* Met en italique, et met en romain les italiques imbriqués */ |
− | . | + | .italique { |
− | + | font-style: italic; | |
+ | } | ||
+ | .italique i { | ||
+ | font-style: normal; | ||
} | } | ||
− | /* | + | /* Balises source, pre, code */ |
− | + | pre { | |
− | + | overflow-x: auto; | |
− | + | } | |
+ | /* Exception pour l'espace de nom MediaWiki (NS 8) pour les fichiers *.js et *.css */ | ||
+ | .ns-8 pre { | ||
+ | overflow-x: visible; | ||
} | } | ||
− | /* | + | /* Balise abbr discrète */ |
− | + | abbr.abbr { | |
− | . | + | text-decoration: none; /* Firefox, Chrome */ |
− | + | border-bottom: 0; /* IE */ | |
− | + | } | |
+ | |||
+ | /* Balise dfn (instance d'un terme défini) */ | ||
+ | dfn { | ||
+ | font-style: normal; | ||
+ | font-weight: bold; | ||
} | } | ||
− | + | i > dfn { | |
− | + | font-style: italic; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Empêche la césure ; utilisé par [[Modèle:Nobr]], entre autres */ |
− | + | .nowrap { | |
− | . | + | white-space: nowrap; |
− | |||
} | } | ||
− | /* | + | /* Liens "petit crayon" créés par [[Module:Wikidata]] */ |
− | . | + | .wikidata-linkback { |
− | + | padding-left: 0.5em; | |
+ | /* Pour les copier-collers, retire les alternatives textuelles | ||
+ | "Voir et modifier les données sur Wikidata" */ | ||
+ | -moz-user-select: none; | ||
+ | -webkit-user-select: none; | ||
+ | -ms-user-select: none; | ||
+ | user-select: none; | ||
} | } | ||
− | /* | + | /* Pages [[Spécial:Modifications récentes]], [[Spécial:Suivi des liens]], voir [[MediaWiki:Recentchangestext]] */ |
− | + | .rcoptions { | |
− | . | + | clear: both; |
− | + | margin: 0 0 2px 0; | |
− | border: 1px solid # | + | padding: 0 0.5em; |
− | + | border: 1px solid #353535; | |
− | + | border-left: 10px solid #353535; | |
+ | background-color: #121212; | ||
} | } | ||
− | . | + | .rcoptions hr { |
− | + | clear: both; | |
} | } | ||
− | . | + | fieldset.rcoptions { |
− | padding: 0 | + | padding-bottom: 0.5em; |
− | |||
} | } | ||
− | . | + | |
− | + | /* Workaround à cause de [[MediaWiki:Searchmenu-new]] | |
− | + | qui ferme prématurémént son conteneur "p.mw-search-createlink" */ | |
+ | .mw-searchresults-has-iw .mw-search-createlink { | ||
+ | float: none; | ||
} | } | ||
− | . | + | |
− | + | /* Largeur minimale du cadre des miniatures d'images */ | |
− | + | .thumbinner { | |
+ | min-width: 100px; | ||
} | } | ||
− | + | ||
− | + | /* Place un damier de vérification en arrière-plan dans la page de description | |
− | + | de l'image, visible seulement en cas d'image transparente ou semi-transparente. */ | |
− | # | + | #file img { |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png"); | |
} | } | ||
− | /* | + | /* Barre d'outils */ |
− | #mw- | + | .ns-0 #mw-editbutton-signature { |
− | + | display: none; | |
} | } | ||
− | /* | + | /* Fond gris pour les pages protégées en modification */ |
− | + | #wpTextbox1[readonly], | |
− | + | #wpTextbox1[readonly] + .ui-resizable > .ace_editor { | |
− | + | background: #181818; | |
− | |||
− | |||
− | background: | ||
− | |||
− | |||
} | } | ||
− | /* | + | /* Ne pas afficher le lien complet des URL externes sur la version imprimable |
− | + | (à faire manuellement, grâce à class="plainlinksneverexpand"). */ | |
− | + | .plainlinksneverexpand a.external.text:after, | |
− | + | .plainlinksneverexpand a.external.autonumber:after { | |
− | + | display: none !important; | |
} | } | ||
− | + | /* Supprimer la flèche de lien externe pour ces liens. */ | |
− | /* | + | .plainlinksneverexpand a { |
− | . | + | background: none !important; |
− | + | padding: 0 !important; | |
} | } | ||
− | /* | + | /* Réserver un contenu à l'impression (display rétabli dans MediaWiki:Print.css) |
− | + | utilisé pour les entrées de ref group. */ | |
− | + | .printcssonly { | |
+ | display: none; | ||
} | } | ||
− | /* | + | /* Bandeau des brouillons problématique avec l'éditeur visuel. */ |
− | + | .ve-init-target .user-draft-header { | |
− | + | display: none; | |
} | } | ||
− | /* | + | /* Message-système des sous-pages de discussion. Classe .fieldsetlike etc. |
− | + | pour permettre la réutilisation de ces styles. */ | |
− | + | .fieldsetlike { | |
− | + | text-align: center; | |
− | + | border: 1px solid #353535; | |
− | + | margin: 1em 0; | |
− | + | padding: 0 0 0.4em 0; | |
− | |||
− | |||
} | } | ||
− | + | .fieldsetlike .legendlike { | |
− | + | margin-top: -0.8em; | |
− | |||
− | |||
− | |||
} | } | ||
− | + | .fieldsetlike .legendtextlike { | |
− | + | padding: 0 8px; | |
− | . | + | background: #121212; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .fieldsetlike ul { | |
− | + | list-style-type: none; | |
− | + | margin: 0; | |
− | margin | ||
} | } | ||
− | + | .fieldsetlike li { | |
− | + | display: inline; | |
− | . | + | white-space: nowrap; |
− | |||
} | } | ||
− | + | .fieldsetlike li:not(:last-child):after { | |
− | + | content: '\a0- '; | |
− | . | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #talkpageheader li { | |
− | + | color: #c1c1c1; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Catégories cachées */ |
− | + | #mw-hidden-catlinks { | |
− | + | font-size: 0.85em; | |
− | font- | ||
} | } | ||
− | /* | + | /* Personnalisation de l'apparence des liens vers les pages d'homonymie. */ |
− | . | + | .homonymie { |
− | font- | + | margin-top: 0.5em; |
+ | padding-left: 2em; | ||
+ | padding-bottom: 0.5em; | ||
+ | margin-bottom: 0.5em; | ||
+ | background: white; | ||
+ | font-style: italic; | ||
+ | border-bottom: 1px #353535 solid; | ||
} | } | ||
− | /* | + | /* Rapproche le bandeau du titre de la page (et application du style uniquement dans ce cas de figure) */ |
− | . | + | body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .homonymie:first-child, |
− | + | body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .mw-empty-elt:first-child + .homonymie, | |
− | + | body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .formatage-titre:first-child + .homonymie { | |
− | + | margin-top: -0.5em; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | |
− | + | /* Masque les bordures adjacentes */ | |
+ | .homonymie + .homonymie { | ||
+ | margin-top: calc(-0.5em - 1.05px); /* -margin-bottom - (1px + léger excédent) */ | ||
} | } | ||
− | + | ||
− | + | /* Pour ne pas rogner le bandeau d'en-tête « Version supprimée de... » sur les pages d'admin « Voir et restaurer des pages supprimées » */ | |
− | + | #mw-undelete-revision ~ .mw-parser-output > .homonymie:first-child { | |
− | + | margin-top: 0; | |
− | |||
− | |||
− | |||
− | margin- | ||
} | } | ||
− | /* | + | /* Masquage de Wikimania dans les liens interprojets. */ |
− | + | li.wb-otherproject-wikimania { | |
− | + | display: none; | |
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Bandeau label et icônes des AdQ/BA à côté des liens interlangues et |
− | + | dans les modèles {{Q}} et {{B}}. */ | |
− | + | li.AdQ, | |
+ | li.LdQ, | ||
+ | li.PdQ, | ||
+ | li.badge-featuredarticle, | ||
+ | li.badge-featuredlist, | ||
+ | li.badge-featuredportal { | ||
+ | list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Article_de_qualit%C3%A9.svg/10px-Article_de_qualit%C3%A9.svg.png"); | ||
} | } | ||
− | + | li.BA, | |
− | + | li.badge-goodarticle, | |
+ | li.badge-goodlist, | ||
+ | li.badge-recommendedarticle { | ||
+ | list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bon_article.svg/10px-Bon_article.svg.png"); | ||
} | } | ||
− | /* | + | /* [[Modèle:Indication de langue]] et [[Modèle:Lien]]. */ |
− | + | .indicateur-langue, | |
− | . | + | .indicateur-format { |
− | font-size: | + | font-family: monospace; |
+ | font-weight: bold; | ||
+ | font-size: small; | ||
+ | font-style: normal; | ||
+ | word-spacing: -0.4em; | ||
} | } | ||
− | /* | + | /* [[Modèle:Colonnes]] et [[Modèle:Début de colonnes]]. */ |
− | . | + | .colonnes > ol, .colonnes > ul { |
− | + | margin-top: 0; | |
} | } | ||
− | /* | + | /* Compensation du style précédent */ |
− | . | + | .colonnes { |
− | + | margin-top: 0.3em; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | /* Évitons de couper les éléments de listes sur plusieurs colonnes */ |
− | + | .colonnes li, | |
− | + | .references-small li{ | |
− | + | -webkit-column-break-inside: avoid; | |
− | + | page-break-inside: avoid; | |
− | + | break-inside: avoid-column; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Taille et famille des polices pour les écritures non-latines. |
− | + | Voir aussi [[modèle:Langue]]. */ | |
− | + | :lang(grc), | |
+ | :lang(el) { /* Écriture grecque : moderne (monotonique), ancien (polytonique) */ | ||
+ | font-family: 'Arial Unicode MS', 'DejaVu Sans', Athena, Gentium, 'Palatino Linotype', 'Lucida Sans Unicode', 'Lucida Grande', Code2000, sans-serif; | ||
} | } | ||
− | + | :lang(th) { /* Écriture thaïe */ | |
− | + | font-family: 'Segoe UI', Tahoma, sans-serif; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Affichage des chiffres romains, voir [[modèle:Rom]] ou [[modèle:Romain]]. */ |
− | . | + | .romain { |
− | + | text-transform: lowercase; | |
− | + | font-variant: small-caps; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Affichage des petites capitales, voir [[modèle:Petites capitales]]. */ |
− | + | .petites_capitales { | |
− | . | + | font-variant: small-caps; |
− | |||
} | } | ||
− | /* | + | /* Taille et alignement des formules mathématiques. */ |
− | . | + | .texhtml { |
− | margin | + | font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; |
+ | font-size: 118%; | ||
+ | line-height: 1; | ||
+ | white-space: nowrap; | ||
+ | -webkit-font-feature-settings: "lnum", "tnum"; /* Chrome 47, Opera 33 */ | ||
+ | -webkit-font-kerning: none; /* safari 9, ios safari 9 */ | ||
+ | font-feature-settings: "lnum", "tnum", "kern" 0; /* ie11 edge 13 */ | ||
+ | font-variant-numeric: lining-nums tabular-nums; /* firefox 42+ */ | ||
+ | font-kerning: none; /* firefox, Chrome, Opera */ | ||
+ | } | ||
+ | .texhtml .texhtml { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | img.tex.center { | ||
+ | width: auto; | ||
+ | display: block; | ||
+ | margin: 0 auto; | ||
} | } | ||
− | + | img.tex.left { | |
− | + | display: block; | |
− | + | margin-left: 1.6em; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Change la couleur des liens, pour les fonds colorés sombres ; |
− | . | + | utilisé principalement dans des cadres de portails pour les liens "modifier" ; |
− | + | cette classe est à utiliser avec parcimonie, et en aucun cas dans les articles. */ | |
− | + | .lienClair a { | |
− | + | color: #a0a0a0; | |
− | + | } | |
+ | .lienClair a:hover { | ||
+ | color: #a0a0a0; | ||
+ | text-decoration: underline; | ||
} | } | ||
− | + | .lienClair a:visited { | |
− | + | color: #747474; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Lien vers une ébauche */ |
− | + | a.stub { | |
− | + | color: #a0ff71; | |
} | } | ||
− | + | a.stub:visited { | |
− | + | color: #76bb53; | |
− | |||
} | } | ||
− | /* | + | /* Références : éviter une trop grande réduction de taille de caractères |
− | + | dans certaines configurations. */ | |
− | + | .references small { | |
+ | font-size: 1em !important; | ||
} | } | ||
− | /* | + | /* Par défaut, cacher les crochets autour des appels de notes. */ |
− | + | .cite_crochet { | |
− | |||
− | |||
− | |||
− | |||
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
display: none; | display: none; | ||
} | } | ||
− | /* | + | /* Éviter d'obtenir un interlignage de taille variable. */ |
− | . | + | .reference, |
− | + | .exposant { | |
− | + | vertical-align: text-top; | |
+ | position: relative; | ||
+ | font-size: 0.8em; | ||
+ | top: -5px; | ||
} | } | ||
− | + | .reference-text sup { | |
− | + | vertical-align: text-top; | |
− | + | position: relative; | |
− | + | font-size: 0.75em; | |
− | + | top: -0.1em; | |
− | + | } | |
− | + | .reference { | |
− | + | padding-left: 1px; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | |
− | + | /* Diminution décalage, en raison du line-height réduit dans .infobox_v2 */ | |
+ | .infobox_v2 .reference { | ||
+ | top: -2px; | ||
} | } | ||
− | . | + | |
− | + | small.cachelinks, | |
− | + | small.cachelinks a { | |
+ | color: #bb3333; | ||
} | } | ||
− | /* | + | /* Numérotations différentes pour les notes de bas de page. */ |
− | . | + | .references-small.lower-alpha ol { |
− | + | list-style-type: lower-alpha; | |
− | |||
− | |||
− | . | ||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .references-small.lower-greek ol { |
− | + | list-style-type: lower-greek; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .references-small.decimal ol, |
− | + | .references-small.lower-alpha ol ol, | |
− | + | .references-small.lower-greek ol ol { | |
− | + | list-style-type: decimal; | |
− | |||
} | } | ||
− | + | ||
− | + | /* Répartition égale des références sur plusieurs colonnes : | |
− | + | pas d'espace supplémentaire en haut de première colonne */ | |
− | + | .references-small ol { | |
− | margin: 0 | + | margin-top: 0; |
} | } | ||
− | . | + | |
− | + | /* Compensation du style précédent */ | |
− | + | .references-small { | |
− | + | margin-top: 0.3em; | |
− | |||
} | } | ||
− | + | ||
− | + | /* Mise en surbrillance de l'ouvrage cliqué pour faciliter la navigation, | |
− | + | comme fait déjà MediaWiki pour les notes et références. */ | |
− | + | .ouvrage:target { | |
+ | background: #5c5c50; | ||
} | } | ||
− | + | ||
− | + | /* Cadre pour [[Modèle:Références nombreuses]] */ | |
− | + | .reference-cadre { | |
− | + | height: 30em; | |
− | padding: | + | overflow: auto; |
− | + | padding: 3px; | |
+ | border: 1px solid #353535; | ||
} | } | ||
− | . | + | |
− | + | /* Ligne de tableau dans « Informations sur la page » */ | |
− | + | body.action-info tr:target { | |
− | + | background: #342e2e; | |
} | } | ||
− | . | + | |
− | + | /* Style des modèles [[modèle:Référence nécessaire]] et [[modèle:Citation nécessaire]]. */ | |
− | + | span.need_ref { | |
+ | border-bottom: 1px solid #353535; | ||
} | } | ||
− | . | + | div.need_ref { |
− | + | border: 1px solid #353535; | |
+ | padding: 0.5em; | ||
} | } | ||
− | /* | + | /* Référence présente */ |
− | . | + | span.ref:hover { |
− | border- | + | border-bottom: 1px solid #353535; |
− | |||
} | } | ||
− | . | + | |
− | + | /* Gestion automatique de l'ISBN par MediaWiki. */ | |
− | + | .mw-magiclink-isbn { | |
+ | white-space: nowrap; | ||
} | } | ||
− | . | + | |
− | . | + | /* Mode d'affichage par défaut des données dans l'espace référence. */ |
− | + | .edition-Liste { | |
− | + | display: block; | |
} | } | ||
− | . | + | .edition-WikiNorme, |
− | . | + | .edition-BibTeX, |
− | + | .edition-ISBD, | |
− | + | .edition-ISO690 { | |
+ | display: none; | ||
} | } | ||
− | + | ||
− | . | + | /* Style de { , } entre les références */ |
− | + | .cite_virgule { | |
− | + | padding-left: 0; | |
− | + | padding-right: 1px; | |
− | |||
− | |||
− | |||
} | } | ||
− | . | + | /* Boites et messages */ |
− | + | div.boite-a-droite { | |
− | + | display: table; | |
− | width: | + | clear: right; |
− | /* | + | float: right; |
− | padding- | + | margin: 0.3em 0 1em 1em; |
+ | width: 20em; | ||
+ | position: relative; /* Pour les images manuelles */ | ||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
+ | padding: 4px; | ||
+ | text-align: left; | ||
} | } | ||
− | . | + | .boite-sans-fond { |
− | + | border-color: #aaa; /* Comme boite-grise */ | |
− | |||
− | |||
} | } | ||
− | . | + | .boite-grise { /* Similaire au bandeau de catégorie */ |
− | + | border-color: #aaa; | |
− | + | background-color: #121212; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Types de boites */ |
− | + | .bandeau-article, | |
− | . | + | .bandeau-discussion, |
+ | .bandeau-simple, | ||
+ | .bandeau-systeme, | ||
+ | .bandeau-section{ | ||
+ | border-style: solid; | ||
+ | overflow: hidden; | ||
position: relative; | position: relative; | ||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .bandeau-article { |
− | + | border-width: 1px 1px 1px 10px; | |
− | height: | + | font-size: 0.9em; |
+ | line-height: 1.25em; | ||
+ | padding: 0.5em 1em; | ||
+ | margin: 0.8em 10%; | ||
} | } | ||
− | . | + | .bandeau-systeme { |
− | + | clear: both; | |
− | + | border-width: 2px; | |
− | + | padding: 0.5em 1em; | |
− | + | margin: 0.8em 3%; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .bandeau-simple { |
− | + | clear: both; | |
− | + | border-width: 1px; | |
− | + | padding: 0.5em 1em; | |
− | padding: | + | margin: 0.8em auto; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .bandeau-discussion { | |
− | + | border-width: 1px; | |
− | . | + | border-radius: 10px; |
− | + | padding: 0.2em 0.5em; | |
− | + | margin: 0.8em 7%; | |
− | . | + | } |
− | + | @media (max-width: 981px) { | |
− | + | .bandeau-discussion { | |
− | + | margin: 0.8em 4%; | |
− | . | + | } |
− | + | } | |
− | . | + | div.bandeau-section { /* Pour le [[modèle: Article détaillé]] et autres */ |
− | + | display: block; | |
− | + | font-size: 0.95em; | |
− | . | + | border-width: 1px 0; |
− | + | padding: 0.2em 0.5em 0.3em 0; | |
− | + | margin: 0.3em 0 0.7em 2em; | |
− | + | } | |
− | . | + | .bandeau-centrer{ |
− | + | display: table; | |
− | . | + | width: 100%; |
− | . | + | text-align: center; |
− | . | ||
− | . | ||
− | . | ||
− | |||
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | text- | ||
− | |||
} | } | ||
− | . | + | .bandeau-cell { |
− | + | display: table-cell; | |
− | + | vertical-align: middle; | |
} | } | ||
− | . | + | .bandeau-cell p:last-child { |
− | + | margin-bottom: 0; | |
− | |||
} | } | ||
− | . | + | |
− | + | /* Style des bandeaux d'articles. Voir [[Wikipédia:Prise de décision/Changement de style des messages d'avertissement]]. */ | |
− | background- | + | .bandeau-niveau-grave { |
+ | border-color: #ff3988; | ||
+ | background-color: #312525; | ||
} | } | ||
− | . | + | .bandeau-niveau-modere { |
− | + | border-color: #ff9f4c; | |
− | background- | + | background-color: #312525; |
} | } | ||
− | . | + | .bandeau-niveau-ebauche, |
− | + | .bandeau-niveau-information { | |
− | background- | + | border-color: #77ccff; |
+ | background-color: #312525; | ||
} | } | ||
− | . | + | .bandeau-simple.bandeau-niveau-information, |
− | + | .bandeau-discussion.bandeau-niveau-information { /* Dérive de la classe vectorbox */ | |
− | background- | + | border-color: #a7d7f9; |
+ | background-color: #312525; | ||
} | } | ||
− | . | + | .bandeau-niveau-detail, /* Voir [[Wikipédia:Prise de décision/Unification des modèles : article détaillé et Loupe]] */ |
− | + | .bandeau-section.bandeau-niveau-information { | |
− | background- | + | border-color: #e7e7e7; |
+ | background-color: #312525; | ||
} | } | ||
− | . | + | .bandeau-niveau-neutre { |
− | + | border-color: #353535; | |
− | background | + | background: #312525; |
} | } | ||
− | . | + | |
− | + | .bandeau-icone { | |
− | + | vertical-align: middle; | |
+ | text-align: center; | ||
+ | width: 45px; | ||
+ | /* @noflip */ | ||
+ | padding-right: 1em; | ||
} | } | ||
− | . | + | .homonymie .bandeau-icone, .bandeau-section .bandeau-icone { |
− | + | width: auto; | |
− | + | /* @noflip */ | |
− | + | padding-right: 0.5em; | |
− | |||
} | } | ||
− | . | + | .bandeau-titre { |
− | + | font-size: 1.1em; | |
− | + | line-height: 1.4em; | |
} | } | ||
− | . | + | .bandeau-texte { |
− | + | font-size: 0.9em; | |
− | + | line-height: 1.2em; | |
} | } | ||
− | . | + | |
− | + | /* Styles pour les bannières */ | |
− | + | ||
+ | .topbanner { | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | max-width: 1800px; | ||
+ | height: auto; | ||
} | } | ||
− | . | + | .topbanner img { |
− | + | max-width: 100%; | |
− | + | height: auto; | |
} | } | ||
− | . | + | .topbanner-box { |
− | + | position: absolute; | |
− | + | z-index: 2; | |
+ | margin-top: 1.5em; | ||
+ | color: white; | ||
+ | width: 50%; | ||
+ | min-width: 20em; | ||
+ | left: 2%; | ||
+ | text-align: left; | ||
} | } | ||
− | . | + | .topbanner .name { |
− | + | position: absolute; | |
− | + | z-index: 2; | |
+ | margin: 0.6em 0 0 0.4em; | ||
+ | padding: 8px 7px; | ||
+ | font-size: 2.2em; | ||
+ | background: rgb(16,16,16); | ||
+ | background: rgba(0,0,0,0.5); | ||
+ | border-radius: 4px; | ||
+ | color: white; | ||
+ | white-space: nowrap; | ||
+ | line-height: 0.9em; | ||
} | } | ||
− | + | ||
− | + | /* Petites icônes */ | |
− | + | .indentation, /* pas d'image correspondante */ | |
− | + | .loupe, /* loupe, voir le [[modèle:Article détaillé]] */ | |
− | . | + | .general, /* flèche pour le [[modèle:Article principal]] */ |
− | + | .accessibilite, /* symbole handicap, pour le [[modèle:Encart]] */ | |
− | + | .etoile-or, | |
− | + | .etoile-argent, | |
− | . | + | .categorie, /* symbole du [[modèle:Catégorie principale]] */ |
− | + | .biblio, /* livres pour le [[modèle:Sources de section]] */ | |
− | + | .recyclage, /* symbole du [[modèle:Section à recycler]] */ | |
− | + | .archives, /* symbole d'archivage */ | |
− | . | + | .sons, /* pour le [[modèle:Média externe]] */ |
− | + | .videos, /* pour le [[modèle:Média externe]] */ | |
− | + | .incomplet, /* cône de chantier pour le [[modèle:Section vide ou incomplète]] */ | |
− | + | .sources, /* livre ouvert du [[modèle:Section à sourcer]] */ | |
− | . | + | .important, /* triangle rouge : mise en garde */ |
− | background- | + | .en-travaux, /* triangle jaune : en construction */ |
− | + | .information, | |
+ | .conflit-edition, | ||
+ | .incubator, | ||
+ | .extension, /* extensions MediaWiki */ | ||
+ | .wikispecies, | ||
+ | .metawiki, | ||
+ | .wikiversity, | ||
+ | .wikipedia, | ||
+ | .wikibooks, | ||
+ | .wikinews, | ||
+ | .wikiquote, | ||
+ | .wikisource, | ||
+ | .commons, | ||
+ | .wikimedia, | ||
+ | .wiktionary, | ||
+ | .wikidata, | ||
+ | .wikivoyage, | ||
+ | .wwwmediawiki { | ||
+ | background-repeat: no-repeat; | ||
+ | line-height: 1.5em; | ||
+ | text-indent: 23px; | ||
+ | display: inline-block; | ||
} | } | ||
− | . | + | .loupe { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png"); |
− | background-position: | + | background-position: 2px 3px; |
} | } | ||
− | . | + | .general { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Nuvola_apps_download_manager2-70%25.svg/15px-Nuvola_apps_download_manager2-70%25.svg.png"); |
+ | background-position: 2px 3px; | ||
+ | } | ||
+ | .accessibilite { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/44/Gnome-preferences-desktop-accessibility.svg/18px-Gnome-preferences-desktop-accessibility.svg.png"); | ||
+ | background-position: 2px 0; | ||
+ | } | ||
+ | .etoile-or { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Article_de_qualit%C3%A9.svg/19px-Article_de_qualit%C3%A9.svg.png"); | ||
background-position: 1px 1px; | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .etoile-argent { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bon_article.svg/19px-Bon_article.svg.png"); |
background-position: 1px 1px; | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .categorie { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/34/Nuvola_apps_kpager.svg/21px-Nuvola_apps_kpager.svg.png"); |
− | background-position: 0 | + | background-position: 0 0; |
} | } | ||
− | . | + | .biblio { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4b/Books-aj.svg_aj_ashton_01.svg/20px-Books-aj.svg_aj_ashton_01.svg.png"); |
− | background-position: | + | background-position: 2px 2px; |
} | } | ||
− | . | + | .recyclage { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Recycle002.svg/20px-Recycle002.svg.png"); |
− | background-position: | + | background-position: 1px 1px; |
} | } | ||
− | . | + | .archives { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Filing_cabinet_icon.svg/21px-Filing_cabinet_icon.svg.png"); |
− | background-position: | + | background-position: 0 1px; |
} | } | ||
− | . | + | .conflit-edition { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Human-emblem-important-blue-128.png/12px-Human-emblem-important-blue-128.png"); |
− | background-position: 3px | + | background-position: 0 3px; |
+ | text-indent: 16px; | ||
+ | line-height: 1.3em; | ||
} | } | ||
− | . | + | .sons { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/44/Nuvola_apps_arts.png/18px-Nuvola_apps_arts.png"); |
− | background-position: | + | background-position: 1px 1px; |
} | } | ||
− | . | + | .videos { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Nuvola_apps_kaboodle.svg/18px-Nuvola_apps_kaboodle.svg.png"); |
− | |||
− | |||
− | |||
− | |||
background-position: 1px 1px; | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .incomplet { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Fairytale_waring.png/16px-Fairytale_waring.png"); |
− | background-position: | + | background-position: 2px 3px; |
} | } | ||
− | + | .sources { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/64/Question_book-4.svg/20px-Question_book-4.svg.png"); | |
− | . | + | background-position: 1px 4px; |
− | |||
− | |||
− | |||
− | |||
− | background-position: | ||
− | |||
− | |||
} | } | ||
− | + | .important { | |
− | . | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Nuvola_apps_important.svg/19px-Nuvola_apps_important.svg.png"); |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-position: 1px 2px; |
} | } | ||
− | . | + | .en-travaux { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/af/Under_construction_icon-yellow.svg/20px-Under_construction_icon-yellow.svg.png"); |
+ | background-position: 1px 2px; | ||
} | } | ||
− | . | + | .information { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Information_icon_with_gradient_background.svg/19px-Information_icon_with_gradient_background.svg.png"); |
+ | background-position: 1px 2px; | ||
} | } | ||
− | . | + | .incubator { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Incubator-logo.svg/15px-Incubator-logo.svg.png"); |
+ | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .extension { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/bb/MediaWiki-notext.svg/21px-MediaWiki-notext.svg.png"); |
+ | background-position: 0 4px; | ||
} | } | ||
− | . | + | .wikispecies { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikispecies-logo.svg/17px-Wikispecies-logo.svg.png"); |
+ | background-position: 1px 0; | ||
} | } | ||
− | . | + | .wikisource { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/17px-Wikisource-logo.svg.png"); |
+ | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .wikipedia { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Wikipedia-logo.png/19px-Wikipedia-logo.png"); |
+ | background-position: 1px 0; | ||
} | } | ||
− | . | + | .wikibooks { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/19px-Wikibooks-logo.svg.png"); |
+ | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .metawiki { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/18px-Wikimedia_Community_Logo.svg.png"); |
+ | background-position: 1px 1px; | ||
} | } | ||
− | . | + | .wikiversity { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Wikiversity-logo.svg/20px-Wikiversity-logo.svg.png"); |
− | background- | + | background-position: 0 2px; |
} | } | ||
− | . | + | .wiktionary { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Wiktionary-logo.svg/20px-Wiktionary-logo.svg.png"); |
− | background- | + | background-position: 0 1px; |
} | } | ||
− | . | + | .wikinews { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/24/Wikinews-logo.svg/20px-Wikinews-logo.svg.png"); |
− | background- | + | background-position: 0 5px; |
} | } | ||
− | . | + | .wikiquote { |
− | background-image: url("//upload.wikimedia.org/wikipedia/commons/ | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikiquote-logo.svg/16px-Wikiquote-logo.svg.png"); |
− | background- | + | background-position: 2px 1px; |
} | } | ||
− | + | .commons { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/14px-Commons-logo.svg.png"); | |
− | + | background-position: 3px 0; | |
− | |||
− | / | ||
− | . | ||
− | |||
− | background | ||
− | |||
− | |||
} | } | ||
− | / | + | .wikimedia { |
− | . | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/20px-Wikimedia-logo.svg.png"); |
− | + | background-position: 0 0; | |
} | } | ||
− | + | .wikidata { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/22px-Wikidata-logo.svg.png"); | |
− | . | + | background-position: 0 5px; |
− | |||
− | background: | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .wikivoyage { |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Wikivoyage-Logo-v3-icon.svg/20px-Wikivoyage-Logo-v3-icon.svg.png"); | |
− | background: | + | background-position: 1px 1px; |
+ | } | ||
+ | .wwwmediawiki { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/bb/MediaWiki-notext.svg/20px-MediaWiki-notext.svg.png"); | ||
+ | background-position: 1px 3px; | ||
} | } | ||
− | . | + | /* Grosses icônes */ |
− | + | .grosse-icone { | |
− | background: | + | display: table-cell; |
− | + | vertical-align: middle; | |
− | + | padding-left: 60px; | |
− | + | background-repeat: no-repeat; | |
+ | background-position: left center; | ||
+ | text-indent: 0; /* Certaines icones ont une version « en ligne ». */ | ||
+ | height: 48px; | ||
} | } | ||
− | + | .grosse-icone.etoile-or { | |
− | . | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Article_de_qualit%C3%A9.svg/40px-Article_de_qualit%C3%A9.svg.png"); |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .grosse-icone.etoile-argent { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bon_article.svg/40px-Bon_article.svg.png"); | |
− | + | } | |
− | + | .grosse-icone.archives { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Filing_cabinet_icon.svg/48px-Filing_cabinet_icon.svg.png"); | |
− | / | ||
− | . | ||
− | |||
} | } | ||
− | + | .grosse-icone.ancienne-version { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Clock_and_warning.svg/46px-Clock_and_warning.svg.png"); | |
− | . | ||
− | |||
− | |||
− | background: | ||
− | |||
} | } | ||
− | + | .grosse-icone.maintenance { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a3/Tools_nicu_buculei_01.svg/46px-Tools_nicu_buculei_01.svg.png"); | |
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .grosse-icone.protection-admin { | |
− | / | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/97/Full-protection-shackle-frwiki.svg/32px-Full-protection-shackle-frwiki.svg.png"); |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .grosse-icone.semi-protection { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/de/Semi-protection-shackle-frwiki.svg/32px-Semi-protection-shackle-frwiki.svg.png"); | |
− | |||
} | } | ||
− | + | .grosse-icone.roue-dentee { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_run.png/46px-Crystal_Clear_action_run.png"); | |
− | |||
} | } | ||
− | + | .grosse-icone.conflit-edition { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Passage_pieton_rouge.png/46px-Passage_pieton_rouge.png"); | |
− | |||
} | } | ||
− | + | .grosse-icone.titre-protege { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/System-lock-screen.svg/46px-System-lock-screen.svg.png"); | |
− | |||
− | background: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .grosse-icone.gros-warning { | |
− | background: | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/f/f6/OOjs_UI_icon_alert-destructive.svg"); |
− | + | background-size: 46px; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .grosse-icone.attention { | |
− | background: | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg"); |
− | + | background-size: 46px; | |
− | |||
} | } | ||
− | + | .grosse-icone.information { | |
− | background | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/1/13/OOjs_UI_icon_notice-progressive.svg"); |
− | + | background-size: 46px; | |
− | |||
− | |||
− | |||
} | } | ||
− | + | .grosse-icone.ebauche { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg"); | |
− | + | background-size: 46px; | |
} | } | ||
− | + | ||
− | background: # | + | /* Styles par défaut pour les bandeaux en haut des articles. Voir |
+ | [[Projet:Charte graphique/Harmonisation des messages d'avertissement]] | ||
+ | et [[Wikipédia:Prise de décision/Harmonisation des messages d'avertissement]]. */ | ||
+ | /* Classe pour toutes les alertes. */ | ||
+ | .alerte { | ||
+ | padding: 0.11em; | ||
+ | background: #ffdddd; | ||
+ | margin-bottom: 0.4em; | ||
+ | font-style: italic; | ||
} | } | ||
− | + | /* Classe supplémentaire pour les alertes graves. */ | |
− | + | .grave { | |
+ | border: 1px solid #ff0000; | ||
} | } | ||
− | + | ||
− | background: # | + | /* Styles des « messagebox » standard. */ |
− | + | .messagebox { | |
− | + | border: 1px solid #353535; | |
− | padding- | + | background: #242424; |
+ | width: 80%; | ||
+ | margin: 0 auto 1em auto; | ||
+ | padding: 0.2em; | ||
+ | text-align: justify; | ||
} | } | ||
− | + | .messagebox.standard-talk { | |
− | + | border: 1px solid #353535; | |
+ | background: #242424; | ||
} | } | ||
− | + | ||
− | + | .vectorbox { | |
− | + | width: 85%; | |
− | + | background: #121212; | |
+ | border: 1px solid #353535; | ||
+ | border-radius: 10px; | ||
+ | margin: 0 auto 1em auto; | ||
} | } | ||
− | /* | + | /* Boîtes utiles sur les pages d'aide (exemple : [[Aide:Note#Exemples]]). */ |
− | + | .exemple { | |
− | border: 1px | + | margin: 0.5em; |
− | + | padding: 0.5em; | |
+ | border: dashed 1px #353535; | ||
+ | background: #121212; | ||
} | } | ||
− | + | ||
− | + | /* Standardisation de quelques messages systèmes : | |
− | + | * class="mw-alerte" : bandeaux d'alerte comme [[MediaWiki:Editinginterface]]. | |
+ | * class="mw-toolbox" : boîtes à outils comme sur [[MediaWiki:Sp-contributions-footer]]. */ | ||
+ | |||
+ | /* Suppression du message avertissant du lag de 1 seconde dans la liste de suivi. */ | ||
+ | .mw-lag-warn-normal { | ||
+ | display: none; | ||
} | } | ||
− | /* | + | /* Messages d'alerte */ |
− | . | + | .mw-alerte { |
− | + | width: 100%; | |
+ | clear: both; | ||
+ | background: #121212; | ||
+ | border: 2px solid #ff0000; | ||
+ | } | ||
+ | |||
+ | /* Boîtes à outils */ | ||
+ | .mw-toolbox { | ||
font-size: 90%; | font-size: 90%; | ||
− | + | background: #121212; | |
− | + | border: 1px solid #353535; | |
− | + | padding: 0.25em 1em; | |
+ | clear: both; | ||
} | } | ||
− | /* Styles | + | /* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */ |
− | . | + | div.NavFrame { |
− | + | padding: 2px; | |
+ | border: 1px #353535; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
} | } | ||
− | . | + | div.NavPic { |
− | + | padding: 2px; | |
− | + | float: left; | |
− | |||
− | |||
} | } | ||
− | . | + | div.NavFrame div.NavHead { |
− | background: | + | font-weight: bold; |
− | + | background: #efefef; | |
− | + | } | |
+ | div.NavEnd { | ||
+ | height: 0; | ||
+ | clear: both; | ||
} | } | ||
− | /* | + | /* Styles de [[Modèle:Méta palette de navigation]]. */ |
− | + | table.navbox { | |
− | + | background: #121212; | |
− | table. | + | border: 1px solid #353535; |
− | + | clear: both; | |
− | + | font-size: 89%; | |
− | margin: 0 | + | margin: 1em 0 0; |
+ | padding: 2px; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
} | } | ||
− | table. | + | table.navbox-subgroup { |
− | + | background: transparent; | |
− | + | border: 0; | |
− | + | margin: -3px; | |
+ | padding: 0; | ||
+ | text-align: center; | ||
+ | width: calc(100% + 6px); | ||
+ | } | ||
+ | th.navbox-title { | ||
+ | background: #372b2b; | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
} | } | ||
− | + | th.navbox-group { | |
− | + | background: #504545; | |
− | + | vertical-align: middle; | |
+ | width: 150px; | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
} | } | ||
− | + | th.navbox-group + td.navbox-list, | |
− | table. | + | table.navbox-subgroup td.navbox-list { |
− | + | text-align: left; | |
} | } | ||
− | + | td.navbox-even { | |
− | + | background: #372b2b; | |
− | |||
− | |||
} | } | ||
− | + | table.navbox-subgroup td.navbox-even { | |
− | + | background: transparent; | |
− | table. | + | } |
− | + | td.navbox-banner { | |
+ | background: #504545; | ||
+ | vertical-align: middle; | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
} | } | ||
− | + | tr.navboxHidden { | |
− | + | display: none; | |
− | |||
} | } | ||
− | |||
@media (max-width: 981px) { | @media (max-width: 981px) { | ||
− | + | td.navbox-image { | |
− | + | display: none; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
} | } | ||
− | /* | + | /* Modèle de palettes groupées, [[Modèle:Palette]]. */ |
− | + | div.navbox-container { | |
− | table. | + | border: 1px solid #353535; |
− | + | margin-top: 1em; | |
+ | } | ||
+ | div.navbox-container table.navbox { | ||
+ | border: 0; | ||
+ | margin: 0; | ||
} | } | ||
− | /* | + | /* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */ |
− | + | .navboxToggle, | |
− | + | .NavToggle { | |
− | + | font-size: 90%; | |
− | + | font-weight: normal; | |
− | . | + | float: right !important; |
− | . | + | min-width: 6em; |
− | |||
} | } | ||
− | + | ||
− | + | /* Styles pour [[Modèle:Section déroulante début]] */ | |
− | + | .client-js .titre-section-deroulante { | |
+ | padding-left: 18px; | ||
} | } | ||
− | . | + | .client-js .mw-made-collapsible .titre-section-deroulante, |
− | . | + | .client-js .mw-made-collapsible .titre-section-deroulante.mw-collapsible-toggle-expanded { |
− | background- | + | background: |
+ | url("//upload.wikimedia.org/wikipedia/commons/0/03/MediaWiki_Vector_skin_right_arrow.svg") -9999px -9999px no-repeat, | ||
+ | url("//upload.wikimedia.org/wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg") left center no-repeat; | ||
} | } | ||
− | . | + | .client-js .mw-made-collapsible .titre-section-deroulante.mw-collapsible-toggle-collapsed { |
− | . | + | background: |
− | + | url("//upload.wikimedia.org/wikipedia/commons/0/03/MediaWiki_Vector_skin_right_arrow.svg") left center no-repeat, | |
− | . | + | url("//upload.wikimedia.org/wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg") -9999px -9999px no-repeat; |
− | |||
} | } | ||
− | . | + | |
− | . | + | /* Alignement du tableau : flottant à droite ou à gauche, ou centré. |
− | + | On peut aligner à droite ou à gauche sans flottement en ajoutant | |
+ | le [[modèle:Clr]] en bas du tableau. */ | ||
+ | table.gauche, | ||
+ | table.left { | ||
+ | float: left; | ||
+ | margin: 0 1em 1em 0; | ||
} | } | ||
− | . | + | table.droite, |
− | . | + | table.right { |
− | + | float: right; | |
+ | margin: 0 0 1em 1em; | ||
} | } | ||
− | + | table.centre, | |
− | /* | + | table.center { |
− | table. | + | margin: 1em auto; |
− | + | } | |
+ | /* Pour les cas où le code de l'article contienne un paramètre align de valeur center */ | ||
+ | table.wikitable[align=center] { | ||
+ | margin: 1em auto; | ||
} | } | ||
− | + | /* Annule propriétés issues de ".center" dans le /resources/src/mediawiki.legacy/oldshared.css */ | |
− | /* | + | table.center { |
− | table. | + | width: auto; /* annule width: 100%; */ |
− | + | text-align: inherit; /* annule text-align: center; */ | |
} | } | ||
− | /* | + | /* Workaround pour les captions ridiculement étroits quand table repliée */ |
− | + | table.mw-collapsible:not(.centre):not(.center) > caption { | |
− | + | white-space: nowrap; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Méthode différente pour les tables centrées (corrige aussi le centrage erroné avec firefox) */ |
− | + | table.mw-collapsible.centre, table.mw-collapsible.center { | |
− | + | min-width: 60%; | |
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Système différent pour écrans étroits, au cas où le caption dépasserait en largeur */ |
− | + | @media (max-width: 981px) { | |
− | + | table.mw-collapsible:not(.centre):not(.center) > caption { | |
− | . | + | white-space: normal; |
− | + | } | |
− | + | table.mw-collapsible { | |
+ | width: 100%; | ||
+ | float: none; | ||
+ | } | ||
} | } | ||
− | /* Classe pour les | + | /* Classe pour substituer l'attribut obsolète cellpadding=0 */ |
− | + | table.nocellpadding > * > tr > td, | |
− | + | table.nocellpadding > * > tr > th { | |
− | . | + | padding: 0; |
− | . | + | } |
− | + | ||
− | + | /* Classes permettant d'alterner les couleurs de ligne dans les | |
− | + | tableaux selon le nombre de lignes d'en-tête : | |
+ | * .alternance si nombre impair ou .alternance2 si nombre pair. | ||
+ | * .sortable : les tableaux triables nécessitent d'inverser | ||
+ | l'alternance. */ | ||
+ | .alternance, | ||
+ | .alternance2 { | ||
+ | border-collapse: collapse; | ||
} | } | ||
− | . | + | table.alternance > * > tr > th, |
− | + | table.alternance2 > * > tr > th { | |
+ | background-color: #181818; | ||
} | } | ||
− | . | + | .alternance tr, |
− | + | .alternance th[scope="row"] { | |
− | + | background-color: #000; | |
− | |||
} | } | ||
− | . | + | .alternance:not(.sortable) tr:nth-child(odd), |
− | + | .alternance.sortable tr:nth-child(even), | |
− | + | .alternance:not(.sortable) tr:nth-child(odd) th[scope="row"], | |
+ | .alternance.sortable tr:nth-child(even) th[scope="row"] { | ||
+ | background-color: #181818; | ||
} | } | ||
− | . | + | .alternance2 tr, |
− | . | + | .alternance2 th[scope="row"] { |
− | + | background-color: #181818; | |
− | |||
} | } | ||
− | . | + | .alternance2 tr:nth-child(odd), |
− | + | .alternance2 tr:nth-child(odd) th[scope="row"] { | |
+ | background-color: #000; | ||
} | } | ||
− | . | + | |
− | + | /* Classe pour permettre un titre d'une couleur différente sans avoir à l'imposer dans chaque cellule */ | |
+ | table.titre-en-couleur > * > tr > th { | ||
+ | background-color: transparent; | ||
} | } | ||
− | + | ||
− | + | /* Classe pour aligner les cellules en haut sans avoir à répéter le style dans chaque cellule */ | |
− | + | table.td-align-top > * > tr > td { | |
− | . | + | vertical-align: top; |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Espacement du lien "[afficher]" ajouté par la classe mw-collapsible |
− | . | + | en attendant résolution de https://phabricator.wikimedia.org/T155347 */ |
− | + | caption .mw-collapsible-toggle, | |
− | + | th .mw-collapsible-toggle { | |
− | margin: 0; | + | margin-left: 0.3em; |
+ | } | ||
+ | /* @noflip */ | ||
+ | .mw-content-ltr caption .mw-collapsible-toggle, | ||
+ | .mw-content-ltr th .mw-collapsible-toggle, | ||
+ | .mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle, | ||
+ | .mw-content-rtl .mw-content-ltr th .mw-collapsible-toggle { | ||
+ | margin-left: 0.3em; | ||
} | } | ||
− | . | + | /* @noflip */ |
− | margin- | + | .mw-content-rtl caption .mw-collapsible-toggle, |
+ | .mw-content-rtl th .mw-collapsible-toggle, | ||
+ | .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle, | ||
+ | .mw-content-ltr .mw-content-rtl th .mw-collapsible-toggle { | ||
+ | margin-right: 0.3em; | ||
} | } | ||
− | /* | + | /* Classe pour les listes horizontales séparées par des puces. |
− | + | Adaptation de la classe 'hlist' de en:User:Edokter. | |
− | + | (cf. [[mw:Snippets/Horizontal lists]]). */ | |
− | + | .liste-horizontale ul, | |
− | + | .liste-horizontale ol, | |
− | + | .liste-horizontale li { | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
margin-left: 0; | margin-left: 0; | ||
− | |||
− | |||
− | |||
− | |||
display: inline; | display: inline; | ||
} | } | ||
− | . | + | .liste-horizontale li:after { |
− | + | content: " "; /* au cas ou Mediawiki supprime les retours ligne */ | |
− | |||
} | } | ||
− | . | + | .liste-horizontale li + li:before { |
− | + | white-space: normal; | |
− | + | content: "· "; | |
− | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | + | .liste-horizontale li li:first-child:before { | |
− | + | white-space: normal; | |
− | . | + | content: " ("; |
− | |||
− | |||
} | } | ||
− | . | + | .liste-horizontale li ul:after, |
− | + | .liste-horizontale li ol:after{ | |
− | + | content: ")"; | |
+ | margin-left: -0.28em; | ||
} | } | ||
− | . | + | .liste-horizontale ol { |
− | + | counter-reset: listitem; | |
} | } | ||
− | + | .liste-horizontale ol > li { | |
− | + | counter-increment: listitem; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .liste-horizontale ol > li:first-child:before { | |
− | + | content: "1.\A0"; | |
− | . | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .liste-horizontale li ol > li:first-child:before { |
− | + | content: " (1.\A0"; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .liste-horizontale ol > li + li:before { |
− | + | content: "· " counter(listitem) ".\A0"; | |
− | + | font-weight: normal; | |
− | |||
} | } | ||
− | . | + | |
− | + | /* Listes sans puces */ | |
− | + | .liste-simple ul { | |
− | + | line-height: inherit; | |
+ | list-style: none; | ||
+ | margin: 0; | ||
} | } | ||
− | . | + | .liste-simple ul li { |
− | + | margin-bottom: 0; | |
} | } | ||
− | . | + | |
− | + | /* Style par défaut des bandeaux de portail décidés sur | |
+ | [[Wikipédia:Prise de décision/Bandeaux de portails]] | ||
+ | Utilisé dans [[Modèle:Méta lien vers portail]] et [[Modèle:Portail]]. */ | ||
+ | #bandeau-portail { | ||
+ | border: solid #aaa 1px; | ||
+ | background-color: #121212; | ||
+ | text-align: center; | ||
+ | margin-top: 1em; | ||
} | } | ||
− | + | #bandeau-portail, | |
− | + | #liste-portail { | |
− | + | padding: 4px; | |
− | + | margin-left: 0; | |
− | + | clear: both; | |
} | } | ||
− | + | #liste-portail li, | |
− | + | #bandeau-portail li{ | |
− | + | display: inline; | |
− | + | } | |
− | + | .bandeau-portail-element { | |
− | + | white-space: nowrap; | |
− | + | margin: 0 1.5em; | |
+ | } | ||
+ | .bandeau-portail-icone { | ||
+ | margin-right: 0.5em; | ||
} | } | ||
− | + | .bandeau-portail-texte { | |
− | |||
− | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | /* | + | /* Classes pour les colonnes des portails */ |
− | + | .portail-gauche, | |
− | + | .portail-droite { | |
− | + | box-sizing: border-box; | |
− | |||
} | } | ||
− | + | .portail-gauche { | |
− | + | float: left; | |
− | + | padding-right: 1.2rem; | |
− | padding: 1. | ||
− | |||
} | } | ||
− | + | .portail-droite { | |
− | + | float: right; | |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | @media (max-width: 981px) { | |
− | + | .portail-gauche, | |
− | + | .portail-droite { | |
− | + | float: none; | |
− | + | width: auto !important; | |
− | + | } | |
− | + | .portail-gauche { | |
− | + | padding-right: 0; | |
+ | } | ||
} | } | ||
− | + | ||
− | margin: 0; | + | /* Page d'accueil et portail utilisant la même structure */ |
− | + | .accueil-contenu { | |
− | + | margin: 0.4em -1% 0.4em 0; | |
+ | display: flex; | ||
+ | flex-flow: wrap; | ||
+ | overflow: hidden; /*be kind ie10 et les navigateurs ne gérant pas les flexbox */ | ||
} | } | ||
− | + | .accueil-droite, | |
− | + | .accueil-gauche { | |
− | + | display: flex; | |
− | + | flex-flow: wrap; | |
+ | align-content: flex-start; | ||
+ | margin: 0.4em 1% 0.4em 0; | ||
+ | border: 1px solid #353535; | ||
+ | border-radius: 1em; | ||
} | } | ||
− | + | .accueil-droite { | |
− | + | background: #121212; | |
+ | flex: 21em; | ||
+ | overflow: hidden;/*ie10*/ | ||
} | } | ||
− | + | .accueil-gauche { | |
− | + | flex: 2 35em; | |
− | + | float: left; /*ie10*/ | |
+ | width: 64%; /*ie10*/ | ||
} | } | ||
− | + | .accueil-cadre { | |
− | + | padding: 1.2em; | |
} | } | ||
− | + | .accueil-cadre .mw-headline-number { | |
− | + | display: none; | |
} | } | ||
− | # | + | |
− | + | /* Retire le nom de la page d'accueil */ | |
− | + | body.action-view.page-Wikipédia_Accueil_principal #firstHeading { | |
− | + | position: absolute; | |
+ | top: -5000px; | ||
} | } | ||
− | + | /* | |
− | + | Retire les numéros ajoutés lorsque "Préférences > Apparence > Numéroter automatiquement les titres de section" est coché | |
− | + | TODO : éventuellement créer une classe générique à ajouter à un div conteneur, permettant d'utiliser la fonctionnalité ailleurs | |
− | + | */ | |
− | + | body.page-Wikipédia_Accueil_principal .mw-headline-number { | |
+ | display: none; | ||
} | } | ||
− | /* | + | |
− | # | + | /* Bandeau accueil */ |
− | font- | + | #interwiki-listecomplete { |
− | + | font-weight: bold; | |
− | border-bottom: solid | + | } |
− | + | ||
+ | /* Mise en page Accueil version 2017 */ | ||
+ | |||
+ | #accueil_2017_en-tete { | ||
+ | background: linear-gradient(to bottom, #121212 25%, #000); | ||
+ | border-bottom: solid 1px #ff0000; | ||
+ | } | ||
+ | #accueil_2017_bandeau { | ||
+ | background: url("/resources/assets/Wiki2197_icon.svg") no-repeat -80px -15px; | ||
+ | background-size: 300px 300px; | ||
+ | padding: 1.5rem 1rem 1rem; | ||
+ | font-family: 'Open Sans', Sans-serif; | ||
} | } | ||
− | + | ||
− | + | #accueil_Aide_bandeau { | |
− | + | background: url("/resources/assets/Wiki2197_icon_Interrogation.svg") no-repeat -80px -15px; | |
− | + | background-size: 300px 300px; | |
+ | padding: 1.5rem 1rem 1rem; | ||
+ | font-family: 'Open Sans', Sans-serif; | ||
} | } | ||
− | + | #accueil_NousAurons_bandeau { | |
− | + | background: url("/resources/assets/Wiki2197_icon_The_Sum.png") no-repeat -40px -30px; | |
− | + | background-size: 300px 300px; | |
− | + | padding: 1.5rem 1rem 1rem; | |
− | + | font-family: 'Open Sans', Sans-serif; | |
− | + | } | |
− | + | ||
− | + | #accueil_Modding_bandeau { | |
− | + | background: url("/resources/assets/Wiki2197_icon_Modding.png") no-repeat -40px -30px; | |
− | + | background-size: 300px 300px; | |
− | + | padding: 1.5rem 1rem 1rem; | |
− | + | font-family: 'Open Sans', Sans-serif; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #accueil_Anabel_bandeau { | |
− | + | background: url("/resources/assets/LogoAnabellebel_sans_texte.png") no-repeat -50px 25px; | |
− | background | + | background-size: 300px 300px; |
− | background- | + | padding: 1.5rem 1rem 1rem; |
− | + | font-family: 'Open Sans', Sans-serif; | |
} | } | ||
− | + | ||
− | + | #accueil_2017_bloc-titre { | |
− | margin | + | display: inline-block; |
− | + | margin-left: 14rem; | |
− | + | margin-bottom: 1rem; | |
− | |||
text-align: left; | text-align: left; | ||
− | + | line-height: 1.6; | |
− | + | color: #c73737; | |
} | } | ||
− | + | #accueil_2017_bloc-titre > h2 { | |
− | border: | + | margin: 0; |
− | + | padding: 0; | |
− | + | border: none; | |
− | + | font-size: 200%; | |
− | + | font-weight: bold; | |
+ | font-family: 'Open Sans', Sans-serif; | ||
+ | color: #ff4545; | ||
} | } | ||
− | + | #accueil_2017_bloc-titre > p { | |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | font-size: | + | font-size: 95%; |
} | } | ||
− | + | #accueil_2017_bloc-liens { | |
− | + | text-align: center; | |
− | + | font-size: 90%; | |
− | + | font-weight: bold; | |
+ | } | ||
+ | #accueil_2017_lien-mobile { | ||
+ | margin-bottom: 1rem; | ||
} | } | ||
− | + | #accueil_2017_contenu { | |
− | + | margin-top: 1rem; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | margin | ||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | #accueil_2017_contenu .portail-gauche { |
− | + | width: 60%; | |
− | |||
} | } | ||
− | . | + | #accueil_2017_contenu .portail-droite { |
− | + | width: 40%; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #accueil_2017_contenu:after { | |
− | + | clear: both; | |
− | + | display: table; | |
− | + | content: ''; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .accueil_2017_cadre { | |
− | . | + | box-shadow: 0 0 0.3rem #000; |
− | + | border-radius: 0.2rem; | |
− | + | padding: 1.2rem; | |
+ | margin-bottom: 1.6rem; | ||
} | } | ||
− | + | /* S'assurer que ces règles emportent bien la priorité sur toutes les skins */ | |
− | . | + | #mw-content-text .accueil_2017_cadre h2 { |
− | + | font-variant: small-caps; | |
+ | letter-spacing: 0.01em; | ||
+ | border-bottom: solid 0.2rem #fbbdbd; | ||
+ | margin: -0.4rem 0 0.5rem; | ||
} | } | ||
− | . | + | .accueil_2017_pied { |
− | + | margin-top: 1.8em; | |
+ | font-size: 85%; | ||
+ | text-align: right; | ||
} | } | ||
− | + | @media (min-width: 982px) { | |
− | . | + | #accueil_2017_contenu { |
− | + | display: flex; | |
− | + | } | |
+ | #accueil_2017_contenu .portail-gauche, | ||
+ | #accueil_2017_contenu .portail-droite { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | } | ||
+ | .accueil_2017_cadre:nth-child(1) { | ||
+ | flex-grow: 1; | ||
+ | } | ||
+ | .accueil_2017_cadre:nth-child(2) { | ||
+ | flex-grow: 2; | ||
+ | } | ||
+ | .accueil_2017_cadre:nth-child(3) { | ||
+ | flex-grow: 3; | ||
+ | } | ||
} | } | ||
− | /* | + | /* Divers */ |
− | + | .globegris { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png"); | |
− | + | background-repeat: no-repeat; | |
− | background | + | background-position: -40px -15px; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .headergris { |
− | + | background: #f0f0f0 url("//upload.wikimedia.org/wikipedia/commons/1/1b/Wikibar2.png") no-repeat right; | |
− | + | margin: 0; | |
− | + | font-size: 120%; | |
font-weight: bold; | font-weight: bold; | ||
− | + | border: 1px solid #353535; | |
− | + | text-align: left; | |
− | + | color: #000; | |
− | + | padding: 0.15em 0.4em; | |
− | |||
} | } | ||
− | . | + | .cadregris { |
− | + | border: 1px solid #353535; | |
− | vertical-align: | + | background: #121212; |
− | padding: | + | vertical-align: top; |
+ | padding: 7px; | ||
+ | margin-bottom: 0.6em; | ||
} | } | ||
− | . | + | .accueil_cadre_lien { |
− | + | text-align: right; | |
+ | margin-right: 0.5em; | ||
+ | font-size: xx-small; | ||
} | } | ||
− | /* | + | |
− | . | + | /* Tracé de lignes ferroviares ([[Modèle:3voies]] et cie) */ |
− | + | .tablelignesferroviaires td { | |
− | + | white-space: nowrap; | |
− | |||
− | |||
} | } | ||
− | . | + | |
− | + | .media.audio { | |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat left top; | |
} | } | ||
− | . | + | .media.video { |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat left top; | |
} | } | ||
− | + | ||
− | + | /* Pour le [[modèle:Infobox/Géolocalisation multiple]] et le [[modèle:Géolocdual]]. */ | |
− | + | .img_toogle ul { | |
− | + | list-style: none; | |
− | . | ||
− | |||
text-align: center; | text-align: center; | ||
− | |||
} | } | ||
− | /* | + | |
− | . | + | /* Taxobox V3 (cf. [[Utilisateur:Hexasoft/Taxobox code V3]]) */ |
− | + | .taxobox_v3 { | |
− | + | font-size: 0.99em !important; | |
− | + | padding: 1px; | |
− | |||
} | } | ||
− | . | + | /* Style global par défaut */ |
− | + | div.taxobox_v3 .entete, | |
− | + | .taxobox_v3 caption, | |
− | + | .taxobox_v3 p.bloc { | |
− | . | + | font-style: normal; |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | /* Ne pas utiliser le gras dans la partie gauche des lignes données mixtes */ |
− | + | .taxobox_v3 th { | |
− | + | font-weight: normal; | |
− | |||
} | } | ||
− | + | /* Change la couleur des séparateur d'un bleu pâle à gris pâle */ | |
− | + | div.taxobox_v3.bordered th[scope=row], | |
− | + | div.taxobox_v3.bordered td { | |
− | . | ||
− | . | ||
padding-bottom: 4px; | padding-bottom: 4px; | ||
− | border-top: 1px solid # | + | border-top: 1px solid #ededed; |
} | } | ||
− | . | + | |
− | + | /* Couleur "animal" (titre, sections) */ | |
+ | div.taxobox_v3.animal .entete { | ||
+ | background-color: LightSalmon; | ||
} | } | ||
− | . | + | .taxobox_v3.animal caption, |
− | + | .taxobox_v3.animal p.bloc { | |
+ | background-color: Bisque; | ||
} | } | ||
− | . | + | /* Couleur "plante" (titre, sections) */ |
− | + | div.taxobox_v3.plante .entete { | |
+ | background-color: lightgreen; | ||
} | } | ||
− | . | + | .taxobox_v3.plante caption, |
− | + | .taxobox_v3.plante p.bloc { | |
+ | background-color: #ccffcc; | ||
} | } | ||
− | . | + | /* Couleur "champignon" (titre, sections) */ |
− | + | div.taxobox_v3.champignon .entete { | |
+ | background-color: SkyBlue; | ||
} | } | ||
− | . | + | .taxobox_v3.champignon caption, |
− | + | .taxobox_v3.champignon p.bloc { | |
+ | background-color: PowderBlue; | ||
} | } | ||
− | /* | + | /* Couleur "test" (titre, sections) */ |
− | . | + | div.taxobox_v3.test .entete { |
− | . | + | background-color: #50a0a0; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .taxobox_v3.test caption, |
− | + | .taxobox_v3.test p.bloc { | |
+ | background-color: #70c0c0; | ||
} | } | ||
− | + | /* Couleur "algue" (titre, sections) */ | |
− | . | + | div.taxobox_v3.algue .entete { |
− | + | background-color: MediumAquamarine; | |
− | |||
− | |||
} | } | ||
− | . | + | .taxobox_v3.algue caption, |
− | . | + | .taxobox_v3.algue p.bloc { |
− | + | background-color: #bfffe6; | |
− | |||
} | } | ||
− | /* | + | /* Couleur "archaea" (titre, sections) */ |
− | . | + | div.taxobox_v3.archaea .entete { |
− | + | background-color: darkgray; | |
− | |||
} | } | ||
− | + | .taxobox_v3.archaea caption, | |
− | . | + | .taxobox_v3.archaea p.bloc { |
− | + | background-color: lightgray; | |
− | |||
− | |||
− | background-color: | ||
} | } | ||
− | . | + | /* Couleur "protiste" (titre, sections) */ |
− | + | div.taxobox_v3.protiste .entete { | |
+ | background-color: khaki; | ||
} | } | ||
− | + | .taxobox_v3.protiste caption, | |
− | . | + | .taxobox_v3.protiste p.bloc { |
− | + | background-color: PaleGoldenrod; | |
− | |||
− | |||
− | |||
} | } | ||
− | . | + | /* Couleur "virus" (titre, sections) */ |
− | + | div.taxobox_v3.virus .entete { | |
+ | background-color: #d1d1f9; | ||
} | } | ||
− | + | .taxobox_v3.virus caption, | |
− | . | + | .taxobox_v3.virus p.bloc { |
− | + | background-color: Lavender; | |
} | } | ||
− | + | /* Couleur "neutre" (titre, sections) */ | |
− | . | + | div.taxobox_v3.neutre .entete { |
− | background | + | background-color: #eee; |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .taxobox_v3.neutre caption, |
− | . | + | .taxobox_v3.neutre p.bloc { |
− | background | + | background-color: #eee; |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Couleurs "bactérie", "eucaryote" et "procaryote" (titre, sections) */ |
− | . | + | div.taxobox_v3.bacterie .entete, |
− | + | div.taxobox_v3.eucaryote .entete, | |
+ | div.taxobox_v3.procaryote .entete { | ||
+ | background-color: lightgrey; | ||
} | } | ||
− | . | + | .taxobox_v3.bacterie caption, |
− | + | .taxobox_v3.bacterie p.bloc, | |
+ | .taxobox_v3.eucaryote caption, | ||
+ | .taxobox_v3.eucaryote p.bloc, | ||
+ | .taxobox_v3.procaryote caption, | ||
+ | .taxobox_v3.procaryote p.bloc { | ||
+ | background-color: #e6e6e6; | ||
} | } | ||
− | /* | + | /* Style typographique : zoologie ou rien (botanique) */ |
− | .taxobox_v3 { | + | div.taxobox_v3 .taxobox_classification { |
− | font- | + | font-style: italic; |
− | |||
} | } | ||
− | + | div.taxobox_v3 .taxobox_classification .rnormal, | |
− | div.taxobox_v3 . | + | div.taxobox_v3.zoologie .taxobox_classification .normal, |
− | .taxobox_v3 | + | div.taxobox_v3 th[scope="row"] { |
− | .taxobox_v3 | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
− | /* | + | |
− | . | + | /* Effets dégradés : utilisables pour un effet ombragé dans les modèles de cadre |
− | + | (par exemple : [[Portail:Montréal/Cadre]]). Ceux-ci ne doivent pas dépasser 43 | |
+ | pixels de hauteur au risque d'y voir un effet indésirable. */ | ||
+ | .degrade { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/f/fb/Gradient_43px.png"); | ||
+ | background-position: top; | ||
+ | background-size: 100% 100%; | ||
+ | background-repeat: repeat-x; | ||
} | } | ||
− | / | + | .degrade_rev { |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/6/61/Gradient_reversed_43px.png"); | |
− | + | background-position: top; | |
− | + | background-repeat: repeat-x; | |
− | + | } | |
+ | .degrade_double { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/b/ba/Double_Gradient_60px_V.png"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat; | ||
} | } | ||
− | /* | + | /* Classe de masquage, remplace display:none. Contenu non affiché mais lisible par les lecteurs d'écrans. */ |
− | + | .hidden { | |
− | + | position: absolute; | |
− | + | left: 0; | |
− | + | top: -5000px; | |
− | + | width: 1px; | |
− | + | height: 1px; | |
+ | overflow: hidden; | ||
} | } | ||
− | + | caption.hidden { | |
− | + | position: static; | |
− | + | text-indent: -5000px; | |
} | } | ||
− | . | + | |
− | + | /* Géolocalisation dynamique */ | |
− | + | .img_toogle div, .img_toogle table, .img_toogle ul { | |
+ | margin: 0 auto !important; | ||
} | } | ||
− | + | .img_toogle .geobox { | |
− | + | position: relative | |
− | |||
} | } | ||
− | . | + | .img_toogle .geopoint { |
− | + | position: absolute; | |
− | background | + | width: 5px; |
+ | height: 5px; | ||
+ | font-size: 1px; | ||
+ | border: 1px solid #353535; | ||
+ | background: #f00; | ||
} | } | ||
− | /* | + | |
− | + | /* Gallery */ | |
− | + | ul.gallery { | |
+ | margin: 2px auto; | ||
+ | text-align: center; | ||
} | } | ||
− | . | + | .gallerytext { |
− | + | text-align: left; | |
− | + | font-size: 89%; | |
} | } | ||
− | + | .mw-gallery-slideshow-caption .gallerytext { | |
− | + | text-align: center; | |
− | |||
} | } | ||
− | . | + | .image-border img { |
− | + | border: 1px solid #353535; | |
− | |||
} | } | ||
− | /* | + | |
− | + | /* Classes pour modèles de sommaires allégés */ | |
− | + | .toc_niveau_1 ul ul, | |
+ | .toc_niveau_2 ul ul ul, | ||
+ | .toc_niveau_3 ul ul ul ul, | ||
+ | .toc_niveau_4 ul ul ul ul ul, | ||
+ | .toc_niveau_5 ul ul ul ul ul ul { | ||
+ | display: none; | ||
} | } | ||
− | + | ||
− | . | + | .mw-textarea-protected { |
− | + | border: 2px solid #ff0000; | |
+ | color: navy; | ||
} | } | ||
− | /* | + | |
− | + | /* Abusefilter */ | |
− | + | .mw-abusefilter-diff-context, | |
+ | .mw-abusefilter-diff-multiline td { /* Les longues lignes sans espace sont fréquentes. */ | ||
+ | word-wrap: break-word; | ||
+ | max-width: 40em; | ||
} | } | ||
− | + | ||
− | . | + | /* Subdivisions administratives */ |
− | background-color: | + | .communes th[scope=col] { /* Défaut, voir le [[modèle:ÉluDébut]] */ |
+ | background-color: #2e362e; | ||
} | } | ||
− | + | .localites th[scope=col] { | |
− | + | background-color: #2f2f20; | |
− | background-color: # | ||
} | } | ||
− | . | + | .intercommunalites th[scope=col] { |
− | + | background-color: #362f26; | |
− | background-color: | ||
} | } | ||
− | + | .cantons th[scope=col] { | |
− | + | background-color: #38362d; | |
− | background-color: # | ||
} | } | ||
− | . | + | .arrondissements th[scope=col] { |
− | + | background-color: #303030; | |
− | background-color: # | ||
} | } | ||
− | + | .departements th[scope=col] { | |
− | + | background-color: #383731; | |
− | |||
− | |||
− | background-color: | ||
} | } | ||
− | . | + | .regions th[scope=col] { |
− | + | background-color: #262e36; | |
− | |||
− | |||
− | |||
− | |||
− | background-color: # | ||
} | } | ||
− | /* | + | /* Éditeur visuel : adaptation des messages d'avertissement */ |
− | + | .ve-ui-mwSaveDialog #cpwarn { | |
− | + | background: none; | |
+ | color: #111; | ||
+ | padding: 3px; | ||
+ | } | ||
+ | .ve-ui-mwSaveDialog #avertissement-filtre { | ||
+ | background: none; | ||
+ | border: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | .ve-ui-mwSaveDialog .grosse-icone { | ||
+ | background: none; | ||
+ | padding: 0; | ||
} | } | ||
− | + | .ve-ui-mwSaveDialog .bandeau-icone { | |
− | + | display: none; | |
− | |||
− | |||
} | } | ||
− | /* | + | /* Aide et accueil */ |
− | + | .aa-bloc-tete { /* Messages système */ | |
− | + | display: table; | |
− | . | + | width: 100%; |
− | + | margin-bottom: 1em; | |
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .aa-bloc-gauche, |
− | + | .aa-bloc-droite { | |
− | + | display: table; | |
− | + | vertical-align: middle; | |
+ | margin-bottom: 1em; | ||
} | } | ||
− | . | + | .aa-bloc-tete .aa-bloc-gauche, |
− | + | .aa-bloc-tete .aa-bloc-droite { | |
− | + | display: table-cell; | |
− | + | margin-bottom: 0; | |
} | } | ||
− | + | .ve-ui-mwNoticesPopupTool-item .aa-bloc-gauche, | |
− | + | .ve-ui-mwNoticesPopupTool-item .aa-bloc-droite, | |
− | . | + | .ve-ui-mwNoticesPopupTool-item .aa-bloc-tete .aa-bloc-gauche, |
− | + | .ve-ui-mwNoticesPopupTool-item .aa-bloc-tete .aa-bloc-droite { | |
− | + | display: block; | |
− | + | float: none; | |
− | + | } | |
− | + | .ve-ui-mwNoticesPopupTool-item .aa-bloc-gauche .boutons-action, | |
− | + | .ve-ui-mwNoticesPopupTool-item .aa-bloc-droite.aa-rechercher-autres-wikis { | |
+ | display: none; | ||
} | } | ||
− | + | .aa-bloc-droite { | |
− | + | width: 30%; | |
− | |||
} | } | ||
− | + | .aa-bloc-dessous { | |
− | + | padding: 5px 10px; | |
− | |||
− | |||
} | } | ||
− | . | + | .aa-bloc-tete h2 { |
− | + | margin-top: 4pt; /* Correction du style des titres par défaut pour une meilleure intégration */ | |
} | } | ||
− | . | + | /* Couleur et apparence des éléments */ |
− | + | .aa-fond-gris { | |
− | + | background-color: #181818; | |
− | + | padding: 10px; | |
− | |||
− | |||
− | |||
} | } | ||
− | + | .aa-filet-gris { | |
− | + | border: 1px solid #242424; | |
− | + | border-left-width: 6px; | |
− | |||
− | |||
} | } | ||
− | . | + | .aa-filet-bleu { |
− | + | border: 0 solid #cc3333; | |
− | + | border-left-width: 6px; | |
} | } | ||
− | . | + | .aa-filet-orange { |
− | + | border: 0 solid #f16633; | |
+ | border-left-width: 6px; | ||
} | } | ||
− | . | + | .aa-filet-rouge { |
− | border: | + | border: 0 solid #d33; |
+ | border-left-width: 6px; | ||
} | } | ||
− | + | .aa-fond-blanc { | |
− | + | background-color: #000; | |
− | . | + | padding: 10px; |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .aa-fond-avertissement { | |
− | . | + | display: block; |
− | border: | + | border-bottom: 1px solid #c00; |
− | color: | + | background-color: #000; |
+ | padding: 10px; | ||
} | } | ||
− | + | .aa-titre-bleu { | |
− | + | color: #3366bb; | |
− | + | border: none; | |
− | . | ||
− | |||
− | |||
} | } | ||
− | + | .aa-titre-rouge { | |
− | + | color: #c00; | |
− | . | + | border: none; |
− | |||
} | } | ||
− | . | + | .aa-titre-vert { |
− | + | color: #008769; | |
+ | border: none; | ||
} | } | ||
− | . | + | .aa-incipit { |
− | + | font-family: sans-serif; | |
+ | font-weight: bold; | ||
+ | font-size: 1.5em; | ||
+ | line-height: 1.3; | ||
} | } | ||
− | . | + | .aa-intertitre { |
− | + | font-family: sans-serif; | |
+ | font-weight: bold; | ||
+ | font-size: 1.17em; | ||
} | } | ||
− | . | + | .aa-faux-h2 { |
− | + | font-weight: normal; | |
+ | font-size: 1.5em; | ||
+ | line-height: 1.3; | ||
} | } | ||
− | . | + | .aa-faux-h3 { |
− | + | font-weight: normal; | |
+ | font-size: 1.17em; | ||
} | } | ||
− | . | + | .aa-en-tete-aide-largeur { |
− | + | max-width: 1000px; | |
} | } | ||
− | + | .aa-en-tete-aide-droite { | |
− | + | width: 140px; | |
− | . | + | float: right; |
− | + | background: #000; | |
− | + | padding: 6px; | |
− | padding: | + | margin-left: 20px; |
+ | font-size: 0.9em; | ||
} | } | ||
− | . | + | .aa-en-tete-aide-ariane { |
− | + | font-size: 0.9em; | |
− | + | display: block; | |
− | margin: 0; | + | margin: 0 0 5px 10px; |
− | padding: 0; | + | padding: 5px 5px 5px 0; |
} | } | ||
− | . | + | .aa-en-tete-aide-chapo { |
− | + | margin: 10px; | |
− | + | margin-right: 166px; | |
} | } | ||
− | . | + | .aa-en-tete-aide-petit { |
− | + | font-size: 0.9em; | |
} | } | ||
− | + | .aa-couleur-aide { | |
− | + | color: #ff5d00; | |
− | .aa- | ||
− | |||
− | |||
− | |||
} | } | ||
− | .aa- | + | .aa-couleur-niveau-avance { |
− | + | padding: 3px; | |
− | + | color: #fff; | |
− | + | background: #347bff; | |
− | |||
} | } | ||
− | .aa- | + | .aa-couleur-niveau-expert { |
− | + | padding: 3px; | |
− | + | color: #fff; | |
− | + | background: #d11813; | |
} | } | ||
− | + | .aa-couleur-niveau-debutant { | |
− | + | padding: 3px; | |
− | + | color: #fff; | |
− | + | background: #00af89; | |
− | |||
− | |||
} | } | ||
− | + | .aa-en-tete-aide-statut { | |
− | + | background: none repeat scroll 0 0 #2e2826; | |
− | + | padding: 3px; | |
} | } | ||
− | . | + | |
− | + | /* Migrated from [[MediaWiki:Cite references prefix]] */ | |
+ | ol.references { | ||
+ | font-size: 85%; | ||
} | } | ||
− | . | + | |
− | + | /* Masquage de certains avertissements si le JS est activé, utilisé dans le [[Modèle:Noscript]] */ | |
+ | .client-js .template-noscript { | ||
+ | display: none; | ||
} | } | ||
− | + | ||
− | + | q { | |
− | + | quotes: "«\a0" "\a0»"; | |
− | + | font: inherit; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* </nowiki> */ |
− | + | ||
− | + | fieldset { | |
+ | border: 1px solid #353535 !important; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version actuelle datée du 9 septembre 2021 à 14:24
/**
* Cette page contrôle l'apparence pour tous les skins.
* Pour la version mobile du site, mettre à jour [[MediaWiki:Mobile.css]].
*/
/* <nowiki> */
/* Infobox */
/* Infobox V2 (voir : [[Projet:Infobox/V2]]) */
.infobox_v2 {
background: #121212;
color: #c1c1c1;
font-size: 90%;
line-height: 1.2em;
float: right;
clear: right;
margin: 0 0 0.5em 1em;
width: 300px;
border: 1px solid #353535;
border-spacing: 5px;
padding: 5px;
}
.infobox_v2 th {
vertical-align: super;
text-align: left;
}
.infobox_v2 .entete {
height: 35px;
vertical-align: middle;
padding-top:10px;
text-align: center;
font-size: 140%;
font-weight: bolder;
line-height: 1.4em;
color: #c1c1c1;
}
.infobox_v2 .caption {
height: 20px;
vertical-align: middle;
padding-top:5px;
margin-top:5px;
margin-bottom:5px;
text-align: center;
font-size: 100%;
font-weight: bold;
line-height: 1.4em;
color: #000;
}
/* Graphiques transparents d'en-têtes des Infobox */
.entete {
background-position: right 10px center;
background-repeat: no-repeat;
background-size: auto 90%;
}
.entete.animal { background-image: url(/resources/assets/Infobox-Animal.png); }
.entete.robot { background-image: url(/resources/assets/Infobox-Robot.png); }
.entete.coutume { background-image: url(/resources/assets/Infobox-Coutume.png); }
.entete.secret { background-image: url(/resources/assets/Infobox-Secret.png); }
.entete.profession { background-image: url(/resources/assets/Infobox-Profession.png); }
.entete.personnage { background-image: url(/resources/assets/Infobox-Perso.png); }
.entete.quete { background-image: url(/resources/assets/Infobox-Quete.png); }
.entete.communaute { background-image: url(/resources/assets/Infobox-Communaute.png); }
.entete.semihabite { background-image: url(/resources/assets/Infobox-Semi_habite.png); }
.entete.fantome { background-image: url(/resources/assets/Infobox-Fantome.png); }
.entete.groupe { background-image: url(/resources/assets/Infobox-Groupe.png); }
.entete.arme { background-image: url(/resources/assets/Infobox-Arme.png); }
.entete.consommable { background-image: url(/resources/assets/Infobox-Consommable.png); }
.entete.collectionnable { background-image: url(/resources/assets/Infobox-Collectionnable.png); }
.entete.outil { background-image: url(/resources/assets/Infobox-Outil.png); }
.entete.presenter { background-image: url(/resources/assets/Infobox-Exemple.png); }
/* Pour [[Modèle:Image et son]], etc. */
.infobox_v2 .media {
height: 35px;
vertical-align: middle;
text-align: center;
font-weight: bolder;
color: #000;
}
/* Fil d'ariane */
.aa-couleur-aide {
color: #ffff00 !important;
}
/* Bouton Basculer vers l’ancien habillage */
.mw-sidebar-action {
display: none;
}
/* Petit cadre de photo */
figure[typeof~="mw:Image/Thumb"], figure[typeof~="mw:Video/Thumb"], figure[typeof~="mw:Audio/Thumb"], figure[typeof~="mw:Image/Frame"], figure[typeof~="mw:Video/Frame"], figure[typeof~="mw:Audio/Frame"] {
background-color: #1d1d1d !important;
}
/* Dessus de table */
table.mw_metadata th, table.wikitable > * > tr > th {
background-color: #666 !important;
}
/* Aspect des tags de filtrage dans les modifications récentes. */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
/* Menu tab contours rouges en haut */
.vector-menu-tabs li {
background-image: linear-gradient(to top,#000 10%,#0f0f0f 30px,transparent 50%) !important;
box-shadow: 0px -1px 0px #ff0000 inset;
margin-top: 31px !important;
}
/* Bouton retour haut gauche */
#mw-sidebar-checkbox:checked ~ .mw-header #mw-sidebar-button::before {
background-image: url(/resources/assets/chevron.svg) !important;
}
/* Bouton menu haut gauche */
#mw-sidebar-checkbox:not(:checked) ~ .mw-header #mw-sidebar-button::before {
background-image: url(/resources/assets/menu.svg) !important;
}
/* Icône commentaire */
.oo-ui-icon-notice, .mw-ui-icon-notice::before {
background-image: url(/resources/assets/notice.svg) !important;
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Enotice%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1010 10A10 10 0 0010 0zm1 16H9v-2h2zm0-4H9V4h2z%22/%3E%3C/svg%3E");
}
/* Étiquette commentaire */
.ve-ce-commentNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconElement .oo-ui-labelElement-label {
padding-top: 5px;
color: #c1c1c1;
}
/* Redirections sur [[Special:AllPages]], [[Special:PrefixIndex]] et [[Special:EditWatchlist]]. */
.allpagesredirect > a,
.watchlistredir > a {
color: #a5ffa5;
}
/* Révisions dans l'historique et "(← liens)" dans les pages liées. */
.history-size,
.mw-whatlinkshere-tools {
font-size: 80%;
}
/* Affichage des coordonnées géo à côté du titre, pour tous les skins. */
élément {
box-shadow: 0 0 0.3rem #000 !important;
border-radius: 0.2rem;
margin: 0.4rem;
padding: 0.2rem;
background: #121212;
border: 1px solid #353535;
width: 280px;
color:c1c1c1;
}
#coordinates {
margin-right: 1em;
}
#coordinates_osm {
font-size: 110%;
box-shadow: 0 0 5px #000;
border-radius: 5px;
margin-left: 7px;
padding: 3px;
background-color: #121212;
}
#coordinates_osm:hover {
box-shadow: 0 0 5px #000;
background-color: #121212;
}
/* Décoration des titres de sous-chapitre. */
.mw-parser-output h3 {
border-bottom: dotted 1px #353535;
}
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
border-bottom: dotted 1px #353535;
}
/* rewritePageH1bis() du Common.js, pour [[Modèle:Aide contextuelle]] et plusieurs inlinages du modèle dans des messages système
n'affiche pas le lien avant son déplacement via JavaScript, pour ne pas avoir de FOUC */
#helpPage {
display: none;
}
/* Sous-titre ([[Modèle:Sous-titre]]) */
h1 #sous_titre_h1 {
display: block;
font-size: 0.7em;
line-height: 1.3em;
margin: 0.2em 0 0.1em 0.5em;
}
/* Masque le texte avant que JavaScript le déplace au bon endroit */
.client-js #mw-content-text #sous_titre_h1 {
visibility: hidden;
}
/* Met en italique, et met en romain les italiques imbriqués */
.italique {
font-style: italic;
}
.italique i {
font-style: normal;
}
/* Balises source, pre, code */
pre {
overflow-x: auto;
}
/* Exception pour l'espace de nom MediaWiki (NS 8) pour les fichiers *.js et *.css */
.ns-8 pre {
overflow-x: visible;
}
/* Balise abbr discrète */
abbr.abbr {
text-decoration: none; /* Firefox, Chrome */
border-bottom: 0; /* IE */
}
/* Balise dfn (instance d'un terme défini) */
dfn {
font-style: normal;
font-weight: bold;
}
i > dfn {
font-style: italic;
}
/* Empêche la césure ; utilisé par [[Modèle:Nobr]], entre autres */
.nowrap {
white-space: nowrap;
}
/* Liens "petit crayon" créés par [[Module:Wikidata]] */
.wikidata-linkback {
padding-left: 0.5em;
/* Pour les copier-collers, retire les alternatives textuelles
"Voir et modifier les données sur Wikidata" */
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Pages [[Spécial:Modifications récentes]], [[Spécial:Suivi des liens]], voir [[MediaWiki:Recentchangestext]] */
.rcoptions {
clear: both;
margin: 0 0 2px 0;
padding: 0 0.5em;
border: 1px solid #353535;
border-left: 10px solid #353535;
background-color: #121212;
}
.rcoptions hr {
clear: both;
}
fieldset.rcoptions {
padding-bottom: 0.5em;
}
/* Workaround à cause de [[MediaWiki:Searchmenu-new]]
qui ferme prématurémént son conteneur "p.mw-search-createlink" */
.mw-searchresults-has-iw .mw-search-createlink {
float: none;
}
/* Largeur minimale du cadre des miniatures d'images */
.thumbinner {
min-width: 100px;
}
/* Place un damier de vérification en arrière-plan dans la page de description
de l'image, visible seulement en cas d'image transparente ou semi-transparente. */
#file img {
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png");
}
/* Barre d'outils */
.ns-0 #mw-editbutton-signature {
display: none;
}
/* Fond gris pour les pages protégées en modification */
#wpTextbox1[readonly],
#wpTextbox1[readonly] + .ui-resizable > .ace_editor {
background: #181818;
}
/* Ne pas afficher le lien complet des URL externes sur la version imprimable
(à faire manuellement, grâce à class="plainlinksneverexpand"). */
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after {
display: none !important;
}
/* Supprimer la flèche de lien externe pour ces liens. */
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
/* Réserver un contenu à l'impression (display rétabli dans MediaWiki:Print.css)
utilisé pour les entrées de ref group. */
.printcssonly {
display: none;
}
/* Bandeau des brouillons problématique avec l'éditeur visuel. */
.ve-init-target .user-draft-header {
display: none;
}
/* Message-système des sous-pages de discussion. Classe .fieldsetlike etc.
pour permettre la réutilisation de ces styles. */
.fieldsetlike {
text-align: center;
border: 1px solid #353535;
margin: 1em 0;
padding: 0 0 0.4em 0;
}
.fieldsetlike .legendlike {
margin-top: -0.8em;
}
.fieldsetlike .legendtextlike {
padding: 0 8px;
background: #121212;
}
.fieldsetlike ul {
list-style-type: none;
margin: 0;
}
.fieldsetlike li {
display: inline;
white-space: nowrap;
}
.fieldsetlike li:not(:last-child):after {
content: '\a0- ';
}
#talkpageheader li {
color: #c1c1c1;
}
/* Catégories cachées */
#mw-hidden-catlinks {
font-size: 0.85em;
}
/* Personnalisation de l'apparence des liens vers les pages d'homonymie. */
.homonymie {
margin-top: 0.5em;
padding-left: 2em;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
background: white;
font-style: italic;
border-bottom: 1px #353535 solid;
}
/* Rapproche le bandeau du titre de la page (et application du style uniquement dans ce cas de figure) */
body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .homonymie:first-child,
body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .mw-empty-elt:first-child + .homonymie,
body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .formatage-titre:first-child + .homonymie {
margin-top: -0.5em;
}
/* Masque les bordures adjacentes */
.homonymie + .homonymie {
margin-top: calc(-0.5em - 1.05px); /* -margin-bottom - (1px + léger excédent) */
}
/* Pour ne pas rogner le bandeau d'en-tête « Version supprimée de... » sur les pages d'admin « Voir et restaurer des pages supprimées » */
#mw-undelete-revision ~ .mw-parser-output > .homonymie:first-child {
margin-top: 0;
}
/* Masquage de Wikimania dans les liens interprojets. */
li.wb-otherproject-wikimania {
display: none;
}
/* Bandeau label et icônes des AdQ/BA à côté des liens interlangues et
dans les modèles {{Q}} et {{B}}. */
li.AdQ,
li.LdQ,
li.PdQ,
li.badge-featuredarticle,
li.badge-featuredlist,
li.badge-featuredportal {
list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Article_de_qualit%C3%A9.svg/10px-Article_de_qualit%C3%A9.svg.png");
}
li.BA,
li.badge-goodarticle,
li.badge-goodlist,
li.badge-recommendedarticle {
list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bon_article.svg/10px-Bon_article.svg.png");
}
/* [[Modèle:Indication de langue]] et [[Modèle:Lien]]. */
.indicateur-langue,
.indicateur-format {
font-family: monospace;
font-weight: bold;
font-size: small;
font-style: normal;
word-spacing: -0.4em;
}
/* [[Modèle:Colonnes]] et [[Modèle:Début de colonnes]]. */
.colonnes > ol, .colonnes > ul {
margin-top: 0;
}
/* Compensation du style précédent */
.colonnes {
margin-top: 0.3em;
}
/* Évitons de couper les éléments de listes sur plusieurs colonnes */
.colonnes li,
.references-small li{
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
/* Taille et famille des polices pour les écritures non-latines.
Voir aussi [[modèle:Langue]]. */
:lang(grc),
:lang(el) { /* Écriture grecque : moderne (monotonique), ancien (polytonique) */
font-family: 'Arial Unicode MS', 'DejaVu Sans', Athena, Gentium, 'Palatino Linotype', 'Lucida Sans Unicode', 'Lucida Grande', Code2000, sans-serif;
}
:lang(th) { /* Écriture thaïe */
font-family: 'Segoe UI', Tahoma, sans-serif;
}
/* Affichage des chiffres romains, voir [[modèle:Rom]] ou [[modèle:Romain]]. */
.romain {
text-transform: lowercase;
font-variant: small-caps;
}
/* Affichage des petites capitales, voir [[modèle:Petites capitales]]. */
.petites_capitales {
font-variant: small-caps;
}
/* Taille et alignement des formules mathématiques. */
.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
-webkit-font-feature-settings: "lnum", "tnum"; /* Chrome 47, Opera 33 */
-webkit-font-kerning: none; /* safari 9, ios safari 9 */
font-feature-settings: "lnum", "tnum", "kern" 0; /* ie11 edge 13 */
font-variant-numeric: lining-nums tabular-nums; /* firefox 42+ */
font-kerning: none; /* firefox, Chrome, Opera */
}
.texhtml .texhtml {
font-size: 100%;
}
img.tex.center {
width: auto;
display: block;
margin: 0 auto;
}
img.tex.left {
display: block;
margin-left: 1.6em;
}
/* Change la couleur des liens, pour les fonds colorés sombres ;
utilisé principalement dans des cadres de portails pour les liens "modifier" ;
cette classe est à utiliser avec parcimonie, et en aucun cas dans les articles. */
.lienClair a {
color: #a0a0a0;
}
.lienClair a:hover {
color: #a0a0a0;
text-decoration: underline;
}
.lienClair a:visited {
color: #747474;
}
/* Lien vers une ébauche */
a.stub {
color: #a0ff71;
}
a.stub:visited {
color: #76bb53;
}
/* Références : éviter une trop grande réduction de taille de caractères
dans certaines configurations. */
.references small {
font-size: 1em !important;
}
/* Par défaut, cacher les crochets autour des appels de notes. */
.cite_crochet {
display: none;
}
/* Éviter d'obtenir un interlignage de taille variable. */
.reference,
.exposant {
vertical-align: text-top;
position: relative;
font-size: 0.8em;
top: -5px;
}
.reference-text sup {
vertical-align: text-top;
position: relative;
font-size: 0.75em;
top: -0.1em;
}
.reference {
padding-left: 1px;
}
/* Diminution décalage, en raison du line-height réduit dans .infobox_v2 */
.infobox_v2 .reference {
top: -2px;
}
small.cachelinks,
small.cachelinks a {
color: #bb3333;
}
/* Numérotations différentes pour les notes de bas de page. */
.references-small.lower-alpha ol {
list-style-type: lower-alpha;
}
.references-small.lower-greek ol {
list-style-type: lower-greek;
}
.references-small.decimal ol,
.references-small.lower-alpha ol ol,
.references-small.lower-greek ol ol {
list-style-type: decimal;
}
/* Répartition égale des références sur plusieurs colonnes :
pas d'espace supplémentaire en haut de première colonne */
.references-small ol {
margin-top: 0;
}
/* Compensation du style précédent */
.references-small {
margin-top: 0.3em;
}
/* Mise en surbrillance de l'ouvrage cliqué pour faciliter la navigation,
comme fait déjà MediaWiki pour les notes et références. */
.ouvrage:target {
background: #5c5c50;
}
/* Cadre pour [[Modèle:Références nombreuses]] */
.reference-cadre {
height: 30em;
overflow: auto;
padding: 3px;
border: 1px solid #353535;
}
/* Ligne de tableau dans « Informations sur la page » */
body.action-info tr:target {
background: #342e2e;
}
/* Style des modèles [[modèle:Référence nécessaire]] et [[modèle:Citation nécessaire]]. */
span.need_ref {
border-bottom: 1px solid #353535;
}
div.need_ref {
border: 1px solid #353535;
padding: 0.5em;
}
/* Référence présente */
span.ref:hover {
border-bottom: 1px solid #353535;
}
/* Gestion automatique de l'ISBN par MediaWiki. */
.mw-magiclink-isbn {
white-space: nowrap;
}
/* Mode d'affichage par défaut des données dans l'espace référence. */
.edition-Liste {
display: block;
}
.edition-WikiNorme,
.edition-BibTeX,
.edition-ISBD,
.edition-ISO690 {
display: none;
}
/* Style de { , } entre les références */
.cite_virgule {
padding-left: 0;
padding-right: 1px;
}
/* Boites et messages */
div.boite-a-droite {
display: table;
clear: right;
float: right;
margin: 0.3em 0 1em 1em;
width: 20em;
position: relative; /* Pour les images manuelles */
border-style: solid;
border-width: 1px;
padding: 4px;
text-align: left;
}
.boite-sans-fond {
border-color: #aaa; /* Comme boite-grise */
}
.boite-grise { /* Similaire au bandeau de catégorie */
border-color: #aaa;
background-color: #121212;
}
/* Types de boites */
.bandeau-article,
.bandeau-discussion,
.bandeau-simple,
.bandeau-systeme,
.bandeau-section{
border-style: solid;
overflow: hidden;
position: relative;
}
.bandeau-article {
border-width: 1px 1px 1px 10px;
font-size: 0.9em;
line-height: 1.25em;
padding: 0.5em 1em;
margin: 0.8em 10%;
}
.bandeau-systeme {
clear: both;
border-width: 2px;
padding: 0.5em 1em;
margin: 0.8em 3%;
}
.bandeau-simple {
clear: both;
border-width: 1px;
padding: 0.5em 1em;
margin: 0.8em auto;
}
.bandeau-discussion {
border-width: 1px;
border-radius: 10px;
padding: 0.2em 0.5em;
margin: 0.8em 7%;
}
@media (max-width: 981px) {
.bandeau-discussion {
margin: 0.8em 4%;
}
}
div.bandeau-section { /* Pour le [[modèle: Article détaillé]] et autres */
display: block;
font-size: 0.95em;
border-width: 1px 0;
padding: 0.2em 0.5em 0.3em 0;
margin: 0.3em 0 0.7em 2em;
}
.bandeau-centrer{
display: table;
width: 100%;
text-align: center;
}
.bandeau-cell {
display: table-cell;
vertical-align: middle;
}
.bandeau-cell p:last-child {
margin-bottom: 0;
}
/* Style des bandeaux d'articles. Voir [[Wikipédia:Prise de décision/Changement de style des messages d'avertissement]]. */
.bandeau-niveau-grave {
border-color: #ff3988;
background-color: #312525;
}
.bandeau-niveau-modere {
border-color: #ff9f4c;
background-color: #312525;
}
.bandeau-niveau-ebauche,
.bandeau-niveau-information {
border-color: #77ccff;
background-color: #312525;
}
.bandeau-simple.bandeau-niveau-information,
.bandeau-discussion.bandeau-niveau-information { /* Dérive de la classe vectorbox */
border-color: #a7d7f9;
background-color: #312525;
}
.bandeau-niveau-detail, /* Voir [[Wikipédia:Prise de décision/Unification des modèles : article détaillé et Loupe]] */
.bandeau-section.bandeau-niveau-information {
border-color: #e7e7e7;
background-color: #312525;
}
.bandeau-niveau-neutre {
border-color: #353535;
background: #312525;
}
.bandeau-icone {
vertical-align: middle;
text-align: center;
width: 45px;
/* @noflip */
padding-right: 1em;
}
.homonymie .bandeau-icone, .bandeau-section .bandeau-icone {
width: auto;
/* @noflip */
padding-right: 0.5em;
}
.bandeau-titre {
font-size: 1.1em;
line-height: 1.4em;
}
.bandeau-texte {
font-size: 0.9em;
line-height: 1.2em;
}
/* Styles pour les bannières */
.topbanner {
position: relative;
overflow: hidden;
max-width: 1800px;
height: auto;
}
.topbanner img {
max-width: 100%;
height: auto;
}
.topbanner-box {
position: absolute;
z-index: 2;
margin-top: 1.5em;
color: white;
width: 50%;
min-width: 20em;
left: 2%;
text-align: left;
}
.topbanner .name {
position: absolute;
z-index: 2;
margin: 0.6em 0 0 0.4em;
padding: 8px 7px;
font-size: 2.2em;
background: rgb(16,16,16);
background: rgba(0,0,0,0.5);
border-radius: 4px;
color: white;
white-space: nowrap;
line-height: 0.9em;
}
/* Petites icônes */
.indentation, /* pas d'image correspondante */
.loupe, /* loupe, voir le [[modèle:Article détaillé]] */
.general, /* flèche pour le [[modèle:Article principal]] */
.accessibilite, /* symbole handicap, pour le [[modèle:Encart]] */
.etoile-or,
.etoile-argent,
.categorie, /* symbole du [[modèle:Catégorie principale]] */
.biblio, /* livres pour le [[modèle:Sources de section]] */
.recyclage, /* symbole du [[modèle:Section à recycler]] */
.archives, /* symbole d'archivage */
.sons, /* pour le [[modèle:Média externe]] */
.videos, /* pour le [[modèle:Média externe]] */
.incomplet, /* cône de chantier pour le [[modèle:Section vide ou incomplète]] */
.sources, /* livre ouvert du [[modèle:Section à sourcer]] */
.important, /* triangle rouge : mise en garde */
.en-travaux, /* triangle jaune : en construction */
.information,
.conflit-edition,
.incubator,
.extension, /* extensions MediaWiki */
.wikispecies,
.metawiki,
.wikiversity,
.wikipedia,
.wikibooks,
.wikinews,
.wikiquote,
.wikisource,
.commons,
.wikimedia,
.wiktionary,
.wikidata,
.wikivoyage,
.wwwmediawiki {
background-repeat: no-repeat;
line-height: 1.5em;
text-indent: 23px;
display: inline-block;
}
.loupe {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png");
background-position: 2px 3px;
}
.general {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Nuvola_apps_download_manager2-70%25.svg/15px-Nuvola_apps_download_manager2-70%25.svg.png");
background-position: 2px 3px;
}
.accessibilite {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/44/Gnome-preferences-desktop-accessibility.svg/18px-Gnome-preferences-desktop-accessibility.svg.png");
background-position: 2px 0;
}
.etoile-or {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Article_de_qualit%C3%A9.svg/19px-Article_de_qualit%C3%A9.svg.png");
background-position: 1px 1px;
}
.etoile-argent {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bon_article.svg/19px-Bon_article.svg.png");
background-position: 1px 1px;
}
.categorie {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/34/Nuvola_apps_kpager.svg/21px-Nuvola_apps_kpager.svg.png");
background-position: 0 0;
}
.biblio {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4b/Books-aj.svg_aj_ashton_01.svg/20px-Books-aj.svg_aj_ashton_01.svg.png");
background-position: 2px 2px;
}
.recyclage {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Recycle002.svg/20px-Recycle002.svg.png");
background-position: 1px 1px;
}
.archives {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Filing_cabinet_icon.svg/21px-Filing_cabinet_icon.svg.png");
background-position: 0 1px;
}
.conflit-edition {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Human-emblem-important-blue-128.png/12px-Human-emblem-important-blue-128.png");
background-position: 0 3px;
text-indent: 16px;
line-height: 1.3em;
}
.sons {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/44/Nuvola_apps_arts.png/18px-Nuvola_apps_arts.png");
background-position: 1px 1px;
}
.videos {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Nuvola_apps_kaboodle.svg/18px-Nuvola_apps_kaboodle.svg.png");
background-position: 1px 1px;
}
.incomplet {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Fairytale_waring.png/16px-Fairytale_waring.png");
background-position: 2px 3px;
}
.sources {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/64/Question_book-4.svg/20px-Question_book-4.svg.png");
background-position: 1px 4px;
}
.important {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Nuvola_apps_important.svg/19px-Nuvola_apps_important.svg.png");
background-position: 1px 2px;
}
.en-travaux {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/af/Under_construction_icon-yellow.svg/20px-Under_construction_icon-yellow.svg.png");
background-position: 1px 2px;
}
.information {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Information_icon_with_gradient_background.svg/19px-Information_icon_with_gradient_background.svg.png");
background-position: 1px 2px;
}
.incubator {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Incubator-logo.svg/15px-Incubator-logo.svg.png");
background-position: 1px 1px;
}
.extension {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/bb/MediaWiki-notext.svg/21px-MediaWiki-notext.svg.png");
background-position: 0 4px;
}
.wikispecies {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikispecies-logo.svg/17px-Wikispecies-logo.svg.png");
background-position: 1px 0;
}
.wikisource {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/17px-Wikisource-logo.svg.png");
background-position: 1px 1px;
}
.wikipedia {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Wikipedia-logo.png/19px-Wikipedia-logo.png");
background-position: 1px 0;
}
.wikibooks {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/19px-Wikibooks-logo.svg.png");
background-position: 1px 1px;
}
.metawiki {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/18px-Wikimedia_Community_Logo.svg.png");
background-position: 1px 1px;
}
.wikiversity {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Wikiversity-logo.svg/20px-Wikiversity-logo.svg.png");
background-position: 0 2px;
}
.wiktionary {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Wiktionary-logo.svg/20px-Wiktionary-logo.svg.png");
background-position: 0 1px;
}
.wikinews {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/24/Wikinews-logo.svg/20px-Wikinews-logo.svg.png");
background-position: 0 5px;
}
.wikiquote {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikiquote-logo.svg/16px-Wikiquote-logo.svg.png");
background-position: 2px 1px;
}
.commons {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/14px-Commons-logo.svg.png");
background-position: 3px 0;
}
.wikimedia {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/20px-Wikimedia-logo.svg.png");
background-position: 0 0;
}
.wikidata {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/22px-Wikidata-logo.svg.png");
background-position: 0 5px;
}
.wikivoyage {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Wikivoyage-Logo-v3-icon.svg/20px-Wikivoyage-Logo-v3-icon.svg.png");
background-position: 1px 1px;
}
.wwwmediawiki {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/bb/MediaWiki-notext.svg/20px-MediaWiki-notext.svg.png");
background-position: 1px 3px;
}
/* Grosses icônes */
.grosse-icone {
display: table-cell;
vertical-align: middle;
padding-left: 60px;
background-repeat: no-repeat;
background-position: left center;
text-indent: 0; /* Certaines icones ont une version « en ligne ». */
height: 48px;
}
.grosse-icone.etoile-or {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Article_de_qualit%C3%A9.svg/40px-Article_de_qualit%C3%A9.svg.png");
}
.grosse-icone.etoile-argent {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Bon_article.svg/40px-Bon_article.svg.png");
}
.grosse-icone.archives {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Filing_cabinet_icon.svg/48px-Filing_cabinet_icon.svg.png");
}
.grosse-icone.ancienne-version {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Clock_and_warning.svg/46px-Clock_and_warning.svg.png");
}
.grosse-icone.maintenance {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a3/Tools_nicu_buculei_01.svg/46px-Tools_nicu_buculei_01.svg.png");
}
.grosse-icone.protection-admin {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/97/Full-protection-shackle-frwiki.svg/32px-Full-protection-shackle-frwiki.svg.png");
}
.grosse-icone.semi-protection {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/de/Semi-protection-shackle-frwiki.svg/32px-Semi-protection-shackle-frwiki.svg.png");
}
.grosse-icone.roue-dentee {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_run.png/46px-Crystal_Clear_action_run.png");
}
.grosse-icone.conflit-edition {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Passage_pieton_rouge.png/46px-Passage_pieton_rouge.png");
}
.grosse-icone.titre-protege {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/System-lock-screen.svg/46px-System-lock-screen.svg.png");
}
.grosse-icone.gros-warning {
background-image: url("//upload.wikimedia.org/wikipedia/commons/f/f6/OOjs_UI_icon_alert-destructive.svg");
background-size: 46px;
}
.grosse-icone.attention {
background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg");
background-size: 46px;
}
.grosse-icone.information {
background-image: url("//upload.wikimedia.org/wikipedia/commons/1/13/OOjs_UI_icon_notice-progressive.svg");
background-size: 46px;
}
.grosse-icone.ebauche {
background-image: url("//upload.wikimedia.org/wikipedia/commons/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg");
background-size: 46px;
}
/* Styles par défaut pour les bandeaux en haut des articles. Voir
[[Projet:Charte graphique/Harmonisation des messages d'avertissement]]
et [[Wikipédia:Prise de décision/Harmonisation des messages d'avertissement]]. */
/* Classe pour toutes les alertes. */
.alerte {
padding: 0.11em;
background: #ffdddd;
margin-bottom: 0.4em;
font-style: italic;
}
/* Classe supplémentaire pour les alertes graves. */
.grave {
border: 1px solid #ff0000;
}
/* Styles des « messagebox » standard. */
.messagebox {
border: 1px solid #353535;
background: #242424;
width: 80%;
margin: 0 auto 1em auto;
padding: 0.2em;
text-align: justify;
}
.messagebox.standard-talk {
border: 1px solid #353535;
background: #242424;
}
.vectorbox {
width: 85%;
background: #121212;
border: 1px solid #353535;
border-radius: 10px;
margin: 0 auto 1em auto;
}
/* Boîtes utiles sur les pages d'aide (exemple : [[Aide:Note#Exemples]]). */
.exemple {
margin: 0.5em;
padding: 0.5em;
border: dashed 1px #353535;
background: #121212;
}
/* Standardisation de quelques messages systèmes :
* class="mw-alerte" : bandeaux d'alerte comme [[MediaWiki:Editinginterface]].
* class="mw-toolbox" : boîtes à outils comme sur [[MediaWiki:Sp-contributions-footer]]. */
/* Suppression du message avertissant du lag de 1 seconde dans la liste de suivi. */
.mw-lag-warn-normal {
display: none;
}
/* Messages d'alerte */
.mw-alerte {
width: 100%;
clear: both;
background: #121212;
border: 2px solid #ff0000;
}
/* Boîtes à outils */
.mw-toolbox {
font-size: 90%;
background: #121212;
border: 1px solid #353535;
padding: 0.25em 1em;
clear: both;
}
/* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */
div.NavFrame {
padding: 2px;
border: 1px #353535;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavPic {
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
font-weight: bold;
background: #efefef;
}
div.NavEnd {
height: 0;
clear: both;
}
/* Styles de [[Modèle:Méta palette de navigation]]. */
table.navbox {
background: #121212;
border: 1px solid #353535;
clear: both;
font-size: 89%;
margin: 1em 0 0;
padding: 2px;
text-align: center;
width: 100%;
}
table.navbox-subgroup {
background: transparent;
border: 0;
margin: -3px;
padding: 0;
text-align: center;
width: calc(100% + 6px);
}
th.navbox-title {
background: #372b2b;
padding-left: 1em;
padding-right: 1em;
}
th.navbox-group {
background: #504545;
vertical-align: middle;
width: 150px;
padding-left: 1em;
padding-right: 1em;
}
th.navbox-group + td.navbox-list,
table.navbox-subgroup td.navbox-list {
text-align: left;
}
td.navbox-even {
background: #372b2b;
}
table.navbox-subgroup td.navbox-even {
background: transparent;
}
td.navbox-banner {
background: #504545;
vertical-align: middle;
padding-left: 1em;
padding-right: 1em;
}
tr.navboxHidden {
display: none;
}
@media (max-width: 981px) {
td.navbox-image {
display: none;
}
}
/* Modèle de palettes groupées, [[Modèle:Palette]]. */
div.navbox-container {
border: 1px solid #353535;
margin-top: 1em;
}
div.navbox-container table.navbox {
border: 0;
margin: 0;
}
/* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */
.navboxToggle,
.NavToggle {
font-size: 90%;
font-weight: normal;
float: right !important;
min-width: 6em;
}
/* Styles pour [[Modèle:Section déroulante début]] */
.client-js .titre-section-deroulante {
padding-left: 18px;
}
.client-js .mw-made-collapsible .titre-section-deroulante,
.client-js .mw-made-collapsible .titre-section-deroulante.mw-collapsible-toggle-expanded {
background:
url("//upload.wikimedia.org/wikipedia/commons/0/03/MediaWiki_Vector_skin_right_arrow.svg") -9999px -9999px no-repeat,
url("//upload.wikimedia.org/wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg") left center no-repeat;
}
.client-js .mw-made-collapsible .titre-section-deroulante.mw-collapsible-toggle-collapsed {
background:
url("//upload.wikimedia.org/wikipedia/commons/0/03/MediaWiki_Vector_skin_right_arrow.svg") left center no-repeat,
url("//upload.wikimedia.org/wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg") -9999px -9999px no-repeat;
}
/* Alignement du tableau : flottant à droite ou à gauche, ou centré.
On peut aligner à droite ou à gauche sans flottement en ajoutant
le [[modèle:Clr]] en bas du tableau. */
table.gauche,
table.left {
float: left;
margin: 0 1em 1em 0;
}
table.droite,
table.right {
float: right;
margin: 0 0 1em 1em;
}
table.centre,
table.center {
margin: 1em auto;
}
/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */
table.wikitable[align=center] {
margin: 1em auto;
}
/* Annule propriétés issues de ".center" dans le /resources/src/mediawiki.legacy/oldshared.css */
table.center {
width: auto; /* annule width: 100%; */
text-align: inherit; /* annule text-align: center; */
}
/* Workaround pour les captions ridiculement étroits quand table repliée */
table.mw-collapsible:not(.centre):not(.center) > caption {
white-space: nowrap;
}
/* Méthode différente pour les tables centrées (corrige aussi le centrage erroné avec firefox) */
table.mw-collapsible.centre, table.mw-collapsible.center {
min-width: 60%;
}
/* Système différent pour écrans étroits, au cas où le caption dépasserait en largeur */
@media (max-width: 981px) {
table.mw-collapsible:not(.centre):not(.center) > caption {
white-space: normal;
}
table.mw-collapsible {
width: 100%;
float: none;
}
}
/* Classe pour substituer l'attribut obsolète cellpadding=0 */
table.nocellpadding > * > tr > td,
table.nocellpadding > * > tr > th {
padding: 0;
}
/* Classes permettant d'alterner les couleurs de ligne dans les
tableaux selon le nombre de lignes d'en-tête :
* .alternance si nombre impair ou .alternance2 si nombre pair.
* .sortable : les tableaux triables nécessitent d'inverser
l'alternance. */
.alternance,
.alternance2 {
border-collapse: collapse;
}
table.alternance > * > tr > th,
table.alternance2 > * > tr > th {
background-color: #181818;
}
.alternance tr,
.alternance th[scope="row"] {
background-color: #000;
}
.alternance:not(.sortable) tr:nth-child(odd),
.alternance.sortable tr:nth-child(even),
.alternance:not(.sortable) tr:nth-child(odd) th[scope="row"],
.alternance.sortable tr:nth-child(even) th[scope="row"] {
background-color: #181818;
}
.alternance2 tr,
.alternance2 th[scope="row"] {
background-color: #181818;
}
.alternance2 tr:nth-child(odd),
.alternance2 tr:nth-child(odd) th[scope="row"] {
background-color: #000;
}
/* Classe pour permettre un titre d'une couleur différente sans avoir à l'imposer dans chaque cellule */
table.titre-en-couleur > * > tr > th {
background-color: transparent;
}
/* Classe pour aligner les cellules en haut sans avoir à répéter le style dans chaque cellule */
table.td-align-top > * > tr > td {
vertical-align: top;
}
/* Espacement du lien "[afficher]" ajouté par la classe mw-collapsible
en attendant résolution de https://phabricator.wikimedia.org/T155347 */
caption .mw-collapsible-toggle,
th .mw-collapsible-toggle {
margin-left: 0.3em;
}
/* @noflip */
.mw-content-ltr caption .mw-collapsible-toggle,
.mw-content-ltr th .mw-collapsible-toggle,
.mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle,
.mw-content-rtl .mw-content-ltr th .mw-collapsible-toggle {
margin-left: 0.3em;
}
/* @noflip */
.mw-content-rtl caption .mw-collapsible-toggle,
.mw-content-rtl th .mw-collapsible-toggle,
.mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle,
.mw-content-ltr .mw-content-rtl th .mw-collapsible-toggle {
margin-right: 0.3em;
}
/* Classe pour les listes horizontales séparées par des puces.
Adaptation de la classe 'hlist' de en:User:Edokter.
(cf. [[mw:Snippets/Horizontal lists]]). */
.liste-horizontale ul,
.liste-horizontale ol,
.liste-horizontale li {
margin-left: 0;
display: inline;
}
.liste-horizontale li:after {
content: " "; /* au cas ou Mediawiki supprime les retours ligne */
}
.liste-horizontale li + li:before {
white-space: normal;
content: "· ";
font-weight: bold;
}
.liste-horizontale li li:first-child:before {
white-space: normal;
content: " (";
}
.liste-horizontale li ul:after,
.liste-horizontale li ol:after{
content: ")";
margin-left: -0.28em;
}
.liste-horizontale ol {
counter-reset: listitem;
}
.liste-horizontale ol > li {
counter-increment: listitem;
}
.liste-horizontale ol > li:first-child:before {
content: "1.\A0";
}
.liste-horizontale li ol > li:first-child:before {
content: " (1.\A0";
}
.liste-horizontale ol > li + li:before {
content: "· " counter(listitem) ".\A0";
font-weight: normal;
}
/* Listes sans puces */
.liste-simple ul {
line-height: inherit;
list-style: none;
margin: 0;
}
.liste-simple ul li {
margin-bottom: 0;
}
/* Style par défaut des bandeaux de portail décidés sur
[[Wikipédia:Prise de décision/Bandeaux de portails]]
Utilisé dans [[Modèle:Méta lien vers portail]] et [[Modèle:Portail]]. */
#bandeau-portail {
border: solid #aaa 1px;
background-color: #121212;
text-align: center;
margin-top: 1em;
}
#bandeau-portail,
#liste-portail {
padding: 4px;
margin-left: 0;
clear: both;
}
#liste-portail li,
#bandeau-portail li{
display: inline;
}
.bandeau-portail-element {
white-space: nowrap;
margin: 0 1.5em;
}
.bandeau-portail-icone {
margin-right: 0.5em;
}
.bandeau-portail-texte {
font-weight: bold;
}
/* Classes pour les colonnes des portails */
.portail-gauche,
.portail-droite {
box-sizing: border-box;
}
.portail-gauche {
float: left;
padding-right: 1.2rem;
}
.portail-droite {
float: right;
}
@media (max-width: 981px) {
.portail-gauche,
.portail-droite {
float: none;
width: auto !important;
}
.portail-gauche {
padding-right: 0;
}
}
/* Page d'accueil et portail utilisant la même structure */
.accueil-contenu {
margin: 0.4em -1% 0.4em 0;
display: flex;
flex-flow: wrap;
overflow: hidden; /*be kind ie10 et les navigateurs ne gérant pas les flexbox */
}
.accueil-droite,
.accueil-gauche {
display: flex;
flex-flow: wrap;
align-content: flex-start;
margin: 0.4em 1% 0.4em 0;
border: 1px solid #353535;
border-radius: 1em;
}
.accueil-droite {
background: #121212;
flex: 21em;
overflow: hidden;/*ie10*/
}
.accueil-gauche {
flex: 2 35em;
float: left; /*ie10*/
width: 64%; /*ie10*/
}
.accueil-cadre {
padding: 1.2em;
}
.accueil-cadre .mw-headline-number {
display: none;
}
/* Retire le nom de la page d'accueil */
body.action-view.page-Wikipédia_Accueil_principal #firstHeading {
position: absolute;
top: -5000px;
}
/*
Retire les numéros ajoutés lorsque "Préférences > Apparence > Numéroter automatiquement les titres de section" est coché
TODO : éventuellement créer une classe générique à ajouter à un div conteneur, permettant d'utiliser la fonctionnalité ailleurs
*/
body.page-Wikipédia_Accueil_principal .mw-headline-number {
display: none;
}
/* Bandeau accueil */
#interwiki-listecomplete {
font-weight: bold;
}
/* Mise en page Accueil version 2017 */
#accueil_2017_en-tete {
background: linear-gradient(to bottom, #121212 25%, #000);
border-bottom: solid 1px #ff0000;
}
#accueil_2017_bandeau {
background: url("/resources/assets/Wiki2197_icon.svg") no-repeat -80px -15px;
background-size: 300px 300px;
padding: 1.5rem 1rem 1rem;
font-family: 'Open Sans', Sans-serif;
}
#accueil_Aide_bandeau {
background: url("/resources/assets/Wiki2197_icon_Interrogation.svg") no-repeat -80px -15px;
background-size: 300px 300px;
padding: 1.5rem 1rem 1rem;
font-family: 'Open Sans', Sans-serif;
}
#accueil_NousAurons_bandeau {
background: url("/resources/assets/Wiki2197_icon_The_Sum.png") no-repeat -40px -30px;
background-size: 300px 300px;
padding: 1.5rem 1rem 1rem;
font-family: 'Open Sans', Sans-serif;
}
#accueil_Modding_bandeau {
background: url("/resources/assets/Wiki2197_icon_Modding.png") no-repeat -40px -30px;
background-size: 300px 300px;
padding: 1.5rem 1rem 1rem;
font-family: 'Open Sans', Sans-serif;
}
#accueil_Anabel_bandeau {
background: url("/resources/assets/LogoAnabellebel_sans_texte.png") no-repeat -50px 25px;
background-size: 300px 300px;
padding: 1.5rem 1rem 1rem;
font-family: 'Open Sans', Sans-serif;
}
#accueil_2017_bloc-titre {
display: inline-block;
margin-left: 14rem;
margin-bottom: 1rem;
text-align: left;
line-height: 1.6;
color: #c73737;
}
#accueil_2017_bloc-titre > h2 {
margin: 0;
padding: 0;
border: none;
font-size: 200%;
font-weight: bold;
font-family: 'Open Sans', Sans-serif;
color: #ff4545;
}
#accueil_2017_bloc-titre > p {
margin: 0;
padding: 0;
font-size: 95%;
}
#accueil_2017_bloc-liens {
text-align: center;
font-size: 90%;
font-weight: bold;
}
#accueil_2017_lien-mobile {
margin-bottom: 1rem;
}
#accueil_2017_contenu {
margin-top: 1rem;
}
#accueil_2017_contenu .portail-gauche {
width: 60%;
}
#accueil_2017_contenu .portail-droite {
width: 40%;
}
#accueil_2017_contenu:after {
clear: both;
display: table;
content: '';
}
.accueil_2017_cadre {
box-shadow: 0 0 0.3rem #000;
border-radius: 0.2rem;
padding: 1.2rem;
margin-bottom: 1.6rem;
}
/* S'assurer que ces règles emportent bien la priorité sur toutes les skins */
#mw-content-text .accueil_2017_cadre h2 {
font-variant: small-caps;
letter-spacing: 0.01em;
border-bottom: solid 0.2rem #fbbdbd;
margin: -0.4rem 0 0.5rem;
}
.accueil_2017_pied {
margin-top: 1.8em;
font-size: 85%;
text-align: right;
}
@media (min-width: 982px) {
#accueil_2017_contenu {
display: flex;
}
#accueil_2017_contenu .portail-gauche,
#accueil_2017_contenu .portail-droite {
display: flex;
flex-direction: column;
}
.accueil_2017_cadre:nth-child(1) {
flex-grow: 1;
}
.accueil_2017_cadre:nth-child(2) {
flex-grow: 2;
}
.accueil_2017_cadre:nth-child(3) {
flex-grow: 3;
}
}
/* Divers */
.globegris {
background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
background-repeat: no-repeat;
background-position: -40px -15px;
}
.headergris {
background: #f0f0f0 url("//upload.wikimedia.org/wikipedia/commons/1/1b/Wikibar2.png") no-repeat right;
margin: 0;
font-size: 120%;
font-weight: bold;
border: 1px solid #353535;
text-align: left;
color: #000;
padding: 0.15em 0.4em;
}
.cadregris {
border: 1px solid #353535;
background: #121212;
vertical-align: top;
padding: 7px;
margin-bottom: 0.6em;
}
.accueil_cadre_lien {
text-align: right;
margin-right: 0.5em;
font-size: xx-small;
}
/* Tracé de lignes ferroviares ([[Modèle:3voies]] et cie) */
.tablelignesferroviaires td {
white-space: nowrap;
}
.media.audio {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat left top;
}
.media.video {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat left top;
}
/* Pour le [[modèle:Infobox/Géolocalisation multiple]] et le [[modèle:Géolocdual]]. */
.img_toogle ul {
list-style: none;
text-align: center;
}
/* Taxobox V3 (cf. [[Utilisateur:Hexasoft/Taxobox code V3]]) */
.taxobox_v3 {
font-size: 0.99em !important;
padding: 1px;
}
/* Style global par défaut */
div.taxobox_v3 .entete,
.taxobox_v3 caption,
.taxobox_v3 p.bloc {
font-style: normal;
}
/* Ne pas utiliser le gras dans la partie gauche des lignes données mixtes */
.taxobox_v3 th {
font-weight: normal;
}
/* Change la couleur des séparateur d'un bleu pâle à gris pâle */
div.taxobox_v3.bordered th[scope=row],
div.taxobox_v3.bordered td {
padding-bottom: 4px;
border-top: 1px solid #ededed;
}
/* Couleur "animal" (titre, sections) */
div.taxobox_v3.animal .entete {
background-color: LightSalmon;
}
.taxobox_v3.animal caption,
.taxobox_v3.animal p.bloc {
background-color: Bisque;
}
/* Couleur "plante" (titre, sections) */
div.taxobox_v3.plante .entete {
background-color: lightgreen;
}
.taxobox_v3.plante caption,
.taxobox_v3.plante p.bloc {
background-color: #ccffcc;
}
/* Couleur "champignon" (titre, sections) */
div.taxobox_v3.champignon .entete {
background-color: SkyBlue;
}
.taxobox_v3.champignon caption,
.taxobox_v3.champignon p.bloc {
background-color: PowderBlue;
}
/* Couleur "test" (titre, sections) */
div.taxobox_v3.test .entete {
background-color: #50a0a0;
}
.taxobox_v3.test caption,
.taxobox_v3.test p.bloc {
background-color: #70c0c0;
}
/* Couleur "algue" (titre, sections) */
div.taxobox_v3.algue .entete {
background-color: MediumAquamarine;
}
.taxobox_v3.algue caption,
.taxobox_v3.algue p.bloc {
background-color: #bfffe6;
}
/* Couleur "archaea" (titre, sections) */
div.taxobox_v3.archaea .entete {
background-color: darkgray;
}
.taxobox_v3.archaea caption,
.taxobox_v3.archaea p.bloc {
background-color: lightgray;
}
/* Couleur "protiste" (titre, sections) */
div.taxobox_v3.protiste .entete {
background-color: khaki;
}
.taxobox_v3.protiste caption,
.taxobox_v3.protiste p.bloc {
background-color: PaleGoldenrod;
}
/* Couleur "virus" (titre, sections) */
div.taxobox_v3.virus .entete {
background-color: #d1d1f9;
}
.taxobox_v3.virus caption,
.taxobox_v3.virus p.bloc {
background-color: Lavender;
}
/* Couleur "neutre" (titre, sections) */
div.taxobox_v3.neutre .entete {
background-color: #eee;
}
.taxobox_v3.neutre caption,
.taxobox_v3.neutre p.bloc {
background-color: #eee;
}
/* Couleurs "bactérie", "eucaryote" et "procaryote" (titre, sections) */
div.taxobox_v3.bacterie .entete,
div.taxobox_v3.eucaryote .entete,
div.taxobox_v3.procaryote .entete {
background-color: lightgrey;
}
.taxobox_v3.bacterie caption,
.taxobox_v3.bacterie p.bloc,
.taxobox_v3.eucaryote caption,
.taxobox_v3.eucaryote p.bloc,
.taxobox_v3.procaryote caption,
.taxobox_v3.procaryote p.bloc {
background-color: #e6e6e6;
}
/* Style typographique : zoologie ou rien (botanique) */
div.taxobox_v3 .taxobox_classification {
font-style: italic;
}
div.taxobox_v3 .taxobox_classification .rnormal,
div.taxobox_v3.zoologie .taxobox_classification .normal,
div.taxobox_v3 th[scope="row"] {
font-style: normal;
}
/* Effets dégradés : utilisables pour un effet ombragé dans les modèles de cadre
(par exemple : [[Portail:Montréal/Cadre]]). Ceux-ci ne doivent pas dépasser 43
pixels de hauteur au risque d'y voir un effet indésirable. */
.degrade {
background-image: url("//upload.wikimedia.org/wikipedia/commons/f/fb/Gradient_43px.png");
background-position: top;
background-size: 100% 100%;
background-repeat: repeat-x;
}
.degrade_rev {
background-image: url("//upload.wikimedia.org/wikipedia/commons/6/61/Gradient_reversed_43px.png");
background-position: top;
background-repeat: repeat-x;
}
.degrade_double {
background-image: url("//upload.wikimedia.org/wikipedia/commons/b/ba/Double_Gradient_60px_V.png");
background-position: top;
background-repeat: repeat;
}
/* Classe de masquage, remplace display:none. Contenu non affiché mais lisible par les lecteurs d'écrans. */
.hidden {
position: absolute;
left: 0;
top: -5000px;
width: 1px;
height: 1px;
overflow: hidden;
}
caption.hidden {
position: static;
text-indent: -5000px;
}
/* Géolocalisation dynamique */
.img_toogle div, .img_toogle table, .img_toogle ul {
margin: 0 auto !important;
}
.img_toogle .geobox {
position: relative
}
.img_toogle .geopoint {
position: absolute;
width: 5px;
height: 5px;
font-size: 1px;
border: 1px solid #353535;
background: #f00;
}
/* Gallery */
ul.gallery {
margin: 2px auto;
text-align: center;
}
.gallerytext {
text-align: left;
font-size: 89%;
}
.mw-gallery-slideshow-caption .gallerytext {
text-align: center;
}
.image-border img {
border: 1px solid #353535;
}
/* Classes pour modèles de sommaires allégés */
.toc_niveau_1 ul ul,
.toc_niveau_2 ul ul ul,
.toc_niveau_3 ul ul ul ul,
.toc_niveau_4 ul ul ul ul ul,
.toc_niveau_5 ul ul ul ul ul ul {
display: none;
}
.mw-textarea-protected {
border: 2px solid #ff0000;
color: navy;
}
/* Abusefilter */
.mw-abusefilter-diff-context,
.mw-abusefilter-diff-multiline td { /* Les longues lignes sans espace sont fréquentes. */
word-wrap: break-word;
max-width: 40em;
}
/* Subdivisions administratives */
.communes th[scope=col] { /* Défaut, voir le [[modèle:ÉluDébut]] */
background-color: #2e362e;
}
.localites th[scope=col] {
background-color: #2f2f20;
}
.intercommunalites th[scope=col] {
background-color: #362f26;
}
.cantons th[scope=col] {
background-color: #38362d;
}
.arrondissements th[scope=col] {
background-color: #303030;
}
.departements th[scope=col] {
background-color: #383731;
}
.regions th[scope=col] {
background-color: #262e36;
}
/* Éditeur visuel : adaptation des messages d'avertissement */
.ve-ui-mwSaveDialog #cpwarn {
background: none;
color: #111;
padding: 3px;
}
.ve-ui-mwSaveDialog #avertissement-filtre {
background: none;
border: none;
margin: 0;
padding: 0;
}
.ve-ui-mwSaveDialog .grosse-icone {
background: none;
padding: 0;
}
.ve-ui-mwSaveDialog .bandeau-icone {
display: none;
}
/* Aide et accueil */
.aa-bloc-tete { /* Messages système */
display: table;
width: 100%;
margin-bottom: 1em;
}
.aa-bloc-gauche,
.aa-bloc-droite {
display: table;
vertical-align: middle;
margin-bottom: 1em;
}
.aa-bloc-tete .aa-bloc-gauche,
.aa-bloc-tete .aa-bloc-droite {
display: table-cell;
margin-bottom: 0;
}
.ve-ui-mwNoticesPopupTool-item .aa-bloc-gauche,
.ve-ui-mwNoticesPopupTool-item .aa-bloc-droite,
.ve-ui-mwNoticesPopupTool-item .aa-bloc-tete .aa-bloc-gauche,
.ve-ui-mwNoticesPopupTool-item .aa-bloc-tete .aa-bloc-droite {
display: block;
float: none;
}
.ve-ui-mwNoticesPopupTool-item .aa-bloc-gauche .boutons-action,
.ve-ui-mwNoticesPopupTool-item .aa-bloc-droite.aa-rechercher-autres-wikis {
display: none;
}
.aa-bloc-droite {
width: 30%;
}
.aa-bloc-dessous {
padding: 5px 10px;
}
.aa-bloc-tete h2 {
margin-top: 4pt; /* Correction du style des titres par défaut pour une meilleure intégration */
}
/* Couleur et apparence des éléments */
.aa-fond-gris {
background-color: #181818;
padding: 10px;
}
.aa-filet-gris {
border: 1px solid #242424;
border-left-width: 6px;
}
.aa-filet-bleu {
border: 0 solid #cc3333;
border-left-width: 6px;
}
.aa-filet-orange {
border: 0 solid #f16633;
border-left-width: 6px;
}
.aa-filet-rouge {
border: 0 solid #d33;
border-left-width: 6px;
}
.aa-fond-blanc {
background-color: #000;
padding: 10px;
}
.aa-fond-avertissement {
display: block;
border-bottom: 1px solid #c00;
background-color: #000;
padding: 10px;
}
.aa-titre-bleu {
color: #3366bb;
border: none;
}
.aa-titre-rouge {
color: #c00;
border: none;
}
.aa-titre-vert {
color: #008769;
border: none;
}
.aa-incipit {
font-family: sans-serif;
font-weight: bold;
font-size: 1.5em;
line-height: 1.3;
}
.aa-intertitre {
font-family: sans-serif;
font-weight: bold;
font-size: 1.17em;
}
.aa-faux-h2 {
font-weight: normal;
font-size: 1.5em;
line-height: 1.3;
}
.aa-faux-h3 {
font-weight: normal;
font-size: 1.17em;
}
.aa-en-tete-aide-largeur {
max-width: 1000px;
}
.aa-en-tete-aide-droite {
width: 140px;
float: right;
background: #000;
padding: 6px;
margin-left: 20px;
font-size: 0.9em;
}
.aa-en-tete-aide-ariane {
font-size: 0.9em;
display: block;
margin: 0 0 5px 10px;
padding: 5px 5px 5px 0;
}
.aa-en-tete-aide-chapo {
margin: 10px;
margin-right: 166px;
}
.aa-en-tete-aide-petit {
font-size: 0.9em;
}
.aa-couleur-aide {
color: #ff5d00;
}
.aa-couleur-niveau-avance {
padding: 3px;
color: #fff;
background: #347bff;
}
.aa-couleur-niveau-expert {
padding: 3px;
color: #fff;
background: #d11813;
}
.aa-couleur-niveau-debutant {
padding: 3px;
color: #fff;
background: #00af89;
}
.aa-en-tete-aide-statut {
background: none repeat scroll 0 0 #2e2826;
padding: 3px;
}
/* Migrated from [[MediaWiki:Cite references prefix]] */
ol.references {
font-size: 85%;
}
/* Masquage de certains avertissements si le JS est activé, utilisé dans le [[Modèle:Noscript]] */
.client-js .template-noscript {
display: none;
}
q {
quotes: "«\a0" "\a0»";
font: inherit;
}
/* </nowiki> */
fieldset {
border: 1px solid #353535 !important;
}