Bienvenue sur le wiki de Nuit debout, nous sommes le 3041 mars.
MediaWiki:Common.css : Différence entre versions
De NuitDebout
(copié de https://fr.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=125152392) |
(rv) |
||
(5 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 174 : | Ligne 174 : | ||
padding: 4px; | padding: 4px; | ||
text-align: left; | text-align: left; | ||
+ | } | ||
+ | |||
+ | /* [[Modèle:Indication de langue]] et [[Modèle:Lien]]. */ | ||
+ | .indicateur-langue, | ||
+ | .indicateur-format { | ||
+ | font-family: monospace; | ||
+ | font-weight: bold; | ||
+ | font-size: small; | ||
+ | font-style: normal; | ||
+ | } | ||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Bandeaux de notes et avertissements */ | ||
+ | .note { | ||
+ | background: #F9F9F9; | ||
+ | border: 1px solid #E9E9E9; | ||
+ | clear: both; | ||
+ | font-size: 1em; | ||
+ | margin: 1em 0 0.3 0; | ||
+ | padding: 0.5em; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .note + p, .note + ul, .note + ol, .note + dl, .note + span { margin-top: 2em; } | ||
+ | .note + .note { margin-top: 0.2em; } | ||
+ | .note p { padding-top: 0.2em; } | ||
+ | .note-attention { | ||
+ | background: #E5CFCF; | ||
+ | border: 1px solid #AD8080; | ||
} | } |
Version actuelle en date du 9 mai 2016 à 21:32
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Balise abbr discrète */
abbr {
color: inherit;
}
abbr.abbr {
border-bottom: 0; /* IE, Chrome */
text-decoration: none; /* Firefox */
}
a abbr {
cursor: inherit;
}
/* Masque le titre sur la page d'accueil */
body.page-Accueil.action-view h1.firstHeading, body.page-Accueil.action-submit h1.firstHeading { display: none; }
/* Pour le modèle "Section à compléter" */
.bandeau-section {
border-style: solid;
overflow: hidden;
position: relative;
}
.bandeau-niveau-detail {
border-color: #e7e7e7;
background-color: #fdfdfd;
}
.incomplet {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Fairytale_waring.png/16px-Fairytale_waring.png");
background-position: 2px 3px;
}
.incomplet /* cône de chantier pour le [[modèle:Section vide ou incomplète]] */{
background-repeat: no-repeat;
line-height: 1.5em;
text-indent: 23px;
display: inline-block;
}
div.bandeau-section { /* Pour le [[modèle: Article détaillé]] et autres */
display: block;
font-size: 0.95em;
border-width: 1px 0;
padding: 0.2em 0.5em 0.1em 0;
margin: 0 0 .7em 2em;
}
.bandeau-section.bandeau-niveau-information {
border-color: #e7e7e7;
background-color: #fdfdfd;
}
.mw-ui-button.mw-ui-progressive:disabled, .mw-ui-button.mw-ui-primary:disabled {
background-color:rgb(158, 192, 255);
}
/* Boîtes à outils */
.mw-toolbox {
font-size: 90%;
background: #f8f8f8;
border: 1px solid #b8b8b8;
padding: .25em 1em .25em 1em;
clear: both;
}
/* h3+ */
.aa-faux-h3 {
font-weight: normal;
font-size: 1.17em;
}
.mw-body h3 {
border-bottom: dotted 1px #aaa;
}
.mw-body h4,
.mw-body h5,
.mw-body h6 {
border-bottom: dotted 1px #ddd;
}
/* Styles de [[Modèle:Méta palette de navigation]]. */
table.navbox {
background: #f9f9f9;
border: 1px solid #aaa;
clear: both;
font-size: 89%;
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;
}
.navboxHidden {
display: none;
}
/* Modèle de palettes groupées, [[Modèle:Palette]]. */
div.navbox_group {
border: 1px solid #aaa;
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;
}
/* Loupe */
.loupe {
background-repeat: no-repeat;
line-height: 1.5em;
text-indent: 23px;
display: inline-block;
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png");
background-position: 2px 3px;
}
/* Boites archives */
.boite-sans-fond {
border-color: #aaa; /* Comme boite-grise */
}
.boite-grise { /* Similaire au bandeau de catégorie */
border-color: #aaa;
background-color: #f9f9f9;
}
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;
}
/* [[Modèle:Indication de langue]] et [[Modèle:Lien]]. */
.indicateur-langue,
.indicateur-format {
font-family: monospace;
font-weight: bold;
font-size: small;
font-style: normal;
}
/* 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;
}
/* Bandeaux de notes et avertissements */
.note {
background: #F9F9F9;
border: 1px solid #E9E9E9;
clear: both;
font-size: 1em;
margin: 1em 0 0.3 0;
padding: 0.5em;
text-align: left;
}
.note + p, .note + ul, .note + ol, .note + dl, .note + span { margin-top: 2em; }
.note + .note { margin-top: 0.2em; }
.note p { padding-top: 0.2em; }
.note-attention {
background: #E5CFCF;
border: 1px solid #AD8080;
}