|
|
| Line 1: |
Line 1: |
| /******************************
| |
| * Psychedelic Prog Background
| |
| ******************************/
| |
|
| |
|
| /* Base CSS variables for the dynamic background. JS will override these. */
| |
| :root {
| |
| --psy-color-1: #ff7a18; /* warm orange */
| |
| --psy-color-2: #af002d; /* deep crimson */
| |
| --psy-color-3: #00e6ff; /* electric cyan */
| |
| --psy-color-4: #7cff6b; /* neon green */
| |
| --psy-grid-color: rgba(255, 255, 255, 0.06);
| |
| }
| |
|
| |
| /* Turn on this class from Common.js */
| |
| body.psychedelic-wiki {
| |
| background: #040010;
| |
| color: #f5f5f5;
| |
| overflow-x: hidden;
| |
| }
| |
|
| |
| /* Main content card slightly translucent so the background shows through */
| |
| body.psychedelic-wiki #content,
| |
| body.psychedelic-wiki .mw-body {
| |
| background: rgba(3, 3, 16, 0.9);
| |
| border-radius: 12px;
| |
| box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
| |
| }
| |
|
| |
| /* Lava-lamp blobs & nebulas */
| |
| body.psychedelic-wiki::before {
| |
| content: "";
| |
| position: fixed;
| |
| inset: -20vh;
| |
| z-index: -2;
| |
| pointer-events: none;
| |
|
| |
| background:
| |
| radial-gradient(circle at 10% 0%, var(--psy-color-1) 0, transparent 55%),
| |
| radial-gradient(circle at 85% 15%, var(--psy-color-2) 0, transparent 55%),
| |
| radial-gradient(circle at 20% 85%, var(--psy-color-3) 0, transparent 55%),
| |
| radial-gradient(circle at 80% 90%, var(--psy-color-4) 0, transparent 55%);
| |
|
| |
| opacity: 0.9;
| |
| filter: blur(2px) saturate(1.3);
| |
| mix-blend-mode: screen;
| |
| animation: psy-clouds 60s ease-in-out infinite alternate;
| |
| }
| |
|
| |
| /* Neon diagonal grid – subtle, like prog album art */
| |
| body.psychedelic-wiki::after {
| |
| content: "";
| |
| position: fixed;
| |
| inset: -20vh;
| |
| z-index: -1;
| |
| pointer-events: none;
| |
|
| |
| background-image:
| |
| linear-gradient(120deg, var(--psy-grid-color) 1px, transparent 1px),
| |
| linear-gradient(-120deg, var(--psy-grid-color) 1px, transparent 1px);
| |
| background-size: 120px 120px;
| |
| opacity: 0.7;
| |
| mix-blend-mode: soft-light;
| |
| animation: psy-grid-drift 80s linear infinite;
| |
| }
| |
|
| |
| /* When the background is toggled off */
| |
| body.psychedelic-wiki.psychedelic-wiki-off::before,
| |
| body.psychedelic-wiki.psychedelic-wiki-off::after {
| |
| opacity: 0;
| |
| transition: opacity 0.6s ease-out;
| |
| }
| |
|
| |
| /* Keyframes for slow motion “space clouds” */
| |
| @keyframes psy-clouds {
| |
| 0% {
| |
| transform: translate3d(-2%, -2%, 0) scale(1.05);
| |
| filter: blur(3px) hue-rotate(0deg);
| |
| }
| |
| 50% {
| |
| transform: translate3d(2%, 2%, 0) scale(1.1);
| |
| filter: blur(2px) hue-rotate(40deg);
| |
| }
| |
| 100% {
| |
| transform: translate3d(-3%, 3%, 0) scale(1.08);
| |
| filter: blur(3px) hue-rotate(80deg);
| |
| }
| |
| }
| |
|
| |
| /* Grid drifting sideways forev*
| |