morphit/apps/web/static/degraded.css

107 lines
1.7 KiB
CSS

/*
* Morphit — degraded-mode stylesheet.
*
* Loaded by static/degraded.html. External rather than inline
* so the operator's recommended CSP (style-src: self) applies
* without needing a hash-allowlist.
*/
:root {
color-scheme: dark;
--bg: #0a0e0f;
--panel: #131a1c;
--text: #d8e0e2;
--muted: #7c8a8e;
--accent: #34d399;
--border: #1f2a2d;
}
html,
body {
background: var(--bg);
color: var(--text);
font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
min-height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 1.5rem;
box-sizing: border-box;
}
main {
max-width: 36rem;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 12px;
padding: 2rem;
box-shadow:
0 0 0 1px rgba(52, 211, 153, 0.05),
0 12px 40px rgba(0, 0, 0, 0.4);
}
h1 {
margin: 0 0 0.5rem 0;
font-size: 1.4rem;
color: var(--accent);
font-weight: 600;
}
.lede {
margin: 0 0 1.25rem 0;
color: var(--text);
line-height: 1.55;
}
p {
color: var(--muted);
line-height: 1.55;
margin: 0 0 1rem 0;
}
ul {
color: var(--text);
line-height: 1.6;
padding-left: 1.25rem;
margin: 0 0 1.25rem 0;
}
ul li {
margin-bottom: 0.4rem;
}
a {
color: var(--accent);
text-decoration: none;
border-bottom: 1px solid rgba(52, 211, 153, 0.3);
}
a:hover {
border-bottom-color: var(--accent);
}
.footer {
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
font-size: 0.85rem;
color: var(--muted);
}
.brand {
font-weight: 700;
color: var(--accent);
}
.instance {
font-size: 0.95rem;
color: var(--muted);
margin-bottom: 1.25rem;
}