MediaWiki:Common.css: Difference between revisions

From Legendary Hardcore Wiki
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: 100% auto, 100% auto;
   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;
}
}

Revision as of 08:47, 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: 2000px;
  --background-bottom-size: 2000px;
}

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;
}