diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_main.scss | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/assets/_main.scss b/assets/_main.scss index 4b637d0..47150c2 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -168,12 +168,6 @@ ul.pagination { margin: $padding-16 0; border-bottom: 1px solid transparent; - &::after { - display: block; - content: ""; - clear: both; - } - input { width: 100%; padding: $padding-8; @@ -342,6 +336,14 @@ aside nav, } } + //for RTL support + body[dir="rtl"] #menu-control:checked + main { + .book-menu nav, + .book-page { + transform: translateX(-$menu-width); + } + } + #toc-control:checked + aside { display: block; } |