« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 12 : | Ligne 12 : | ||
.mw-parser-output figure figcaption { | .mw-parser-output figure figcaption { | ||
text-align: center; | text-align: center; | ||
} | |||
/* Infobox Project : New Earth */ | |||
.infobox-pne { | |||
float: right; | |||
width: 280px; | |||
margin: 0 0 1em 1em; | |||
background: #f8f9fa; | |||
border: 1px solid #aaa; | |||
font-size: 0.9em; | |||
} | |||
.infobox-title { | |||
background: #2c3e50; | |||
color: #fff; | |||
text-align: center; | |||
font-weight: bold; | |||
padding: 6px; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
padding: 6px; | |||
} | |||
.infobox-image img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.infobox-caption { | |||
font-size: 0.8em; | |||
color: #555; | |||
} | |||
.infobox-table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
.infobox-table th { | |||
background: #ddd; | |||
text-align: center; | |||
padding: 4px; | |||
} | |||
.infobox-table td { | |||
padding: 4px; | |||
border-top: 1px solid #ccc; | |||
} | } | ||
Version du 19 février 2026 à 17:49
/* Centrage visuel définitif des images MediaWiki */
.mw-parser-output figure,
.mw-parser-output figure img,
.mw-parser-output .mw-file-element {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
text-align: center !important;
}
.mw-parser-output figure figcaption {
text-align: center;
}
/* Infobox Project : New Earth */
.infobox-pne {
float: right;
width: 280px;
margin: 0 0 1em 1em;
background: #f8f9fa;
border: 1px solid #aaa;
font-size: 0.9em;
}
.infobox-title {
background: #2c3e50;
color: #fff;
text-align: center;
font-weight: bold;
padding: 6px;
}
.infobox-image {
text-align: center;
padding: 6px;
}
.infobox-image img {
max-width: 100%;
height: auto;
}
.infobox-caption {
font-size: 0.8em;
color: #555;
}
.infobox-table {
width: 100%;
border-collapse: collapse;
}
.infobox-table th {
background: #ddd;
text-align: center;
padding: 4px;
}
.infobox-table td {
padding: 4px;
border-top: 1px solid #ccc;
}