MediaWiki:Common.css: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:
   background-repeat: no-repeat, repeat-y;
   background-repeat: no-repeat, repeat-y;
   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: 100% auto, 100% auto;
}
}



Revision as of 08:43, 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: 100% auto, 100% 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;
}