MediaWiki:Common.css : Différence entre versions
De The Crowdsourced Resource-Based Economy Knowledgebase
m (1 version) |
(Correction de la taille du texte dans les balises "syntaxhighlight", les pages .css/.js et les modules Lua demand ---> Od1n) |
||
(Une révision intermédiaire par un utilisateur est masquée) | |||
Ligne 1 : | Ligne 1 : | ||
− | /* | + | /* FEUILLE DE STYLE GLOBALE */ |
− | + | /** | |
− | + | * Cette page contrôle l'apparence pour toutes les skins. | |
+ | * Les modifications devant s'appliquer à l'apparence Monobook seulement | ||
+ | * doivent aller dans [[MediaWiki:Monobook.css]]. | ||
+ | * | ||
+ | * Après chaque modification, prière de vérifier cette feuille de style | ||
+ | * avec le valideur CSS du W3C : | ||
+ | * http://jigsaw.w3.org/css-validator/validator?uri=http://fr.wikipedia.org/w/index.php?title=MediaWiki:Common.css%26action=raw%26ctype=text/css&usermedium=all&warning=2 | ||
+ | */ | ||
+ | |||
+ | |||
+ | /** | ||
+ | * CHANGEMENT DE L'INTERFACE PAR DÉFAUT | ||
+ | * MODIFICATIONS RÉCENTES | ||
+ | */ | ||
+ | |||
+ | /* Nombre de caractères modifiés dans les modifications récentes et la liste de suivi. */ | ||
+ | |||
+ | .mw-plusminus-pos { | ||
+ | color: #00B000; | ||
} | } | ||
− | + | ||
− | + | .mw-plusminus-neg { | |
+ | color: #FF2050; | ||
} | } | ||
− | + | .mw-plusminus-null { | |
− | + | color: #999; | |
− | + | ||
} | } | ||
− | + | ||
− | + | /* Aspect des tags de filtrage dans les modifications récentes. */ | |
+ | |||
+ | .mw-tag-markers { | ||
+ | font-family: sans-serif; | ||
+ | font-style: italic; | ||
+ | font-size: 90%; | ||
} | } | ||
− | + | ||
− | + | /* Masquage du sous-titre des RC */ | |
+ | |||
+ | .mw-special-Recentchanges .mw-specialpage-summary { | ||
+ | display: none; | ||
} | } | ||
− | + | ||
− | + | /* Curseur sur les flèches de la liste de suivie améliorée et des RC */ | |
+ | |||
+ | .mw-collapsible-toggle-collapsed,.mw-collapsible-toggle-expanded { | ||
+ | cursor:pointer; | ||
} | } | ||
− | /* | + | /** |
− | + | * REDIRECTIONS | |
− | + | */ | |
− | + | ||
+ | /* Redirections sur [[Special:Allpages]] et [[Special:Watchlist/edit]]. */ | ||
+ | |||
+ | .allpagesredirect a, | ||
+ | .watchlistredir a { | ||
+ | color: #0B0; | ||
} | } | ||
− | /* | + | /** |
− | + | * HISTORIQUE ET PAGES LIÉES | |
− | + | */ | |
− | + | ||
− | + | /* Révisions dans l'historique et "(← liens)" dans les pages liées. */ | |
− | + | ||
+ | .history-size, | ||
+ | .mw-whatlinkshere-tools { | ||
+ | font-size: 80%; | ||
} | } | ||
− | + | ||
− | + | /** | |
+ | * TITRES | ||
+ | */ | ||
+ | |||
+ | /* Affichage des coordonnées géo à côté du titre, pour tous les skins. */ | ||
+ | |||
+ | #coordinates-title { | ||
+ | font-size: 90%; | ||
+ | margin-right: 1em; | ||
+ | margin-top: 1em; | ||
+ | float: right; | ||
} | } | ||
− | + | ||
− | + | #coordinates-title img { | |
− | + | vertical-align: middle | |
} | } | ||
− | /* | + | /* Décoration des titres de sous-chapitre. */ |
− | + | ||
− | + | h1.firstHeading { | |
− | + | /* bug de rendu si icône de titre ou coordonnées déplacées dans le titre */ | |
− | + | overflow: visible; | |
} | } | ||
− | + | .mw-body h1, | |
− | + | .mw-body h2 { | |
− | + | padding-top: 0.65em; | |
− | + | ||
} | } | ||
− | /* | + | |
− | + | /* monobookocentré */ | |
− | + | ||
+ | .mw-body h3 { | ||
+ | padding-top: 0.6em; | ||
+ | border-bottom: dotted 1px #AAA; | ||
} | } | ||
− | + | .mw-body h4, | |
− | . | + | .mw-body h5, |
− | + | .mw-body h6 { | |
+ | padding-top: 0.55em; | ||
+ | border-bottom: dotted 1px #DDD; | ||
} | } | ||
− | /* | + | |
− | + | /* 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 0.5em; | ||
} | } | ||
− | /* | + | /* Titres de sections modifiés par JS */ |
− | + | ||
− | + | .modifiedSectionTitle .editsection { | |
− | + | float: none; | |
− | + | font-size: x-small; | |
− | + | ||
− | + | ||
} | } | ||
− | + | .modifiedSectionTitle .mw-headline { | |
− | . | + | margin-right: 0.3em; |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | ||
− | + | .italique { | |
− | + | font-style: italic; | |
} | } | ||
− | . | + | |
− | + | .italique i { | |
+ | font-style: normal | ||
} | } | ||
− | /* | + | /** |
− | + | * BALISES SOURCE, PRE, CODE | |
− | + | * (monobookocentré) | |
− | + | */ | |
− | + | ||
− | + | code { | |
− | + | background: transparent; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | */ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | 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; | |
− | + | ||
− | + | ||
} | } | ||
− | /* | + | |
− | + | /** | |
− | + | * ABBR ET BALISE ABBR discrète | |
− | + | */ | |
− | + | ||
+ | abbr { | ||
+ | color: inherit; | ||
} | } | ||
− | + | ||
− | . | + | abbr.abbr { |
− | + | border-bottom: 0; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | a abbr { | |
− | + | cursor: inherit; | |
} | } | ||
− | + | ||
− | + | /* DFN (instance d'un terme défini) */ | |
− | + | ||
− | + | dfn { | |
+ | font-style: normal; | ||
+ | font-weight: bold; | ||
} | } | ||
− | + | ||
− | + | i > dfn { | |
− | + | font-style: italic; | |
− | + | ||
} | } | ||
− | /* | + | |
− | + | /* [[Modèle:Nobr]] */ | |
− | . | + | |
− | + | .nowrap { | |
− | + | white-space: nowrap; | |
} | } | ||
− | /* | + | |
− | . | + | /* Page [[Spécial:Modifications récentes]], voir [[MediaWiki:Recentchangestext]] */ |
− | + | ||
− | + | .rcoptions { | |
− | + | clear: both; | |
− | + | margin: 0 0 2px 0; | |
+ | padding: 0 0.5em; | ||
+ | border: 1px solid #DDDDF7; | ||
+ | border-left: 10px solid #DDDDF7; | ||
+ | background-color: #FFFFFF; | ||
} | } | ||
− | + | ||
− | . | + | fieldset.rcoptions { |
− | + | padding-bottom: 0.5em; | |
− | + | ||
− | + | ||
} | } | ||
− | /* | + | |
− | . | + | /* Apparence de [[MediaWiki:Noarticletext]] */ |
− | + | ||
− | + | div.noarticletext { | |
− | + | background: #F9F9F9; | |
− | + | margin-top: 1em; | |
+ | width: auto; | ||
+ | padding: 5px; | ||
+ | border: 1px solid #aaa; | ||
+ | border-right: 2px solid #aaa; | ||
+ | border-bottom: 2px solid #aaa; | ||
} | } | ||
− | /* | + | |
− | + | /* Formulaire des pages d'historique */ | |
− | + | ||
+ | #mw-history-search { | ||
+ | border-color: #aaa; | ||
} | } | ||
− | . | + | |
− | + | /** | |
+ | * DAMIER SUR LES IMAGES | ||
+ | */ | ||
+ | |||
+ | /** | ||
+ | * 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'); | ||
} | } | ||
− | . | + | |
− | + | /** | |
+ | * VERSION IMPRIMABLE | ||
+ | */ | ||
+ | |||
+ | /** | ||
+ | * Ne pas afficher le lien complet des URL externes sur la version imprimable | ||
+ | * (à faire manuellement, grâce à class="plainlinksneverexpand"). | ||
+ | */ | ||
+ | |||
+ | .plainlinksneverexpand a.external.text:after { | ||
+ | display: none !important; | ||
} | } | ||
− | + | ||
− | . | + | .plainlinksneverexpand a.external.autonumber:after { |
− | . | + | display: none !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; | ||
} | } | ||
− | . | + | |
− | + | /* Supprimer la flèche de lien externe pour ces liens. */ | |
+ | |||
+ | .plainlinksneverexpand a { | ||
+ | background: none !important; | ||
+ | padding: 0 !important; | ||
} | } | ||
− | /* | + | /** |
− | + | * TALKPAGEHEADER: message-système des sous-pages de discussion | |
− | + | */ | |
− | + | ||
− | + | /* classe .fieldsetlike etc. pour permettre la réutilisation de ces styles */ | |
− | + | ||
− | + | #talkpageheader, | |
− | + | .fieldsetlike { | |
− | + | text-align: center; | |
+ | border: 1px solid #aaa; | ||
+ | margin: 1em 0; | ||
+ | padding: 0 0 0.4em 0; | ||
} | } | ||
− | + | ||
− | . | + | #talkpageheader #talkpageheadertitle, |
− | + | .fieldsetlike .legendlike { | |
+ | margin-top: -0.8em | ||
} | } | ||
− | + | ||
− | + | #talkpageheader #talkpageheadertitletext, | |
− | . | + | .fieldsetlike .legendtextlike { |
− | + | padding: 0 8px; | |
− | + | background: white; | |
− | + | ||
} | } | ||
− | + | ||
− | + | #talkpageheader ul, | |
− | + | .fieldsetlike ul { | |
− | + | list-style-type: none; | |
+ | margin: 0; | ||
} | } | ||
− | + | ||
− | . | + | #talkpageheader li, |
− | + | .fieldsetlike li { | |
+ | display: inline | ||
} | } | ||
− | + | ||
− | + | #talkpageheader li { | |
− | + | color: #707070 | |
} | } | ||
− | + | ||
− | + | /* CATEGORIES CACHEES */ | |
− | + | ||
+ | #mw-hidden-catlinks { | ||
+ | font-size: 0.85em; | ||
} | } | ||
− | . | + | |
− | + | /* * MODÈLES ET PERSONNALISATION * */ | |
− | . | + | |
− | + | /* HOMONYMIE */ | |
+ | |||
+ | /* Classe servant à personnaliser l'apparence des liens vers les pages d'homonymie. */ | ||
+ | |||
+ | .homonymie { | ||
+ | padding-left: 2em; | ||
+ | padding-bottom: .5em; | ||
+ | margin-bottom: .5em; | ||
+ | margin-top: -0.6em; | ||
+ | background: white; | ||
+ | font-style: italic; | ||
+ | border-bottom: 1px #AAA solid; | ||
} | } | ||
− | . | + | |
− | . | + | /* ICÔNES */ |
− | + | ||
+ | /* Icônes en tête de pages pour les AdQ, les BA, etc. */ | ||
+ | |||
+ | .portlet li, | ||
+ | li.IW { | ||
+ | list-style-image: url('//upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png'); | ||
} | } | ||
− | . | + | |
− | + | li.AdQ { | |
+ | list-style-image: url('//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png'); | ||
} | } | ||
− | . | + | |
− | + | li.BA { | |
+ | list-style-image: url('//upload.wikimedia.org/wikipedia/commons/8/86/Icone_BA.png'); | ||
} | } | ||
− | + | ||
− | + | li.PdQ { | |
+ | list-style-image: url('//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png'); | ||
} | } | ||
− | + | ||
− | . | + | /* Classe pour afficher un icône de haut-parleur à gauche des liens audio. Utilisé par [[Modèle:Audio]], importé de WP:en */ |
− | + | ||
− | . | + | .audio a { |
− | . | + | background: url('//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png') center left no-repeat !important; |
− | . | + | padding-left: 16px !important; |
− | + | padding-right: 0 !important; | |
} | } | ||
− | + | ||
− | + | /* [[Modèle:Indication de langue]] et [[Modèle:Lien]] */ | |
− | + | ||
+ | .indicateur-langue { | ||
+ | font-family: monospace; | ||
+ | font-weight: bold; | ||
+ | font-size: small; | ||
+ | font-style: normal; | ||
} | } | ||
− | /* | + | /* ÉCRITURES NON LATINES */ |
− | . | + | |
− | + | /* Taille et famille des polices pour les écritures non-latines ; voir aussi [[modèle:Lang]]. */ | |
− | + | ||
− | + | /* Écriture grecque, pour les langues : grec moderne (monotonique), grec ancien (polytonique) */ | |
+ | |||
+ | :lang(grc), | ||
+ | :lang(el) { | ||
+ | font-family: 'Arial Unicode MS', 'DejaVu Sans', Athena, Gentium, 'Palatino Linotype', "Lucida Sans Unicode", "Lucida Grande", Code2000, sans-serif; | ||
} | } | ||
− | + | ||
− | + | /* écriture thaïe, pour la langue : thaï */ | |
− | + | ||
+ | :lang(th) { | ||
+ | font-family: "Segoe UI", Tahoma, sans-serif; | ||
} | } | ||
− | + | ||
− | + | /* CHIFFRES ROMAINS */ | |
− | + | ||
− | . | + | /* Affichage des chiffres romains, voir [[modèle:Rom]] ou [[modèle:Romain]]. */ |
+ | |||
+ | .romain { | ||
+ | text-transform: lowercase; | ||
font-variant: small-caps; | font-variant: small-caps; | ||
} | } | ||
− | /* | + | |
− | . | + | /* TAILLE DES FORMULES DE MATHS */ |
− | + | ||
+ | .texhtml { | ||
+ | font-size: 120%; | ||
} | } | ||
− | . | + | |
− | + | /* ALIGNEMENT DES FORMULES DE MATH */ | |
− | + | ||
+ | img.tex.center { | ||
+ | width: auto; | ||
+ | display: block; | ||
+ | margin: 0 auto; | ||
} | } | ||
− | . | + | |
− | + | img.tex.left { | |
− | + | display: block; | |
− | + | margin-left: 1.6em; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* | + | /* COULEUR DES LIENS */ |
− | + | ||
− | + | /* Change la couleur des liens, pour les fonds colorés sombres ; limité aux espaces de nom de discussions, | |
− | + | projets (ns-102), portails (ns-100), pages utilisateur (ns-2), et espace Wikipédia (ns-4 : Bistro…) */ | |
− | + | ||
− | + | body.ns-2 .lienClair a, | |
− | + | body.ns-4 .lienClair a, | |
− | + | body.ns-100 .lienClair a, | |
− | + | body.ns-102 .lienClair a, | |
− | + | body.ns-talk .lienClair a { | |
− | + | color: #A0A0A0; | |
} | } | ||
− | + | body.ns-2 .lienClair a:hover, | |
− | + | body.ns-4 .lienClair a:hover, | |
− | . | + | body.ns-100 .lienClair a:hover, |
− | + | body.ns-102 .lienClair a:hover, | |
+ | body.ns-talk .lienClair a:hover { | ||
+ | color: #A0A0A0; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | body.ns-2 .lienClair a:visited, | ||
+ | body.ns-4 .lienClair a:visited, | ||
+ | body.ns-100 .lienClair a:visited, | ||
+ | body.ns-102 .lienClair a:visited, | ||
+ | body.ns-talk .lienClair a:visited { | ||
+ | color: #B9B9B9; | ||
} | } | ||
− | /* | + | /* Lien vers une ébauche */ |
− | . | + | |
− | + | a.stub { | |
− | + | color: #339900; | |
− | + | ||
} | } | ||
− | . | + | |
− | + | a.stub:visited { | |
+ | color: #336600; | ||
} | } | ||
− | /* | + | /* * NOTES, RÉFÉRENCES, BIBLIOGRAPHIE * */ |
− | + | ||
− | + | /* éviter une trop grande réduction | |
− | + | de taille de caractères | |
− | + | dans certaines configurations */ | |
− | + | ||
− | + | .references small { | |
− | + | font-size: 1em !important; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | /* CROCHETS */ | |
− | + | ||
+ | /* Par défaut, cacher les crochets autour des notes. */ | ||
+ | |||
+ | .cite_crochet { | ||
+ | display: none; | ||
} | } | ||
− | + | ||
− | . | + | /* Pour que « Note 1 » ne soit ni sécable, ni en gras, ni en italique */ |
− | + | ||
+ | sup.reference { | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | white-space: nowrap; | ||
} | } | ||
− | . | + | |
− | + | ||
+ | /* Interligne */ | ||
+ | |||
+ | /* Éviter d'obtenir un interlignage de taille variable. */ | ||
+ | |||
+ | .reference, | ||
+ | .exposant { | ||
+ | vertical-align: text-top; | ||
+ | position: relative; | ||
+ | font-size: .8em; | ||
+ | top: -5px; | ||
} | } | ||
− | + | ||
− | . | + | .reference-text sup { |
− | + | vertical-align: text-top; | |
+ | position: relative; | ||
+ | font-size: 0.75em; | ||
+ | top: -0.1em; | ||
} | } | ||
− | + | ||
− | . | + | .reference { |
− | + | padding-left: 1px; | |
} | } | ||
− | . | + | ol.references > li { |
− | + | text-align: left; | |
− | + | ||
} | } | ||
− | . | + | small.cachelinks, |
− | + | small.cachelinks a { | |
− | + | color: #36B; | |
} | } | ||
− | . | + | |
− | + | /* https://bugs.webkit.org/show_bug.cgi?id=14691 */ | |
− | + | ||
+ | @media screen and (-webkit-min-device-pixel-ratio:0) { | ||
+ | ol.references sup.exposant { | ||
+ | position: static; | ||
+ | vertical-align: super; | ||
+ | } | ||
} | } | ||
− | /* | + | /* Numérotations différentes des appels de notes */ |
− | + | ||
− | . | + | .references-small.lower-alpha ol { |
− | + | list-style-type: lower-alpha; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .references-small.lower-greek ol { |
− | + | list-style-type: lower-greek; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .references-small.decimal ol { | |
− | + | list-style-type: decimal; | |
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | /* MISE EN ÉVIDENCE */ |
− | . | + | |
− | + | /** Mise en surbrillance de la note ou de l'ouvrage de référence cliqué | |
− | + | * pour faciliter la navigation (de en.wikipedia). | |
+ | */ | ||
+ | |||
+ | /* Contenu de la note */ | ||
+ | |||
+ | ol.references > li:target, | ||
+ | .ouvrage:target { | ||
+ | background: #DEF; | ||
} | } | ||
− | + | ||
− | . | + | /* Renvoi */ |
− | + | ||
− | + | sup.reference:target { | |
+ | background: #DEF; | ||
} | } | ||
− | . | + | /* /* RÉFÉRENCE NÉCESSAIRE */ |
− | . | + | |
− | + | /* Style des modèles [[modèle:Référence nécessaire]] et [[modèle:Citation nécessaire]]. */ | |
− | + | ||
+ | span.need_ref { | ||
+ | border-bottom: 1px solid #AAA; | ||
} | } | ||
− | . | + | div.need_ref { |
− | + | border: 1px solid #AAA; | |
− | + | padding: .5em; | |
− | + | ||
− | + | ||
} | } | ||
− | + | /* Référence présente */ | |
− | . | + | |
− | + | span.ref:hover { | |
− | + | border-bottom: 1px solid #AAA; | |
} | } | ||
− | /* | + | /* NORMES BIBLIOGRAPHIQUES */ |
− | + | ||
− | + | /* 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. */ |
− | + | ||
− | . | + | .BibList { |
− | + | display: block; | |
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | . | + | .WikiNorme, |
− | . | + | .BibTeX, |
− | . | + | .ISBD, |
− | + | .ISO690, | |
+ | .specialBib { | ||
+ | display: none; | ||
} | } | ||
− | /* | + | /* STYLE DE { , } ENTRE LES RÉFÉRENCES */ |
− | + | ||
− | + | .cite_virgule { | |
− | + | padding-left: 0; | |
− | + | padding-right: 1px; | |
− | + | ||
− | + | ||
} | } | ||
− | /* | + | /* * BOÎTES ET MESSAGES * */ |
− | + | ||
− | + | div.boite-a-droite { | |
+ | display: table; | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | margin: 1em 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 { /* identique au sommaire ou plutôt au bandeau de catégorie */ | ||
+ | border-color: #aaa; | ||
+ | background-color: #F9F9F9; | ||
} | } | ||
− | /* | + | /*\ |
− | div. | + | * * TYPES DE BOITES |
− | + | \*/ | |
− | + | ||
− | + | div.bandeau-article { | |
− | + | display: table; | |
− | + | margin: 8px auto 12px; | |
+ | width: 80%; | ||
+ | position: relative; /* pour les images manuelles */ | ||
+ | |||
+ | border-style: solid; | ||
+ | border-width: 1px 1px 1px 10px; | ||
+ | padding: 2px 10px; | ||
+ | text-align: left; | ||
} | } | ||
− | div. | + | |
− | + | div.bandeau-systeme { | |
− | + | clear: both; | |
− | + | display: table; | |
+ | margin: 8px auto; | ||
+ | width: 92%; | ||
+ | |||
+ | border-style: solid; | ||
+ | border-width: 2px; | ||
+ | padding: 2px 9px; | ||
+ | text-align: left; | ||
} | } | ||
− | div. | + | |
− | + | div.bandeau-simple { | |
+ | display: table; | ||
+ | clear: both; | ||
+ | margin: 8px 0; | ||
+ | box-sizing: border-box; | ||
+ | -moz-box-sizing: border-box; | ||
+ | position: relative; /* pour les images manuelles */ | ||
+ | |||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
+ | padding: 2px 10px; | ||
+ | |||
+ | /* IE6-7, qui ne comprennent ni table ni border-box et optent donc pour un display block de 100% + paddings + borders, valorisent la deuxième ligne, qu'ils devraient ignorer */ | ||
+ | width: 100%; | ||
+ | width: auto !ie; | ||
} | } | ||
− | div. | + | |
− | + | div.bandeau-discussion { | |
− | + | display: table; | |
+ | margin: 0 auto 1em; | ||
+ | width: 86%; | ||
+ | position: relative; /* pour les images manuelles */ | ||
+ | |||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
+ | padding: 2px 10px; | ||
+ | text-align: left; | ||
+ | border-radius: 10px; | ||
} | } | ||
− | + | div.bandeau-section { | |
− | + | display: block; | |
− | div | + | /* Pour le [[modèle: Article détaillé]] et autres */ |
− | + | margin: 0 0 .7em 2em; | |
− | + | font-size: 95%; | |
− | + | overflow: hidden; | |
− | + | ||
− | + | border-style: solid; | |
− | + | border-width: 1px 0; | |
− | + | padding: 2px 0 1px 4px; | |
− | + | text-align: left; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* | + | /*\ |
− | + | * * STYLES DE BOITES | |
− | + | \*/ | |
− | + | ||
− | + | /* Style des bandeaux d'articles, voir [[Wikipédia:Prise de décision/Changement de style des messages d'avertissement]] */ | |
− | + | ||
− | + | .bandeau-niveau-grave { | |
+ | border-color: #aa0044; | ||
+ | background-color: #ffcccc; | ||
} | } | ||
− | + | .bandeau-niveau-modere { | |
− | + | border-color: #ff8822; | |
− | + | background-color: #ffeedd; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | /* .bandeau-systeme.bandeau-niveau-modere { */ /* longs usages… mais pitié, évitons */ /* | |
− | + | border-color: #FF8C00; | |
− | + | background-color: #FAEBD7; | |
− | + | } */ | |
− | + | ||
+ | .bandeau-niveau-ebauche, | ||
+ | .bandeau-niveau-information { | ||
+ | border-color: #77ccff; | ||
+ | background-color: #fbfbfb; | ||
} | } | ||
− | + | .bandeau-simple.bandeau-niveau-information, | |
− | + | .bandeau-discussion.bandeau-niveau-information { /* dérive de la classe vectorbox */ | |
− | + | border-color: #a7d7f9; | |
− | + | background-color: #f5faff; | |
− | + | ||
} | } | ||
− | + | .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: #fdfdfd; | |
− | + | ||
} | } | ||
− | /* | + | .bandeau { |
− | + | /* monobookocentré */ | |
− | + | text-align: left; | |
− | + | margin: 8px 10% 12px; | |
− | + | border-style: solid; | |
− | + | border-width: 1px 1px 1px 10px; | |
− | + | padding: 2px 10px; | |
} | } | ||
− | . | + | |
− | + | .bandeau table { | |
− | + | background-color: transparent | |
− | + | ||
} | } | ||
− | . | + | |
− | + | .bandeau-icone { | |
− | + | vertical-align: middle; | |
− | + | text-align: center; | |
+ | min-width: 45px; | ||
+ | padding-right: 10px; | ||
} | } | ||
+ | |||
+ | .bandeau-titre { | ||
+ | font-size: 1em; | ||
+ | line-height: 1.4em; | ||
+ | margin-bottom: 0.5em; | ||
+ | } | ||
+ | |||
+ | .bandeau-texte { | ||
+ | font-size: 0.9em; | ||
+ | line-height: 1.2em; | ||
+ | } | ||
+ | |||
+ | /*\ | ||
+ | * * 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 */ | ||
+ | .conflit-edition, | ||
+ | .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 : …]] */ | ||
+ | .sources, /* livre ouvert du [[modèle : Section à sourcer]] */ | ||
+ | .important, /* triangle rouge : mise en garde */ | ||
+ | .en-travaux, /* triangle jaune : en construction */ | ||
+ | .incubator, | ||
+ | .extension, /* extensions MediaWiki */ | ||
+ | .wikispecies, | ||
+ | .metawiki, | ||
+ | .wikiversity, | ||
+ | .wikipedia, | ||
+ | .wikibooks, | ||
+ | .wikinews, | ||
+ | .wikiquote, | ||
+ | .wikisource, | ||
+ | .commons, | ||
+ | .wikimedia, | ||
+ | .wiktionary, | ||
+ | .wikidata, | ||
+ | .wikivoyage { | ||
+ | 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/c/c7/Fairytale_bookmark_gold.png/19px-Fairytale_bookmark_gold.png"); | ||
+ | background-position: 1px 1px; | ||
+ | } | ||
+ | .etoile-argent { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Fairytale_bookmark_silverstar.svg/19px-Fairytale_bookmark_silverstar.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/2/2f/Acces_interdit_access_forbidden.svg/22px-Acces_interdit_access_forbidden.svg.png"); | ||
+ | background-position: 0 3px; | ||
+ | } | ||
+ | .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("https://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/8/81/Under_contruction_icon-yellow.svg/20px-Under_contruction_icon-yellow.svg.png"); | ||
+ | background-position: 1px 2px; | ||
+ | } | ||
+ | .incubator { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/0/02/Incubator-notext.svg/15px-Incubator-notext.svg.png"); | ||
+ | background-position: 3px 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/9/9f/Wiktprintable_without_text.svg/20px-Wiktprintable_without_text.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/8/8a/Wikivoyage-logo.svg/19px-Wikivoyage-logo.svg.png"); | ||
+ | background-position: 1px 1px; | ||
+ | } | ||
+ | |||
+ | /*\ | ||
+ | * * GROSSES ICÔNES | ||
+ | \*/ | ||
+ | |||
+ | .grosse-icone { | ||
+ | display: table-cell; | ||
+ | vertical-align: middle; | ||
+ | |||
+ | padding-left: 60px; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: 3px center; | ||
+ | text-indent: 0; /* Certaines icones ont une version « en ligne ». */ | ||
+ | |||
+ | min-height: 54px; | ||
+ | /* IE6-7, qui ne comprennent pas table-cell et optent donc pour un display block, valorisent la deuxième ligne, qu'ils devraient ignorer */ | ||
+ | height: 54px; | ||
+ | height: auto !ie; | ||
+ | } | ||
+ | |||
+ | .grosse-icone.etoile-or { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Fairytale_bookmark_gold.png/40px-Fairytale_bookmark_gold.png"); | ||
+ | } | ||
+ | .grosse-icone.etoile-argent { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Fairytale_bookmark_silverstar.svg/40px-Fairytale_bookmark_silverstar.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/6/6f/Crystal_Clear_action_lock1.png/46px-Crystal_Clear_action_lock1.png"); | ||
+ | } | ||
+ | .grosse-icone.semi-protection { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Crystal_Clear_action_half_lock.png/46px-Crystal_Clear_action_half_lock.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/thumb/e/e1/Fairytale_no.png/46px-Fairytale_no.png"); | ||
+ | } | ||
+ | /* MESSAGES D'ALERTE */ | ||
+ | |||
+ | /** Styles par défaut pour les bandeaux en haut des articles. Syntaxe : | ||
+ | * Styles décidés suite à [[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 { | ||
+ | /* monobookocentré */ | ||
+ | padding: .11em; | ||
+ | background: #FFD; | ||
+ | margin-bottom: .4em; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | /* Classe supplémentaire pour les alertes graves. */ | ||
+ | |||
+ | .grave { | ||
+ | border: 1px solid #F96; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* monobookocentré */ | ||
+ | |||
+ | /* MESSAGEBOX */ | ||
+ | |||
+ | /** Styles des « messagebox » standard. Utilisation : | ||
+ | * * class="messagebox" : voir [[modèle:Messagebox]]. | ||
+ | * * class="messagebox standard-talk" pour les bandeaux en page de discussion des aricles (exemple : [[modèle:Traduit de]]) | ||
+ | */ | ||
+ | |||
+ | .messagebox { | ||
+ | /* monobookocentré */ | ||
+ | border: 1px solid #AAA; | ||
+ | background: #F9F9F9; | ||
+ | width: 80%; | ||
+ | margin: 0 auto 1em auto; | ||
+ | padding: .2em; | ||
+ | text-align: justify; | ||
+ | } | ||
+ | |||
.messagebox.standard-talk { | .messagebox.standard-talk { | ||
− | + | /* monobookocentré */ | |
− | + | border: 1px solid #C0C090; | |
− | + | background: #F8EABA; | |
} | } | ||
− | + | ||
− | . | + | .vectorbox { |
− | + | width: 85%; | |
− | + | background: #f5faff; | |
− | + | border: 1px solid #a7d7f9; | |
− | + | -moz-border-radius: 10px; | |
− | + | -webkit-border-radius: 10px; | |
− | + | border-radius: 10px; | |
+ | margin: 0 auto 1em auto; /* centre la box */ | ||
} | } | ||
− | + | ||
− | + | /* BANDEAUX DE PORTAIL */ | |
− | + | ||
− | + | /* 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 portails et Modèle:Portail | |
− | + | */ | |
− | + | ||
− | + | #bandeau-portail { | |
+ | border: solid #AAAAAA 1px; | ||
+ | padding: 4px; | ||
+ | background-color: #F9F9F9; | ||
+ | text-align: center; | ||
+ | margin-top: 1em; | ||
+ | margin-left: 0; | ||
+ | clear: both; | ||
} | } | ||
− | + | ||
− | + | #liste-portail { | |
− | + | padding: 4px; | |
− | + | margin-left: 0; | |
− | + | clear: both; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #liste-portail li { | |
− | + | display: inline | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | #bandeau-portail li { | |
− | + | display: inline; | |
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .bandeau-portail-element { | |
− | + | white-space: nowrap; | |
− | + | margin: auto 1.5em; | |
− | + | ||
} | } | ||
− | + | ||
− | + | .bandeau-portail-icone { | |
− | + | margin-right: 0.5em; | |
− | + | ||
} | } | ||
− | + | .bandeau-portail-texte { | |
− | + | font-weight: bold; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | /* BOÎTES POUR EXEMPLES */ | |
+ | |||
+ | /* Boîtes utiles sur les pages d'aide. Voir par exemple [[Aide:Note#Notes à appel unique]]. */ | ||
+ | |||
+ | .exemple { | ||
+ | margin: .5em; | ||
+ | padding: .5em; | ||
+ | border: dashed 1px #ADD8E6; | ||
+ | background: #FFF; | ||
} | } | ||
− | + | ||
− | + | /* BOÎTES D'AVANCEMENT */ | |
− | + | ||
+ | /* Pour les boites d'avancement, voir [[modèle:Avancement]]. */ | ||
+ | |||
+ | .avance_boite { | ||
+ | position: relative; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width: 100px; | ||
+ | height: 16px; | ||
+ | background: #D3D3D3; | ||
+ | border: solid 1px gray; | ||
} | } | ||
− | . | + | |
− | + | .avance_barre { | |
− | + | position: relative; | |
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | height: 100%; | ||
+ | background: #A0A0FF; | ||
+ | border: 0; | ||
+ | vertical-align: middle; | ||
} | } | ||
− | . | + | |
− | + | .avance_texte { | |
− | + | position: absolute; | |
+ | top: 50%; | ||
+ | left: 0; | ||
+ | width: 100px; | ||
+ | height: 100%; | ||
+ | padding: 0; | ||
+ | border: 0; | ||
+ | margin: 0; | ||
+ | margin-top: -0.5em; | ||
+ | text-align: center; | ||
+ | font-size: 14px; | ||
+ | line-height: 1em; | ||
} | } | ||
− | + | /* MESSAGES SYSTÈME */ | |
− | + | ||
− | + | /** 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]]. | ||
+ | * | ||
+ | */ | ||
+ | |||
+ | /* Bandeau jaune / rouge en cas de retard de la base de données. */ | ||
+ | |||
+ | div.mw-lag-warn-normal, | ||
+ | div.mw-lag-warn-high { | ||
+ | text-align: left !important; | ||
+ | width: 50% !important; | ||
} | } | ||
− | + | ||
− | + | /* 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: #FAEBD7; | ||
+ | border: 2px solid #FF8C00; | ||
} | } | ||
− | + | ||
− | + | /* Boîtes à outils */ | |
− | + | ||
+ | .mw-toolbox { | ||
+ | /* monobookocentré */ | ||
+ | font-size: 90%; | ||
+ | background: #F8F8F8; | ||
+ | border: 1px solid #B8B8B8; | ||
+ | padding: .25em 1em .25em 1em; | ||
+ | clear: both; | ||
} | } | ||
− | + | ||
− | + | /* BOÎTES DÉROULANTES */ | |
− | + | ||
+ | /* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */ | ||
+ | |||
+ | div.NavFrame { | ||
+ | margin: 0; | ||
+ | padding: 2px; | ||
+ | border: 1px #AAA; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
} | } | ||
− | + | ||
− | + | /* monobookocentré début */ | |
− | + | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: hidden | ||
} | } | ||
− | + | ||
− | + | div.NavPic { | |
− | + | background: #FFF; | |
+ | margin: 0; | ||
+ | padding: 2px; | ||
+ | float: left; | ||
} | } | ||
− | + | div.NavFrame div.NavHead { | |
− | + | height: 1.6em; | |
− | + | font-weight: bold; | |
− | + | font-size: 100%; | |
− | + | background: #EFEFEF; | |
− | + | ||
} | } | ||
− | . | + | |
− | + | div.NavFrame p, | |
− | + | div.NavFrame div.NavContent, | |
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
} | } | ||
− | . | + | |
− | + | div.NavEnd { | |
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
} | } | ||
− | table. | + | /* monobookocentré fin */ |
− | + | ||
+ | /* Styles de [[Modèle:Méta palette de navigation]] */ | ||
+ | |||
+ | table.navbox { | ||
+ | background: #F9F9F9; | ||
+ | border: 1px solid #AAA; | ||
+ | clear: both; | ||
+ | font-size: 90%; | ||
+ | margin: 1em 0 0; | ||
+ | padding: 2px; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
} | } | ||
− | table. | + | |
− | + | table.navbox th { | |
− | + | background: #CCF; | |
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
} | } | ||
− | table. | + | |
− | + | table.navbox td.group { | |
+ | background: #DDF; | ||
+ | vertical-align: middle; | ||
+ | width: 150px; | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
+ | font-weight: bold; | ||
} | } | ||
− | table. | + | |
− | + | table.navbox td.list { | |
+ | text-align: left | ||
} | } | ||
− | table. | + | |
− | + | table.navbox td.even { | |
+ | background: #EEF | ||
} | } | ||
− | table. | + | |
− | + | table.navbox td.banner { | |
+ | background: #DDF; | ||
+ | vertical-align: middle; | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
} | } | ||
− | + | ||
− | + | /* Modèle de palettes groupées, [[Modèle:Palette]] */ | |
+ | |||
+ | div.navbox_group { | ||
+ | border: 1px solid #aaaaaa; | ||
+ | margin-top: 15px; | ||
} | } | ||
− | table. | + | |
− | + | div.navbox_group 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:Animation]] */ |
− | + | ||
− | + | .diaporamaControl img { | |
− | + | background-color: white; | |
− | + | border: 1px solid #DDDDDD; | |
− | + | ||
} | } | ||
− | + | .diaporamaControl .ScrollBar { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Round_Edge.png/5px-Round_Edge.png"); | |
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
} | } | ||
− | + | ||
− | + | .diaporamaControl .ScrollBarContainer { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Round_Edge_bis.png/5px-Round_Edge_bis.png"); | |
− | + | background-position: top; | |
− | + | background-repeat: repeat-x; | |
} | } | ||
− | + | ||
− | + | .diaporama .magnify { | |
+ | display: none; | ||
} | } | ||
− | + | ||
− | + | .diaporama select { | |
+ | font-size: 12px; | ||
} | } | ||
− | + | ||
− | + | /* Fin styles pour [[Modèle:Animation]] */ | |
+ | |||
+ | /* * TABLEAUX ET INFOBOX * */ | ||
+ | |||
+ | /* WIKITABLE */ | ||
+ | |||
+ | /* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */ | ||
+ | |||
+ | /* Tableaux selon la charte graphique. Ils sont centrés par défaut. */ | ||
+ | |||
+ | table.wikitable th, | ||
+ | table.wikitable td { | ||
+ | padding: 0.3em; | ||
} | } | ||
− | + | ||
− | + | .wikitable th[scope=row] { | |
+ | text-align: left; | ||
} | } | ||
− | + | ||
− | + | /** 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, ou en précisant style="float:none" | ||
+ | * dans l'en-tête du tableau. | ||
+ | */ | ||
+ | |||
+ | table.gauche, | ||
+ | table.left { | ||
+ | float: left; | ||
+ | margin: 0 1em 1em 0; | ||
} | } | ||
− | + | table.droite, | |
− | table. | + | table.right { |
− | + | float: right; | |
− | + | margin: 0 0 1em 1em; | |
− | + | ||
− | + | ||
} | } | ||
− | table. | + | 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; | ||
} | } | ||
− | + | ||
− | + | /* ALTERNANCE */ | |
+ | |||
+ | /** Classes permettant d'alterner les couleurs de ligne | ||
+ | * dans les tableaux selon le nombre de lignes d'en-tête : | ||
+ | *.alternance si nombre impair | ||
+ | *.alternance2 si nombre pair. | ||
+ | * | ||
+ | *.odd est un be kind to IE<9 qui n'implémente pas | ||
+ | * le sélecteur :nth-child, appliquée via Common.js | ||
+ | * | ||
+ | *.sortable : les tableaux triables nécessitent d'inverser | ||
+ | * l'alternance. | ||
+ | */ | ||
+ | |||
+ | .alternance, | ||
+ | .alternance2 { | ||
+ | border-collapse: collapse; | ||
} | } | ||
− | table. | + | |
− | + | table.alternance > * > tr > th, | |
+ | table.alternance2 > * > tr > th { | ||
+ | background: #e6e6e6; | ||
} | } | ||
− | + | ||
− | + | .alternance tr, | |
+ | .alternance th[scope="row"] { | ||
+ | background: #fcfcfc; | ||
} | } | ||
− | + | ||
− | + | .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: #eeeeee; | ||
} | } | ||
− | + | ||
− | + | .alternance .odd, | |
+ | .alternance .odd th[scope="row"] { | ||
+ | /* be kind to IE<9 */ | ||
+ | background: #eeeeee; | ||
} | } | ||
− | + | .alternance2 tr, | |
− | + | .alternance2 th[scope="row"] { | |
− | + | background: #eeeeee; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | .alternance2 tr:nth-child(odd), | |
− | + | .alternance2 tr:nth-child(odd) th[scope="row"] { | |
+ | background: #fcfcfc; | ||
} | } | ||
− | . | + | |
− | + | .alternance2 .odd, | |
− | + | .alternance2 .odd th[scope="row"] { | |
+ | /* be kind to IE<9 */ | ||
+ | background: #fcfcfc; | ||
} | } | ||
− | + | /* INFOBOX */ | |
− | + | ||
− | + | /** Style commun aux infobox ; utiliser : | |
+ | * * class="infobox" dans l'en-tête. | ||
+ | * * class="infoboximage" pour l'image et sa description | ||
+ | * * class="infoboxsoustitre" pour le sous-titre. | ||
+ | * Voir [[Aide:Infobox]] et [[Projet:InfoBox]]. | ||
+ | */ | ||
+ | |||
+ | .infobox { | ||
+ | background: #EEE; /* couleur correspondant aux titres / colonne de gauche, th */ | ||
+ | color: #000; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | font-size: 95%; | ||
+ | border-collapse: collapse; | ||
+ | margin: 0 0 .5em 1em; | ||
+ | width: 250px; | ||
} | } | ||
− | + | ||
− | + | /* monobookocentré debut */ | |
+ | |||
+ | .infobox caption { | ||
+ | background: #C0C0C0; | ||
+ | border-left: 1px solid #AAA; | ||
+ | border-top: 1px solid #AAA; | ||
+ | border-right: 1px solid #AAA; | ||
+ | padding: .2em; | ||
+ | margin-left: .57em; | ||
+ | font-weight: bolder; | ||
+ | text-align: center; | ||
+ | color: #FFF; | ||
+ | font-size: 160%; | ||
} | } | ||
− | + | ||
− | + | .infobox th, | |
+ | .infobox td { | ||
+ | vertical-align: middle; | ||
+ | border: 1px solid #AAA; | ||
+ | padding: .2em .2em .2em .5em; | ||
} | } | ||
− | + | ||
− | + | .infobox td { | |
+ | text-align: center; | ||
+ | background: #F9F9F9; | ||
} | } | ||
− | + | ||
− | + | .infobox th { | |
+ | font-weight: normal; | ||
+ | text-align: left; | ||
} | } | ||
− | + | ||
− | + | .infobox .infoboximage { | |
− | + | /* emplacement pour les photos et une description */ | |
+ | background: #FFF; | ||
+ | padding: 0; | ||
+ | margin-top: 0; | ||
+ | color: #000; | ||
+ | text-align: center; | ||
} | } | ||
− | /* | + | .infobox .infoboxsoustitre { |
− | + | /* sous-titre */ | |
− | + | color: #000; | |
− | + | font-weight: bold; | |
− | + | font-size: 115%; | |
− | + | line-height: 2; | |
− | + | text-align: center; | |
} | } | ||
− | + | .infobox dl { | |
− | + | clear: both | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .infobox dt { | |
+ | float: left; | ||
+ | clear: left; | ||
+ | width: 35%; | ||
} | } | ||
− | + | ||
− | + | .infobox dd { | |
− | + | margin-left: 40% | |
} | } | ||
− | + | ||
− | + | ||
+ | /* monobookocentré fin */ | ||
+ | |||
+ | /* TREEVIEW */ | ||
+ | |||
+ | /** | ||
+ | * Styles pour listes imbriqués formant une arborescence, | ||
+ | * En particulier utilisés dans le [[modèle : Arbre début]] | ||
+ | */ | ||
+ | |||
+ | .treeview ul { | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
} | } | ||
− | + | ||
− | + | .treeview li { | |
− | + | padding: 0; | |
− | + | margin: 0; | |
− | + | list-style-type: none; | |
− | + | list-style-image: none; | |
− | + | zoom: 1; /* BE KIND TO IE6 */ | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .treeview li li { | |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px; | |
− | + | padding-left: 20px; | |
− | + | text-indent: 0.3em; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .treeview li li.lastline { | |
− | + | background-position: 0 -5971px | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .treeview li.emptyline > ul { | |
− | + | margin-left: -1px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .treeview li.emptyline > ul > li:first-child { | |
− | + | background-position: 0 9px | |
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* | + | |
− | + | /* * PAGES PARTICULIÈRES * */ | |
− | + | ||
− | + | /* Boîte Special:Userlogin */ | |
− | + | ||
− | + | form#userlogin { | |
− | + | padding: 1em 1em .7em 1em; | |
− | + | background: #FFFFE6; | |
− | + | border: 2px solid #FC6; | |
+ | color: #000; | ||
+ | margin-right: 2em; | ||
} | } | ||
− | + | ||
− | + | .mw-special-Userlogin #mw-content-text #userlogin { | |
− | + | width:45%; | |
− | + | float:left; | |
+ | background:#EFF2FF; | ||
} | } | ||
− | + | ||
− | . | + | .mw-special-Userlogin form#userlogin2 .captcha { |
− | + | background: #FFFFFF; | |
− | + | padding: 5px; | |
} | } | ||
− | . | + | .mw-special-Userlogin #mw-content-text #signupend { |
− | + | margin-left:50%; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .mw-special-Userlogin input[type=submit] { |
− | + | display: inline-block; | |
− | + | padding: 0.4065em 1.2195em 0.4065em; | |
+ | font: bold 1em Arial, sans-serif; | ||
+ | line-height: 1; | ||
+ | color: #3366BB; | ||
+ | text-align: center; | ||
+ | text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); | ||
+ | cursor: pointer; | ||
+ | -webkit-border-radius: 3px; | ||
+ | -moz-border-radius: 3px; | ||
+ | border-radius: 3px; | ||
+ | color: #ffffff; | ||
+ | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
+ | background-color: #3366bb; | ||
+ | background-image: -ms-linear-gradient(top, #3670c8, #3366bb); | ||
+ | background-image: -moz-linear-gradient(top, #3670c8, #3366bb); | ||
+ | background-image: linear-gradient(#3670c8, #3366bb); | ||
+ | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3670c8), color-stop(100%, #3366bb)); | ||
+ | background-image: -webkit-linear-gradient(top, #3670c8, #3366bb); | ||
+ | border: 1px #33589f solid; | ||
+ | -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#3670c8', endColorstr='#3366bb', GradientType=0)"; | ||
+ | filter: progid:dximagetransform.microsoft.gradient(startColorstr='#3670c8', endColorstr='#3366bb', GradientType=0); | ||
} | } | ||
− | + | ||
− | . | + | .mw-special-Userlogin input[type=submit]:hover { |
− | + | background-color: #3f77d7; | |
+ | background-image: -moz-linear-gradient(top, #4c84da, #3f77d7); | ||
+ | background-image: -ms-linear-gradient(top, #4c84da, #3f77d7); | ||
+ | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4c84da), color-stop(100%, #3f77d7)); | ||
+ | background-image: -webkit-linear-gradient(top, #4c84da, #3f77d7); | ||
+ | background-image: linear-gradient(#4c84da, #3f77d7); | ||
+ | -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c84da', endColorstr='#3f77d7', GradientType=0)"; | ||
+ | filter: progid:dximagetransform.microsoft.gradient(startColorstr='#4c84da', endColorstr='#3f77d7', GradientType=0); | ||
} | } | ||
− | + | .mw-special-Userlogin input[type=submit]:active { | |
− | + | background-color: #2a549c; | |
− | + | background-image: -moz-linear-gradient(top, #2d5ea9, #2a549c); | |
− | + | background-image: -ms-linear-gradient(top, #2d5ea9, #2a549c); | |
− | + | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d5ea9), color-stop(100%, #2a549c)); | |
+ | background-image: -webkit-linear-gradient(top, #2d5ea9, #2a549c); | ||
+ | background-image: linear-gradient(#2d5ea9, #2a549c); | ||
+ | -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#2d5ea9', endColorstr='#2a549c', GradientType=0)"; | ||
+ | filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2d5ea9', endColorstr='#2a549c', GradientType=0); | ||
} | } | ||
− | /* | + | /* monobookocentré */ |
− | # | + | |
− | + | form#userlogin table { | |
+ | background: #ffffe6; | ||
+ | color: #000; | ||
} | } | ||
− | /* | + | /* monobookocentré */ |
− | . | + | |
− | + | /* ACCUEILS */ | |
− | + | ||
− | + | /* ACCUEIL PRINCIPAL */ | |
+ | |||
+ | /* Fond blanc de l'accueil principal */ | ||
+ | |||
+ | body.page-Wikipédia_Accueil_principal #content { | ||
+ | background-color: white; | ||
+ | } | ||
+ | |||
+ | body.page-Wikipédia_Accueil_principal #p-cactions li a { | ||
+ | background-color: white; | ||
+ | } | ||
+ | |||
+ | /* Retire le nom de la page d'accueil */ | ||
+ | |||
+ | body.action-view.page-Wikipédia_Accueil_principal #firstHeading { | ||
+ | position: absolute; | ||
+ | top: -5000px; | ||
+ | } | ||
+ | |||
+ | /* bandeau accueil */ | ||
+ | |||
+ | #interwiki-listecomplete { | ||
+ | font-weight: bold; | ||
} | } | ||
− | + | body.page-Wikipédia_Accueil_principal .wbc-editpage { | |
− | + | ||
− | + | ||
− | + | ||
display: none; | display: none; | ||
− | |||
} | } | ||
− | + | #accueil_titre { | |
− | + | margin-top: 1.5em; | |
− | + | ||
− | + | ||
} | } | ||
− | /* | + | |
− | + | /* monobookocentré */ | |
− | + | ||
− | + | /* ACCUEIL DE LA COMMUNAUTÉ */ | |
− | + | ||
− | + | /* Fond blanc de l'accueil de la communauté */ | |
− | + | ||
− | + | body.page-Wikipédia_Accueil_de_la_communauté #content { | |
− | + | background-color: white; | |
} | } | ||
− | + | ||
− | + | body.page-Wikipédia_Accueil_de_la_communauté #p-cactions li a { | |
− | + | background-color: white; | |
} | } | ||
− | + | ||
− | + | /* DIVERS */ | |
− | + | ||
− | + | .globegris { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png"); | |
− | + | ||
} | } | ||
− | + | ||
− | + | .assistant { | |
− | + | background-image: url("//upload.wikimedia.org/wikipedia/commons/6/67/Nuvola_apps_khelpcenter_25%25.png"); | |
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .headergris { | |
− | + | /* monobookocentré */ | |
− | + | 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 #a3b0bf; | ||
+ | text-align: left; | ||
+ | color: #000; | ||
+ | padding: .15em .4em; | ||
} | } | ||
− | + | ||
− | + | .cadregris { | |
− | + | /* monobookocentré */ | |
− | + | border: 1px solid #AAA; | |
− | + | background: #fcfcfc; | |
+ | vertical-align: top; | ||
+ | padding: 7px; | ||
+ | margin-bottom: .6em; | ||
} | } | ||
− | + | ||
− | + | .accueil_cadre_lien { | |
− | + | /* monobookocentré */ | |
− | + | text-align: right; | |
− | + | margin-right: .5em; | |
− | + | font-size: xx-small; | |
− | + | ||
} | } | ||
− | /* | + | /* MODÈLES DE COORDONNÉES */ |
− | . | + | |
− | . | + | /** Voir [[Modèle:Coord]] pour l'utilité de ces classes. |
− | + | * Notez que les classes "geo", "longitude", et "latitude" ne sont pas simplement des styles | |
− | + | * mais servent aussi à l'export au Geo microformat, il ne faut pas les renommer. | |
− | + | */ | |
− | + | ||
+ | .geo {} | ||
+ | |||
+ | .geo-default { | ||
+ | display: inline; | ||
} | } | ||
− | + | ||
− | . | + | .geo-nondefault { |
− | + | display: none; | |
} | } | ||
− | + | .geo-dms { | |
− | + | display: inline; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | .geo-dec { | |
− | + | display: inline; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | .geo-multi-punct { | |
− | + | display: none; | |
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | . | + | .longitude .latitude { |
− | + | white-space: nowrap; | |
− | + | ||
} | } | ||
− | /* | + | |
− | + | /* TRACÉ DE LIGNES FERROVIAIRES ([[Modèle:3voies]] et cie) */ | |
− | + | ||
− | + | .tablelignesferroviaires td { | |
− | + | white-space: nowrap; | |
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* | + | /** |
− | + | * Infobox V2 | |
− | + | * Voir : [[Utilisateur:Antaya/Infobox V2]] | |
+ | */ | ||
+ | |||
+ | .infobox_v2 { | ||
+ | /* monobookocentré debut */ | ||
+ | background: #f9f9f9; | ||
+ | color: #000; | ||
+ | font-size: 90%; | ||
+ | line-height: 1.1em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | /* haut droite bas gauche */ | ||
+ | margin: 0 0 .5em 1em; | ||
+ | width: 300px; | ||
+ | border: 1px solid #aaa; | ||
+ | padding: 0.1em; | ||
} | } | ||
− | + | ||
− | + | .infobox_v2 th { | |
− | + | vertical-align: super; | |
− | + | text-align: left; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .infobox_v2 .entete { | |
+ | height: 45px; | ||
+ | vertical-align: middle; | ||
+ | text-align: center; | ||
+ | font-size: 150%; | ||
+ | font-weight: bolder; | ||
+ | line-height: 1.2em; | ||
+ | color: #000; | ||
} | } | ||
− | /* | + | .infobox_v2 .media { |
− | + | /* css V2 pour [[Modèle: Son]], etc. */ | |
− | + | height: 35px; | |
− | + | vertical-align: middle; | |
− | + | text-align: center; | |
− | + | font-weight: bolder; | |
+ | color: #000; | ||
} | } | ||
− | /* | + | /* graphiques transparents d'entêtes des infobox V2 */ |
− | 1) | + | |
− | 2) | + | .entete.defaut {} |
− | 3) | + | .entete.aerostat { |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/7/7e/Picto_infobox_aerostat.png") no-repeat top right; | |
− | . | + | } |
− | . | + | .entete.artiste { |
− | . | + | background: url("//upload.wikimedia.org/wikipedia/commons/f/f3/Picto_infobox_artiste.png") no-repeat top right; |
− | + | } | |
− | + | .entete.artsmartiauxjap { | |
+ | background: url("//upload.wikimedia.org/wikipedia/commons/8/81/Picto_infobox_samourai.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.association { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Collaboration_logo_infobox.svg/50px-Collaboration_logo_infobox.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.athletisme { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/9/99/Picto_Infobox_Athletisme.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.auteur { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.basket-ball { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/f/f4/Picto_Infobox_Basketball.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.bd { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.biere { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.canada { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.calendrier { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/4/4a/Almanacco.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.cardinal { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_cardinal.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.chateau { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.catch { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_catch.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.cinema { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.communication { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.cyclisme { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Cycling_%28road%29_pictogram.svg/45px-Cycling_%28road%29_pictogram.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.deportation { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/e/e0/Picto_Infobox_deportation.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.disney { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/d/d3/Picto_infobox_Disney.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.egypte-antique { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/c/cc/Picto_infobox_ancient_Egypt.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.eveque { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_bishop.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.football { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/f/f8/Infobox_Football_pictogram.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.footballblack { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/8/86/Picto_infobox_fotbal_2.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.grappe { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.gymnastique { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/12/Gymnastics_%28artistic%29_pictogram.svg/35px-Gymnastics_%28artistic%29_pictogram.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.helicoptere { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/f/fa/Picto_infobox_helicopter.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.hockey { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/e/ee/Picto_Infobox_Ice_hockey.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.hockey-sur-gazon { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Field_hockey_pictogram.svg/35px-Field_hockey_pictogram.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.humain { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.informatique { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.israel-judaisme { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_israel-judaisme.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.jeu { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/9/90/Picto_infobox_Game.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.jeu-role { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/d/d8/Picto_infobox_Jeu_de_rôle.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.jeuvideo { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png") no-repeat bottom right; | ||
+ | } | ||
+ | .entete.macintosh { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_Macintosh.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.map { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.medecine { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.mets { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.montreal-metro { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/fr/b/ba/Picto_infobox_Mtl_metro.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.montreal-train { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/fr/9/99/Picto_infobox_Mtl_train.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.moteur-avion { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/9/9c/Picto_Infobox_moteur_d%27avion.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.musee { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/ac/Infobox_museum_pictogram.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.musique { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.papyrus { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_papyrus.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.paralympique { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/5/5e/Picto_infobox_Paralympics.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.persofiction { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.planeur { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_planeur.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.pretendant { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/5/5f/Picto_infobox_pr%C3%A9tendant_%C3%A0_un_tr%C3%B4ne.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.presse { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_journal.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.projet { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.quebec { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.recherche { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/c/c1/Picto_infobox_detective.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.rome-antique { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_Roman_millitary_banner.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.route { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/e/e7/Infobox_road_pictogram.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.rugby { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/0/06/Picto_Infobox_Rugby.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.rugbyblack { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Rugby_union_pictogram.svg/35px-Rugby_union_pictogram.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.science-fiction { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.sport { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.sport-automobile { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.television { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.tennis { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/85/Tennis_pictogram.svg/35px-Tennis_pictogram.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.tennis-de-table { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Table_tennis_pictogram_white.svg/40px-Table_tennis_pictogram_white.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.tennis-de-tableblack { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/85/Table_tennis_pictogram.svg/35px-Table_tennis_pictogram.svg.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.timbre { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_Stamps.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.train { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_train.png") no-repeat top right; | ||
+ | } | ||
+ | .entete.union-europeenne { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png") no-repeat top right; | ||
} | } | ||
− | + | .entete.universite { | |
− | . | + | background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png") no-repeat top right; |
− | . | + | |
− | + | ||
} | } | ||
− | + | .media.audio { | |
− | . | + | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .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 top left; |
− | + | ||
} | } | ||
− | /* | + | /* Pour le [[modèle : Infobox/Géolocalisation multiple]] et le [[modèle : Géolocdual]] */ |
− | + | ||
− | + | .img_toogle ul { | |
+ | list-style-type: none !important; | ||
+ | list-style-image: none !important; | ||
+ | list-style-position: outside !important; | ||
+ | text-align: center; | ||
} | } | ||
− | /* | + | /* Fin de la phase de test Infobox V2 */ |
− | . | + | |
− | + | /* monobookocentré fin */ | |
+ | |||
+ | /* infobox_V3 */ | ||
+ | |||
+ | /* Entête */ | ||
+ | |||
+ | div.infobox_v3 { | ||
+ | padding: 5px; | ||
+ | width: 25em; | ||
+ | background: #F9F9F9; | ||
+ | border: 1px solid #AAA; | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | font-size: 0.9em; | ||
+ | line-height: 1.4em; | ||
+ | margin: 0 0 0.5em 1em; | ||
+ | max-width: 325px; | ||
+ | word-wrap: break-word; | ||
} | } | ||
− | + | .infobox_v3 th[scope="row"] { | |
− | + | max-width: 140px; | |
− | + | word-wrap: normal; | |
− | + | ||
} | } | ||
− | + | .infobox_v3 th[scope="col"] { | |
− | + | text-align: center !important; | |
− | + | word-wrap: normal; | |
− | + | ||
} | } | ||
− | + | ||
− | + | .infobox_v3 .entete { | |
− | . | + | font-weight: bold; |
− | + | text-align: center; | |
+ | font-size: 1.4em; | ||
+ | line-height: 1.1em; | ||
+ | margin: 0 0 10px 0; | ||
+ | padding: 3px 0; | ||
+ | background-color: #DFEDFF; | ||
+ | border: 2px solid #DFEDFF; | ||
} | } | ||
− | + | ||
− | . | + | .infobox_v3 .entete.icon { |
− | + | padding: 13px 50px 12px 50px; | |
− | + | background-position: right center !important; | |
− | + | border: 0; | |
− | + | ||
} | } | ||
− | + | .infobox_v3.large .entete.icon { | |
− | + | padding: 13px 10px 12px 10px; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | /* tumb */ | |
+ | |||
+ | .infobox_v3 .thumbimage { | ||
+ | border: none; | ||
+ | max-width: 99%; | ||
+ | height: auto !important; | ||
} | } | ||
− | + | .infobox_v3 .thumbinner { | |
− | + | background-color: transparent; | |
− | + | border: none; | |
− | + | padding: 0 !important; | |
− | + | ||
} | } | ||
− | + | .infobox_v3 .thumb, | |
− | + | .infobox_v3 .thumbinner { | |
− | + | display: inline; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .infobox_v3 .thumbcaption { | |
− | + | display: none; | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | .infobox_v3 .legend { | |
+ | font-size: 0.9em; | ||
+ | text-align: center; | ||
+ | margin: 5px 0 8px 0; | ||
} | } | ||
− | . | + | |
− | + | .infobox_v3 .image2 { | |
+ | text-align: center; | ||
+ | padding: 5px 0; | ||
} | } | ||
− | + | .infobox_v3 .image2 div.thumb { | |
− | . | + | display: inline-block; |
− | + | float: none; | |
− | + | margin: 0; | |
− | + | vertical-align: middle; | |
+ | } | ||
− | /* | + | /* tableaux */ |
− | . | + | |
− | + | .infobox_v3 table { | |
− | + | width: 100%; | |
− | + | margin: 5px 0; | |
+ | table-layout: fixed; | ||
+ | border-collapse: collapse; | ||
} | } | ||
− | + | .infobox_v3 th[scope=col].double { | |
− | + | text-align: left; | |
− | + | ||
− | + | ||
} | } | ||
− | /* | + | .infobox_v3 th[scope=row] { |
− | + | text-align: left; | |
− | + | vertical-align: super; | |
+ | padding-right: 10px; | ||
+ | /* width: 30%; */ | ||
+ | width: 8em; | ||
} | } | ||
− | + | ||
− | + | .infobox_v3 th[scope=row], | |
+ | .infobox_v3 td { | ||
+ | padding-top: 4px; | ||
+ | vertical-align: super; | ||
} | } | ||
− | + | .infobox_v3 th[scope=row].middle { | |
− | + | vertical-align: middle; | |
− | + | ||
− | + | ||
} | } | ||
− | + | .infobox_v3.bordered th[scope=row], | |
− | + | .infobox_v3.bordered td { | |
− | + | padding-bottom: 4px; | |
− | + | border-top: 1px solid #DFEDFF; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .infobox_v3.bordered caption.bordered { | |
− | . | + | margin: 0 0 -1px 0; |
− | + | ||
} | } | ||
− | + | ||
− | + | .infobox_v3 td.data { | |
− | + | text-align: center; | |
} | } | ||
− | /* | + | /* titres bloc et caption tableaux */ |
− | + | ||
− | + | .infobox_v3 p.bloc, | |
− | + | .infobox_v3 p.bordered, | |
− | + | .infobox_v3 caption { | |
+ | font-weight: bold; | ||
+ | text-align: center; | ||
+ | line-height: 1.1em; | ||
+ | margin: 0 0 5px 0; | ||
+ | padding: 4px 10px 4px 5px; | ||
} | } | ||
− | + | ||
− | + | .infobox_v3 caption, | |
− | + | .infobox_v3 p.bloc { | |
− | + | background: #DFEDFF; | |
− | + | ||
} | } | ||
− | + | .infobox_v3 p.bloc { | |
− | + | margin: 5px 0; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .infobox_v3 caption.bordered, | |
− | + | .infobox_v3 p.bordered { | |
− | + | border-top: 1px solid #DFEDFF; | |
− | + | border-bottom: 1px solid #DFEDFF; | |
+ | background: transparent; | ||
} | } | ||
− | /* | + | /* TODO : mettre à jour la classe .hidden générique */ |
− | + | ||
− | + | .infobox_v3 caption.hidden { | |
− | . | + | margin: 0 !important; |
− | + | padding: 0 !important; | |
− | + | line-height: 1px; /* be kind to IE7*/ | |
+ | font-size: 1px; /* be kind to IE7*/ | ||
} | } | ||
− | . | + | |
− | + | /* Séparateur */ | |
− | + | ||
+ | .infobox_v3 .hr { | ||
+ | font-size: 1px; | ||
+ | line-height: 1px; | ||
+ | margin: 5px 0; | ||
+ | background-color: #DFEDFF; | ||
} | } | ||
− | . | + | |
− | + | .infobox_v3 .hr.collapse { | |
− | + | margin: 5px 0 -8px 0; | |
+ | position: relative; /* be kind to IE7*/ | ||
} | } | ||
− | . | + | |
− | + | /* tnavbar */ | |
− | + | ||
+ | .infobox_v3 .navbar { | ||
+ | text-align: right !important; | ||
+ | font-size: 0.8em; | ||
+ | margin: 0; | ||
} | } | ||
− | . | + | |
− | + | .infobox_v3 .navbar .plainlinks { | |
− | + | float: left | |
} | } | ||
− | . | + | |
− | + | /* navigateur */ | |
− | + | ||
+ | .infobox_v3 .overflow { | ||
+ | overflow: hidden; | ||
} | } | ||
− | + | ||
− | + | .infobox_v3 .bordered.nav, | |
− | + | .infobox_v3 .bordered.navbar { | |
− | + | border-bottom: 0 !important; | |
− | + | font-weight: normal !important; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .infobox_v3 .prev a, | |
− | + | .infobox_v3 .prev_bloc { | |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/1/13/Arr_l.png") no-repeat left 0.1em; | |
− | + | float: left; | |
− | + | max-width: 40%; | |
− | + | padding: 0 0 0 16px; | |
} | } | ||
− | + | .infobox_v3 .next a, | |
− | . | + | .infobox_v3 .next_bloc { |
− | + | background: url("//upload.wikimedia.org/wikipedia/commons/a/ad/Arr_r.png") no-repeat right 0.1em; | |
− | + | float: right; | |
+ | max-width: 40%; | ||
+ | padding: 0 16px 0 0; | ||
+ | text-align: right; | ||
} | } | ||
− | . | + | |
− | + | /* Divers */ | |
− | + | ||
− | + | #article .infobox_v3 ul, | |
− | + | #bodyContent .infobox_v3 ul, | |
− | + | #mw_content .infobox_v3 ul, | |
+ | #article .infobox_v3 ol, | ||
+ | #bodyContent .infobox_v3 ol, | ||
+ | #mw_content .infobox_v3 ol { | ||
+ | text-align: left; | ||
} | } | ||
− | + | ||
− | + | /* Taxobox V3 */ | |
− | + | /* cf. [[Utilisateur:Hexasoft/Taxobox code V3]] */ | |
− | + | ||
− | + | ||
+ | /* - cette partie concerne le style global - */ | ||
+ | |||
+ | /* restaure la taille de fonte par défaut */ | ||
+ | .taxobox_v3 { | ||
+ | font-size: 0.99em !important; | ||
+ | padding: 1px; /* -> reduction du padding : par défaut 5px */ | ||
} | } | ||
− | . | + | .taxobox_v3 .entete.icon { |
− | + | padding: 5px 50px 4px 50px; | |
+ | background-position: right center !important; | ||
+ | border: 0; | ||
} | } | ||
− | . | + | .taxobox_v3.large .entete.icon { |
− | + | padding: 5px 10px 4px 10px; | |
− | + | ||
} | } | ||
− | . | + | |
− | + | /* 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; | ||
} | } | ||
− | /* | + | /* - cette partie concerne le style des couleurs uniquement (selon le règne) - */ |
− | # | + | |
− | + | /* couleurs "animal" (titre, sections) */ | |
+ | div.taxobox_v3.animal .entete { | ||
+ | background-color: LightSalmon; | ||
+ | border: 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; | ||
+ | border: 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; | ||
+ | border: 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; | ||
+ | border: #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; | ||
+ | border: 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; | ||
+ | border: darkgray; | ||
+ | } | ||
+ | .taxobox_v3.archaea caption, .taxobox_v3.archaea p.bloc { | ||
+ | background-color: lightgray; | ||
+ | } | ||
+ | /* couleur "bactérie" (titre, sections) */ | ||
+ | div.taxobox_v3.bacterie .entete { | ||
+ | background-color: lightgrey; | ||
+ | border: lightgrey; | ||
+ | } | ||
+ | .taxobox_v3.bacterie caption, .taxobox_v3.bacterie p.bloc { | ||
+ | background-color: #E6E6E6; | ||
+ | } | ||
+ | /* couleur "protiste" (titre, sections) */ | ||
+ | div.taxobox_v3.protiste .entete { | ||
+ | background-color: khaki; | ||
+ | border: 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; | ||
+ | border: #D1D1F9; | ||
+ | } | ||
+ | .taxobox_v3.virus caption, .taxobox_v3.virus p.bloc { | ||
+ | background-color: Lavender; | ||
+ | } | ||
+ | /* couleur "neutre" (titre, sections) */ | ||
+ | div.taxobox_v3.neutre .entete { | ||
+ | background-color: #EEEEEE; | ||
+ | border: #EEEEEE; | ||
+ | } | ||
+ | .taxobox_v3.neutre caption, .taxobox_v3.neutre p.bloc { | ||
+ | background-color: #EEEEEE; | ||
+ | } | ||
+ | /* couleur "eucaryote" (titre, sections) */ | ||
+ | div.taxobox_v3.eucaryote .entete { | ||
+ | background-color: lightgrey; | ||
+ | border: lightgrey; | ||
+ | } | ||
+ | .taxobox_v3.eucaryote caption, .taxobox_v3.eucaryote p.bloc { | ||
+ | background-color: #E6E6E6; | ||
+ | } | ||
+ | /* couleur "procaryote" (titre, sections) */ | ||
+ | div.taxobox_v3.procaryote .entete { | ||
+ | background-color: lightgrey; | ||
+ | border: lightgrey; | ||
+ | } | ||
+ | .taxobox_v3.procaryote caption, .taxobox_v3.procaryote p.bloc { | ||
+ | background-color: #E6E6E6; | ||
} | } | ||
− | /* | + | /* TODO: les autres "règnes" sont à ajouter */ |
− | . | + | |
− | + | ||
+ | /* - cette partie concerne le style typographique uniquement (selon le règne) - */ | ||
+ | |||
+ | /* style typographique : zoologie ou rien (botanique) */ | ||
+ | div.taxobox_v3 .taxobox_classification { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | div.taxobox_v3 .taxobox_classification .rnormal { | ||
+ | font-style: normal; | ||
+ | } | ||
+ | div.taxobox_v3.zoologie .taxobox_classification .normal, div.taxobox_v3 th[scope="row"] { | ||
+ | font-style: normal; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* - icones specifiques taxobox. Images non définitives - */ | ||
+ | |||
+ | /* - pictogrammes génériques (« règnes ») - */ | ||
+ | /* | ||
+ | .entete.animal {background: url("//upload.wikimedia.org/wikipedia/commons/d/da/Infobox_animalia.png") no-repeat top right;} | ||
+ | .entete.virus {background: url("//upload.wikimedia.org/wikipedia/commons/d/dc/Picto_infobox_virus.png") no-repeat top right;} | ||
+ | .entete.plante {background: url("//upload.wikimedia.org/wikipedia/commons/7/79/Infobox_plantae.png") no-repeat top right;} | ||
+ | .entete.bacterie {background: url("//upload.wikimedia.org/wikipedia/commons/5/51/Picto_infobox_bacterium.PNG") no-repeat top right;} | ||
+ | .entete.champignon {background: url("//upload.wikimedia.org/wikipedia/commons/b/b9/Picto_Mushroom.png") no-repeat top right;} | ||
+ | .entete.test {background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png") no-repeat top right;} | ||
+ | */ | ||
+ | |||
+ | /* pictogrammes spécifiques (« sous-règnes ») - */ | ||
+ | /* | ||
+ | .entete.amphibien {background: url("//upload.wikimedia.org/wikipedia/commons/6/63/Picto_amphibia.png") no-repeat top right;} | ||
+ | .entete.reptile {background: url("//upload.wikimedia.org/wikipedia/commons/7/7c/Picto_infobox_reptile.png") no-repeat top right;} | ||
+ | .entete.cladotest {background: url("//upload.wikimedia.org/wikipedia/commons/3/3b/Infobox_cladogram.png") no-repeat top right;} | ||
+ | */ | ||
+ | |||
+ | /* - version distincte de "alternance", afin d'être indépendant des choix fait par ailleurs et de pouvoir modifier à volonté l'aspect - */ | ||
+ | |||
+ | table.taxoalternance tr, .taxoalternance.wikitable th[scope="row"] { | ||
+ | background: #fff; | ||
+ | } | ||
+ | table.taxoalternance tr:nth-child(odd), .taxoalternance.wikitable tr:nth-child(odd) th[scope="row"] { | ||
+ | background: #F5F5F5; | ||
+ | } | ||
+ | table.taxoalternance tr.odd, table.taxoalternance.wikitable tr.odd th[scope="row"] { | ||
+ | background: #F5F5F5; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* 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. Note : les effets en PNG ne sont pas résolus par IE6 et moins. Dernière mise à jour : 4 février 2010 */ | ||
+ | |||
+ | /* Ombragé, fond transparent (png) */ | ||
+ | |||
+ | .degrade { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/f/fb/Gradient_43px.png"); | ||
+ | background-position: top; | ||
+ | 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; | ||
+ | } | ||
+ | |||
+ | /* Ombragé, gris fond blanc (jpg) */ | ||
+ | |||
+ | .ombre { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/e/ea/BGblue1_phixr.jpg"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | |||
+ | .ombre_pale { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/0/06/BGblue2_phixr.jpg"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | |||
+ | /* Coloré, bleu/rouge fond blanc (jpg) */ | ||
+ | |||
+ | .ombre_bl { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3e/BGblue1.jpg"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | |||
+ | .ombre_blpale { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/f/f7/BGblue2.jpg"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | |||
+ | .ombre_rg { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/3/30/BGred1.jpg"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | |||
+ | .ombre_rgpale { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/8/8f/BGred2.jpg"); | ||
+ | background-position: top; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
+ | /* Bandeau de titres du [[portail : Cinéma]] (page [[Portail:Cinéma/Divers]]) */ | ||
+ | |||
+ | .cinema-bandeau { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/6/68/Bandeau_portail_cin%C3%A9ma.png"); | ||
+ | background-position : left; | ||
+ | height: 35px; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | |||
+ | /* Géolocalisation dynamique */ | ||
+ | |||
+ | .NavContent .img_toogle { | ||
+ | zoom: 1; /* be kind to IE7 */ | ||
+ | clear: both; /* be kind to IE7 */ | ||
+ | } | ||
+ | |||
+ | .img_toogle, | ||
+ | .img_toogle * { | ||
+ | margin: 0 auto !important; | ||
+ | padding: 0 !important; | ||
+ | } | ||
+ | |||
+ | .img_toogle .a_toogle { | ||
+ | display: block; | ||
+ | text-align: center !important; | ||
+ | font-size: 0.95em; | ||
+ | } | ||
+ | |||
+ | .img_toogle .geobox { | ||
+ | position: relative | ||
+ | } | ||
+ | |||
+ | .img_toogle .geobox +.geobox { | ||
+ | border-top: 5px solid #aaa | ||
+ | } | ||
+ | |||
+ | .img_toogle .geopoint { | ||
+ | position: absolute; | ||
+ | width: 5px; | ||
+ | height: 5px; | ||
+ | font-size: 1px; | ||
+ | border: 1px solid #000; | ||
+ | background: #F00; | ||
+ | } | ||
+ | |||
+ | /* Gallery */ | ||
+ | |||
+ | /* Retour au centrage par défaut des galeries */ | ||
+ | |||
+ | ul.gallery { | ||
+ | margin: 2px auto; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | div.gallerytext { | ||
+ | text-align: left; | ||
+ | font-size: 89%; | ||
+ | } | ||
+ | |||
+ | /* Modèle:Images */ | ||
+ | |||
+ | .ImageGroup .thumbinner { | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | |||
+ | /* Be kind to IE6, formulaire d'édition */ | ||
+ | |||
+ | #editpage-copywarn { | ||
+ | zoom: 1; | ||
+ | } | ||
+ | |||
+ | /* Affichage du [[Projet:Impression]] */ | ||
+ | |||
+ | #listeImprimeurs { | ||
+ | text-align: left; | ||
+ | background: white; | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | left: 66%; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | #listeImprimeurs table { | ||
+ | border: 0 solid #AAA; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | #listeImprimeurs table tr { | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | #listeImprimeurs table tr td { | ||
+ | border: 1px solid #AAA; | ||
+ | padding: 3px; | ||
+ | margin: 0; | ||
+ | border-collapse: collapse; | ||
+ | width: 220px; | ||
+ | } | ||
+ | |||
+ | /* Pour le [[modèle:Autres projets]] */ | ||
+ | |||
+ | .autres-projets ul { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .autres-projets li { | ||
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | margin: 0.2em 0; | ||
+ | text-indent: 0; | ||
+ | padding-left: 24px; | ||
+ | min-height: 20px; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | .autres-projets .titre { | ||
+ | text-align: center; | ||
+ | margin: 0.2em 0; | ||
+ | } | ||
+ | |||
+ | .autres-projets li a { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
+ | /* Réduction de la hauteur de la ligne pour les balises "sup" et "sub" */ | ||
+ | |||
+ | sup, | ||
+ | sub { | ||
+ | line-height: 1em; | ||
+ | } | ||
+ | |||
+ | /* Wikimag : [[Modèle:Composition wikimag2]] */ | ||
+ | |||
+ | .wikimag_picto_fond { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/3/38/Picto_Petite_%C3%A9toile_lit_le_Wikimag.png"); | ||
+ | background-position: top right; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | |||
+ | .wikimag_titre { | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/3/31/Wikimag-bg_rounded.png"); | ||
+ | background-position: center left; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | |||
+ | /* Sommaire */ | ||
+ | |||
+ | .wikimag_toc #toc { | ||
+ | background-color: transparent; | ||
+ | border-color: #A3B6CC; | ||
+ | -moz-border-radius: 9px; | ||
+ | -webkit-border-radius: 9px; | ||
+ | border-radius: 9px; | ||
+ | background-image: url("//upload.wikimedia.org/wikipedia/commons/e/e4/Picto_Wikimag_vertical-fr.png"); | ||
+ | background-position: center right; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | |||
+ | .wikimag_toc ul { | ||
+ | font-style: italic; | ||
+ | padding-right: 16px; | ||
+ | } | ||
+ | |||
+ | /** | ||
+ | * Affichage spécifique des listes de [[Wikipédia:Regards sur l'actualité de la Wikimedia]]. | ||
+ | */ | ||
+ | |||
+ | .regards_actu { | ||
+ | margin-left: 0 !important; | ||
+ | } | ||
+ | .regards_actu li { | ||
+ | display: inline; | ||
+ | list-style-image: none; | ||
+ | list-style-type: none; | ||
+ | background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAKCAIAAAC17aDNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnElEQVQoFWP8//8/A40BC9T8Hze68vufc3GhWPftm2J4VZ6T/I+7m/IbtnKJoMh+e/PNu7rHT+EpHo1Q04D+AIFPZ/1RjIdyHCeeBUlemoFNkmHi2Xf4NYKN/s8E1czKwIvNGD5sgihiRGiE2YGij8qc4WfHZ3JDiKBGeFiximOzg5edFSzMjk1ST4qfk4EBv0aQPkZg8sKmn5piAElcQPILoXNYAAAAAElFTkSuQmCC') no-repeat right center; | ||
+ | padding: 0 36px 0 0; | ||
+ | } | ||
+ | .regards_actu li.regards_actu_last { | ||
+ | background: none; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | /** | ||
+ | * Correction de la taille du texte dans les balises "syntaxhighlight", les pages .css/.js et les modules Lua | ||
+ | * workaround pour Firefox et Chrome - voir [[bugzilla:26204]] | ||
+ | */ | ||
+ | .mw-geshi div, | ||
+ | .mw-geshi div pre, | ||
+ | .mw-geshi, | ||
+ | pre.source-css, | ||
+ | pre.source-javascript, | ||
+ | pre.source-lua { | ||
+ | font-family: monospace, "Courier New" !important; /* cet ordre des fonts est volontaire */ | ||
+ | } | ||
+ | |||
+ | /* [[Modèle:Diagramme circulaire]] */ | ||
+ | |||
+ | .transborder { | ||
+ | border: solid transparent; | ||
+ | } | ||
+ | * html .transborder { /* IE6 */ | ||
+ | border: solid #000001; | ||
+ | filter: chroma('color=#000001'); | ||
+ | } | ||
+ | |||
+ | /* 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: #ddffdd; | ||
+ | } | ||
+ | .localites th[scope=col] { | ||
+ | background-color: #ffffbb; | ||
+ | } | ||
+ | .intercommunalites th[scope=col] { | ||
+ | background-color: #ffe2bf; | ||
+ | } | ||
+ | .cantons th[scope=col] { | ||
+ | background-color: #ece5ca; | ||
+ | } | ||
+ | .arrondissements th[scope=col] { | ||
+ | background-color: #e1e1e1; | ||
+ | } | ||
+ | .departements th[scope=col] { | ||
+ | background-color: #f6f3dd; | ||
+ | } | ||
+ | .regions th[scope=col] { | ||
+ | background-color: #bbdefd; | ||
} | } |
Version du 13 mars 2013 à 04:31
/* FEUILLE DE STYLE GLOBALE */ /** * Cette page contrôle l'apparence pour toutes les skins. * Les modifications devant s'appliquer à l'apparence Monobook seulement * doivent aller dans [[MediaWiki:Monobook.css]]. * * Après chaque modification, prière de vérifier cette feuille de style * avec le valideur CSS du W3C : * http://jigsaw.w3.org/css-validator/validator?uri=http://fr.wikipedia.org/w/index.php?title=MediaWiki:Common.css%26action=raw%26ctype=text/css&usermedium=all&warning=2 */ /** * CHANGEMENT DE L'INTERFACE PAR DÉFAUT * MODIFICATIONS RÉCENTES */ /* Nombre de caractères modifiés dans les modifications récentes et la liste de suivi. */ .mw-plusminus-pos { color: #00B000; } .mw-plusminus-neg { color: #FF2050; } .mw-plusminus-null { color: #999; } /* Aspect des tags de filtrage dans les modifications récentes. */ .mw-tag-markers { font-family: sans-serif; font-style: italic; font-size: 90%; } /* Masquage du sous-titre des RC */ .mw-special-Recentchanges .mw-specialpage-summary { display: none; } /* Curseur sur les flèches de la liste de suivie améliorée et des RC */ .mw-collapsible-toggle-collapsed,.mw-collapsible-toggle-expanded { cursor:pointer; } /** * REDIRECTIONS */ /* Redirections sur [[Special:Allpages]] et [[Special:Watchlist/edit]]. */ .allpagesredirect a, .watchlistredir a { color: #0B0; } /** * HISTORIQUE ET PAGES LIÉES */ /* Révisions dans l'historique et "(← liens)" dans les pages liées. */ .history-size, .mw-whatlinkshere-tools { font-size: 80%; } /** * TITRES */ /* Affichage des coordonnées géo à côté du titre, pour tous les skins. */ #coordinates-title { font-size: 90%; margin-right: 1em; margin-top: 1em; float: right; } #coordinates-title img { vertical-align: middle } /* Décoration des titres de sous-chapitre. */ h1.firstHeading { /* bug de rendu si icône de titre ou coordonnées déplacées dans le titre */ overflow: visible; } .mw-body h1, .mw-body h2 { padding-top: 0.65em; } /* monobookocentré */ .mw-body h3 { padding-top: 0.6em; border-bottom: dotted 1px #AAA; } .mw-body h4, .mw-body h5, .mw-body h6 { padding-top: 0.55em; border-bottom: dotted 1px #DDD; } /* 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 0.5em; } /* Titres de sections modifiés par JS */ .modifiedSectionTitle .editsection { float: none; font-size: x-small; } .modifiedSectionTitle .mw-headline { margin-right: 0.3em; } .italique { font-style: italic; } .italique i { font-style: normal } /** * BALISES SOURCE, PRE, CODE * (monobookocentré) */ code { background: transparent; } 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; } /** * ABBR ET BALISE ABBR discrète */ abbr { color: inherit; } abbr.abbr { border-bottom: 0; } a abbr { cursor: inherit; } /* DFN (instance d'un terme défini) */ dfn { font-style: normal; font-weight: bold; } i > dfn { font-style: italic; } /* [[Modèle:Nobr]] */ .nowrap { white-space: nowrap; } /* Page [[Spécial:Modifications récentes]], voir [[MediaWiki:Recentchangestext]] */ .rcoptions { clear: both; margin: 0 0 2px 0; padding: 0 0.5em; border: 1px solid #DDDDF7; border-left: 10px solid #DDDDF7; background-color: #FFFFFF; } fieldset.rcoptions { padding-bottom: 0.5em; } /* Apparence de [[MediaWiki:Noarticletext]] */ div.noarticletext { background: #F9F9F9; margin-top: 1em; width: auto; padding: 5px; border: 1px solid #aaa; border-right: 2px solid #aaa; border-bottom: 2px solid #aaa; } /* Formulaire des pages d'historique */ #mw-history-search { border-color: #aaa; } /** * DAMIER SUR LES IMAGES */ /** * 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'); } /** * VERSION IMPRIMABLE */ /** * Ne pas afficher le lien complet des URL externes sur la version imprimable * (à faire manuellement, grâce à class="plainlinksneverexpand"). */ .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !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; } /* Supprimer la flèche de lien externe pour ces liens. */ .plainlinksneverexpand a { background: none !important; padding: 0 !important; } /** * TALKPAGEHEADER: message-système des sous-pages de discussion */ /* classe .fieldsetlike etc. pour permettre la réutilisation de ces styles */ #talkpageheader, .fieldsetlike { text-align: center; border: 1px solid #aaa; margin: 1em 0; padding: 0 0 0.4em 0; } #talkpageheader #talkpageheadertitle, .fieldsetlike .legendlike { margin-top: -0.8em } #talkpageheader #talkpageheadertitletext, .fieldsetlike .legendtextlike { padding: 0 8px; background: white; } #talkpageheader ul, .fieldsetlike ul { list-style-type: none; margin: 0; } #talkpageheader li, .fieldsetlike li { display: inline } #talkpageheader li { color: #707070 } /* CATEGORIES CACHEES */ #mw-hidden-catlinks { font-size: 0.85em; } /* * MODÈLES ET PERSONNALISATION * */ /* HOMONYMIE */ /* Classe servant à personnaliser l'apparence des liens vers les pages d'homonymie. */ .homonymie { padding-left: 2em; padding-bottom: .5em; margin-bottom: .5em; margin-top: -0.6em; background: white; font-style: italic; border-bottom: 1px #AAA solid; } /* ICÔNES */ /* Icônes en tête de pages pour les AdQ, les BA, etc. */ .portlet li, li.IW { list-style-image: url('//upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png'); } li.AdQ { list-style-image: url('//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png'); } li.BA { list-style-image: url('//upload.wikimedia.org/wikipedia/commons/8/86/Icone_BA.png'); } li.PdQ { list-style-image: url('//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png'); } /* Classe pour afficher un icône de haut-parleur à gauche des liens audio. Utilisé par [[Modèle:Audio]], importé de WP:en */ .audio a { background: url('//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png') center left no-repeat !important; padding-left: 16px !important; padding-right: 0 !important; } /* [[Modèle:Indication de langue]] et [[Modèle:Lien]] */ .indicateur-langue { font-family: monospace; font-weight: bold; font-size: small; font-style: normal; } /* ÉCRITURES NON LATINES */ /* Taille et famille des polices pour les écritures non-latines ; voir aussi [[modèle:Lang]]. */ /* Écriture grecque, pour les langues : grec moderne (monotonique), grec ancien (polytonique) */ :lang(grc), :lang(el) { font-family: 'Arial Unicode MS', 'DejaVu Sans', Athena, Gentium, 'Palatino Linotype', "Lucida Sans Unicode", "Lucida Grande", Code2000, sans-serif; } /* écriture thaïe, pour la langue : thaï */ :lang(th) { font-family: "Segoe UI", Tahoma, sans-serif; } /* CHIFFRES ROMAINS */ /* Affichage des chiffres romains, voir [[modèle:Rom]] ou [[modèle:Romain]]. */ .romain { text-transform: lowercase; font-variant: small-caps; } /* TAILLE DES FORMULES DE MATHS */ .texhtml { font-size: 120%; } /* ALIGNEMENT DES FORMULES DE MATH */ img.tex.center { width: auto; display: block; margin: 0 auto; } img.tex.left { display: block; margin-left: 1.6em; } /* COULEUR DES LIENS */ /* Change la couleur des liens, pour les fonds colorés sombres ; limité aux espaces de nom de discussions, projets (ns-102), portails (ns-100), pages utilisateur (ns-2), et espace Wikipédia (ns-4 : Bistro…) */ body.ns-2 .lienClair a, body.ns-4 .lienClair a, body.ns-100 .lienClair a, body.ns-102 .lienClair a, body.ns-talk .lienClair a { color: #A0A0A0; } body.ns-2 .lienClair a:hover, body.ns-4 .lienClair a:hover, body.ns-100 .lienClair a:hover, body.ns-102 .lienClair a:hover, body.ns-talk .lienClair a:hover { color: #A0A0A0; text-decoration: underline; } body.ns-2 .lienClair a:visited, body.ns-4 .lienClair a:visited, body.ns-100 .lienClair a:visited, body.ns-102 .lienClair a:visited, body.ns-talk .lienClair a:visited { color: #B9B9B9; } /* Lien vers une ébauche */ a.stub { color: #339900; } a.stub:visited { color: #336600; } /* * NOTES, RÉFÉRENCES, BIBLIOGRAPHIE * */ /* éviter une trop grande réduction de taille de caractères dans certaines configurations */ .references small { font-size: 1em !important; } /* CROCHETS */ /* Par défaut, cacher les crochets autour des notes. */ .cite_crochet { display: none; } /* Pour que « Note 1 » ne soit ni sécable, ni en gras, ni en italique */ sup.reference { font-weight: normal; font-style: normal; white-space: nowrap; } /* Interligne */ /* Éviter d'obtenir un interlignage de taille variable. */ .reference, .exposant { vertical-align: text-top; position: relative; font-size: .8em; top: -5px; } .reference-text sup { vertical-align: text-top; position: relative; font-size: 0.75em; top: -0.1em; } .reference { padding-left: 1px; } ol.references > li { text-align: left; } small.cachelinks, small.cachelinks a { color: #36B; } /* https://bugs.webkit.org/show_bug.cgi?id=14691 */ @media screen and (-webkit-min-device-pixel-ratio:0) { ol.references sup.exposant { position: static; vertical-align: super; } } /* Numérotations différentes des appels de notes */ .references-small.lower-alpha ol { list-style-type: lower-alpha; } .references-small.lower-greek ol { list-style-type: lower-greek; } .references-small.decimal ol { list-style-type: decimal; } /* MISE EN ÉVIDENCE */ /** Mise en surbrillance de la note ou de l'ouvrage de référence cliqué * pour faciliter la navigation (de en.wikipedia). */ /* Contenu de la note */ ol.references > li:target, .ouvrage:target { background: #DEF; } /* Renvoi */ sup.reference:target { background: #DEF; } /* /* RÉFÉRENCE NÉCESSAIRE */ /* Style des modèles [[modèle:Référence nécessaire]] et [[modèle:Citation nécessaire]]. */ span.need_ref { border-bottom: 1px solid #AAA; } div.need_ref { border: 1px solid #AAA; padding: .5em; } /* Référence présente */ span.ref:hover { border-bottom: 1px solid #AAA; } /* NORMES BIBLIOGRAPHIQUES */ /* 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. */ .BibList { display: block; } .WikiNorme, .BibTeX, .ISBD, .ISO690, .specialBib { display: none; } /* STYLE DE { , } ENTRE LES RÉFÉRENCES */ .cite_virgule { padding-left: 0; padding-right: 1px; } /* * BOÎTES ET MESSAGES * */ div.boite-a-droite { display: table; clear: right; float: right; margin: 1em 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 { /* identique au sommaire ou plutôt au bandeau de catégorie */ border-color: #aaa; background-color: #F9F9F9; } /*\ * * TYPES DE BOITES \*/ div.bandeau-article { display: table; margin: 8px auto 12px; width: 80%; position: relative; /* pour les images manuelles */ border-style: solid; border-width: 1px 1px 1px 10px; padding: 2px 10px; text-align: left; } div.bandeau-systeme { clear: both; display: table; margin: 8px auto; width: 92%; border-style: solid; border-width: 2px; padding: 2px 9px; text-align: left; } div.bandeau-simple { display: table; clear: both; margin: 8px 0; box-sizing: border-box; -moz-box-sizing: border-box; position: relative; /* pour les images manuelles */ border-style: solid; border-width: 1px; padding: 2px 10px; /* IE6-7, qui ne comprennent ni table ni border-box et optent donc pour un display block de 100% + paddings + borders, valorisent la deuxième ligne, qu'ils devraient ignorer */ width: 100%; width: auto !ie; } div.bandeau-discussion { display: table; margin: 0 auto 1em; width: 86%; position: relative; /* pour les images manuelles */ border-style: solid; border-width: 1px; padding: 2px 10px; text-align: left; border-radius: 10px; } div.bandeau-section { display: block; /* Pour le [[modèle: Article détaillé]] et autres */ margin: 0 0 .7em 2em; font-size: 95%; overflow: hidden; border-style: solid; border-width: 1px 0; padding: 2px 0 1px 4px; text-align: left; } /*\ * * STYLES DE BOITES \*/ /* Style des bandeaux d'articles, voir [[Wikipédia:Prise de décision/Changement de style des messages d'avertissement]] */ .bandeau-niveau-grave { border-color: #aa0044; background-color: #ffcccc; } .bandeau-niveau-modere { border-color: #ff8822; background-color: #ffeedd; } /* .bandeau-systeme.bandeau-niveau-modere { */ /* longs usages… mais pitié, évitons */ /* border-color: #FF8C00; background-color: #FAEBD7; } */ .bandeau-niveau-ebauche, .bandeau-niveau-information { border-color: #77ccff; background-color: #fbfbfb; } .bandeau-simple.bandeau-niveau-information, .bandeau-discussion.bandeau-niveau-information { /* dérive de la classe vectorbox */ border-color: #a7d7f9; background-color: #f5faff; } .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: #fdfdfd; } .bandeau { /* monobookocentré */ text-align: left; margin: 8px 10% 12px; border-style: solid; border-width: 1px 1px 1px 10px; padding: 2px 10px; } .bandeau table { background-color: transparent } .bandeau-icone { vertical-align: middle; text-align: center; min-width: 45px; padding-right: 10px; } .bandeau-titre { font-size: 1em; line-height: 1.4em; margin-bottom: 0.5em; } .bandeau-texte { font-size: 0.9em; line-height: 1.2em; } /*\ * * 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 */ .conflit-edition, .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 : …]] */ .sources, /* livre ouvert du [[modèle : Section à sourcer]] */ .important, /* triangle rouge : mise en garde */ .en-travaux, /* triangle jaune : en construction */ .incubator, .extension, /* extensions MediaWiki */ .wikispecies, .metawiki, .wikiversity, .wikipedia, .wikibooks, .wikinews, .wikiquote, .wikisource, .commons, .wikimedia, .wiktionary, .wikidata, .wikivoyage { 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/c/c7/Fairytale_bookmark_gold.png/19px-Fairytale_bookmark_gold.png"); background-position: 1px 1px; } .etoile-argent { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Fairytale_bookmark_silverstar.svg/19px-Fairytale_bookmark_silverstar.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/2/2f/Acces_interdit_access_forbidden.svg/22px-Acces_interdit_access_forbidden.svg.png"); background-position: 0 3px; } .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("https://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/8/81/Under_contruction_icon-yellow.svg/20px-Under_contruction_icon-yellow.svg.png"); background-position: 1px 2px; } .incubator { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/0/02/Incubator-notext.svg/15px-Incubator-notext.svg.png"); background-position: 3px 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/9/9f/Wiktprintable_without_text.svg/20px-Wiktprintable_without_text.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/8/8a/Wikivoyage-logo.svg/19px-Wikivoyage-logo.svg.png"); background-position: 1px 1px; } /*\ * * GROSSES ICÔNES \*/ .grosse-icone { display: table-cell; vertical-align: middle; padding-left: 60px; background-repeat: no-repeat; background-position: 3px center; text-indent: 0; /* Certaines icones ont une version « en ligne ». */ min-height: 54px; /* IE6-7, qui ne comprennent pas table-cell et optent donc pour un display block, valorisent la deuxième ligne, qu'ils devraient ignorer */ height: 54px; height: auto !ie; } .grosse-icone.etoile-or { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Fairytale_bookmark_gold.png/40px-Fairytale_bookmark_gold.png"); } .grosse-icone.etoile-argent { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Fairytale_bookmark_silverstar.svg/40px-Fairytale_bookmark_silverstar.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/6/6f/Crystal_Clear_action_lock1.png/46px-Crystal_Clear_action_lock1.png"); } .grosse-icone.semi-protection { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Crystal_Clear_action_half_lock.png/46px-Crystal_Clear_action_half_lock.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/thumb/e/e1/Fairytale_no.png/46px-Fairytale_no.png"); } /* MESSAGES D'ALERTE */ /** Styles par défaut pour les bandeaux en haut des articles. Syntaxe : * Styles décidés suite à [[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 { /* monobookocentré */ padding: .11em; background: #FFD; margin-bottom: .4em; font-style: italic; } /* Classe supplémentaire pour les alertes graves. */ .grave { border: 1px solid #F96; } /* monobookocentré */ /* MESSAGEBOX */ /** Styles des « messagebox » standard. Utilisation : * * class="messagebox" : voir [[modèle:Messagebox]]. * * class="messagebox standard-talk" pour les bandeaux en page de discussion des aricles (exemple : [[modèle:Traduit de]]) */ .messagebox { /* monobookocentré */ border: 1px solid #AAA; background: #F9F9F9; width: 80%; margin: 0 auto 1em auto; padding: .2em; text-align: justify; } .messagebox.standard-talk { /* monobookocentré */ border: 1px solid #C0C090; background: #F8EABA; } .vectorbox { width: 85%; background: #f5faff; border: 1px solid #a7d7f9; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; margin: 0 auto 1em auto; /* centre la box */ } /* BANDEAUX DE PORTAIL */ /* 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 portails et Modèle:Portail */ #bandeau-portail { border: solid #AAAAAA 1px; padding: 4px; background-color: #F9F9F9; text-align: center; margin-top: 1em; margin-left: 0; clear: both; } #liste-portail { padding: 4px; margin-left: 0; clear: both; } #liste-portail li { display: inline } #bandeau-portail li { display: inline; } .bandeau-portail-element { white-space: nowrap; margin: auto 1.5em; } .bandeau-portail-icone { margin-right: 0.5em; } .bandeau-portail-texte { font-weight: bold; } /* BOÎTES POUR EXEMPLES */ /* Boîtes utiles sur les pages d'aide. Voir par exemple [[Aide:Note#Notes à appel unique]]. */ .exemple { margin: .5em; padding: .5em; border: dashed 1px #ADD8E6; background: #FFF; } /* BOÎTES D'AVANCEMENT */ /* Pour les boites d'avancement, voir [[modèle:Avancement]]. */ .avance_boite { position: relative; margin: 0; padding: 0; width: 100px; height: 16px; background: #D3D3D3; border: solid 1px gray; } .avance_barre { position: relative; margin: 0; padding: 0; height: 100%; background: #A0A0FF; border: 0; vertical-align: middle; } .avance_texte { position: absolute; top: 50%; left: 0; width: 100px; height: 100%; padding: 0; border: 0; margin: 0; margin-top: -0.5em; text-align: center; font-size: 14px; line-height: 1em; } /* MESSAGES SYSTÈME */ /** 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]]. * */ /* Bandeau jaune / rouge en cas de retard de la base de données. */ div.mw-lag-warn-normal, div.mw-lag-warn-high { text-align: left !important; width: 50% !important; } /* 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: #FAEBD7; border: 2px solid #FF8C00; } /* Boîtes à outils */ .mw-toolbox { /* monobookocentré */ font-size: 90%; background: #F8F8F8; border: 1px solid #B8B8B8; padding: .25em 1em .25em 1em; clear: both; } /* BOÎTES DÉROULANTES */ /* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */ div.NavFrame { margin: 0; padding: 2px; border: 1px #AAA; text-align: center; border-collapse: collapse; font-size: 95%; } /* monobookocentré début */ div.NavFrame + div.NavFrame { border-top-style: hidden } div.NavPic { background: #FFF; margin: 0; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background: #EFEFEF; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } /* monobookocentré fin */ /* Styles de [[Modèle:Méta palette de navigation]] */ table.navbox { background: #F9F9F9; border: 1px solid #AAA; clear: both; font-size: 90%; margin: 1em 0 0; padding: 2px; text-align: center; width: 100%; } table.navbox th { background: #CCF; padding-left: 1em; padding-right: 1em; } table.navbox td.group { background: #DDF; vertical-align: middle; width: 150px; padding-left: 1em; padding-right: 1em; font-weight: bold; } table.navbox td.list { text-align: left } table.navbox td.even { background: #EEF } table.navbox td.banner { background: #DDF; vertical-align: middle; padding-left: 1em; padding-right: 1em; } /* Modèle de palettes groupées, [[Modèle:Palette]] */ div.navbox_group { border: 1px solid #aaaaaa; margin-top: 15px; } div.navbox_group 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:Animation]] */ .diaporamaControl img { background-color: white; border: 1px solid #DDDDDD; } .diaporamaControl .ScrollBar { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Round_Edge.png/5px-Round_Edge.png"); background-position: top; background-repeat: repeat-x; } .diaporamaControl .ScrollBarContainer { background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Round_Edge_bis.png/5px-Round_Edge_bis.png"); background-position: top; background-repeat: repeat-x; } .diaporama .magnify { display: none; } .diaporama select { font-size: 12px; } /* Fin styles pour [[Modèle:Animation]] */ /* * TABLEAUX ET INFOBOX * */ /* WIKITABLE */ /* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */ /* Tableaux selon la charte graphique. Ils sont centrés par défaut. */ table.wikitable th, table.wikitable td { padding: 0.3em; } .wikitable th[scope=row] { text-align: left; } /** 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, ou en précisant style="float:none" * dans l'en-tête 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; } /* ALTERNANCE */ /** Classes permettant d'alterner les couleurs de ligne * dans les tableaux selon le nombre de lignes d'en-tête : *.alternance si nombre impair *.alternance2 si nombre pair. * *.odd est un be kind to IE<9 qui n'implémente pas * le sélecteur :nth-child, appliquée via Common.js * *.sortable : les tableaux triables nécessitent d'inverser * l'alternance. */ .alternance, .alternance2 { border-collapse: collapse; } table.alternance > * > tr > th, table.alternance2 > * > tr > th { background: #e6e6e6; } .alternance tr, .alternance th[scope="row"] { background: #fcfcfc; } .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: #eeeeee; } .alternance .odd, .alternance .odd th[scope="row"] { /* be kind to IE<9 */ background: #eeeeee; } .alternance2 tr, .alternance2 th[scope="row"] { background: #eeeeee; } .alternance2 tr:nth-child(odd), .alternance2 tr:nth-child(odd) th[scope="row"] { background: #fcfcfc; } .alternance2 .odd, .alternance2 .odd th[scope="row"] { /* be kind to IE<9 */ background: #fcfcfc; } /* INFOBOX */ /** Style commun aux infobox ; utiliser : * * class="infobox" dans l'en-tête. * * class="infoboximage" pour l'image et sa description * * class="infoboxsoustitre" pour le sous-titre. * Voir [[Aide:Infobox]] et [[Projet:InfoBox]]. */ .infobox { background: #EEE; /* couleur correspondant aux titres / colonne de gauche, th */ color: #000; float: right; clear: right; font-size: 95%; border-collapse: collapse; margin: 0 0 .5em 1em; width: 250px; } /* monobookocentré debut */ .infobox caption { background: #C0C0C0; border-left: 1px solid #AAA; border-top: 1px solid #AAA; border-right: 1px solid #AAA; padding: .2em; margin-left: .57em; font-weight: bolder; text-align: center; color: #FFF; font-size: 160%; } .infobox th, .infobox td { vertical-align: middle; border: 1px solid #AAA; padding: .2em .2em .2em .5em; } .infobox td { text-align: center; background: #F9F9F9; } .infobox th { font-weight: normal; text-align: left; } .infobox .infoboximage { /* emplacement pour les photos et une description */ background: #FFF; padding: 0; margin-top: 0; color: #000; text-align: center; } .infobox .infoboxsoustitre { /* sous-titre */ color: #000; font-weight: bold; font-size: 115%; line-height: 2; text-align: center; } .infobox dl { clear: both } .infobox dt { float: left; clear: left; width: 35%; } .infobox dd { margin-left: 40% } /* monobookocentré fin */ /* TREEVIEW */ /** * Styles pour listes imbriqués formant une arborescence, * En particulier utilisés dans le [[modèle : Arbre début]] */ .treeview ul { padding: 0; margin: 0; } .treeview li { padding: 0; margin: 0; list-style-type: none; list-style-image: none; zoom: 1; /* BE KIND TO IE6 */ } .treeview li li { background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px; padding-left: 20px; text-indent: 0.3em; } .treeview li li.lastline { background-position: 0 -5971px } .treeview li.emptyline > ul { margin-left: -1px; } .treeview li.emptyline > ul > li:first-child { background-position: 0 9px } /* * PAGES PARTICULIÈRES * */ /* Boîte Special:Userlogin */ form#userlogin { padding: 1em 1em .7em 1em; background: #FFFFE6; border: 2px solid #FC6; color: #000; margin-right: 2em; } .mw-special-Userlogin #mw-content-text #userlogin { width:45%; float:left; background:#EFF2FF; } .mw-special-Userlogin form#userlogin2 .captcha { background: #FFFFFF; padding: 5px; } .mw-special-Userlogin #mw-content-text #signupend { margin-left:50%; } .mw-special-Userlogin input[type=submit] { display: inline-block; padding: 0.4065em 1.2195em 0.4065em; font: bold 1em Arial, sans-serif; line-height: 1; color: #3366BB; text-align: center; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); cursor: pointer; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #3366bb; background-image: -ms-linear-gradient(top, #3670c8, #3366bb); background-image: -moz-linear-gradient(top, #3670c8, #3366bb); background-image: linear-gradient(#3670c8, #3366bb); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3670c8), color-stop(100%, #3366bb)); background-image: -webkit-linear-gradient(top, #3670c8, #3366bb); border: 1px #33589f solid; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#3670c8', endColorstr='#3366bb', GradientType=0)"; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#3670c8', endColorstr='#3366bb', GradientType=0); } .mw-special-Userlogin input[type=submit]:hover { background-color: #3f77d7; background-image: -moz-linear-gradient(top, #4c84da, #3f77d7); background-image: -ms-linear-gradient(top, #4c84da, #3f77d7); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4c84da), color-stop(100%, #3f77d7)); background-image: -webkit-linear-gradient(top, #4c84da, #3f77d7); background-image: linear-gradient(#4c84da, #3f77d7); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c84da', endColorstr='#3f77d7', GradientType=0)"; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#4c84da', endColorstr='#3f77d7', GradientType=0); } .mw-special-Userlogin input[type=submit]:active { background-color: #2a549c; background-image: -moz-linear-gradient(top, #2d5ea9, #2a549c); background-image: -ms-linear-gradient(top, #2d5ea9, #2a549c); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d5ea9), color-stop(100%, #2a549c)); background-image: -webkit-linear-gradient(top, #2d5ea9, #2a549c); background-image: linear-gradient(#2d5ea9, #2a549c); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#2d5ea9', endColorstr='#2a549c', GradientType=0)"; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2d5ea9', endColorstr='#2a549c', GradientType=0); } /* monobookocentré */ form#userlogin table { background: #ffffe6; color: #000; } /* monobookocentré */ /* ACCUEILS */ /* ACCUEIL PRINCIPAL */ /* Fond blanc de l'accueil principal */ body.page-Wikipédia_Accueil_principal #content { background-color: white; } body.page-Wikipédia_Accueil_principal #p-cactions li a { background-color: white; } /* Retire le nom de la page d'accueil */ body.action-view.page-Wikipédia_Accueil_principal #firstHeading { position: absolute; top: -5000px; } /* bandeau accueil */ #interwiki-listecomplete { font-weight: bold; } body.page-Wikipédia_Accueil_principal .wbc-editpage { display: none; } #accueil_titre { margin-top: 1.5em; } /* monobookocentré */ /* ACCUEIL DE LA COMMUNAUTÉ */ /* Fond blanc de l'accueil de la communauté */ body.page-Wikipédia_Accueil_de_la_communauté #content { background-color: white; } body.page-Wikipédia_Accueil_de_la_communauté #p-cactions li a { background-color: white; } /* DIVERS */ .globegris { background-image: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png"); } .assistant { background-image: url("//upload.wikimedia.org/wikipedia/commons/6/67/Nuvola_apps_khelpcenter_25%25.png"); } .headergris { /* monobookocentré */ 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 #a3b0bf; text-align: left; color: #000; padding: .15em .4em; } .cadregris { /* monobookocentré */ border: 1px solid #AAA; background: #fcfcfc; vertical-align: top; padding: 7px; margin-bottom: .6em; } .accueil_cadre_lien { /* monobookocentré */ text-align: right; margin-right: .5em; font-size: xx-small; } /* MODÈLES DE COORDONNÉES */ /** Voir [[Modèle:Coord]] pour l'utilité de ces classes. * Notez que les classes "geo", "longitude", et "latitude" ne sont pas simplement des styles * mais servent aussi à l'export au Geo microformat, il ne faut pas les renommer. */ .geo {} .geo-default { display: inline; } .geo-nondefault { display: none; } .geo-dms { display: inline; } .geo-dec { display: inline; } .geo-multi-punct { display: none; } .longitude .latitude { white-space: nowrap; } /* TRACÉ DE LIGNES FERROVIAIRES ([[Modèle:3voies]] et cie) */ .tablelignesferroviaires td { white-space: nowrap; } /** * Infobox V2 * Voir : [[Utilisateur:Antaya/Infobox V2]] */ .infobox_v2 { /* monobookocentré debut */ background: #f9f9f9; color: #000; font-size: 90%; line-height: 1.1em; float: right; clear: right; /* haut droite bas gauche */ margin: 0 0 .5em 1em; width: 300px; border: 1px solid #aaa; padding: 0.1em; } .infobox_v2 th { vertical-align: super; text-align: left; } .infobox_v2 .entete { height: 45px; vertical-align: middle; text-align: center; font-size: 150%; font-weight: bolder; line-height: 1.2em; color: #000; } .infobox_v2 .media { /* css V2 pour [[Modèle: Son]], etc. */ height: 35px; vertical-align: middle; text-align: center; font-weight: bolder; color: #000; } /* graphiques transparents d'entêtes des infobox V2 */ .entete.defaut {} .entete.aerostat { background: url("//upload.wikimedia.org/wikipedia/commons/7/7e/Picto_infobox_aerostat.png") no-repeat top right; } .entete.artiste { background: url("//upload.wikimedia.org/wikipedia/commons/f/f3/Picto_infobox_artiste.png") no-repeat top right; } .entete.artsmartiauxjap { background: url("//upload.wikimedia.org/wikipedia/commons/8/81/Picto_infobox_samourai.png") no-repeat top right; } .entete.association { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Collaboration_logo_infobox.svg/50px-Collaboration_logo_infobox.svg.png") no-repeat top right; } .entete.athletisme { background: url("//upload.wikimedia.org/wikipedia/commons/9/99/Picto_Infobox_Athletisme.png") no-repeat top right; } .entete.auteur { background: url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png") no-repeat top right; } .entete.basket-ball { background: url("//upload.wikimedia.org/wikipedia/commons/f/f4/Picto_Infobox_Basketball.png") no-repeat top right; } .entete.bd { background: url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right; } .entete.biere { background: url("//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png") no-repeat top right; } .entete.canada { background: url("//upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png") no-repeat top right; } .entete.calendrier { background: url("//upload.wikimedia.org/wikipedia/commons/4/4a/Almanacco.png") no-repeat top right; } .entete.cardinal { background: url("//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_cardinal.png") no-repeat top right; } .entete.chateau { background: url("//upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png") no-repeat top right; } .entete.catch { background: url("//upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_catch.png") no-repeat top right; } .entete.cinema { background: url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png") no-repeat top right; } .entete.communication { background: url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png") no-repeat top right; } .entete.cyclisme { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/86/Cycling_%28road%29_pictogram.svg/45px-Cycling_%28road%29_pictogram.svg.png") no-repeat top right; } .entete.deportation { background: url("//upload.wikimedia.org/wikipedia/commons/e/e0/Picto_Infobox_deportation.png") no-repeat top right; } .entete.disney { background: url("//upload.wikimedia.org/wikipedia/commons/d/d3/Picto_infobox_Disney.png") no-repeat top right; } .entete.egypte-antique { background: url("//upload.wikimedia.org/wikipedia/commons/c/cc/Picto_infobox_ancient_Egypt.png") no-repeat top right; } .entete.eveque { background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_bishop.png") no-repeat top right; } .entete.football { background: url("//upload.wikimedia.org/wikipedia/commons/f/f8/Infobox_Football_pictogram.png") no-repeat top right; } .entete.footballblack { background: url("//upload.wikimedia.org/wikipedia/commons/8/86/Picto_infobox_fotbal_2.png") no-repeat top right; } .entete.grappe { background: url("//upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png") no-repeat top right; } .entete.gymnastique { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/12/Gymnastics_%28artistic%29_pictogram.svg/35px-Gymnastics_%28artistic%29_pictogram.svg.png") no-repeat top right; } .entete.helicoptere { background: url("//upload.wikimedia.org/wikipedia/commons/f/fa/Picto_infobox_helicopter.png") no-repeat top right; } .entete.hockey { background: url("//upload.wikimedia.org/wikipedia/commons/e/ee/Picto_Infobox_Ice_hockey.png") no-repeat top right; } .entete.hockey-sur-gazon { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Field_hockey_pictogram.svg/35px-Field_hockey_pictogram.svg.png") no-repeat top right; } .entete.humain { background: url("//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png") no-repeat top right; } .entete.informatique { background: url("//upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png") no-repeat top right; } .entete.israel-judaisme { background: url("//upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_israel-judaisme.png") no-repeat top right; } .entete.jeu { background: url("//upload.wikimedia.org/wikipedia/commons/9/90/Picto_infobox_Game.png") no-repeat top right; } .entete.jeu-role { background: url("//upload.wikimedia.org/wikipedia/commons/d/d8/Picto_infobox_Jeu_de_rôle.png") no-repeat top right; } .entete.jeuvideo { background: url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png") no-repeat bottom right; } .entete.macintosh { background: url("//upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_Macintosh.png") no-repeat top right; } .entete.map { background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png") no-repeat top right; } .entete.medecine { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png") no-repeat top right; } .entete.mets { background: url("//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png") no-repeat top right; } .entete.montreal-metro { background: url("//upload.wikimedia.org/wikipedia/fr/b/ba/Picto_infobox_Mtl_metro.png") no-repeat top right; } .entete.montreal-train { background: url("//upload.wikimedia.org/wikipedia/fr/9/99/Picto_infobox_Mtl_train.png") no-repeat top right; } .entete.moteur-avion { background: url("//upload.wikimedia.org/wikipedia/commons/9/9c/Picto_Infobox_moteur_d%27avion.png") no-repeat top right; } .entete.musee { background: url("//upload.wikimedia.org/wikipedia/commons/a/ac/Infobox_museum_pictogram.png") no-repeat top right; } .entete.musique { background: url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png") no-repeat top right; } .entete.papyrus { background: url("//upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_papyrus.png") no-repeat top right; } .entete.paralympique { background: url("//upload.wikimedia.org/wikipedia/commons/5/5e/Picto_infobox_Paralympics.png") no-repeat top right; } .entete.persofiction { background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png") no-repeat top right; } .entete.planeur { background: url("//upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_planeur.png") no-repeat top right; } .entete.pretendant { background: url("//upload.wikimedia.org/wikipedia/commons/5/5f/Picto_infobox_pr%C3%A9tendant_%C3%A0_un_tr%C3%B4ne.png") no-repeat top right; } .entete.presse { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_journal.png") no-repeat top right; } .entete.projet { background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png") no-repeat top right; } .entete.quebec { background: url("//upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png") no-repeat top right; } .entete.recherche { background: url("//upload.wikimedia.org/wikipedia/commons/c/c1/Picto_infobox_detective.png") no-repeat top right; } .entete.rome-antique { background: url("//upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_Roman_millitary_banner.png") no-repeat top right; } .entete.route { background: url("//upload.wikimedia.org/wikipedia/commons/e/e7/Infobox_road_pictogram.png") no-repeat top right; } .entete.rugby { background: url("//upload.wikimedia.org/wikipedia/commons/0/06/Picto_Infobox_Rugby.png") no-repeat top right; } .entete.rugbyblack { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Rugby_union_pictogram.svg/35px-Rugby_union_pictogram.svg.png") no-repeat top right; } .entete.science-fiction { background: url("//upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png") no-repeat top right; } .entete.sport { background: url("//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png") no-repeat top right; } .entete.sport-automobile { background: url("//upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png") no-repeat top right; } .entete.television { background: url("//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png") no-repeat top right; } .entete.tennis { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/85/Tennis_pictogram.svg/35px-Tennis_pictogram.svg.png") no-repeat top right; } .entete.tennis-de-table { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Table_tennis_pictogram_white.svg/40px-Table_tennis_pictogram_white.svg.png") no-repeat top right; } .entete.tennis-de-tableblack { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/85/Table_tennis_pictogram.svg/35px-Table_tennis_pictogram.svg.png") no-repeat top right; } .entete.timbre { background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_Stamps.png") no-repeat top right; } .entete.train { background: url("//upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_train.png") no-repeat top right; } .entete.union-europeenne { background: url("//upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png") no-repeat top right; } .entete.universite { background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png") no-repeat top right; } .media.audio { background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left; } .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 top left; } /* Pour le [[modèle : Infobox/Géolocalisation multiple]] et le [[modèle : Géolocdual]] */ .img_toogle ul { list-style-type: none !important; list-style-image: none !important; list-style-position: outside !important; text-align: center; } /* Fin de la phase de test Infobox V2 */ /* monobookocentré fin */ /* infobox_V3 */ /* Entête */ div.infobox_v3 { padding: 5px; width: 25em; background: #F9F9F9; border: 1px solid #AAA; clear: right; float: right; font-size: 0.9em; line-height: 1.4em; margin: 0 0 0.5em 1em; max-width: 325px; word-wrap: break-word; } .infobox_v3 th[scope="row"] { max-width: 140px; word-wrap: normal; } .infobox_v3 th[scope="col"] { text-align: center !important; word-wrap: normal; } .infobox_v3 .entete { font-weight: bold; text-align: center; font-size: 1.4em; line-height: 1.1em; margin: 0 0 10px 0; padding: 3px 0; background-color: #DFEDFF; border: 2px solid #DFEDFF; } .infobox_v3 .entete.icon { padding: 13px 50px 12px 50px; background-position: right center !important; border: 0; } .infobox_v3.large .entete.icon { padding: 13px 10px 12px 10px; } /* tumb */ .infobox_v3 .thumbimage { border: none; max-width: 99%; height: auto !important; } .infobox_v3 .thumbinner { background-color: transparent; border: none; padding: 0 !important; } .infobox_v3 .thumb, .infobox_v3 .thumbinner { display: inline; } .infobox_v3 .thumbcaption { display: none; } .infobox_v3 .legend { font-size: 0.9em; text-align: center; margin: 5px 0 8px 0; } .infobox_v3 .image2 { text-align: center; padding: 5px 0; } .infobox_v3 .image2 div.thumb { display: inline-block; float: none; margin: 0; vertical-align: middle; } /* tableaux */ .infobox_v3 table { width: 100%; margin: 5px 0; table-layout: fixed; border-collapse: collapse; } .infobox_v3 th[scope=col].double { text-align: left; } .infobox_v3 th[scope=row] { text-align: left; vertical-align: super; padding-right: 10px; /* width: 30%; */ width: 8em; } .infobox_v3 th[scope=row], .infobox_v3 td { padding-top: 4px; vertical-align: super; } .infobox_v3 th[scope=row].middle { vertical-align: middle; } .infobox_v3.bordered th[scope=row], .infobox_v3.bordered td { padding-bottom: 4px; border-top: 1px solid #DFEDFF; } .infobox_v3.bordered caption.bordered { margin: 0 0 -1px 0; } .infobox_v3 td.data { text-align: center; } /* titres bloc et caption tableaux */ .infobox_v3 p.bloc, .infobox_v3 p.bordered, .infobox_v3 caption { font-weight: bold; text-align: center; line-height: 1.1em; margin: 0 0 5px 0; padding: 4px 10px 4px 5px; } .infobox_v3 caption, .infobox_v3 p.bloc { background: #DFEDFF; } .infobox_v3 p.bloc { margin: 5px 0; } .infobox_v3 caption.bordered, .infobox_v3 p.bordered { border-top: 1px solid #DFEDFF; border-bottom: 1px solid #DFEDFF; background: transparent; } /* TODO : mettre à jour la classe .hidden générique */ .infobox_v3 caption.hidden { margin: 0 !important; padding: 0 !important; line-height: 1px; /* be kind to IE7*/ font-size: 1px; /* be kind to IE7*/ } /* Séparateur */ .infobox_v3 .hr { font-size: 1px; line-height: 1px; margin: 5px 0; background-color: #DFEDFF; } .infobox_v3 .hr.collapse { margin: 5px 0 -8px 0; position: relative; /* be kind to IE7*/ } /* tnavbar */ .infobox_v3 .navbar { text-align: right !important; font-size: 0.8em; margin: 0; } .infobox_v3 .navbar .plainlinks { float: left } /* navigateur */ .infobox_v3 .overflow { overflow: hidden; } .infobox_v3 .bordered.nav, .infobox_v3 .bordered.navbar { border-bottom: 0 !important; font-weight: normal !important; } .infobox_v3 .prev a, .infobox_v3 .prev_bloc { background: url("//upload.wikimedia.org/wikipedia/commons/1/13/Arr_l.png") no-repeat left 0.1em; float: left; max-width: 40%; padding: 0 0 0 16px; } .infobox_v3 .next a, .infobox_v3 .next_bloc { background: url("//upload.wikimedia.org/wikipedia/commons/a/ad/Arr_r.png") no-repeat right 0.1em; float: right; max-width: 40%; padding: 0 16px 0 0; text-align: right; } /* Divers */ #article .infobox_v3 ul, #bodyContent .infobox_v3 ul, #mw_content .infobox_v3 ul, #article .infobox_v3 ol, #bodyContent .infobox_v3 ol, #mw_content .infobox_v3 ol { text-align: left; } /* Taxobox V3 */ /* cf. [[Utilisateur:Hexasoft/Taxobox code V3]] */ /* - cette partie concerne le style global - */ /* restaure la taille de fonte par défaut */ .taxobox_v3 { font-size: 0.99em !important; padding: 1px; /* -> reduction du padding : par défaut 5px */ } .taxobox_v3 .entete.icon { padding: 5px 50px 4px 50px; background-position: right center !important; border: 0; } .taxobox_v3.large .entete.icon { padding: 5px 10px 4px 10px; } /* 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; } /* - cette partie concerne le style des couleurs uniquement (selon le règne) - */ /* couleurs "animal" (titre, sections) */ div.taxobox_v3.animal .entete { background-color: LightSalmon; border: 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; border: 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; border: 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; border: #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; border: 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; border: darkgray; } .taxobox_v3.archaea caption, .taxobox_v3.archaea p.bloc { background-color: lightgray; } /* couleur "bactérie" (titre, sections) */ div.taxobox_v3.bacterie .entete { background-color: lightgrey; border: lightgrey; } .taxobox_v3.bacterie caption, .taxobox_v3.bacterie p.bloc { background-color: #E6E6E6; } /* couleur "protiste" (titre, sections) */ div.taxobox_v3.protiste .entete { background-color: khaki; border: 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; border: #D1D1F9; } .taxobox_v3.virus caption, .taxobox_v3.virus p.bloc { background-color: Lavender; } /* couleur "neutre" (titre, sections) */ div.taxobox_v3.neutre .entete { background-color: #EEEEEE; border: #EEEEEE; } .taxobox_v3.neutre caption, .taxobox_v3.neutre p.bloc { background-color: #EEEEEE; } /* couleur "eucaryote" (titre, sections) */ div.taxobox_v3.eucaryote .entete { background-color: lightgrey; border: lightgrey; } .taxobox_v3.eucaryote caption, .taxobox_v3.eucaryote p.bloc { background-color: #E6E6E6; } /* couleur "procaryote" (titre, sections) */ div.taxobox_v3.procaryote .entete { background-color: lightgrey; border: lightgrey; } .taxobox_v3.procaryote caption, .taxobox_v3.procaryote p.bloc { background-color: #E6E6E6; } /* TODO: les autres "règnes" sont à ajouter */ /* - cette partie concerne le style typographique uniquement (selon le règne) - */ /* style typographique : zoologie ou rien (botanique) */ div.taxobox_v3 .taxobox_classification { font-style: italic; } div.taxobox_v3 .taxobox_classification .rnormal { font-style: normal; } div.taxobox_v3.zoologie .taxobox_classification .normal, div.taxobox_v3 th[scope="row"] { font-style: normal; } /* - icones specifiques taxobox. Images non définitives - */ /* - pictogrammes génériques (« règnes ») - */ /* .entete.animal {background: url("//upload.wikimedia.org/wikipedia/commons/d/da/Infobox_animalia.png") no-repeat top right;} .entete.virus {background: url("//upload.wikimedia.org/wikipedia/commons/d/dc/Picto_infobox_virus.png") no-repeat top right;} .entete.plante {background: url("//upload.wikimedia.org/wikipedia/commons/7/79/Infobox_plantae.png") no-repeat top right;} .entete.bacterie {background: url("//upload.wikimedia.org/wikipedia/commons/5/51/Picto_infobox_bacterium.PNG") no-repeat top right;} .entete.champignon {background: url("//upload.wikimedia.org/wikipedia/commons/b/b9/Picto_Mushroom.png") no-repeat top right;} .entete.test {background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png") no-repeat top right;} */ /* pictogrammes spécifiques (« sous-règnes ») - */ /* .entete.amphibien {background: url("//upload.wikimedia.org/wikipedia/commons/6/63/Picto_amphibia.png") no-repeat top right;} .entete.reptile {background: url("//upload.wikimedia.org/wikipedia/commons/7/7c/Picto_infobox_reptile.png") no-repeat top right;} .entete.cladotest {background: url("//upload.wikimedia.org/wikipedia/commons/3/3b/Infobox_cladogram.png") no-repeat top right;} */ /* - version distincte de "alternance", afin d'être indépendant des choix fait par ailleurs et de pouvoir modifier à volonté l'aspect - */ table.taxoalternance tr, .taxoalternance.wikitable th[scope="row"] { background: #fff; } table.taxoalternance tr:nth-child(odd), .taxoalternance.wikitable tr:nth-child(odd) th[scope="row"] { background: #F5F5F5; } table.taxoalternance tr.odd, table.taxoalternance.wikitable tr.odd th[scope="row"] { background: #F5F5F5; } /* 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. Note : les effets en PNG ne sont pas résolus par IE6 et moins. Dernière mise à jour : 4 février 2010 */ /* Ombragé, fond transparent (png) */ .degrade { background-image: url("//upload.wikimedia.org/wikipedia/commons/f/fb/Gradient_43px.png"); background-position: top; 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; } /* Ombragé, gris fond blanc (jpg) */ .ombre { background-image: url("//upload.wikimedia.org/wikipedia/commons/e/ea/BGblue1_phixr.jpg"); background-position: top; background-repeat: repeat-x; } .ombre_pale { background-image: url("//upload.wikimedia.org/wikipedia/commons/0/06/BGblue2_phixr.jpg"); background-position: top; background-repeat: repeat-x; } /* Coloré, bleu/rouge fond blanc (jpg) */ .ombre_bl { background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3e/BGblue1.jpg"); background-position: top; background-repeat: repeat-x; } .ombre_blpale { background-image: url("//upload.wikimedia.org/wikipedia/commons/f/f7/BGblue2.jpg"); background-position: top; background-repeat: repeat-x; } .ombre_rg { background-image: url("//upload.wikimedia.org/wikipedia/commons/3/30/BGred1.jpg"); background-position: top; background-repeat: repeat-x; } .ombre_rgpale { background-image: url("//upload.wikimedia.org/wikipedia/commons/8/8f/BGred2.jpg"); background-position: top; background-repeat: repeat-x; } /* 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; } /* Bandeau de titres du [[portail : Cinéma]] (page [[Portail:Cinéma/Divers]]) */ .cinema-bandeau { background-image: url("//upload.wikimedia.org/wikipedia/commons/6/68/Bandeau_portail_cin%C3%A9ma.png"); background-position : left; height: 35px; background-repeat: no-repeat; } /* Géolocalisation dynamique */ .NavContent .img_toogle { zoom: 1; /* be kind to IE7 */ clear: both; /* be kind to IE7 */ } .img_toogle, .img_toogle * { margin: 0 auto !important; padding: 0 !important; } .img_toogle .a_toogle { display: block; text-align: center !important; font-size: 0.95em; } .img_toogle .geobox { position: relative } .img_toogle .geobox +.geobox { border-top: 5px solid #aaa } .img_toogle .geopoint { position: absolute; width: 5px; height: 5px; font-size: 1px; border: 1px solid #000; background: #F00; } /* Gallery */ /* Retour au centrage par défaut des galeries */ ul.gallery { margin: 2px auto; text-align: center; } div.gallerytext { text-align: left; font-size: 89%; } /* Modèle:Images */ .ImageGroup .thumbinner { margin: 0 auto; } /* Be kind to IE6, formulaire d'édition */ #editpage-copywarn { zoom: 1; } /* Affichage du [[Projet:Impression]] */ #listeImprimeurs { text-align: left; background: white; display: none; position: absolute; left: 66%; padding: 0; margin: 0; border-collapse: collapse; } #listeImprimeurs table { border: 0 solid #AAA; padding: 0; margin: 0; border-collapse: collapse; } #listeImprimeurs table tr { padding: 0; margin: 0; } #listeImprimeurs table tr td { border: 1px solid #AAA; padding: 3px; margin: 0; border-collapse: collapse; width: 220px; } /* Pour le [[modèle:Autres projets]] */ .autres-projets ul { margin: 0; padding: 0; } .autres-projets li { list-style-type: none; list-style-image: none; margin: 0.2em 0; text-indent: 0; padding-left: 24px; min-height: 20px; text-align: left; } .autres-projets .titre { text-align: center; margin: 0.2em 0; } .autres-projets li a { font-style: italic; } /* 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; } /* Réduction de la hauteur de la ligne pour les balises "sup" et "sub" */ sup, sub { line-height: 1em; } /* Wikimag : [[Modèle:Composition wikimag2]] */ .wikimag_picto_fond { background-image: url("//upload.wikimedia.org/wikipedia/commons/3/38/Picto_Petite_%C3%A9toile_lit_le_Wikimag.png"); background-position: top right; background-repeat: no-repeat; } .wikimag_titre { background-image: url("//upload.wikimedia.org/wikipedia/commons/3/31/Wikimag-bg_rounded.png"); background-position: center left; background-repeat: no-repeat; } /* Sommaire */ .wikimag_toc #toc { background-color: transparent; border-color: #A3B6CC; -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; background-image: url("//upload.wikimedia.org/wikipedia/commons/e/e4/Picto_Wikimag_vertical-fr.png"); background-position: center right; background-repeat: no-repeat; } .wikimag_toc ul { font-style: italic; padding-right: 16px; } /** * Affichage spécifique des listes de [[Wikipédia:Regards sur l'actualité de la Wikimedia]]. */ .regards_actu { margin-left: 0 !important; } .regards_actu li { display: inline; list-style-image: none; list-style-type: none; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAKCAIAAAC17aDNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnElEQVQoFWP8//8/A40BC9T8Hze68vufc3GhWPftm2J4VZ6T/I+7m/IbtnKJoMh+e/PNu7rHT+EpHo1Q04D+AIFPZ/1RjIdyHCeeBUlemoFNkmHi2Xf4NYKN/s8E1czKwIvNGD5sgihiRGiE2YGij8qc4WfHZ3JDiKBGeFiximOzg5edFSzMjk1ST4qfk4EBv0aQPkZg8sKmn5piAElcQPILoXNYAAAAAElFTkSuQmCC') no-repeat right center; padding: 0 36px 0 0; } .regards_actu li.regards_actu_last { background: none; padding: 0; } /** * Correction de la taille du texte dans les balises "syntaxhighlight", les pages .css/.js et les modules Lua * workaround pour Firefox et Chrome - voir [[bugzilla:26204]] */ .mw-geshi div, .mw-geshi div pre, .mw-geshi, pre.source-css, pre.source-javascript, pre.source-lua { font-family: monospace, "Courier New" !important; /* cet ordre des fonts est volontaire */ } /* [[Modèle:Diagramme circulaire]] */ .transborder { border: solid transparent; } * html .transborder { /* IE6 */ border: solid #000001; filter: chroma('color=#000001'); } /* 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: #ddffdd; } .localites th[scope=col] { background-color: #ffffbb; } .intercommunalites th[scope=col] { background-color: #ffe2bf; } .cantons th[scope=col] { background-color: #ece5ca; } .arrondissements th[scope=col] { background-color: #e1e1e1; } .departements th[scope=col] { background-color: #f6f3dd; } .regions th[scope=col] { background-color: #bbdefd; }