Skip to content

Commit daaf734

Browse files
committed
Fix: doc cards lighter, heading sizes smaller, logo consistent lowercase
1 parent 837acbc commit daaf734

File tree

2 files changed

+32
-16
lines changed

2 files changed

+32
-16
lines changed

src/css/custom.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@
5858

5959
.navbar__title {
6060
font-weight: 700;
61-
font-size: 1.15rem;
62-
letter-spacing: -0.02em;
61+
font-size: 1rem;
62+
letter-spacing: -0.03em;
63+
text-transform: lowercase;
6364
}
6465

6566
/* Sidebar - clean dark */
@@ -253,6 +254,20 @@ html:not([data-theme='dark']) {
253254
color: inherit;
254255
}
255256

257+
/* Doc page headings - tighter */
258+
.markdown > h1:first-child {
259+
font-size: 1.8rem !important;
260+
}
261+
262+
.markdown h2 {
263+
font-size: 1.3rem !important;
264+
margin-top: 2rem;
265+
}
266+
267+
.markdown h3 {
268+
font-size: 1.05rem !important;
269+
}
270+
256271
/* Wider content */
257272
.container {
258273
max-width: 1400px !important;

src/pages/index.module.css

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
/* ── DOCS ────────────────────────────────────────────────────── */
344344

345345
.docs {
346-
padding: 4rem 2rem 6rem;
346+
padding: 2rem 2rem 4rem;
347347
background: #000;
348348
}
349349

@@ -356,39 +356,39 @@
356356
display: flex;
357357
align-items: center;
358358
gap: 1.5rem;
359-
padding: 1.5rem 0;
360-
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
359+
padding: 1.2rem 1.5rem;
360+
margin-bottom: 0.5rem;
361+
border: 1px solid rgba(255, 255, 255, 0.06);
362+
border-radius: 12px;
361363
text-decoration: none;
362364
color: #fff;
363365
transition: all 0.2s;
364-
}
365-
366-
.dCard:first-child {
367-
border-top: 1px solid rgba(255, 255, 255, 0.06);
366+
background: rgba(255, 255, 255, 0.02);
368367
}
369368

370369
.dCard:hover {
371370
text-decoration: none;
372371
color: #fff;
373-
padding-left: 0.8rem;
372+
background: rgba(77, 139, 255, 0.05);
373+
border-color: rgba(77, 139, 255, 0.2);
374374
}
375375

376376
.dNum {
377-
font-size: 0.8rem;
377+
font-size: 0.75rem;
378378
font-weight: 700;
379379
color: rgba(255, 255, 255, 0.15);
380-
min-width: 2rem;
380+
min-width: 1.5rem;
381381
font-variant-numeric: tabular-nums;
382382
}
383383

384384
.dCard h3 {
385-
font-size: 1rem;
385+
font-size: 0.95rem;
386386
font-weight: 700;
387-
margin: 0 0 0.2rem;
387+
margin: 0 0 0.15rem;
388388
}
389389

390390
.dCard p {
391-
font-size: 0.82rem;
391+
font-size: 0.8rem;
392392
color: rgba(255, 255, 255, 0.35);
393393
margin: 0;
394394
}
@@ -427,12 +427,13 @@
427427
}
428428

429429
.footLogo {
430-
font-size: 1.1rem;
430+
font-size: 1rem;
431431
font-weight: 700;
432432
letter-spacing: -0.03em;
433433
color: #fff;
434434
display: block;
435435
margin-bottom: 0.8rem;
436+
text-transform: lowercase;
436437
}
437438

438439
.footDesc {

0 commit comments

Comments
 (0)