Différences entre les versions de « MediaWiki:Common.css »
Aller à la navigation
Aller à la recherche
| Ligne 91 : | Ligne 91 : | ||
.mw-information-box .mw-sub-title { | .mw-information-box .mw-sub-title { | ||
text-align: center; | text-align: center; | ||
} | |||
.mw-information-box .image img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
Version du 2 décembre 2021 à 17:55
/* Documentation de modèle */
.mw-documentation {
padding: 1em 1em 0.8em;
background: #ecfcf4;
border: 1px solid #aaa;
}
.mw-documentation p:first-child {
margin-top: 0;
}
.mw-documentation-footer {
margin-top: 1.5em;
padding-top: 0.5em;
border-top: 1px solid #a2a9b1;
}
/* Navigation */
.mw-navigation {
clear: both;
width: 100%;
margin-top: 1em;
background: #fdfdfd;
border: 1px solid #aaa;
font-size: 0.75rem;
}
.mw-navigation .mw-title {
padding-left: 1em;
padding-right: 1em;
background: #a7d7f9;
font-size: 0.85rem;
}
.mw-navigation tr th:not(.mw-title) {
width: 150px;
padding-left: 1em;
padding-right: 1em;
background: #eaf3ff;
vertical-align: middle;
}
.mw-navigation tr:nth-child(2n) td {
background: #f6f6f6;
}
.mw-navigation tr:nth-child(2n + 1) td {
background: #eaecf0;
}
.mw-navigation .mw-navigation{
width: calc(100% + 6px);
margin: -3px;
background: transparent;
border: none; }
.mw-navigation .mw-navigation tr:nth-child(2n + 1) td {
background: none;
}
.mw-navigation + .mw-navigation {
margin-top: 0.5em;
}
/* Boîtes d'informations */
.mw-information-box {
float: right;
box-sizing: border-box;
clear: right;
min-width: 200px;
max-width: 300px;
margin: 0 0 0.5em 1em;
padding: 5px;
background: #f9f9f9;
border: 1px solid #aaaaaa;
color: #000000;
font-size: 0.9em;
}
.mw-information-box .mw-title {
box-sizing: border-box;
margin: 0;
padding: 0.25em 1em;
background: #cccccc;
font-size: 1.25em;
font-weight: bold;
line-height: 1.5em;
text-align: center;
}
.mw-information-box .mw-sub-title {
text-align: center;
}
.mw-information-box .image img {
max-width: 100%;
height: auto;
}
.mw-information-box .mw-caption {
font-size: 80%;
text-align: center;
}
.mw-information-box table {
width: 100%;
}
.mw-information-box th:not(.mw-section-title),
.mw-information-box td {
vertical-align: top;
}
.mw-information-box th:not(.mw-section-title) {
text-align: left;
}
.mw-information-box .mw-section-title {
padding: 0.25em 1em;
font-weight: bold;
text-align: center;
background: #cccccc;
}
.mw-information-box.light-yellow .mw-title,
.mw-information-box .mw-section-title {
background: #ffeda6;
}