random commit message, read it yourself
This commit is contained in:
commit
6fc834a27d
15 changed files with 776 additions and 0 deletions
101
static/css/base.css
Normal file
101
static/css/base.css
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
@font-face {
|
||||
font-family: "Varela Round";
|
||||
src: url("/fonts/varela-round-regular.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "JetBrains Mono";
|
||||
src: url("/fonts/jetbrains-mono-regular.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "JetBrains Mono";
|
||||
src: url("/fonts/jetbrains-mono-bold.woff2") format("woff2");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--accent-dim);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
border-radius: var(--radius-tertiary);
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-color: var(--surface-3) var(--bg);
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--surface-3);
|
||||
border-radius: var(--radius-pill);
|
||||
border: 2px solid var(--bg);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--accent-line);
|
||||
}
|
||||
|
||||
@keyframes rise {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(8px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
318
static/css/layout.css
Normal file
318
static/css/layout.css
Normal file
|
|
@ -0,0 +1,318 @@
|
|||
html {
|
||||
background-color: var(--bg);
|
||||
background-image:
|
||||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
|
||||
radial-gradient(680px 380px at 15% -120px, var(--bg-glow), transparent 65%),
|
||||
radial-gradient(520px 320px at 100% 0%, rgba(250, 179, 135, 0.08), transparent 60%);
|
||||
background-blend-mode: overlay, normal, normal;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 760px;
|
||||
margin: 0 auto;
|
||||
padding: 64px 24px 40px;
|
||||
}
|
||||
|
||||
/* ---------- Header ---------- */
|
||||
|
||||
.site-header {
|
||||
margin-bottom: 40px;
|
||||
animation: rise 550ms ease-out both;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
display: block;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
margin-bottom: var(--space-lg);
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.mark {
|
||||
color: var(--accent);
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.site-header h1 {
|
||||
font-family: var(--font-mono);
|
||||
font-weight: 700;
|
||||
font-size: clamp(30px, 6vw, 42px);
|
||||
letter-spacing: -0.01em;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.tagline {
|
||||
color: var(--muted);
|
||||
font-size: 15px;
|
||||
max-width: 46ch;
|
||||
margin: var(--space-lg) 0 0;
|
||||
}
|
||||
|
||||
.stats {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
margin: var(--space-sm) 0 0;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.stats strong {
|
||||
color: var(--accent);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* ---------- Featured ---------- */
|
||||
|
||||
.featured {
|
||||
margin-bottom: 48px;
|
||||
animation: rise 550ms ease-out both;
|
||||
animation-delay: 30ms;
|
||||
}
|
||||
|
||||
.featured-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
padding: var(--space-lg);
|
||||
background: rgba(24, 24, 37, 0.72);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--border);
|
||||
border-left: 3px solid var(--accent);
|
||||
border-radius: var(--radius-primary);
|
||||
box-shadow: var(--shadow-ambient);
|
||||
}
|
||||
|
||||
.feature-card .entry-name {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.feature-card .entry-desc {
|
||||
margin-bottom: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ---------- Category groups ---------- */
|
||||
|
||||
.group {
|
||||
margin-bottom: 48px;
|
||||
animation: rise 550ms ease-out both;
|
||||
}
|
||||
|
||||
.group:nth-of-type(1) { animation-delay: 60ms; }
|
||||
.group:nth-of-type(2) { animation-delay: 120ms; }
|
||||
.group:nth-of-type(3) { animation-delay: 180ms; }
|
||||
.group:nth-of-type(4) { animation-delay: 240ms; }
|
||||
|
||||
.cat-ecosystem { --cat-color: var(--accent); }
|
||||
.cat-hardware { --cat-color: #74c7ec; }
|
||||
.cat-misc { --cat-color: #a6e3a1; }
|
||||
|
||||
.group-head {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
padding-bottom: var(--space-md);
|
||||
margin-bottom: var(--space-lg);
|
||||
}
|
||||
|
||||
.group-head::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, var(--cat-color, var(--border)), transparent 85%);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.group-icon {
|
||||
color: var(--cat-color, var(--accent));
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.group h2 {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.group-count {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
color: var(--cat-color, var(--muted));
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 1px var(--space-sm);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
/* ---------- Entries ---------- */
|
||||
|
||||
.entries {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.entry {
|
||||
position: relative;
|
||||
padding: var(--space-lg);
|
||||
background: rgba(24, 24, 37, 0.72);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--border);
|
||||
border-left: 3px solid transparent;
|
||||
border-radius: var(--radius-primary);
|
||||
box-shadow: var(--shadow-ambient);
|
||||
transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
|
||||
}
|
||||
|
||||
.entry:hover {
|
||||
border-color: var(--border);
|
||||
border-left-color: var(--cat-color, var(--accent));
|
||||
background: rgba(36, 36, 58, 0.78);
|
||||
box-shadow: var(--shadow-hover);
|
||||
}
|
||||
|
||||
.entry-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.entry-name {
|
||||
font-family: var(--font-mono);
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.entry-name::before {
|
||||
content: "./";
|
||||
color: var(--muted);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.entry-meta {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.entry-meta .lang {
|
||||
color: var(--cat-color, var(--accent));
|
||||
}
|
||||
|
||||
.entry-meta .sep {
|
||||
margin: 0 var(--space-xs);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.entry-source {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
white-space: nowrap;
|
||||
padding: 3px var(--space-sm);
|
||||
border-radius: var(--radius-pill);
|
||||
border: 1px solid var(--border);
|
||||
transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
|
||||
}
|
||||
|
||||
.entry-source::after {
|
||||
content: " \2192";
|
||||
}
|
||||
|
||||
.entry-source:hover {
|
||||
color: var(--cat-color, var(--accent));
|
||||
border-color: var(--accent-line);
|
||||
background: var(--accent-dim);
|
||||
}
|
||||
|
||||
.entry-desc {
|
||||
margin: var(--space-sm) 0 var(--space-md);
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
.tag {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
color: var(--accent);
|
||||
background: var(--accent-dim);
|
||||
border: 1px solid var(--accent-line);
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 2px var(--space-sm);
|
||||
}
|
||||
|
||||
/* ---------- Footer ---------- */
|
||||
|
||||
.site-footer {
|
||||
margin-top: 56px;
|
||||
padding-top: var(--space-lg);
|
||||
border-top: 1px solid var(--border);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
font-family: var(--font-mono);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
body {
|
||||
padding: 40px 16px 32px;
|
||||
}
|
||||
|
||||
.featured-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.entry-head {
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
flex-direction: column;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.site-header,
|
||||
.featured,
|
||||
.group {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.entry {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
30
static/css/tokens.css
Normal file
30
static/css/tokens.css
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
:root {
|
||||
--bg: #1e1e2e;
|
||||
--bg-glow: #2a2440;
|
||||
--fg: #cdd6f4;
|
||||
--surface: #181825;
|
||||
--surface-2: #24243a;
|
||||
--surface-3: #2e2e46;
|
||||
--accent: #fab387;
|
||||
--accent-dim: rgba(250, 179, 135, 0.12);
|
||||
--accent-line: rgba(250, 179, 135, 0.28);
|
||||
--muted: #9399b2;
|
||||
--border: #313147;
|
||||
|
||||
--font-sans: "Varela Round", sans-serif;
|
||||
--font-mono: "JetBrains Mono", ui-monospace, monospace;
|
||||
|
||||
--space-xs: 4px;
|
||||
--space-sm: 8px;
|
||||
--space-md: 12px;
|
||||
--space-lg: 16px;
|
||||
--space-xl: 20px;
|
||||
|
||||
--radius-primary: 8px;
|
||||
--radius-secondary: 6px;
|
||||
--radius-tertiary: 4px;
|
||||
--radius-pill: 999px;
|
||||
|
||||
--shadow-ambient: 0 1px 2px rgba(0, 0, 0, 0.24);
|
||||
--shadow-hover: 0 12px 28px -10px rgba(250, 179, 135, 0.28);
|
||||
}
|
||||
4
static/favicon.svg
Normal file
4
static/favicon.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect width="32" height="32" rx="7" fill="#181825"/>
|
||||
<text x="16" y="23" font-family="monospace" font-weight="700" font-size="20" fill="#fab387" text-anchor="middle">b</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 247 B |
BIN
static/fonts/jetbrains-mono-bold.woff2
Normal file
BIN
static/fonts/jetbrains-mono-bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/jetbrains-mono-regular.woff2
Normal file
BIN
static/fonts/jetbrains-mono-regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/varela-round-regular.woff2
Normal file
BIN
static/fonts/varela-round-regular.woff2
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue