MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
background-position: top center, top center; | background-position: top center, top center; | ||
background-size: var(--background-top-size) auto, var(--background-bottom-size) auto; | background-size: var(--background-top-size) auto, var(--background-bottom-size) auto; | ||
} | |||
body.skin-vector-2022 #bodyContent { | |||
margin-top: 50vh; | |||
} | } | ||
Revision as of 08:41, 28 January 2026
/* CSS placed here will be applied to all skins */
:root {
--background-top: url("/resources/assets/background_top.png");
--background-bottom: url("/resources/assets/background_bottom.png");
--background-top-size: 1920px;
--background-bottom-size: 1920px;
}
body {
background-image: var(--background-top), var(--background-bottom);
background-repeat: no-repeat, repeat-y;
background-position: top center, top center;
background-size: var(--background-top-size) auto, var(--background-bottom-size) auto;
}
body.skin-vector-2022 #bodyContent {
margin-top: 50vh;
}
body.skin-vector-2022 .mw-page-container {
background: transparent;
}
body.skin-vector-2022 .mw-page-container-inner {
background-color:white;
}