diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-04 21:00:12 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-04 21:01:09 +0300 |
| commit | e77424a84603ba27ad80c42622f2b418dd77a3c4 (patch) | |
| tree | d20155c96c515b490bcdb24802db89c5fb9d582a /web/html/common | |
| parent | f305b980d9613e5d70e0c73f24057504dbeb278b (diff) | |
Change font to Vazirmatn #1286
Diffstat (limited to 'web/html/common')
| -rw-r--r-- | web/html/common/head.html | 14 |
1 files changed, 14 insertions, 0 deletions
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'; + } </style> <title>{{ .host }}-{{ i18n .title}}</title> </head> |
