MediaWiki:Vector.css: Difference between revisions

From Straftat Wiki
No edit summary
css fix
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


/* Set the background image to fill the page and stay behind all content */
/* Set the background image to fill the page and stay behind all content */
body.skin-vector {
    background: url('/straftat.png') no-repeat center center fixed;
    background-size: cover;
}
body.skin-vector-legacy::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--background-color-base);
    position: fixed;
    z-index: -1;
}
:root {
    --background-color-base: #fffa;
}

Latest revision as of 11:15, 18 December 2024

/* All CSS here will be loaded for users of the Vector skin */

/* Set the background image to fill the page and stay behind all content */
body.skin-vector {
    background: url('/straftat.png') no-repeat center center fixed;
    background-size: cover;
}

body.skin-vector-legacy::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--background-color-base);
    position: fixed;
    z-index: -1;
}

:root {
    --background-color-base: #fffa;
}