From 4587b133600ac59e38d1fccc7c7dba9f2c8f4af5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 15 Feb 2022 22:12:08 +0000
Subject: [PATCH] feat: add rtl support as part of #47

---
 assets/base.scss |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/assets/base.scss b/assets/base.scss
index b811b8e..6f47da3 100644
--- a/assets/base.scss
+++ b/assets/base.scss
@@ -6,7 +6,7 @@
   --lt-colours-gray: var(--outlinegray) !important;
 }
 
-h1, h2, h3, h4, ol, ul, thead {
+h1, h2, h3, h4, h5, h6, ol, ul, thead {
   font-family: Inter;
   color: var(--dark);
   font-weight: revert;
@@ -225,6 +225,13 @@
 
 html {
   scroll-behavior: smooth;
+
+  &:lang(ar) {
+    & p, & h1, & h2, & h3, article {
+      direction: rtl;
+      text-align: right;
+    }
+  }
 }
 
 body {

--
Gitblit v1.10.0