fix sidebar styles

This commit is contained in:
gonpombo8 2022-10-12 16:29:36 -03:00
parent e6059bdc6b
commit 26e8fc6fd4
No known key found for this signature in database
GPG Key ID: 6BE1C3CD0908CE48
2 changed files with 4 additions and 6 deletions

View File

@ -17,7 +17,7 @@ $body-min-width: 20rem !default;
$container-max-width: 1064px !default; $container-max-width: 1064px !default;
$header-height: 3.5rem !default; $header-height: 3.5rem !default;
$menu-width: 340px !default; $menu-width: 248px + $padding-16 + $padding-16 !default;
$toc-width: 16rem !default; $toc-width: 16rem !default;
$mobile-breakpoint: 768px; $mobile-breakpoint: 768px;

View File

@ -137,8 +137,8 @@ ul.pagination {
.book-menu-content { .book-menu-content {
width: $menu-width; width: $menu-width;
padding: $padding-16;
background: var(--body-background); background: var(--body-background);
padding: $padding-16;
} }
a, a,
@ -252,7 +252,7 @@ body[dir="rtl"] .book-menu {
.book-page { .book-page {
min-width: $body-min-width; min-width: $body-min-width;
flex-grow: 1; flex-grow: 1;
padding: $padding-16; padding: $padding-8
} }
.book-post { .book-post {
@ -539,10 +539,8 @@ 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,
.book-menu .book-menu-content,
.book-toc .book-toc-content { .book-toc .book-toc-content {
padding: 8px $padding-16; padding: $padding-16;
} }
} }