MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/********************************* | /********************************* | ||
* 70s | * Psychedelic 70s Frame (Readable) | ||
*********************************/ | *********************************/ | ||
:root { | :root { | ||
-- | --psy70-bg: #050009; | ||
-- | --psy70-color-a: #ff9a00; | ||
-- | --psy70-color-b: #ff005c; | ||
-- | --psy70-color-c: #7b5cff; | ||
-- | --psy70-color-d: #00f0ff; | ||
} | } | ||
/* | /* Enable from Common.js */ | ||
body. | body.psy70 { | ||
background: var(-- | background: var(--psy70-bg); | ||
color: #f5f5f5; | color: #f5f5f5; | ||
overflow-x: hidden; | overflow-x: hidden; | ||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |||
} | } | ||
/* | /* ---- CONTENT: KEEP THIS BORING & READABLE ---- */ | ||
body. | |||
body. | body.psy70 #content, | ||
background: | body.psy70 .mw-body, | ||
body.psy70 .vector-body, | |||
body.psy70 .mw-content-container { | |||
background: #080812; /* fully opaque */ | |||
color: #f7f7fb; | color: #f7f7fb; | ||
border-radius: | border-radius: 12px; | ||
box-shadow: | box-shadow: | ||
0 0 0 1px rgba(255, 255, 255, 0. | 0 0 0 1px rgba(255, 255, 255, 0.02), | ||
0 | 0 20px 60px rgba(0, 0, 0, 0.85); | ||
} | |||
/* Make sure paragraphs and list text are high contrast */ | |||
body.psy70 .mw-body p, | |||
body.psy70 .mw-body li, | |||
body.psy70 .mw-body td, | |||
body.psy70 .mw-body th { | |||
color: #f0f0ff; | |||
} | } | ||
/* Headings | /* Headings */ | ||
body. | body.psy70 .mw-body h1, | ||
body. | body.psy70 .mw-body h2, | ||
body. | body.psy70 .mw-body h3, | ||
body. | body.psy70 .mw-body h4 { | ||
color: # | color: #ffe8c7; | ||
} | } | ||
/* Links | /* Links */ | ||
body. | body.psy70 .mw-body a { | ||
color: #ffb347; | color: #ffb347; | ||
text-decoration-color: rgba(255, 179, 71, 0.7); | |||
} | } | ||
body.psy70 .mw-body a:visited { | |||
body. | |||
color: #ff80c8; | color: #ff80c8; | ||
} | } | ||
body.psy70 .mw-body a:hover { | |||
body. | |||
color: #ffe28a; | color: #ffe28a; | ||
} | } | ||
/* Tables | /* Tables / infoboxes */ | ||
body. | body.psy70 .wikitable, | ||
body. | body.psy70 table { | ||
background-color: | background-color: #101020; | ||
border-color: rgba(255, 255, 255, 0. | border-color: rgba(255, 255, 255, 0.1); | ||
} | } | ||
body.psy70 .wikitable th, | |||
body. | body.psy70 .wikitable td { | ||
body. | border-color: rgba(255, 255, 255, 0.1); | ||
border-color: rgba(255, 255, 255, 0. | |||
} | } | ||
/* | /* Don’t fight the skin header too much */ | ||
body. | body.psy70 #mw-page-base, | ||
body. | body.psy70 #mw-head-base { | ||
background: transparent; | background: transparent; | ||
} | } | ||
/* | /* ---- PSYCHEDELIC FRAME: ONLY OUTSIDE CONTENT ---- */ | ||
body. | |||
/* Big frame around everything (behind content card) */ | |||
body.psy70::before { | |||
content: ""; | content: ""; | ||
position: fixed; | position: fixed; | ||
inset: | inset: 0; | ||
z-index: - | z-index: -2; | ||
pointer-events: none; | pointer-events: none; | ||
background: | background: | ||
radial-gradient(circle at | radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.85), transparent 55%), | ||
radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.85), transparent 55%), | |||
radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.85), transparent 55%), | |||
radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.85), transparent 55%), | |||
conic-gradient( | conic-gradient( | ||
from 0deg, | from 0deg, | ||
var(-- | var(--psy70-color-a) 0deg, | ||
var(-- | var(--psy70-color-b) 90deg, | ||
var(-- | var(--psy70-color-c) 180deg, | ||
var(-- | var(--psy70-color-d) 270deg, | ||
var(--psy70-color-a) 360deg | |||
var(-- | |||
); | ); | ||
mix-blend-mode: screen; | mix-blend-mode: screen; | ||
animation: | opacity: 0.4; | ||
filter: blur(3px) saturate(1.1); | |||
animation: psy70-frame-spin 90s linear infinite; | |||
} | } | ||
/* | /* Very subtle horizontal color waves under everything */ | ||
body. | body.psy70::after { | ||
content: ""; | content: ""; | ||
position: fixed; | position: fixed; | ||
inset: | inset: 0; | ||
z-index: - | z-index: -3; | ||
pointer-events: none; | pointer-events: none; | ||
| Line 109: | Line 119: | ||
linear-gradient( | linear-gradient( | ||
0deg, | 0deg, | ||
rgba(0, 0, 0, 0. | rgba(0, 0, 0, 0.96), | ||
rgba(0, 0, 0, 0. | rgba(0, 0, 0, 0.75), | ||
rgba(0, 0, 0, 0. | rgba(0, 0, 0, 0.96) | ||
), | ), | ||
repeating-linear-gradient( | repeating-linear-gradient( | ||
0deg, | 0deg, | ||
var(-- | var(--psy70-color-a) 0, | ||
var(-- | var(--psy70-color-a) 10px, | ||
var(-- | var(--psy70-color-b) 10px, | ||
var(-- | var(--psy70-color-b) 20px, | ||
var(-- | var(--psy70-color-c) 20px, | ||
var(-- | var(--psy70-color-c) 30px, | ||
var(-- | var(--psy70-color-d) 30px, | ||
var(-- | var(--psy70-color-d) 40px | ||
); | ); | ||
background-size: 100% 100%, 100% 260%; | background-size: 100% 100%, 100% 260%; | ||
mix-blend-mode: screen; | mix-blend-mode: screen; | ||
animation: | opacity: 0.2; | ||
animation: psy70-bands-shift 60s ease-in-out infinite alternate; | |||
} | |||
opacity: 0. | |||
/* Grain for a bit of analog feel */ | |||
body.psy70 #psy70-grain { | |||
pointer-events: none; | |||
position: fixed; | |||
inset: 0; | |||
z-index: -1; | |||
opacity: 0.09; | |||
mix-blend-mode: soft-light; | |||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E"); | |||
background-size: 160px 160px; | |||
} | } | ||
/* | /* When toggled off: remove the trippy layers, keep dark theme */ | ||
body. | body.psy70.psy70-off::before, | ||
body. | body.psy70.psy70-off::after, | ||
body. | body.psy70.psy70-off #psy70-grain { | ||
opacity: 0; | opacity: 0; | ||
transition: opacity 0. | transition: opacity 0.5s ease-out; | ||
} | } | ||
body.psy70.psy70-off { | |||
body. | |||
background: #050009; | background: #050009; | ||
} | } | ||
/* | /* Animations */ | ||
@keyframes | @keyframes psy70-frame-spin { | ||
0% { | 0% { transform: rotate(0deg) scale(1.02); } | ||
100% { transform: rotate(360deg) scale(1.02); } | |||
100% { | |||
} | } | ||
@keyframes psy70-bands-shift { | |||
@keyframes | 0% { background-position: 0 0, 0 0; } | ||
0% { | 100% { background-position: 0 0, 0 -200%; } | ||
100% { | |||
} | } | ||
/* Toggle button */ | /* Toggle button */ | ||
# | #psy70-toggle { | ||
position: fixed; | position: fixed; | ||
right: 1.4rem; | right: 1.4rem; | ||
| Line 206: | Line 184: | ||
padding: 0.35rem 0.9rem; | padding: 0.35rem 0.9rem; | ||
border-radius: 999px; | border-radius: 999px; | ||
border: 1px solid rgba(255, 255, 255, 0. | border: 1px solid rgba(255, 255, 255, 0.25); | ||
cursor: pointer; | cursor: pointer; | ||
| Line 220: | Line 198: | ||
0 0 20px rgba(255, 0, 150, 0.35); | 0 0 20px rgba(255, 0, 150, 0.35); | ||
backdrop-filter: blur(5px); | backdrop-filter: blur(5px); | ||
} | } | ||
# | #psy70-toggle:hover { | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
box-shadow: | box-shadow: | ||
Revision as of 06:25, 26 November 2025
/*********************************
* Psychedelic 70s Frame (Readable)
*********************************/
:root {
--psy70-bg: #050009;
--psy70-color-a: #ff9a00;
--psy70-color-b: #ff005c;
--psy70-color-c: #7b5cff;
--psy70-color-d: #00f0ff;
}
/* Enable from Common.js */
body.psy70 {
background: var(--psy70-bg);
color: #f5f5f5;
overflow-x: hidden;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* ---- CONTENT: KEEP THIS BORING & READABLE ---- */
body.psy70 #content,
body.psy70 .mw-body,
body.psy70 .vector-body,
body.psy70 .mw-content-container {
background: #080812; /* fully opaque */
color: #f7f7fb;
border-radius: 12px;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.02),
0 20px 60px rgba(0, 0, 0, 0.85);
}
/* Make sure paragraphs and list text are high contrast */
body.psy70 .mw-body p,
body.psy70 .mw-body li,
body.psy70 .mw-body td,
body.psy70 .mw-body th {
color: #f0f0ff;
}
/* Headings */
body.psy70 .mw-body h1,
body.psy70 .mw-body h2,
body.psy70 .mw-body h3,
body.psy70 .mw-body h4 {
color: #ffe8c7;
}
/* Links */
body.psy70 .mw-body a {
color: #ffb347;
text-decoration-color: rgba(255, 179, 71, 0.7);
}
body.psy70 .mw-body a:visited {
color: #ff80c8;
}
body.psy70 .mw-body a:hover {
color: #ffe28a;
}
/* Tables / infoboxes */
body.psy70 .wikitable,
body.psy70 table {
background-color: #101020;
border-color: rgba(255, 255, 255, 0.1);
}
body.psy70 .wikitable th,
body.psy70 .wikitable td {
border-color: rgba(255, 255, 255, 0.1);
}
/* Don’t fight the skin header too much */
body.psy70 #mw-page-base,
body.psy70 #mw-head-base {
background: transparent;
}
/* ---- PSYCHEDELIC FRAME: ONLY OUTSIDE CONTENT ---- */
/* Big frame around everything (behind content card) */
body.psy70::before {
content: "";
position: fixed;
inset: 0;
z-index: -2;
pointer-events: none;
background:
radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.85), transparent 55%),
radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.85), transparent 55%),
radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.85), transparent 55%),
radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.85), transparent 55%),
conic-gradient(
from 0deg,
var(--psy70-color-a) 0deg,
var(--psy70-color-b) 90deg,
var(--psy70-color-c) 180deg,
var(--psy70-color-d) 270deg,
var(--psy70-color-a) 360deg
);
mix-blend-mode: screen;
opacity: 0.4;
filter: blur(3px) saturate(1.1);
animation: psy70-frame-spin 90s linear infinite;
}
/* Very subtle horizontal color waves under everything */
body.psy70::after {
content: "";
position: fixed;
inset: 0;
z-index: -3;
pointer-events: none;
background-image:
linear-gradient(
0deg,
rgba(0, 0, 0, 0.96),
rgba(0, 0, 0, 0.75),
rgba(0, 0, 0, 0.96)
),
repeating-linear-gradient(
0deg,
var(--psy70-color-a) 0,
var(--psy70-color-a) 10px,
var(--psy70-color-b) 10px,
var(--psy70-color-b) 20px,
var(--psy70-color-c) 20px,
var(--psy70-color-c) 30px,
var(--psy70-color-d) 30px,
var(--psy70-color-d) 40px
);
background-size: 100% 100%, 100% 260%;
mix-blend-mode: screen;
opacity: 0.2;
animation: psy70-bands-shift 60s ease-in-out infinite alternate;
}
/* Grain for a bit of analog feel */
body.psy70 #psy70-grain {
pointer-events: none;
position: fixed;
inset: 0;
z-index: -1;
opacity: 0.09;
mix-blend-mode: soft-light;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
background-size: 160px 160px;
}
/* When toggled off: remove the trippy layers, keep dark theme */
body.psy70.psy70-off::before,
body.psy70.psy70-off::after,
body.psy70.psy70-off #psy70-grain {
opacity: 0;
transition: opacity 0.5s ease-out;
}
body.psy70.psy70-off {
background: #050009;
}
/* Animations */
@keyframes psy70-frame-spin {
0% { transform: rotate(0deg) scale(1.02); }
100% { transform: rotate(360deg) scale(1.02); }
}
@keyframes psy70-bands-shift {
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, 0 -200%; }
}
/* Toggle button */
#psy70-toggle {
position: fixed;
right: 1.4rem;
bottom: 1.4rem;
z-index: 2000;
padding: 0.35rem 0.9rem;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.25);
cursor: pointer;
background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.9));
color: #ffe8ff;
font-size: 0.78rem;
letter-spacing: 0.14em;
text-transform: uppercase;
text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.9),
0 0 20px rgba(255, 0, 150, 0.35);
backdrop-filter: blur(5px);
}
#psy70-toggle:hover {
transform: translateY(-1px);
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.9),
0 0 28px rgba(0, 240, 255, 0.55);
}