diff options
Diffstat (limited to 'internal/generator/templates/themes/volcano/theme.css')
| -rw-r--r-- | internal/generator/templates/themes/volcano/theme.css | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/internal/generator/templates/themes/volcano/theme.css b/internal/generator/templates/themes/volcano/theme.css index 83c80df..44c1c2e 100644 --- a/internal/generator/templates/themes/volcano/theme.css +++ b/internal/generator/templates/themes/volcano/theme.css @@ -1,14 +1,41 @@ + /* Self-hosted web fonts: Bebas Neue by Ryoichi Tsunekawa and Inter by + Rasmus Andersson (SIL OFL 1.1). + Sources: https://fonts.google.com/specimen/Bebas+Neue and + https://fonts.google.com/specimen/Inter + See FONT_LICENSE.txt in this directory. */ + @font-face { + font-family: 'Bebas Neue'; + src: url('bebas-neue-v16-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'Inter'; + src: url('inter-v20-latin_latin-ext-regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'Inter'; + src: url('inter-v20-latin_latin-ext-600.woff2') format('woff2'); + font-weight: 600; + font-style: normal; + font-display: swap; + } :root { --lava:#ff4400; --ember:#ff8c00; --hot:#ffcc00; --bg:#0d0802; } * { margin:0; padding:0; box-sizing:border-box; } - body { font-family:'Segoe UI',system-ui,sans-serif; background:var(--bg); + body { font-family:'Inter','Segoe UI',system-ui,sans-serif; background:var(--bg); color:#ffe8cc; overflow:hidden; height:100vh; height:100dvh; } + h1, h2, h3, h4, h5, h6 { font-family:'Bebas Neue','Segoe UI',system-ui,sans-serif; font-weight:400; letter-spacing:0.08em; } #three-canvas { position:fixed; top:0; left:0; width:100%; height:100%; z-index:1; } .overlay { position:relative; z-index:10; height:100vh; height:100dvh; display:flex; flex-direction:column; } header { padding:16px 28px; background:rgba(13,8,2,0.82); backdrop-filter:blur(12px); border-bottom:1px solid rgba(255,68,0,0.3); display:flex; align-items:center; justify-content:space-between; } .logo { display:flex; align-items:center; gap:14px; } - .logo-mark { font-size:2rem; font-weight:800; color:var(--ember); text-shadow:0 0 16px var(--lava); } - .logo-title h1 { font-size:1.5rem; font-weight:700; color:#ffe8cc; } + .logo-mark { font-family:'Bebas Neue','Segoe UI',system-ui,sans-serif; font-size:2rem; font-weight:400; color:var(--ember); text-shadow:0 0 16px var(--lava); } + .logo-title h1 { font-family:'Bebas Neue','Segoe UI',system-ui,sans-serif; font-size:1.5rem; font-weight:400; color:#ffe8cc; letter-spacing:0.08em; } .logo-title .subtitle { font-size:0.75rem; color:rgba(255,232,204,0.5); margin-top:2px; } .logo-title .subtitle a { color:var(--ember); text-decoration:none; } .logo-title .subtitle a:hover { text-shadow:0 0 8px var(--lava); } @@ -37,7 +64,7 @@ .post:hover { border-color:var(--ember); box-shadow:0 0 20px rgba(255,68,0,0.25); transform:translateY(-2px); } .post-active { border-color:var(--hot) !important; background:rgba(30,8,2,0.9) !important; box-shadow:0 0 24px rgba(255,140,0,0.4),inset 3px 0 0 var(--hot) !important; } - .post-header { display:flex; justify-content:space-between; margin-bottom:12px; font-size:0.88rem; } + .post-header { display:flex; justify-content:space-between; margin-bottom:12px; font-size:0.88rem; font-weight:600; } .post-time { color:var(--ember); font-family:monospace; font-size:0.8rem; } .post-text { line-height:1.65; font-size:0.95rem; } .post-text a { color:var(--ember); text-decoration:none; } @@ -62,7 +89,7 @@ box-shadow: 0 0 20px var(--lava), 0 6px 30px rgba(255,68,0,0.4); } @keyframes splashEmberPulse { from { opacity:0.6; transform: scaleX(0.9); } to { opacity:1; transform: scaleX(1); } } - [data-sno-theme="volcano"] .splash-title { font-size:clamp(1.45rem,4.5vw,2rem); color:#ffe8cc; + [data-sno-theme="volcano"] .splash-title { font-family:'Bebas Neue','Segoe UI',system-ui,sans-serif; font-size:clamp(1.45rem,4.5vw,2rem); font-weight:400; letter-spacing:0.08em; color:#ffe8cc; text-shadow:0 0 20px var(--lava); } [data-sno-theme="volcano"] .splash-tag { color:var(--ember); letter-spacing:0.15em; } [data-sno-theme="volcano"] .splash-hint { color:rgba(255,232,204,0.88); } |
