Skip to content

Commit ca9d415

Browse files
deftioclaude
andcommitted
Fix site margins: use 75% viewport width instead of fixed max-width
The fixed 1200px max-width left ~1/3 gutters on wide screens. Now uses max-width: 75% so gutters are ~12.5% each side, with full-width on mobile. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8d245b7 commit ca9d415

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

docs/assets/css/style.scss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@ $on-large: 1280px;
66

77
@import "minima";
88

9-
/* ── Wider content area with tighter margins ─────────────────────────── */
9+
/* ── Wider content area — ~75% viewport, ~12.5% gutter each side ─────── */
1010

1111
.wrapper {
12-
max-width: $content-width;
12+
max-width: 75%;
1313
padding-left: 16px;
1414
padding-right: 16px;
15+
margin-left: auto;
16+
margin-right: auto;
1517
}
1618

17-
@media screen and (min-width: 600px) {
19+
@media screen and (max-width: 768px) {
1820
.wrapper {
19-
padding-left: 24px;
20-
padding-right: 24px;
21+
max-width: 100%;
22+
padding-left: 16px;
23+
padding-right: 16px;
2124
}
2225
}
2326

0 commit comments

Comments
 (0)