MediaWiki:Common.css: Difference between revisions

Wordmark not inverted
Fixed candlelight background layer
Line 31: Line 31:


/* ---------- page canvas: warm room with bokeh candlelight ---------- */
/* ---------- page canvas: warm room with bokeh candlelight ---------- */
html, body, html.skin-theme-clientpref-night body {
html, html.skin-theme-clientpref-night {
background-color: #160f10;
background-color: #160f10;
}
}
body {
body, html.skin-theme-clientpref-night body {
color: var(--lp-ink);
color: var(--lp-ink);
font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
background-image:
background: transparent !important;
}
/* candlelight layer pinned to the viewport, so it never scrolls away */
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background:
radial-gradient(circle at 8% 12%, rgba(255, 190, 90, 0.20) 0, rgba(255, 190, 90, 0) 160px),
radial-gradient(circle at 8% 12%, rgba(255, 190, 90, 0.20) 0, rgba(255, 190, 90, 0) 160px),
radial-gradient(circle at 92% 8%, rgba(255, 170, 110, 0.16) 0, rgba(255, 170, 110, 0) 200px),
radial-gradient(circle at 92% 8%, rgba(255, 170, 110, 0.16) 0, rgba(255, 170, 110, 0) 200px),
radial-gradient(circle at 85% 55%, rgba(244, 163, 180, 0.12) 0, rgba(244, 163, 180, 0) 240px),
radial-gradient(circle at 85% 55%, rgba(244, 163, 180, 0.12) 0, rgba(244, 163, 180, 0) 240px),
radial-gradient(circle at 4% 70%, rgba(255, 200, 120, 0.13) 0, rgba(255, 200, 120, 0) 220px),
radial-gradient(circle at 4% 70%, rgba(255, 200, 120, 0.13) 0, rgba(255, 200, 120, 0) 220px),
radial-gradient(circle at 30% 45%, rgba(255, 210, 140, 0.07) 0, rgba(255, 210, 140, 0) 180px),
radial-gradient(circle at 50% 100%, rgba(120, 110, 220, 0.18) 0, rgba(120, 110, 220, 0) 420px),
radial-gradient(circle at 50% 100%, rgba(120, 110, 220, 0.18) 0, rgba(120, 110, 220, 0) 420px),
linear-gradient(180deg, #1b1212 0%, #160f10 55%, #17111b 100%);
linear-gradient(180deg, #1b1212 0%, #160f10 55%, #17111b 100%);
background-attachment: fixed;
}
.mw-page-container, .mw-page-container-inner, .vector-body-before-content,
.skin-minerva #mw-mf-viewport, .skin-minerva #mw-mf-page-center, .skin-minerva .page-wrapper {
background: transparent !important;
}
}