Files
2026-03-22 00:54:28 -07:00

634 lines
13 KiB
CSS
Executable File

/**
* UGH.im — Modern Dark Theme
* Clean, contemporary design with bold accents
*/
/* ==========================================================================
CSS Custom Properties
========================================================================== */
:root {
--bg-primary: #0c0c0c;
--bg-secondary: #141414;
--bg-elevated: #1a1a1a;
--bg-card: rgba(26, 26, 26, 0.8);
--text-primary: #fafafa;
--text-secondary: #d4d4d4;
--text-muted: #a3a3a3;
--accent: #f43f5e;
--accent-hover: #fb7185;
--accent-dim: rgba(244, 63, 94, 0.15);
--border: rgba(255, 255, 255, 0.08);
--border-focus: rgba(244, 63, 94, 0.5);
--font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", "Fira Code", monospace;
--radius: 12px;
--radius-sm: 8px;
--shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
--transition: 0.2s ease;
}
/* ==========================================================================
Base
========================================================================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background: var(--bg-primary);
background-image:
radial-gradient(ellipse 80% 50% at 50% -20%, rgba(244, 63, 94, 0.12), transparent),
radial-gradient(ellipse 60% 40% at 100% 100%, rgba(244, 63, 94, 0.06), transparent);
color: var(--text-secondary);
font-family: var(--font-sans);
font-size: 1rem;
line-height: 1.6;
min-height: 100vh;
}
::selection {
background: var(--accent);
color: white;
}
a {
color: var(--accent);
text-decoration: none;
transition: color var(--transition);
}
a:hover {
color: var(--accent-hover);
}
ul {
list-style: none;
}
/* ==========================================================================
Background
========================================================================== */
#stars-bg {
position: fixed;
top: 0;
left: 0;
z-index: -2;
pointer-events: none;
}
/* ==========================================================================
Container
========================================================================== */
.container {
max-width: 720px;
margin: 0 auto;
padding: 1.5rem;
}
/* ==========================================================================
Header
========================================================================== */
header {
text-align: center;
padding: 2rem 0 1.5rem;
border-bottom: 1px solid var(--border);
}
.header-sparkle {
font-size: 1.25rem;
margin-bottom: 0.5rem;
opacity: 0.8;
}
h1 {
font-size: 2.5rem;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--text-primary);
margin: 0.5rem 0 0.75rem;
}
h1 .glow {
color: var(--accent);
}
h1 .blink {
color: var(--text-muted);
}
header>br+br+.header-buttons {
margin-top: 1rem;
}
header p {
font-size: 0.95rem;
color: var(--text-muted);
max-width: 32rem;
margin: 0 auto;
}
.header-buttons {
display: flex;
gap: 0.75rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 1rem;
}
.retro-btn {
background: var(--bg-elevated);
border: 1px solid var(--border);
color: var(--text-primary);
font-family: inherit;
font-size: 0.875rem;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: var(--radius-sm);
cursor: pointer;
transition: background var(--transition), border-color var(--transition);
}
.retro-btn:hover {
background: var(--accent-dim);
border-color: var(--border-focus);
}
/* ==========================================================================
Navigation
========================================================================== */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(12, 12, 12, 0.9);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
padding: 0.5rem 0;
}
nav ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.25rem;
}
.nav-link {
display: block;
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 500;
color: var(--text-muted);
border-radius: var(--radius-sm);
transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
color: var(--accent);
background: var(--accent-dim);
}
/* ==========================================================================
Main
========================================================================== */
main {
padding: 1.5rem 0;
}
/* ==========================================================================
Date
========================================================================== */
.date-box {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 0.75rem 1rem;
text-align: center;
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 1.5rem;
}
/* ==========================================================================
Sections
========================================================================== */
.section-box {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.5rem;
margin-bottom: 1.5rem;
}
.section-box.full-width {
width: 100%;
}
h2 {
font-size: 1.25rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 1rem;
}
h2 .rainbow {
color: var(--accent);
}
h3 {
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.75rem;
}
.big-text {
font-size: 1.1rem;
color: var(--text-primary);
font-weight: 500;
}
.highlight {
color: var(--accent);
}
/* ==========================================================================
Layout
========================================================================== */
.two-column {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
@media (max-width: 640px) {
.two-column {
grid-template-columns: 1fr;
}
}
/* ==========================================================================
Info Box
========================================================================== */
.info-box {
background: var(--accent-dim);
border: 1px solid var(--border-focus);
border-radius: var(--radius-sm);
padding: 1rem;
margin-top: 1rem;
}
.cool-list {
padding-left: 1rem;
margin-top: 0.5rem;
}
.cool-list li {
margin: 0.5rem 0;
}
.cool-list li::before {
content: "→ ";
color: var(--accent);
}
/* ==========================================================================
Links
========================================================================== */
.link-list li,
.contact-list li {
margin: 0.5rem 0;
}
.friend-link {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
transition: border-color var(--transition), background var(--transition);
}
.friend-link:hover {
background: var(--accent-dim);
border-color: var(--border-focus);
}
.friend-link .icon {
font-size: 1.25rem;
}
.contact-list .label {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
}
/* ==========================================================================
Guest Box
========================================================================== */
.guest-box {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.25rem;
margin-bottom: 1.5rem;
text-align: center;
}
.credentials {
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 1rem;
margin: 1rem auto;
max-width: 280px;
font-family: var(--font-mono);
font-size: 0.875rem;
}
.cred-label {
color: var(--text-muted);
}
.cred-value {
color: var(--accent);
}
.note {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 0.75rem;
}
/* ==========================================================================
Services Grid
========================================================================== */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
}
.service-group {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem;
transition: border-color var(--transition), box-shadow var(--transition);
}
.service-group:hover {
border-color: var(--border-focus);
box-shadow: var(--shadow);
}
.service-group h3 {
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.service-group ul li {
margin: 0.35rem 0;
font-size: 0.9rem;
}
.service-group a {
color: inherit;
}
.service-group a:hover {
color: var(--accent);
}
.register,
.alt {
font-size: 0.8rem;
margin-left: 0.25rem;
}
.alt {
color: var(--text-muted);
}
/* Maintenance Status */
.status-maintenance {
opacity: 0.5;
filter: grayscale(1);
pointer-events: none;
}
/* Back-compat: treat "down" the same as prior "maintenance" */
.status-down {
opacity: 0.5;
filter: grayscale(1);
pointer-events: none;
}
.status-maintenance a {
cursor: not-allowed;
text-decoration: line-through !important;
}
.status-down a {
cursor: not-allowed;
text-decoration: line-through !important;
}
.maintenance-badge {
font-size: 0.7rem;
color: var(--accent);
margin-left: 0.5rem;
font-weight: bold;
text-transform: uppercase;
}
/* ==========================================================================
Donate
========================================================================== */
.donate-box {
text-align: center;
}
.donate-list {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
margin-top: 0.5rem;
}
.donate-link {
display: inline-block;
padding: 0.5rem 1rem;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
font-weight: 500;
font-size: 0.9rem;
margin: 0.25rem;
transition: background var(--transition), border-color var(--transition);
}
.donate-link:hover {
background: var(--accent-dim);
border-color: var(--border-focus);
}
.crypto-item {
margin: 0.75rem 0;
text-align: left;
}
.crypto-name {
font-size: 0.8rem;
color: var(--text-muted);
}
.crypto-addr {
display: block;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: 4px;
padding: 0.5rem;
font-size: 0.7rem;
font-family: var(--font-mono);
word-break: break-all;
margin-top: 0.25rem;
color: var(--text-secondary);
}
/* ==========================================================================
Awesome Links
========================================================================== */
.links-grid {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
}
.awesome-link {
padding: 0.4rem 0.75rem;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: 6px;
font-size: 0.875rem;
color: var(--text-secondary);
transition: background var(--transition), border-color var(--transition);
}
.awesome-link:hover {
background: var(--accent-dim);
border-color: var(--border-focus);
color: var(--accent);
}
/* ==========================================================================
Footer
========================================================================== */
footer {
border-top: 1px solid var(--border);
padding: 2rem 0;
text-align: center;
}
.footer-decor {
font-size: 1rem;
opacity: 0.6;
margin-bottom: 0.5rem;
}
.footer-text {
font-size: 0.875rem;
color: var(--text-muted);
}
.footer-buttons {
margin-top: 1rem;
}
.footer-buttons img {
display: none;
}
.badge {
display: inline-block;
padding: 0.25rem 0.5rem;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: 4px;
font-size: 0.7rem;
color: var(--text-muted);
}
/* ==========================================================================
Scrollbar
========================================================================== */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
background: var(--bg-elevated);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* ==========================================================================
Responsive
========================================================================== */
@media (max-width: 480px) {
.container {
padding: 1rem;
}
h1 {
font-size: 2rem;
}
nav ul {
flex-direction: column;
}
.services-grid {
grid-template-columns: 1fr;
}
}