adjust sidebar spacing for large monitors - center layout and reduce gap

This commit is contained in:
Russell Ballestrini 2025-09-12 10:01:41 -04:00
parent 91d2ed9170
commit 8b29615fcb

View file

@ -85,6 +85,21 @@ main {
}
}
/* Large monitor adjustments - bring sidebar closer to content */
@media (min-width: 1600px) {
body {
grid-template-columns: minmax(var(--sidebar-width), auto) minmax(0, 960px) 1fr;
grid-template-areas:
"sidebar main .";
justify-content: center;
gap: 3rem 2rem;
}
main {
margin: 0;
}
}
/* Table of contents styling */
.table-of-contents {
font-size: 0.875rem;