Debian Codegraph @

web/CharisSIL-webfont-example.css

raw
1 /*
2 This file is from the Charis SIL project (https://software.sil.org/charis/).
3 Copyright (c) 1997-2023 SIL International (http://www.sil.org/) with Reserved
4 Font Names "Charis" and "SIL". This Font Software is licensed under the SIL
5 Open Font License, Version 1.1 (http://scripts.sil.org/OFL).
6 */
7
8 /* use Charis SIL - Regular in .woff2 format */
9 @font-face {
10 font-family: CharisSILW;
11 src: url(CharisSIL-Regular.woff2);
12 }
13 /* use Charis SIL - Italic in .woff2 format */
14 @font-face {
15 font-family: CharisSILW;
16 font-style: italic;
17 src: url(CharisSIL-Italic.woff2);
18 }
19 /* use Charis SIL - Bold in .woff2 format */
20 @font-face {
21 font-family: CharisSILW;
22 font-weight: bold;
23 src: url(CharisSIL-Bold.woff2);
24 }
25 /* use Charis SIL - Bold Italic in .woff2 format */
26 @font-face {
27 font-family: CharisSILW;
28 font-weight: bold;
29 font-style: italic;
30 src: url(CharisSIL-BoldItalic.woff2);
31 }
32
33 /* set body to use Charis SIL */
34 body {
35 font-family: CharisSILW, sans-serif;
36 /* fall back to sans serif so that it's really obvious if the fonts don't load */
37 }
38 /* remove bold styling from heading */
39 h1 {
40 font-weight: normal;
41 }