aboutsummaryrefslogtreecommitdiff
path: root/assets/_main.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-05-17 13:09:48 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-05-17 13:10:50 +0200
commit92600f77fe3e5103afae1ed2e8717436c449f429 (patch)
tree914f7de2c243bf260c0e94f1296ed03c683f8da3 /assets/_main.scss
parentd5f55b4003f5d16c5460eb72b64f2c0a46e48c07 (diff)
#215, Add support for languageDirection param
Diffstat (limited to 'assets/_main.scss')
-rw-r--r--assets/_main.scss21
1 files changed, 12 insertions, 9 deletions
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;
}