/* Personnalisation de l'apparence des liens vers les pages d'homonymie. */
.homonymie {
margin-top: 0.5em;
padding-right: 2em;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
background: white;
font-style: italic;
border-bottom: 1px #aaa solid;
}
/* Rapproche le bandeau du titre de la page (et application du style uniquement dans ce cas de figure) */
body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .homonymie:first-child,
body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output > .mw-empty-elt:first-child + .homonymie {
margin-top: -0.5em;
}
/* Annulation du ruleset précédent sur les pages de diff */
body:not(.skin-timeless):not(.skin-minerva) .diff-currentversion-title + .mw-parser-output > .homonymie:first-child,
body:not(.skin-timeless):not(.skin-minerva) .diff-currentversion-title + .mw-parser-output > .mw-empty-elt:first-child + .homonymie {
margin-top: 0.5em;
}
/* Masque les bordures adjacentes */
.homonymie + .homonymie {
margin-top: calc(-0.5em - 1.05px); /* -margin-bottom - (1px + léger excédent) */
}
/* Boites et messages */
div.boite-a-droite {
display: table;
clear: left;
float: left;
margin: 0.3em 1em 1em 0;
width: 20em;
position: relative; /* Pour les images manuelles */
border-style: solid;
border-width: 1px;
padding: 4px;
text-align: right;
}
.boite-sans-fond {
border-color: #aaa; /* Comme boite-grise */
}
.boite-grise { /* Similaire au bandeau de catégorie */
border-color: #aaa;
background-color: #f9f9f9;
}
/* Types de boites */
.bandeau-article,
.bandeau-discussion,
.bandeau-simple,
.bandeau-systeme,
.bandeau-section{
border-style: solid;
overflow: hidden;
position: relative;
}
.bandeau-article {
border-width: 1px 10px 1px 1px;
font-size: 0.9em;
line-height: 1.25em;
padding: 0.5em 1em;
margin: 0.8em 10%;
}
.bandeau-systeme {
clear: both;
border-width: 2px;
padding: 0.5em 1em;
margin: 0.8em 3%;
}
.bandeau-simple {
clear: both;
border-width: 1px;
padding: 0.5em 1em;
margin: 0.8em auto;
}
.bandeau-discussion {
border-width: 1px;
border-radius: 10px;
padding: 0.2em 0.5em;
margin: 0.8em 7%;
}
@media (max-width: 981px) {
.bandeau-discussion {
margin: 0.8em 4%;
}
}
div.bandeau-section { /* Pour le [[modèle: Article détaillé]] et autres */
display: block;
font-size: 0.95em;
border-width: 1px 0;
padding: 0.2em 0 0.3em 0.5em;
margin: 0.3em 2em 0.7em 0;
}
.bandeau-centrer {
display: table;
width: 100%;
text-align: center;
}
.bandeau-cell {
display: table-cell;
vertical-align: middle;
}
.bandeau-cell > p:first-child {
margin-top: 0;
}
.bandeau-cell > p:last-child {
margin-bottom: 0;
}
/* Style des bandeaux d'articles. Voir [[Wikipédia:Prise de décision/Changement de style des messages d'avertissement]]. */
.bandeau-niveau-grave {
border-color: #aa0044;
background-color: #ffcccc;
}
.bandeau-niveau-modere {
border-color: #ff8822;
background-color: #ffeedd;
}
.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-niveau-neutre {
border-color: #aaa;
background: #f9f9f9;
}
.bandeau-icone {
vertical-align: middle;
text-align: center;
width: 45px;
/* @noflip */
padding-left: 1em;
}
/* :is(.homonymie, .bandeau-section) .bandeau-icone {
width: auto;
@noflip این خط قبلا کامنت بود
padding-left: 0.5em;
}*/
.bandeau-titre {
font-size: 1.1em;
line-height: 1.4em;
}
.bandeau-texte {
font-size: 0.9em;
line-height: 1.2em;
}