« MediaWiki:Common.css » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 54 : | Ligne 54 : | ||
vertical-align: top; | vertical-align: top; | ||
padding: 6px 8px; | padding: 6px 8px; | ||
margin-left: 10px; | |||
width: 40%; | width: 40%; | ||
border-right: 1px solid #d0d7de; | border-right: 1px solid #d0d7de; | ||
Version du 13 décembre 2025 à 11:46
.bandeau-protection {
border: 1px solid #888;
padding: 15px;
margin: 10px 0;
border-radius: 4px;
/*font-weight: bold*/;
border-color: #ab7f2a;
}
.bandeau-protection.bandeau-info {
background-color: #fdf2d5;
/*color: #0b3d91;*/
}
.bandeau-protection.bandeau-protection {
background-color: #fdf2d5;
/*color: #9a5800;*/
}
.bandeau-protection.bandeau-avertissement {
background-color: #fdf2d5;
/*color: #990000;*/
}
.infobox {
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border-radius: 6px;
border-collapse: separate;
border-spacing: 0;
width: 280px;
max-width: 100%;
float: right;
margin: 0 0 1em 1em;
font-size: 0.95em;
line-height: 1.4;
color: #202122;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.infobox-above {
background-color: #eaecf0;
font-weight: bold;
font-size: 1.1em;
text-align: center;
padding: 8px;
border-bottom: 1px solid #a2a9b1;
}
.infobox-label {
background-color: #f1f3f5;
font-weight: 600;
text-align: left;
vertical-align: top;
padding: 6px 8px;
margin-left: 10px;
width: 40%;
border-right: 1px solid #d0d7de;
border-bottom: 1px solid #d0d7de;
}
.infobox-data {
background-color: #ffffff;
font-weight: normal;
text-align: left;
vertical-align: top;
padding: 6px 8px;
border-bottom: 1px solid #d0d7de;
}
td.infobox-image {
background-color: #ffffff;
text-align: center;
padding: 8px;
border-bottom: 1px solid #d0d7de;
}
td.infobox-image img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
table.infobox tr:last-child th,
table.infobox tr:last-child td {
border-bottom: none;
}
@media (max-width: 768px) {
table.infobox {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
}