« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
Mise à jour du style des infobox |
Mise à jour dark theme |
||
| Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici sera appliqué à tous les habillages. */ | /* Le CSS placé ici sera appliqué à tous les habillages. */ | ||
:root { | |||
--infobox-background: #fff8; | |||
--infobox-header: #ffd04d; | |||
} | |||
.skin-theme-clientpref-night { | |||
--infobox-background: #fff1; | |||
--infobox-header: #885c08; | |||
} | |||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
background-color: | background-color: var(--infobox-background); | ||
padding: 1rem; | padding: 1rem; | ||
border-radius: .5rem; | border-radius: .5rem; | ||
| Ligne 8 : | Ligne 18 : | ||
.infobox-header { | .infobox-header { | ||
background-color: | background-color: var(--infobox-header); | ||
border-radius: .1rem; | border-radius: .1rem; | ||
} | } | ||
Version du 2 juillet 2025 à 20:18
/* Le CSS placé ici sera appliqué à tous les habillages. */
:root {
--infobox-background: #fff8;
--infobox-header: #ffd04d;
}
.skin-theme-clientpref-night {
--infobox-background: #fff1;
--infobox-header: #885c08;
}
.infobox {
float: right;
background-color: var(--infobox-background);
padding: 1rem;
border-radius: .5rem;
}
.infobox-header {
background-color: var(--infobox-header);
border-radius: .1rem;
}
.infobox-label {
text-align: left;
}
.infobox-title {
font-size: larger;
font-weight: bold;
}