File size: 3,108 Bytes
7fab05e b703ce0 7fab05e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | :root {
--bg: #f4efe5;
--bg-accent: #e5f0e8;
--panel: rgba(255, 252, 245, 0.92);
--panel-strong: rgba(255, 248, 234, 0.98);
--text: #17211d;
--muted: #51615b;
--line: rgba(23, 33, 29, 0.12);
--brand: #0d8f71;
--brand-soft: rgba(13, 143, 113, 0.14);
--accent: #ef8354;
--shadow: 0 18px 60px rgba(20, 30, 28, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
overflow: hidden;
font-family: "IBM Plex Sans", sans-serif;
color: var(--text);
background:
radial-gradient(circle at top left, rgba(239, 131, 84, 0.2), transparent 28%),
radial-gradient(circle at top right, rgba(13, 143, 113, 0.18), transparent 24%),
linear-gradient(135deg, var(--bg) 0%, var(--bg-accent) 100%);
}
.page-shell {
display: grid;
grid-template-columns: minmax(300px, 360px) 1fr;
gap: 20px;
padding: 24px;
height: 100vh;
min-height: 0;
}
.control-rail,
.content-pane {
display: flex;
flex-direction: column;
gap: 20px;
min-height: 0;
}
.control-rail {
overflow-y: auto;
overflow-x: hidden;
padding-right: 4px;
}
.content-pane {
overflow: hidden;
}
.hero-card,
.panel-card,
.canvas-card {
border: 1px solid var(--line);
background: var(--panel);
backdrop-filter: blur(14px);
border-radius: 24px;
box-shadow: var(--shadow);
}
.hero-card {
padding: 14px 18px;
background: linear-gradient(160deg, rgba(255, 252, 245, 0.98), rgba(245, 255, 250, 0.94));
}
.panel-card {
padding: 20px;
}
.canvas-card {
padding: 22px;
min-height: 0;
}
.eyebrow {
margin: 0 0 4px;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--brand);
}
h1,
h2 {
margin: 0;
font-family: "Space Grotesk", sans-serif;
}
h1 {
font-size: clamp(1.35rem, 2vw, 1.8rem);
line-height: 1.05;
}
h2 {
font-size: 1.3rem;
}
.muted {
color: var(--muted);
}
.hero-card .muted {
margin: 4px 0 0;
font-size: 0.88rem;
line-height: 1.25;
}
.github-link {
display: inline-flex;
align-items: center;
gap: 5px;
margin-top: 8px;
font-size: 0.78rem;
font-weight: 600;
color: var(--muted);
text-decoration: none;
transition: color 160ms ease;
}
.github-link:hover {
color: var(--brand);
}
.github-link svg {
flex-shrink: 0;
}
/* ββ Mobile layout ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@media (max-width: 768px) {
body {
height: auto;
min-height: 100vh;
overflow: auto;
}
.page-shell {
grid-template-columns: 1fr;
height: auto;
min-height: 0;
padding: 12px;
gap: 12px;
overflow: visible;
}
.control-rail,
.content-pane {
overflow: visible;
gap: 12px;
}
.canvas-card {
padding: 14px;
}
.panel-card {
padding: 14px;
}
} |