MediaWiki:Vector.css: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
   --background-top-size: 2000px;
   --background-top-size: 2000px;
   --background-bottom-size: 2000px;
   --background-bottom-size: 2000px;
  --content-border-top-color: #B4BEC3;
  --content-border-left-color: #171717;
  --content-background-color: #E6EFF4;
}
}


Line 18: Line 21:




.mw-page-container {
.skin-vector-legacy .mw-body {
  margin: 0;
    position: relative;
  padding: 0;
    background-color: var(--content-background-color);
    border: none;
    border-top: 6px solid var(--content-border-top-color);
    border-left: 6px solid var(--content-border-left-color);
}
}

Revision as of 09:16, 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;
  --content-border-top-color: #B4BEC3;
  --content-border-left-color: #171717;
  --content-background-color: #E6EFF4;
}

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;

}


.skin-vector-legacy .mw-body {
    position: relative;
    background-color: var(--content-background-color);
    border: none;
    border-top: 6px solid var(--content-border-top-color);
    border-left: 6px solid var(--content-border-left-color);
}