| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* Common colours */ | ||
| 1 | + /* Common colours and farsi font */ | ||
| 2 | 2 | :root { | |
| 3 | 3 | --good-color: rgb(41 100 51); | |
| 4 | 4 | --good-border: rgb(79 196 100); | |
@@ -8,6 +8,24 @@ | |||
| 8 | 8 | --bad-border: rgb(244, 76, 78); | |
| 9 | 9 | } | |
| 10 | 10 | ||
| 11 | + @font-face { | ||
| 12 | + font-family: "Vazirmatn"; | ||
| 13 | + src: url("fonts/Vazirmatn-VF.woff2") format("woff2"); | ||
| 14 | + font-weight: 100 900; | ||
| 15 | + font-style: normal; | ||
| 16 | + font-display: swap; | ||
| 17 | + } | ||
| 18 | + | ||
| 19 | + :lang(fa) :is( | ||
| 20 | + body, | ||
| 21 | + div.body :is(h1, h2, h3, h4, h5, h6), | ||
| 22 | + form.inline-search input, | ||
| 23 | + div.sphinxsidebar input, | ||
| 24 | + div.related input | ||
| 25 | + ) { | ||
| 26 | + font-family: Vazirmatn, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; | ||
| 27 | + } | ||
| 28 | + | ||
| 11 | 29 | /* unset some styles from the classic stylesheet */ | |
| 12 | 30 | div.document, | |
| 13 | 31 | div.body, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments