Allow main content to scale to 1440px
This commit is contained in:
@@ -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
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user