mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-30 17:04:28 +00:00
903fbda3b0
Creates a launch banner component for dark-mode using the CSS-only Codex Dialog component. This banner is currently not loaded on any page, but can be invoked using mw.loader: mw.loader.using( 'skins.minerva.DarkModeLaunchBanner', r => r( 'skins.minerva.DarkModeLaunchBanner')() ); Bug: T361047 Change-Id: I3cfa9517a387df636534a3940e09289e4d7a1e5b
10 lines
269 B
Plaintext
10 lines
269 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
.skin-minerva-launch-image {
|
|
background: url( dark-mode-banner.svg ) no-repeat 0 0;
|
|
background-size: 100%;
|
|
width: ~'calc(100% + @{spacing-300})';
|
|
margin: -@spacing-100 -@spacing-150 0 -@spacing-150;
|
|
aspect-ratio: 2 / 1;
|
|
}
|