Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From Altierrapedia
No edit summary
No edit summary
Line 1: Line 1:
/* Full-page background */
/* Repeating texture behind the whole page */
body {
body {
   background-color: PowderBlue;
   background-color: PowderBlue;
   background-image: url("/w/images/your-background.jpg");
   background-image: url("/w/images/your-wiki-background.png");
  background-repeat: repeat;
  background-size: 512px 512px;
  background-position: top center;
}
 
/* Single wide image across the top */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  background-image: url("/w/images/your-wiki-header.png");
  background-repeat: no-repeat;
  background-position: top center;
   background-size: cover;
   background-size: cover;
   background-position: center;
   z-index: -1;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
}

Revision as of 04:46, 16 October 2026

/* Repeating texture behind the whole page */
body {
  background-color: PowderBlue;
  background-image: url("/w/images/your-wiki-background.png");
  background-repeat: repeat;
  background-size: 512px 512px;
  background-position: top center;
}

/* Single wide image across the top */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  background-image: url("/w/images/your-wiki-header.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: -1;
}