« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 33 : | Ligne 33 : | ||
display: block; | display: block; | ||
margin: 0 auto; /* centrage éventuel */ | margin: 0 auto; /* centrage éventuel */ | ||
} | |||
.pfFormTable th.mandatoryField label::after { | |||
content: " *"; | |||
color: #d00; | |||
margin-left: 0.2em; | |||
} | |||
.pfFormTable th.mandatoryField label { | |||
font-weight: bold; | |||
} | } | ||
Version du 4 décembre 2025 à 22:31
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Boutons de la page d'accueil */
.accueil a.button,
.accueil .pf-button {
display: inline-block;
background: #2b5fab;
color: #fff !important;
padding: 8px 14px;
border-radius: 6px;
text-decoration: none !important;
font-weight: 600;
margin: 4px 6px;
}
.accueil a.button:hover,
.accueil .pf-button:hover {
background: #1d4480;
}
/* Supprimer tout cadre / fond autour des fiches maisons */
.fiche-maison-complet,
.fiche-maison-complet > div,
.fiche-maison-complet img {
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
/* Images dans les cartouches (maison / auteur / livre) */
.cartouche-media {
max-width: 100% !important; /* ne dépasse jamais la largeur de la colonne */
height: auto !important; /* conserve les proportions */
border: none !important; /* pas de cadre */
box-shadow: none !important; /* pas d’ombre */
background: transparent !important;
display: block;
margin: 0 auto; /* centrage éventuel */
}
.pfFormTable th.mandatoryField label::after {
content: " *";
color: #d00;
margin-left: 0.2em;
}
.pfFormTable th.mandatoryField label {
font-weight: bold;
}