MediaWiki:Vector.css: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
body {
body {
   background-image: var(--background-top), var(--background-bottom);
   background-image: var(--background-top), var(--background-bottom);
   background-repeat: no-repeat, repeat-y;
   background-repeat: repeat-x, repeat;
   background-position: top center, top center;
   background-position: top center, top center;
   background-size: 100% auto, 100% auto;
   background-size: 100% auto, 100% auto;

Revision as of 08:56, 28 January 2026

/* All CSS here will be loaded for users of the Vector skin */
: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: repeat-x, repeat;
  background-position: top center, top center;
  background-size: 100% auto, 100% auto;
  background-position: 0 0 !important;
  image-rendering: pixelated;

}