Allow main content to scale to 1440px

This commit is contained in:
Alex Shpak
2026-03-16 12:26:00 +01:00
parent be741b0148
commit 751bde097b
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ $padding-8: 0.5rem !default;
$padding-16: 1rem !default; $padding-16: 1rem !default;
$body-min-width: 20rem !default; $body-min-width: 20rem !default;
$container-max-width: 80rem !default; $container-max-width: 90rem !default;
$menu-width: 16rem !default; $menu-width: 16rem !default;
$toc-width: 16rem !default; $toc-width: 16rem !default;
+6 -3
View File
@@ -423,9 +423,12 @@ body[dir="rtl"] .book-menu {
// Extra space for big screens // Extra space for big screens
@media screen and (min-width: $container-max-width) { @media screen and (min-width: $container-max-width) {
.book-page, main {
.book-menu .book-menu-content, gap: $padding-16;
padding: $padding-16;
}
.book-menu .book-menu-content, // move fixed menus down
.book-toc .book-toc-content { .book-toc .book-toc-content {
padding: $padding-16 * 2 $padding-16; top: $padding-16;
} }
} }