MediaWiki:Vector.css: Difference between revisions

From Straftat Wiki
Created page with "→‎All CSS here will be loaded for users of the Vector skin: body { background-image: url("straftat.png"); background-color: #cccccc; }"
 
css fix
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* All CSS here will be loaded for users of the Vector skin */
body {
 
background-image: url("straftat.png");
/* Set the background image to fill the page and stay behind all content */
background-color: #cccccc;
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;
}