« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 45 : | Ligne 45 : | ||
.infobox .infobox-title { | .infobox .infobox-title { | ||
border-top: 0; | |||
padding: 4px; | |||
} | |||
.infobox .infobox-title p { | |||
background: #000; | background: #000; | ||
text-align: center; | text-align: center; | ||
font-size: 14px; | font-size: 14px; | ||
font-weight: 600; | font-weight: 600; | ||
color: #fff; | color: #fff; | ||
height: 24px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||
Version du 24 février 2026 à 20:11
/* Infobox (style proche Wikipédia) */
.infobox {
float: right;
clear: right;
width: 320px;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #202122;
font-size: 90%;
line-height: 1.4;
border-collapse: collapse;
}
.infobox th,
.infobox td {
padding: 4px 8px;
vertical-align: top;
}
.infobox th {
text-align: left;
white-space: nowrap;
font-weight: 600;
}
.infobox .infobox-big-title {
border-top: 0;
padding: 4px;
}
.infobox .infobox-big-title p {
background: #000;
text-align: center;
font-size: 20px;
font-weight: 600;
color: #fff;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
}
.infobox .infobox-title {
border-top: 0;
padding: 4px;
}
.infobox .infobox-title p {
background: #000;
text-align: center;
font-size: 14px;
font-weight: 600;
color: #fff;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
}
.infobox .infobox-image {
text-align: center;
padding: 10px 8px;
}
.infobox .infobox-caption {
text-align: center;
font-size: 90%;
color: #54595d;
padding: 0 8px 10px;
border-top: 0;
}