diff --git a/assets/base.scss b/assets/base.scss index b811b8ec3..6f47da3a9 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 @@ code { html { scroll-behavior: smooth; + + &:lang(ar) { + & p, & h1, & h2, & h3, article { + direction: rtl; + text-align: right; + } + } } body { diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9f9f87796..ac8c216d3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ - + {{ partial "head.html" . }} diff --git a/layouts/index.html b/layouts/index.html index 0e2a9d110..17b691734 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ - + {{ partial "head.html" . }}