« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
(by SublimeText.Mediawiker) |
(by SublimeText.Mediawiker) |
||
| Ligne 8 : | Ligne 8 : | ||
img.mw-logo-icon { | img.mw-logo-icon { | ||
border-radius: var(--border-radius-base); | border-radius: var(--border-radius-base); | ||
} | |||
.img-fill-width img { | |||
width: 100%; | |||
height: auto; | |||
box-shadow: var(--box-shadow-small); | |||
border-radius: var(--border-radius-medium); | |||
} | |||
.img-fill-height img { | |||
width: auto; | |||
height: 100%; | |||
box-shadow: var(--box-shadow-small); | |||
border-radius: var(--border-radius-medium); | |||
} | } | ||
Version du 17 novembre 2025 à 21:50
:root {
/* Pink is the new black */
--color-progressive-oklch__h: 137;
/* Optional: HSL fallback for browser that does not support OKLCH */
--color-progressive-hsl__h: 132;
}
img.mw-logo-icon {
border-radius: var(--border-radius-base);
}
.img-fill-width img {
width: 100%;
height: auto;
box-shadow: var(--box-shadow-small);
border-radius: var(--border-radius-medium);
}
.img-fill-height img {
width: auto;
height: 100%;
box-shadow: var(--box-shadow-small);
border-radius: var(--border-radius-medium);
}