adjust sidebar spacing for large monitors - center layout and reduce gap
This commit is contained in:
parent
91d2ed9170
commit
8b29615fcb
1 changed files with 15 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue