From e77424a84603ba27ad80c42622f2b418dd77a3c4 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 4 Dec 2023 19:00:12 +0100 Subject: Change font to Vazirmatn #1286 --- web/html/common/head.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'web/html/common/head.html') diff --git a/web/html/common/head.html b/web/html/common/head.html index 8a89954d..0b430dce 100644 --- a/web/html/common/head.html +++ b/web/html/common/head.html @@ -13,6 +13,20 @@ [v-cloak] { display: none; } + /* vazirmatn-regular - arabic_latin_latin-ext */ + @font-face { + font-display: swap; + font-family: 'Vazirmatn'; + font-style: normal; + font-weight: 400; + src: url('{{ .base_path }}assets/Vazirmatn-UI-NL-Regular.woff2') format('woff2'); + unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC, U+0030-0039; + } + body { + font-family: -apple-system, BlinkMacSystemFont, 'Vazirmatn', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', + 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', + 'Segoe UI Emoji', 'Segoe UI Symbol'; + } {{ .host }}-{{ i18n .title}} -- cgit v1.2.3