Add Styles.css

Keeping Styles
This commit is contained in:
2026-01-22 21:23:09 +00:00
parent fbd4aefc5e
commit c42d5a2f76

179
assets/styles.css Normal file
View File

@@ -0,0 +1,179 @@
:root{
--bg:#0b1220;
--panel:#121a2e;
--panel2:#162040;
--ink:#eef2ff;
--muted:rgba(238,242,255,.74);
--muted2:rgba(238,242,255,.58);
--mono:#0a1020;
--stroke:rgba(255,255,255,.10);
--accent:#6aa9ff;
--good:#34d399;
--warn:#fbbf24;
--bad:#fb7185;
--radius:18px;
--shadow:0 18px 45px rgba(0,0,0,.35);
--max:1100px;
}
*{box-sizing:border-box}
body{
margin:0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
background:var(--bg);
color:var(--ink);
padding:28px 16px 60px;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto;}
.topbar{
display:flex; flex-wrap:wrap; gap:10px;
align-items:center; justify-content:space-between;
margin:0 0 16px;
padding:14px 16px;
border:1px solid var(--stroke);
border-radius:999px;
background: rgba(255,255,255,.03);
box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.brand{
display:flex; align-items:center; gap:10px;
}
.brand-mark{
width:30px;height:30px;border-radius:12px;background:var(--accent);
box-shadow: 0 10px 18px rgba(106,169,255,.18);
}
.brand-title strong{display:block;font-size:13px}
.brand-title span{display:block;font-size:12px;color:var(--muted2)}
.nav{display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end}
.pill{
text-decoration:none;
font-size:13px;
padding:8px 12px;
border-radius:999px;
border:1px solid var(--stroke);
background: rgba(255,255,255,.04);
color: var(--muted);
}
.pill:hover{background: rgba(255,255,255,.07); color: var(--ink)}
.hero{
border:1px solid var(--stroke);
border-radius: var(--radius);
background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
box-shadow: var(--shadow);
overflow:hidden;
}
.hero-inner{
padding:26px 18px;
display:grid;
grid-template-columns: 1.3fr .7fr;
gap:14px;
}
@media (max-width: 880px){ .hero-inner{grid-template-columns:1fr;} }
h1{margin:0 0 8px; font-size:34px; letter-spacing:-.4px}
.lead{margin:0; color:var(--muted); line-height:1.65}
.codechip{
display:inline-flex; gap:10px; flex-wrap:wrap; align-items:center;
margin:0 0 10px;
}
.code{
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
background: var(--mono);
border:1px solid rgba(255,255,255,.08);
padding:6px 10px;
border-radius:999px;
font-size:13px;
}
.badge{
font-size:12px; padding:5px 9px; border-radius:999px;
border:1px solid rgba(255,255,255,.10);
color: var(--muted);
}
.b-temp{ border-color: rgba(251,191,36,.35); color: #fde68a; }
.b-perm{ border-color: rgba(251,113,133,.35); color: #fecdd3; }
.b-auth{ border-color: rgba(106,169,255,.35); color: #dbeafe; }
.b-quota{ border-color: rgba(52,211,153,.25); color: #bbf7d0; }
.side{
border:1px solid var(--stroke);
background: rgba(255,255,255,.03);
border-radius: 16px;
padding:14px;
align-self:start;
}
.side h3{margin:0 0 8px; font-size:14px}
.side ul{margin:0; padding-left:18px; color:var(--muted); line-height:1.65; font-size:13px}
.side li{margin:6px 0}
.section-title{
margin:18px 2px 10px;
font-size: 12px;
letter-spacing:.18em;
text-transform: uppercase;
color: var(--muted2);
}
.grid{
display:grid;
grid-template-columns: 1fr 1fr;
gap:12px;
}
@media (max-width: 880px){ .grid{grid-template-columns:1fr;} }
.card{
border:1px solid var(--stroke);
border-radius: var(--radius);
background: rgba(255,255,255,.04);
padding:16px;
box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.card h2{margin:0 0 8px; font-size:15px}
.card p{margin:0; color:var(--muted); line-height:1.7; font-size:14px}
.card ul{margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.7; font-size:14px}
.card li{margin:6px 0}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px;}
.btn{
display:inline-flex; align-items:center; justify-content:center; gap:10px;
padding:10px 12px;
border-radius: 12px;
border:1px solid var(--stroke);
text-decoration:none;
font-weight: 750;
font-size: 13px;
background: rgba(255,255,255,.05);
}
.btn:hover{background: rgba(255,255,255,.08)}
.btn.primary{
background: rgba(106,169,255,.18);
border-color: rgba(106,169,255,.35);
}
.small-note{margin-top:10px; font-size:12px; color:var(--muted2); line-height:1.6}
.imgbox{
margin-top:12px;
border:1px solid rgba(255,255,255,.10);
border-radius: 16px;
overflow:hidden;
background: rgba(255,255,255,.03);
}
.imgbox img{display:block; width:100%; height:auto}
.footer{
margin-top:22px;
padding-top:14px;
border-top:1px solid rgba(255,255,255,.10);
color: var(--muted2);
font-size:12px;
line-height:1.65;
display:flex;
gap:12px;
flex-wrap:wrap;
justify-content:space-between;
}