summaryrefslogtreecommitdiff
path: root/assets/_main.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/_main.scss')
-rw-r--r--assets/_main.scss13
1 files changed, 12 insertions, 1 deletions
diff --git a/assets/_main.scss b/assets/_main.scss
index 09c4f91..4e96316 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -135,6 +135,17 @@ ul.pagination {
}
}
+// for RTL support
+body[dir="rtl"] .book-menu {
+ input.toggle + label::after {
+ content: "◂";
+ }
+
+ input.toggle:checked + label::after {
+ content: "▾";
+ }
+}
+
.book-section-flat {
margin-bottom: $padding-16 * 2;
@@ -381,7 +392,7 @@ ul.pagination {
}
}
- //for RTL support
+ // for RTL support
body[dir="rtl"] #menu-control:checked ~ main {
.book-menu .book-menu-content {
transform: translateX(-$menu-width);