MediaWiki:Common.css: Różnice pomiędzy wersjami
Strona MediaWiki
Inne akcje
test motyw świąteczny Znacznik: Wycofane |
test 2 Znacznik: Wycofane |
||
| Linia 30: | Linia 30: | ||
} | } | ||
/* | /* full-site animated gif background — use the full URL from the file page */ | ||
body { | html, body { | ||
background: url("https://europecraft.pl/w/images/0/0e/Snieg.gif") repeat fixed !important; | |||
background-size: cover !important; | |||
min-height: 100%; | |||
} | } | ||
/* | /* make main page content readable */ | ||
#content, #bodyContent, .mw-body { | #content, #bodyContent, .mw-body, .mw-parser-output, .mw-page-container { | ||
background: rgba(0,0,0,0.65) !important; | |||
color: #fff !important; | |||
} | } | ||
/* | /* skins that put colored containers on top — force transparency */ | ||
.skin-vector .mw-page-container, | |||
.skin-vector .vector-body, | .skin-vector .vector-body, | ||
.skin-vector | .skin-vector .mw-body, | ||
.skin-vector-2022 .mw-page-container, | |||
.skin-minerva .mw-body { | |||
background: transparent !important; | |||
background-image: none !important; | |||
} | |||
/* remove any panels or headers that cover entire page */ | |||
#mw-head, #mw-panel, .mw-sidebar, .vector-header, .mw-navigation { | |||
background: transparent !important; | |||
} | |||
/* force content region to be above background overlay */ | |||
#content, #bodyContent { | |||
position: relative; | |||
z-index: 2; | |||
} | |||
/* add a subtle dim layer if needed (keeps gif vivid but readable) */ | |||
body::before { | |||
content: ""; | |||
position: fixed; | |||
inset: 0; | |||
z-index: 1; | |||
pointer-events: none; | |||
background: rgba(0,0,0,0.12); /* tweak opacity */ | |||
} | } | ||