Debian Codegraph @

web/AwamiNastaliq-webfont-example.css

raw
1 /*
2 AwamiNastaliq-webfont-example.css
3 AwamiNastaliq v2.100
4 This file is part of Awami Nastaliq font family (https://software.sil.org/awami)
5 and is Copyright (c) 2014-2021 SIL International (https://www.sil.org/),
6 with Reserved Font Names "Awami" and "SIL". This Font Software is licensed
7 under the SIL Open Font License, Version 1.1. You should have received a copy
8 of the license along with this Font Software. If this is not the case, go to
9 (https://scripts.sil.org/OFL) for all the details including a FAQ.
10 */
11
12 /* use AwamiNastaliq - Regular in .woff format */
13 @font-face {
14 font-family: AwamiNastaliqRW;
15 src: url(AwamiNastaliq-Regular.woff2);
16 }
17 @font-face {
18 font-family: AwamiNastaliqBW;
19 src: url(AwamiNastaliq-Bold.woff2);
20 }
21
22
23 /* set body to use Awami Nastaliq in .woff format */
24 body {
25 font-family: AwamiNastaliqRW, sans-serif; text-align: left;
26 /* fall back to sans serif so that it's really obvious if the fonts don't load */
27 }
28
29 h1 {
30 font-family: AwamiNastaliqRW, sans-serif; direction: ltr; text-align: left; font-size: 230%;
31 }
32 h2 {
33 font-family: AwamiNastaliqRW, sans-serif; direction: ltr; text-align: left;font-size: 220%;
34 }
35 .rtl {
36 font-family: AwamiNastaliqRW, sans-serif; font-size: 200%; direction: rtl; text-align: right;
37 /* fall back to sans serif so that it's really obvious if the fonts don't load */
38 }
39 .rtlb {
40 font-family: AwamiNastaliqBW, sans-serif; font-size: 200%; direction: rtl; text-align: right;
41 /* fall back to sans serif so that it's really obvious if the fonts don't load */
42 }
43 .all {
44 font-family: AwamiNastaliqRW;
45 font-feature-settings: "hehk" 0, "hedo" 1, "hamz" 1, "shrt" 2;
46 -moz-font-feature-settings: "hehk" 0, "hedo" 1, "hamz" 1, "shrt" 2;
47 -webkit-font-feature-settings: "hehk" 0, "hedo" 1, "hamz" 1, "shrt" 2;
48 font-size: 200%; direction: rtl; text-align: right;
49 }