diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-04-02 18:35:15 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-04-02 18:35:15 +0300 |
commit | 96a9083695b3106e27c28239d570a97f2434d358 (patch) | |
tree | 3fec2f4862304a5197475eb74801b41132467eea /src/pages/stylesheets | |
parent | Tweaked design #60 (diff) | |
parent | Add i18n (diff) | |
download | libredirect-96a9083695b3106e27c28239d570a97f2434d358.zip |
Merged branches
Diffstat (limited to 'src/pages/stylesheets')
-rw-r--r-- | src/pages/stylesheets/NotoNaskhArabic-VariableFont_wght.ttf | bin | 0 -> 196420 bytes | |||
-rw-r--r-- | src/pages/stylesheets/NotoSansArabic-VariableFont_wdth,wght.ttf | bin | 0 -> 765740 bytes | |||
-rw-r--r-- | src/pages/stylesheets/Vazirmatn-VariableFont_wght.ttf | bin | 0 -> 285620 bytes | |||
-rw-r--r-- | src/pages/stylesheets/styles.css | 41 |
4 files changed, 41 insertions, 0 deletions
diff --git a/src/pages/stylesheets/NotoNaskhArabic-VariableFont_wght.ttf b/src/pages/stylesheets/NotoNaskhArabic-VariableFont_wght.ttf new file mode 100644 index 00000000..93f2844f --- /dev/null +++ b/src/pages/stylesheets/NotoNaskhArabic-VariableFont_wght.ttf Binary files differdiff --git a/src/pages/stylesheets/NotoSansArabic-VariableFont_wdth,wght.ttf b/src/pages/stylesheets/NotoSansArabic-VariableFont_wdth,wght.ttf new file mode 100644 index 00000000..694b773c --- /dev/null +++ b/src/pages/stylesheets/NotoSansArabic-VariableFont_wdth,wght.ttf Binary files differdiff --git a/src/pages/stylesheets/Vazirmatn-VariableFont_wght.ttf b/src/pages/stylesheets/Vazirmatn-VariableFont_wght.ttf new file mode 100644 index 00000000..f4b97c01 --- /dev/null +++ b/src/pages/stylesheets/Vazirmatn-VariableFont_wght.ttf Binary files differdiff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css index 17949b64..7450915a 100644 --- a/src/pages/stylesheets/styles.css +++ b/src/pages/stylesheets/styles.css @@ -17,6 +17,27 @@ body { font-style: normal; } +@font-face { + font-family: 'Vazirmatn'; + src: url('Vazirmatn-VariableFont_wght.ttf'); + font-weight: normal; + font-style: normal; +} + +/* @font-face { + font-family: 'NotoSansArabic'; + src: url('NotoSansArabic-VariableFont_wdth,wght.ttf'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'NotoNaskhArabic'; + src: url('NotoNaskhArabic-VariableFont_wght.ttf'); + font-weight: normal; + font-style: normal; +} */ + body { margin: auto; padding: 0; @@ -26,6 +47,11 @@ body { overflow-x: hidden } +body.rtl { + font-family: 'Vazirmatn'; + /* line-height: 1; */ +} + div.some-block input[type="checkbox"] { appearance: none; -moz-appearance: none; @@ -46,6 +72,11 @@ img, svg { color: var(--text); } +body.rtl img, body.rtl svg { + margin-right: 0px; + margin-left: 10px; +} + input[type="url"], input[type="text"], select { @@ -216,10 +247,20 @@ div.some-block input[type="checkbox"]::before { transition: .3s; } +body.rtl div.some-block input[type="checkbox"]::before { + left: auto; + right: 4px; +} + div.some-block input[type="checkbox"]:checked::before { left: 24px; } +body.rtl div.some-block input[type="checkbox"]:checked::before { + left: auto; + right: 24px; +} + div.buttons { display: flex; margin: 0 15px; |