MediaWiki:Common.css: Difference between revisions

From Heavenly Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
#bg-video {
#bg-video {
     position: fixed;
     position: fixed;
     top: 0;
     top: 0;
     left: 0;
     left: 0;
     min-width: 100vw;
     width: 100vw;
     min-height: 100vh;
     height: 100vh;
     object-fit: cover;
     object-fit: contain; /* <-- was cover */
     z-index: -1;
     z-index: -1;
     opacity: 0.3; /* Adjust for visibility */
     opacity: 0.3;
     pointer-events: none;
     pointer-events: none;
    background-color: black; /* fills empty space */
}
}

Revision as of 15:07, 1 May 2025

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain; /* <-- was cover */
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
    background-color: black; /* fills empty space */
}