MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
background: var(--body-main) url('resources/assets/bg.png') no-repeat center top fixed; | background: var(--body-main) url('resources/assets/bg.png') no-repeat center top fixed; | ||
background-size: cover; | background-size: cover; | ||
} | |||
#mw-head { | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
#mw-head::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; left: 0; right: 0; height: 250px; | |||
background: linear-gradient( | |||
to bottom, | |||
rgba(226,219,200,0.95) 0%, | |||
rgba(226,219,200,0) 100% | |||
); | |||
pointer-events: none; | |||
z-index: 1; | |||
} | |||
#mw-head .mw-head-logo, | |||
#mw-head .vector-menu { | |||
position: relative; | |||
z-index: 2; | |||
} | } |
Revision as of 21:33, 1 May 2025
:root {
--body-main: #e2dbc8;
--body-light: #d8ccb4;
--ooui-normal-border: #b8a282;
}
body {
background: var(--body-main) url('resources/assets/bg.png') no-repeat center top fixed;
background-size: cover;
}
#mw-head {
position: relative;
overflow: hidden;
}
#mw-head::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0; height: 250px;
background: linear-gradient(
to bottom,
rgba(226,219,200,0.95) 0%,
rgba(226,219,200,0) 100%
);
pointer-events: none;
z-index: 1;
}
#mw-head .mw-head-logo,
#mw-head .vector-menu {
position: relative;
z-index: 2;
}