Skip to content

Commit d01f8bb

Browse files
deftioclaude
andcommitted
Fix site margins with !important overrides, shrink version label
Minima's calc-based max-width was overriding our 75% rule. Use !important to ensure wrapper fills 75% viewport. Reduce version label to 0.45em / weight 300 so it reads as a small annotation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ca9d415 commit d01f8bb

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

docs/assets/css/style.scss

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
---
22
---
33

4-
$content-width: 1200px;
5-
$on-large: 1280px;
4+
$content-width: 10000px;
5+
$on-large: 10000px;
6+
$spacing-unit: 16px;
67

78
@import "minima";
89

9-
/* ── Wider content area — ~75% viewport, ~12.5% gutter each side ─────── */
10+
/* ── Content fills ~75% of viewport, ~12.5% gutter each side ─────────── */
1011

1112
.wrapper {
12-
max-width: 75%;
13-
padding-left: 16px;
14-
padding-right: 16px;
15-
margin-left: auto;
16-
margin-right: auto;
13+
max-width: 75% !important;
14+
padding-left: 20px !important;
15+
padding-right: 20px !important;
1716
}
1817

1918
@media screen and (max-width: 768px) {
2019
.wrapper {
21-
max-width: 100%;
22-
padding-left: 16px;
23-
padding-right: 16px;
20+
max-width: 100% !important;
2421
}
2522
}
2623

@@ -37,12 +34,12 @@ $on-large: 1280px;
3734
/* ── Version label (inline with site title) ──────────────────────────── */
3835

3936
.site-version {
40-
font-size: 0.55em;
41-
font-weight: 400;
42-
color: #888;
37+
font-size: 0.45em;
38+
font-weight: 300;
39+
color: #999;
4340
letter-spacing: 0;
4441
vertical-align: middle;
45-
margin-left: 4px;
42+
margin-left: 6px;
4643
}
4744

4845
/* ── Headings ────────────────────────────────────────────────────────── */

0 commit comments

Comments
 (0)