From 25ba1159ad5cabfe79c80a40ead158c389a68bef Mon Sep 17 00:00:00 2001
From: Youssif Shaaban Alsager <ysh-alsager@hotmail.com>
Date: Wed, 24 Aug 2022 03:32:40 +0000
Subject: [PATCH] feat: Add internationalization (i18n) support (#182)
---
assets/styles/base.scss | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/assets/styles/base.scss b/assets/styles/base.scss
index f7ad909..fa1a06c 100644
--- a/assets/styles/base.scss
+++ b/assets/styles/base.scss
@@ -10,11 +10,14 @@
html {
scroll-behavior: smooth;
&:lang(ar) {
- & p, & h1, & h2, & h3, article {
+ & p, & h1, & h2, & h3, article, header {
direction: rtl;
text-align: right;
}
}
+ & footer > p {
+ text-align: center !important;
+ }
}
.singlePage {
@@ -592,9 +595,13 @@
font-size: 0.8rem;
}
+ & > p {
+ margin: 0;
+ padding: 0.5rem 0;
+ }
+
& > p, & > a {
font-size: 1rem;
- margin: 0.7rem 0;
font-weight: 400;
user-select: none;
}
--
Gitblit v1.10.0