From 92600f77fe3e5103afae1ed2e8717436c449f429 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 17 May 2020 13:09:48 +0200 Subject: #215, Add support for languageDirection param --- assets/_main.scss | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'assets/_main.scss') diff --git a/assets/_main.scss b/assets/_main.scss index 6dfd338..4b637d0 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -63,7 +63,7 @@ aside nav ul { } ul { - padding-left: $padding-16; + padding-inline-start: $padding-16; } } @@ -93,7 +93,7 @@ ul.pagination { height: 1.5em; width: auto; vertical-align: middle; - margin-right: $padding-8; + margin-inline-end: $padding-8; } } @@ -117,10 +117,13 @@ ul.pagination { color: $color-link; } - a.collapsed::after { - content: "▸"; - position: absolute; - right: 0; + a.collapsed { + display: flex; + justify-content: space-between; + + &::after { + content: "▸"; + } } } @@ -137,7 +140,7 @@ ul.pagination { } > ul { - padding-left: 0; + padding-inline-start: 0; } } @@ -229,7 +232,7 @@ ul.pagination { img { height: 1em; - margin-right: $padding-8; + margin-inline-end: $padding-8; } } @@ -306,7 +309,7 @@ aside nav, @media screen and (max-width: $mobile-breakpoint) { .book-menu { - margin-left: -$menu-width; + margin-inline-start: -$menu-width; font-size: $font-size-base; } -- cgit v1.2.3