From 224df0179f55c437ea102126c1bcae7b459013d0 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 10 Nov 2024 15:25:55 +0100 Subject: [PATCH] fixed padding and menu --- assets/_custom.scss | 25 ++++++------------------- assets/_main.scss | 1 + 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/assets/_custom.scss b/assets/_custom.scss index f10c5af..bc32794 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -1,14 +1,11 @@ -.book-page { - margin-top: -2rem; +.book-menu-content nav{ + display: flex; + flex-direction: column; + height: 99%; } -.book-menu{ - margin-top: 2rem; -} - -.book-menu-bot { - bottom: 0; - position: relative; +.book-menu-mid { + flex-grow: 1; } .info-container { @@ -53,13 +50,3 @@ display: block; display: block; } } - -@media only screen and (max-width : 575px) { - #personal { - min-width: 40px; - max-width: 180px; - float: center; - padding: 0px 0px 0px 0px; - display: block; - } -} diff --git a/assets/_main.scss b/assets/_main.scss index c81f01d..2198ffa 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -263,6 +263,7 @@ body[dir="rtl"] .book-menu { margin-top: $padding-16; } + .book-languages { margin-block-end: $padding-16 * 2;