mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
(ar) change font
This commit is contained in:
parent
009452a24f
commit
5b92d748f8
@ -212,3 +212,26 @@
|
||||
src: url('/fonts/rubik-v28-arabic_latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@if list.index($fonts, 'Almarai') {
|
||||
/* almarai-regular - arabic */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Almarai';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/fonts/almarai-v12-arabic-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
url('/fonts/almarai-v12-arabic-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
|
||||
}
|
||||
/* almarai-700 - arabic */
|
||||
@font-face {
|
||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||
font-family: 'Almarai';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('/fonts/almarai-v12-arabic-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
url('/fonts/almarai-v12-arabic-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
|
||||
}
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
$fontHeadings: 'Rubik';
|
||||
$fontText: 'Rubik';
|
||||
$fontHeadings: 'Almarai';
|
||||
$fontText: 'Almarai';
|
||||
|
BIN
static/fonts/almarai-v12-arabic-700.woff2
Normal file
BIN
static/fonts/almarai-v12-arabic-700.woff2
Normal file
Binary file not shown.
BIN
static/fonts/almarai-v12-arabic-regular.woff2
Normal file
BIN
static/fonts/almarai-v12-arabic-regular.woff2
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user