Différences entre les versions de « MediaWiki:Common.css »
Aller à la navigation
Aller à la recherche
Ligne 60 : | Ligne 60 : | ||
padding: 0.2em 0.5em 0.1em 0; | padding: 0.2em 0.5em 0.1em 0; | ||
margin: 0.3em 0 0.7em 2em; | margin: 0.3em 0 0.7em 2em; | ||
+ | } | ||
+ | |||
+ | /***** Infobox *****/ | ||
+ | |||
+ | .infobox_v2 { | ||
+ | background: #f9f9f9; | ||
+ | color: #000; | ||
+ | font-size: 90%; | ||
+ | line-height: 1.2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | margin: 0 0 0.5em 1em; | ||
+ | width: 294px; | ||
+ | border: 1px solid #aaa; | ||
+ | border-spacing: 5px; | ||
+ | } | ||
+ | .infobox_v2 th { | ||
+ | vertical-align: super; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .infobox_v2 .entete { | ||
+ | height: 43px; | ||
+ | vertical-align: middle; | ||
+ | text-align: center; | ||
+ | font-size: 140%; | ||
+ | font-weight: bolder; | ||
+ | line-height: 1.1em; | ||
+ | color: #000; | ||
+ | } | ||
+ | /* Padding si pictogramme d'infobox, e.g. ".entete.foobar" | ||
+ | Pas de pictogramme donc pas de padding sur ".entete.defaut" et ".entete" | ||
+ | Possibilité de désactiver ce padding en ajoutant une classe "large" */ | ||
+ | .infobox_v2 .entete:not(.defaut):not([class="entete"]):not(.large) { | ||
+ | padding: 1px 48px; | ||
+ | } | ||
+ | /* Pour [[Modèle:Image et son]], etc. */ | ||
+ | .infobox_v2 .media { | ||
+ | height: 35px; | ||
+ | vertical-align: middle; | ||
+ | text-align: center; | ||
+ | font-weight: bolder; | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | /* Graphiques transparents d'en-têtes des Infobox */ | ||
+ | .entete { | ||
+ | background-position: right center; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | |||
+ | .media.audio { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat left top; | ||
+ | } | ||
+ | .media.video { | ||
+ | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat left top; | ||
} | } | ||
Version du 7 octobre 2019 à 23:10
/* Le CSS placé ici sera appliqué à tous les habillages. */
/*
#mobileview, #about { display: none ! important; }
#mw-prefsection-editing-advancedediting, #mw-prefsection-editing-labs, #mw-prefsection-editing-fckeditor { display: none; }
*/
/***** Page d'accueil *****/
.page-Accueil h1 { display: none; }
#mainpage table { padding-top: 10px; padding-bottom: 10px; }
#mainpage table a { font-size:0.85em; }
#mainpage table table td { padding-top : 0px ; border: 1px solid black; border-radius: 5px; }
#mainpage table table b { display: block; text-align: center; text-transform: uppercase; color: #A50000; }
/***** Modèles *****/
/* style "Modèle:Article détaillé" */
.detail { font-style: italic; border-bottom: brown; margin-bottom: 10px; }
.detail:before { content: url(https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/15px-Exquisite-kfind.png); }
/* style "Modèle:Attention" */
.alerte { font-style: italic; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; background: #FF9C9C; }
/* style "Modèle:Désambiguation" */
.desambiguation { font-style: italic; }
/* [[Modèle:Nobr]] */
.nowrap { white-space: nowrap; }
/***** Importer un fichier *****/
.mw-htmlform-field-Licenses, .mw-editTools, .mw-upload-editlicenses { display: none; }
/***** Footer (pied de page) *****/
#footer-info-lastmod { display: none; }
/***** Article détaillé *****/
.loupe {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png");
background-position: 2px 3px;
background-repeat: no-repeat;
line-height: 1.5em;
text-indent: 23px;
display: inline-block;
}
.bandeau-niveau-detail,
.bandeau-section.bandeau-niveau-information {
border-color: #e7e7e7;
background-color: #fdfdfd;
}
div.bandeau-section {
display: block;
font-size: 0.95em;
border-style: solid;
border-width: 1px 0;
padding: 0.2em 0.5em 0.1em 0;
margin: 0.3em 0 0.7em 2em;
}
/***** Infobox *****/
.infobox_v2 {
background: #f9f9f9;
color: #000;
font-size: 90%;
line-height: 1.2em;
float: right;
clear: right;
margin: 0 0 0.5em 1em;
width: 294px;
border: 1px solid #aaa;
border-spacing: 5px;
}
.infobox_v2 th {
vertical-align: super;
text-align: left;
}
.infobox_v2 .entete {
height: 43px;
vertical-align: middle;
text-align: center;
font-size: 140%;
font-weight: bolder;
line-height: 1.1em;
color: #000;
}
/* Padding si pictogramme d'infobox, e.g. ".entete.foobar"
Pas de pictogramme donc pas de padding sur ".entete.defaut" et ".entete"
Possibilité de désactiver ce padding en ajoutant une classe "large" */
.infobox_v2 .entete:not(.defaut):not([class="entete"]):not(.large) {
padding: 1px 48px;
}
/* Pour [[Modèle:Image et son]], etc. */
.infobox_v2 .media {
height: 35px;
vertical-align: middle;
text-align: center;
font-weight: bolder;
color: #000;
}
/* Graphiques transparents d'en-têtes des Infobox */
.entete {
background-position: right center;
background-repeat: no-repeat;
}
.media.audio {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat left top;
}
.media.video {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat left top;
}
/***** VE Toolbar *****/
div[title="Changer d’éditeur"] { display: none; }
a[title="Aide"][role='button'] { display: none!important; }
span.oo-ui-tool-name-meta { display: none!important; }
span.oo-ui-tool-name-changeDirectionality, span.oo-ui-tool-name-languages { display: none!important; }
span.oo-ui-tool-name-heading1, span.oo-ui-tool-name-preformatted { display: none!important; }
div.ve-ui-toolbar-group-references { border-right: 0px; }
.oo-ui-labelElement .oo-ui-labelElement-label { font-size: 90%; }
div.oo-ui-dialog-content span.oo-ui-tool-name-media { display:none; }
div.oo-ui-dialog-content span.oo-ui-tool-name-categories { display:none; }
/***** SRF Simile Timeline *****/
.timeline-band-layer-inner > div { filter: hue-rotate(145deg); }
.timeline-band-layer-inner img { filter: hue-rotate(340deg); }