Skip to content

Commit 4e4ad60

Browse files
committed
make two-column about page wider
1 parent 1a7d9e3 commit 4e4ad60

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

assets/css/custom.css

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,24 @@
1515
font-size: 20px;
1616
}
1717

18-
/* Widen the layout ONLY for the about page (or others with 'wide-page' class) */
19-
body.wide-page .page {
20-
max-width: 1500px !important;
21-
width: 95%;
22-
}
23-
24-
body.wide-page .page__inner-wrap {
18+
/* Make 2-column layout wider for the about page */
19+
body.wider-page .layout--split {
20+
display: grid;
21+
grid-template-columns: 320px 1fr; /* wider sidebar + content */
22+
column-gap: 48px; /* space between sidebar and content */
2523
max-width: 1400px !important;
24+
width: 95% !important;
25+
margin: 0 auto;
2626
}
2727

28-
body.wide-page .page__content {
28+
/* Widen the content area */
29+
body.wider-page .archive,
30+
body.wider-page .page__content {
2931
max-width: 100% !important;
3032
width: 100% !important;
33+
}
34+
35+
/* Optional: limit super-wide paragraphs */
36+
body.wider-page .page__content p {
37+
max-width: 1000px;
3138
}

0 commit comments

Comments
 (0)