MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 40: | Line 40: | ||
background-position: center top; | background-position: center top; | ||
background-attachment: fixed; | background-attachment: fixed; | ||
} | |||
/* Main content background transparency */ | |||
.mw-page-container, | |||
.mw-content-container, | |||
.vector-body { | |||
background: rgba(0, 0, 0, 0.75) !important; /* adjust opacity */ | |||
} | |||
/* Glass-style header background */ | |||
.vector-header { | |||
background-color: rgba(0, 0, 0, 0.65) !important; | |||
backdrop-filter: blur(4px); | |||
} | |||
/* Ensure background image still shows */ | |||
.vector-header { | |||
background-blend-mode: overlay; | |||
} | } | ||
Revision as of 21:54, 22 December 2025
/* CSS placed here will be applied to all skins */
/* Vector 2022: hide the wordmark (site title) and tagline next to the logo */
.mw-logo-wordmark,
.mw-logo-tagline,
.mw-wiki-title,
.mw-logo-text {
display: none !important;
}
/* --- BIG LOGO: Vector 2022 --- */
/* 1) Set how tall you want the header area */
.vector-header {
min-height: 160px !important; /* adjust */
}
/* 2) Let the logo block use that height */
.vector-header-start,
.mw-logo {
height: 160px !important; /* match the header height */
display: flex !important;
align-items: center !important;
}
/* 3) Kill Vector's built-in logo caps */
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img {
max-height: none !important;
height: 190px !important; /* THIS is what makes it bigger */
width: auto !important;
}
/* Move logo left + down (Vector 2022) */
.mw-logo {
margin-left: -18px !important; /* left */
margin-top: 50px !important; /* down */
}
body {
background-image: url("https://doomrelics.com/images/bg.png");
background-size: cover;
background-position: center top;
background-attachment: fixed;
}
/* Main content background transparency */
.mw-page-container,
.mw-content-container,
.vector-body {
background: rgba(0, 0, 0, 0.75) !important; /* adjust opacity */
}
/* Glass-style header background */
.vector-header {
background-color: rgba(0, 0, 0, 0.65) !important;
backdrop-filter: blur(4px);
}
/* Ensure background image still shows */
.vector-header {
background-blend-mode: overlay;
}