Add shared CSS
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
:root {
|
||||
/* Gloom palette — the three ghost types drive the whole color system */
|
||||
--red: #ff3b5c;
|
||||
--yellow: #ffc23b;
|
||||
--blue: #3bb6ff;
|
||||
|
||||
--bg: #07090f;
|
||||
--bg-soft: #0d111c;
|
||||
--panel: #121829;
|
||||
--panel-2: #1a2238;
|
||||
--line: #283250;
|
||||
--text: #e8edff;
|
||||
--text-dim: #8d9bc4;
|
||||
--gloom: #7CFFB2; /* pickup currency green (studs) */
|
||||
--danger: #ff3b5c;
|
||||
|
||||
--rad: 14px;
|
||||
--shadow: 0 10px 40px rgba(0,0,0,.55);
|
||||
--mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
|
||||
--display: "Bahnschrift", "DIN Alternate", "Oswald", system-ui, sans-serif;
|
||||
--body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html, body { margin: 0; height: 100%; }
|
||||
body {
|
||||
background: radial-gradient(120% 80% at 50% -10%, #11182c 0%, var(--bg) 60%);
|
||||
color: var(--text);
|
||||
font-family: var(--body);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
h1, h2, h3, .display {
|
||||
font-family: var(--display);
|
||||
letter-spacing: .04em;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
a { color: var(--blue); }
|
||||
|
||||
button {
|
||||
font-family: var(--display);
|
||||
letter-spacing: .06em;
|
||||
text-transform: uppercase;
|
||||
border: 1px solid var(--line);
|
||||
background: var(--panel-2);
|
||||
color: var(--text);
|
||||
padding: 10px 16px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
transition: transform .08s ease, border-color .15s, background .15s;
|
||||
}
|
||||
button:hover { border-color: var(--blue); }
|
||||
button:active { transform: translateY(1px); }
|
||||
button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
|
||||
button.primary { background: var(--blue); color: #04121f; border-color: transparent; font-weight: 700; }
|
||||
button.danger { border-color: var(--danger); color: var(--danger); background: transparent; }
|
||||
|
||||
input, select, textarea {
|
||||
font-family: var(--body);
|
||||
background: var(--bg-soft);
|
||||
border: 1px solid var(--line);
|
||||
color: var(--text);
|
||||
border-radius: 8px;
|
||||
padding: 9px 11px;
|
||||
width: 100%;
|
||||
}
|
||||
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
|
||||
label { font-size: 12px; color: var(--text-dim); display: block; margin-bottom: 4px; letter-spacing: .03em; }
|
||||
|
||||
.type-red { color: var(--red); }
|
||||
.type-yellow { color: var(--yellow); }
|
||||
.type-blue { color: var(--blue); }
|
||||
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; vertical-align: middle; }
|
||||
.dot.red { background: var(--red); box-shadow: 0 0 8px var(--red); }
|
||||
.dot.yellow { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
|
||||
.dot.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
|
||||
|
||||
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 13px; }
|
||||
|
||||
.disclaimer {
|
||||
font-size: 11px; color: var(--text-dim); line-height: 1.5;
|
||||
border-top: 1px solid var(--line); padding: 14px 18px; text-align: center;
|
||||
}
|
||||
|
||||
.hidden { display: none !important; }
|
||||
.muted { color: var(--text-dim); }
|
||||
.mono { font-family: var(--mono); }
|
||||
Reference in New Issue
Block a user