| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,7 @@ | |||
| 6 | 6 | --middle-border: rgb(244, 227, 76); | |
| 7 | 7 | --bad-color: rgb(159 49 51); | |
| 8 | 8 | --bad-border: rgb(244, 76, 78); | |
| 9 | + --sans-serif-font-stack: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; | ||
| 9 | 10 | } | |
| 10 | 11 | ||
| 11 | 12 | /* unset some styles from the classic stylesheet */ | |
@@ -211,7 +212,7 @@ div.sphinxsidebar a:hover { | |||
| 211 | 212 | form.inline-search input, | |
| 212 | 213 | div.sphinxsidebar input, | |
| 213 | 214 | div.related input { | |
| 214 | - font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; | ||
| 215 | + font-family: var(--sans-serif-font-stack); | ||
| 215 | 216 | border: 1px solid #999999; | |
| 216 | 217 | font-size: smaller; | |
| 217 | 218 | border-radius: 3px; | |
@@ -272,23 +273,24 @@ div.body hr { | |||
| 272 | 273 | /* Persian (fa) uses Vazirmatn, since the default system font stack renders | |
| 273 | 274 | Arabic-script text poorly on many platforms. */ | |
| 274 | 275 | @font-face { | |
| 275 | - font-family: "Vazirmatn"; | ||
| 276 | + font-family: "Vazirmatn NL"; | ||
| 276 | 277 | src: url("fonts/Vazirmatn-NL-VF.woff2") format("woff2"); | |
| 277 | 278 | font-weight: 100 900; | |
| 278 | 279 | font-style: normal; | |
| 279 | 280 | font-display: swap; | |
| 280 | 281 | } | |
| 281 | 282 | ||
| 282 | - :lang(fa) :is( | ||
| 283 | - body, | ||
| 284 | - div.body :is(h1, h2, h3, h4, h5, h6), | ||
| 285 | - div.sphinxsidebar :is(h3, h4), | ||
| 283 | + :lang(fa) { | ||
| 284 | + :is(div.body, div.sphinxsidebar, .menu-wrapper, div.footer), | ||
| 285 | + :is(div.body, div.sphinxsidebar, .menu-wrapper) :is(h1, h2, h3, h4, h5, h6), | ||
| 286 | + a, | ||
| 286 | 287 | input, | |
| 287 | 288 | select, | |
| 288 | 289 | textarea, | |
| 289 | - button:not(.copybutton) | ||
| 290 | - ) { | ||
| 291 | - font-family: Vazirmatn, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; | ||
| 290 | + button:not(.copybutton), | ||
| 291 | + label { | ||
| 292 | + font-family: "Vazirmatn NL", var(--sans-serif-font-stack); | ||
| 293 | + } | ||
| 292 | 294 | } | |
| 293 | 295 | ||
| 294 | 296 | body[dir='rtl'] { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments