340 lines
12 KiB
CSS
340 lines
12 KiB
CSS
/* ===== SNOWARE — Minimal Warm Theme ===== */
|
|
|
|
:root {
|
|
--bg: #1c1b19;
|
|
--bg-soft: #262422;
|
|
--bg-card: #2e2c2a;
|
|
--accent: #c8a87a;
|
|
--accent-warm: #e8c9a0;
|
|
--accent-cool: #8a9a7e;
|
|
--text: #e0d8c8;
|
|
--text-muted: #9e9585;
|
|
--text-dim: #6b6358;
|
|
--border: rgba(200,168,122,0.12);
|
|
--border-hover: rgba(200,168,122,0.28);
|
|
--radius: 10px;
|
|
--font: 'Segoe UI', system-ui, -apple-system, sans-serif;
|
|
--mono: 'Cascadia Code', 'Fira Code', monospace;
|
|
--transition: 0.25s ease;
|
|
}
|
|
|
|
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
|
|
body {
|
|
font-family: var(--font);
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.7;
|
|
/* Warm linen texture via subtle noise */
|
|
background-image:
|
|
url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
|
|
background-repeat: repeat;
|
|
background-size: 256px 256px;
|
|
}
|
|
|
|
.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }
|
|
|
|
/* ===== Navigation ===== */
|
|
.site-nav {
|
|
position: sticky; top: 0; z-index: 100;
|
|
background: rgba(28,27,25,0.92);
|
|
backdrop-filter: blur(14px);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 10px 0;
|
|
}
|
|
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
|
|
.nav-brand {
|
|
display: flex; align-items: center; gap: 10px;
|
|
color: var(--text); font-weight: 700; font-size: 17px; text-decoration: none;
|
|
}
|
|
.nav-brand img { border-radius: 50%; }
|
|
.nav-links { display: flex; gap: 22px; }
|
|
.nav-links a {
|
|
color: var(--text-muted); text-decoration: none; font-size: 13.5px;
|
|
transition: color var(--transition); position: relative;
|
|
}
|
|
.nav-links a:hover { color: var(--accent-warm); }
|
|
.nav-links a::after {
|
|
content: ''; position: absolute; bottom: -3px; left: 0;
|
|
width: 0; height: 1.5px; background: var(--accent);
|
|
transition: width var(--transition);
|
|
}
|
|
.nav-links a:hover::after { width: 100%; }
|
|
|
|
/* ===== Homepage ===== */
|
|
.home-hero {
|
|
min-height: 100vh;
|
|
display: flex; flex-direction: column;
|
|
align-items: center; justify-content: center;
|
|
padding: 60px 24px;
|
|
gap: 32px;
|
|
}
|
|
.home-hero .logo-wrap { text-align: center; }
|
|
.home-hero .home-logo {
|
|
width: 160px; height: 160px;
|
|
border-radius: 50%;
|
|
border: 2px solid rgba(200,168,122,0.3);
|
|
background: rgba(46,44,42,0.5);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.home-title {
|
|
font-size: 44px; font-weight: 700; letter-spacing: 6px;
|
|
color: var(--accent-warm);
|
|
margin: 0;
|
|
}
|
|
.home-subtitle {
|
|
color: var(--text-muted); font-size: 15px; text-align: center; max-width: 420px;
|
|
}
|
|
|
|
/* Homepage nav buttons */
|
|
.home-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
|
|
.home-btn {
|
|
padding: 11px 26px; border-radius: 8px;
|
|
background: var(--bg-card); border: 1px solid var(--border);
|
|
color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500;
|
|
transition: all var(--transition);
|
|
}
|
|
.home-btn:hover {
|
|
border-color: var(--border-hover);
|
|
background: rgba(200,168,122,0.08);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Services section on homepage */
|
|
.home-services {
|
|
margin-top: 48px;
|
|
text-align: center;
|
|
}
|
|
.home-services h2 {
|
|
font-size: 15px; color: var(--text-dim); font-weight: 500;
|
|
letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
|
|
}
|
|
.services-grid {
|
|
display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
|
|
max-width: 600px; margin: 0 auto;
|
|
}
|
|
.service-card {
|
|
padding: 20px 16px; border-radius: var(--radius);
|
|
background: var(--bg-card); border: 1px solid var(--border);
|
|
text-decoration: none; color: var(--text);
|
|
transition: all var(--transition);
|
|
text-align: center;
|
|
}
|
|
.service-card:hover {
|
|
border-color: var(--border-hover);
|
|
background: rgba(200,168,122,0.06);
|
|
}
|
|
.service-icon {
|
|
display: flex; justify-content: center; margin-bottom: 10px;
|
|
}
|
|
.service-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
|
|
.service-card h3 { font-size: 14px; color: var(--accent-warm); margin-bottom: 4px; }
|
|
.service-card p { font-size: 12.5px; color: var(--text-muted); }
|
|
.service-card.no-link { cursor: default; }
|
|
.service-card.no-link:hover { background: var(--bg-card); border-color: var(--border); transform: none; }
|
|
|
|
/* ===== Page Hero ===== */
|
|
.page-hero {
|
|
text-align: center; padding: 72px 24px 36px;
|
|
}
|
|
.page-hero h1 {
|
|
font-size: 36px; font-weight: 700;
|
|
color: var(--accent-warm); margin-bottom: 6px;
|
|
}
|
|
.page-hero .subtitle { color: var(--text-muted); font-size: 16px; }
|
|
|
|
/* ===== Page Content ===== */
|
|
.page-content { padding: 16px 24px 60px; }
|
|
|
|
/* ===== Buttons ===== */
|
|
.btn {
|
|
display: inline-block; padding: 9px 22px; border-radius: 8px;
|
|
font-size: 14px; font-weight: 500; text-decoration: none;
|
|
transition: all var(--transition); cursor: pointer;
|
|
border: 1px solid transparent;
|
|
}
|
|
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
|
|
.btn-primary:hover { background: var(--accent-warm); }
|
|
.btn-accent {
|
|
background: rgba(200,168,122,0.1); color: var(--accent);
|
|
border-color: var(--border-hover);
|
|
}
|
|
.btn-accent:hover { background: rgba(200,168,122,0.18); }
|
|
.btn-outline { background: transparent; color: var(--text-muted); border-color: var(--border); }
|
|
.btn-outline:hover { border-color: var(--text-muted); color: var(--text); }
|
|
.btn-lg { padding: 13px 30px; font-size: 16px; }
|
|
|
|
/* ===== Cards ===== */
|
|
.card-base {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
backdrop-filter: blur(6px);
|
|
transition: all var(--transition);
|
|
}
|
|
.card-base:hover { border-color: var(--border-hover); }
|
|
|
|
.feature-card {
|
|
padding: 22px; text-align: center;
|
|
}
|
|
.feature-card h3 { color: var(--accent-warm); font-size: 15px; margin-bottom: 6px; }
|
|
.feature-card p { color: var(--text-muted); font-size: 13px; }
|
|
.feature-icon { font-size: 28px; margin-bottom: 10px; color: var(--accent); }
|
|
|
|
/* ===== Resources Section ===== */
|
|
.res-intro { text-align: center; margin-bottom: 28px; }
|
|
.res-intro-text { color: var(--text); font-size: 15px; }
|
|
.res-actions {
|
|
display: flex; gap: 14px; justify-content: center;
|
|
margin-bottom: 36px; flex-wrap: wrap;
|
|
}
|
|
.res-features {
|
|
display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
|
|
}
|
|
|
|
/* ===== File List ===== */
|
|
.filelist-grid {
|
|
display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
|
|
}
|
|
.subject-card {
|
|
display: flex; flex-direction: column; align-items: center; gap: 8px;
|
|
padding: 24px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid color-mix(in srgb, var(--color) 20%, transparent);
|
|
border-radius: var(--radius);
|
|
text-decoration: none; color: var(--text);
|
|
transition: all var(--transition);
|
|
}
|
|
.subject-card:hover {
|
|
border-color: var(--color);
|
|
background: color-mix(in srgb, var(--color) 6%, var(--bg-card));
|
|
transform: translateY(-2px);
|
|
}
|
|
.subject-icon svg { width: 36px; height: 36px; stroke: var(--color); fill: none; stroke-width: 1.5; }
|
|
.subject-card h3 { font-size: 17px; }
|
|
.subject-pw { font-size: 12.5px; color: var(--text-muted); }
|
|
.subject-pw code {
|
|
background: rgba(255,255,255,0.06); padding: 2px 7px; border-radius: 4px;
|
|
color: var(--color); font-family: var(--mono);
|
|
}
|
|
|
|
/* ===== Software Section ===== */
|
|
.about-intro {
|
|
text-align: center; margin-bottom: 36px; padding: 22px;
|
|
background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
|
|
}
|
|
.about-intro p { color: var(--text-muted); margin-bottom: 14px; }
|
|
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
|
|
.project-card {
|
|
display: flex; flex-direction: column; gap: 10px; padding: 24px;
|
|
background: var(--bg-card);
|
|
border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
|
|
border-radius: var(--radius);
|
|
text-decoration: none; color: var(--text);
|
|
transition: all var(--transition);
|
|
}
|
|
.project-card:hover {
|
|
border-color: var(--accent);
|
|
background: color-mix(in srgb, var(--accent) 4%, var(--bg-card));
|
|
transform: translateY(-2px);
|
|
}
|
|
.card-header { display: flex; justify-content: space-between; align-items: flex-start; }
|
|
.card-header h3 { font-size: 18px; color: var(--accent-warm); }
|
|
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
|
|
.tag {
|
|
font-size: 11px; padding: 2px 9px; border-radius: 50px;
|
|
background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
|
|
color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
|
|
}
|
|
.card-desc { color: var(--text-muted); font-size: 13.5px; }
|
|
.card-links { margin-top: auto; }
|
|
.card-link { font-size: 13.5px; color: var(--accent); }
|
|
|
|
/* ===== Software Detail ===== */
|
|
.sw-links { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
|
|
.sw-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
|
|
.sw-section {
|
|
margin-bottom: 28px; padding: 22px;
|
|
background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
|
|
}
|
|
.sw-section h2 { color: var(--accent-warm); margin-bottom: 10px; font-size: 20px; }
|
|
.sw-code {
|
|
background: rgba(255,255,255,0.05); padding: 10px 16px; border-radius: 6px;
|
|
font-family: var(--mono); font-size: 13px; overflow-x: auto; color: var(--text);
|
|
}
|
|
.usage-list { display: flex; flex-direction: column; gap: 10px; }
|
|
.usage-item { display: flex; gap: 10px; align-items: center; }
|
|
.usage-item code {
|
|
background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 5px;
|
|
font-family: var(--mono); font-size: 12.5px; white-space: nowrap;
|
|
}
|
|
.usage-item span { color: var(--text-muted); font-size: 13px; }
|
|
|
|
/* ===== Drag Ball ===== */
|
|
.drag-ball-area {
|
|
text-align: center; padding: 22px; margin: 36px 0;
|
|
background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
|
|
}
|
|
.drag-hint { color: var(--text-muted); font-size: 13px; margin-top: 6px; }
|
|
|
|
/* ===== XAGuarder ===== */
|
|
.xag-intro {
|
|
text-align: center; padding: 36px;
|
|
background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
|
|
max-width: 560px; margin: 0 auto;
|
|
}
|
|
.xag-logo { border-radius: 50%; margin-bottom: 14px; }
|
|
.xag-intro h2 { margin-bottom: 14px; color: var(--accent-warm); }
|
|
.xag-intro p { color: var(--text-muted); margin-bottom: 18px; }
|
|
|
|
/* ===== Warning Page ===== */
|
|
.warning-page {
|
|
min-height: 80vh; display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.warning-content {
|
|
text-align: center; padding: 50px;
|
|
background: rgba(180,60,50,0.06); border: 2px solid rgba(180,60,50,0.25);
|
|
border-radius: var(--radius); max-width: 480px;
|
|
}
|
|
.warning-logo { border-radius: 50%; margin-bottom: 18px; }
|
|
.warning-content h1 { color: #b84040; font-size: 26px; margin-bottom: 14px; }
|
|
.warning-text { font-size: 16px; color: var(--text); margin-bottom: 6px; }
|
|
.warning-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 22px; }
|
|
|
|
/* ===== Error Page ===== */
|
|
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; }
|
|
.error-content { text-align: center; }
|
|
.error-logo { border-radius: 50%; margin-bottom: 18px; }
|
|
.error-content h1 { font-size: 64px; color: var(--accent); margin-bottom: 10px; }
|
|
.error-content p { color: var(--text-muted); }
|
|
.error-hint { font-size: 13px; margin-bottom: 22px; }
|
|
|
|
/* ===== Footer ===== */
|
|
.site-footer {
|
|
text-align: center; padding: 22px;
|
|
border-top: 1px solid var(--border);
|
|
color: var(--text-dim); font-size: 12.5px; margin-top: auto;
|
|
}
|
|
|
|
/* ===== Responsive ===== */
|
|
@media (max-width: 768px) {
|
|
.nav-inner { flex-direction: column; gap: 10px; }
|
|
.nav-links { gap: 14px; }
|
|
.home-title { font-size: 30px; letter-spacing: 4px; }
|
|
.home-hero .home-logo { width: 120px; height: 120px; }
|
|
.services-grid { grid-template-columns: 1fr; max-width: 320px; }
|
|
.page-hero h1 { font-size: 26px; }
|
|
.project-grid { grid-template-columns: 1fr; }
|
|
.filelist-grid { grid-template-columns: repeat(2, 1fr); }
|
|
.res-features, .sw-features { grid-template-columns: 1fr 1fr; }
|
|
}
|
|
@media (max-width: 480px) {
|
|
.filelist-grid { grid-template-columns: 1fr; }
|
|
.res-features, .sw-features { grid-template-columns: 1fr; }
|
|
.sw-links { flex-direction: column; align-items: center; }
|
|
}
|