BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fonts.scss 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. /**
  2. * Fonts
  3. *
  4. * Enables sitewide access to the font engine.
  5. * All themes can use the font toggle options.
  6. */
  7. /* Font Path */
  8. $font-path: "assets/fonts/";
  9. /**
  10. * Font Awesome
  11. */
  12. @import "assets/fonts/fa/css/all.min.css";
  13. $FontAwesome: "Font Awesome 5 Free";
  14. .fa,
  15. .fab,
  16. .fad,
  17. .fal,
  18. .far,
  19. .fas {
  20. font-family: $FontAwesome;
  21. }
  22. /**
  23. * Noto Sans
  24. */
  25. $NotoSans: "NotoSans-SemiCondensed";
  26. $NotoSansBold: "NotoSans-SemiCondensedBold";
  27. $NotoSansItalic: "NotoSans-SemiCondensedItalic";
  28. @font-face {
  29. font-family: "NotoSans-SemiCondensed";
  30. src: url($font-path + "noto/woff2/NotoSans-SemiCondensed.woff2");
  31. }
  32. @font-face {
  33. font-family: "NotoSans-SemiCondensedBold";
  34. src: url($font-path + "noto/woff2/NotoSans-SemiCondensedBold.woff2");
  35. }
  36. @font-face {
  37. font-family: "NotoSans-SemiCondensedItalic";
  38. src: url($font-path + "noto/woff2/NotoSans-SemiCondensedItalic.woff2");
  39. }
  40. /**
  41. * Noto Serif
  42. */
  43. $NotoSerif: "NotoSerif-SemiCondensed";
  44. $NotoSerifBold: "NotoSerif-SemiCondensedBold";
  45. $NotoSerifItalic: "NotoSerif-SemiCondensedItalic";
  46. @font-face {
  47. font-family: "NotoSerif-SemiCondensedBold";
  48. src: url($font-path + "noto/woff2/NotoSerif-SemiCondensedBold.woff2");
  49. }
  50. @font-face {
  51. font-family: "NotoSerif-SemiCondensed";
  52. src: url($font-path + "noto/woff2/NotoSerif-SemiCondensed.woff2");
  53. }
  54. @font-face {
  55. font-family: "NotoSerif-SemiCondensedItalic";
  56. src: url($font-path + "noto/woff2/NotoSerif-SemiCondensedItalic.woff2");
  57. }
  58. /**
  59. * Noto Mono
  60. */
  61. $NotoMono: "NotoSansMono-SemiCondensed";
  62. $NotoMonoBold: "NotoSansMono-SemiCondensed";
  63. @font-face {
  64. font-family: "NotoSansMono-SemiCondensed";
  65. src: url($font-path + "noto/woff2/NotoSansMono-SemiCondensed.woff2");
  66. }
  67. @font-face {
  68. font-family: "NotoSansMono-SemiCondensedBold";
  69. src: url($font-path + "noto/woff2/NotoSansMono-SemiCondensedBold.woff2");
  70. }
  71. /**
  72. * Comic Neue
  73. */
  74. $ComicNeue: "ComicNeue-Regular";
  75. $ComicNeueBold: "ComicNeue-Bold";
  76. $ComicNeueItalic: "ComicNeue-Italic";
  77. @font-face {
  78. font-family: "ComicNeue-Regular";
  79. src: url($font-path + "comic/ComicNeue-Regular.woff2");
  80. }
  81. @font-face {
  82. font-family: "ComicNeue-Bold";
  83. src: url($font-path + "comic/ComicNeue-Bold.woff2");
  84. }
  85. @font-face {
  86. font-family: "ComicNeue-Italic";
  87. src: url($font-path + "comic/ComicNeue-Italic.woff2");
  88. }
  89. /**
  90. * OpenDyslexic
  91. */
  92. $OpenDyslexic: "OpenDyslexic-Regular";
  93. $OpenDyslexicBold: "OpenDyslexic-Bold";
  94. $OpenDyslexicItalic: "OpenDyslexic-Italic";
  95. @font-face {
  96. font-family: "OpenDyslexic-Regular";
  97. src: url($font-path + "dyslex/OpenDyslexic-Regular.woff");
  98. }
  99. @font-face {
  100. font-family: "OpenDyslexic-Bold";
  101. src: url($font-path + "dyslex/OpenDyslexic-Bold.woff");
  102. }
  103. @font-face {
  104. font-family: "OpenDyslexic-Italic";
  105. src: url($font-path + "dyslex/OpenDyslexic-Italic.woff");
  106. }
  107. /*
  108. * Theme Options
  109. */
  110. @mixin font-styles($b, $i) {
  111. b,
  112. strong {
  113. font-family: $b;
  114. font-weight: normal;
  115. }
  116. /* Font Awesome exception to the Comic Sans rule */
  117. i:not(.fa):not(.fab):not(.fad):not(.fal):not(.far):not(.fas),
  118. em:not(.fa):not(.fab):not(.fad):not(.fal):not(.far):not(.fas) {
  119. font-family: $i;
  120. font-style: normal;
  121. }
  122. }
  123. body.style_noto_sans {
  124. font-family: $NotoSans, sans-serif;
  125. @include font-styles($NotoSansBold, $NotoSansItalic);
  126. }
  127. body.style_noto_serif {
  128. font-family: $NotoSerif, serif;
  129. @include font-styles($NotoSerifBold, $NotoSerifItalic);
  130. }
  131. body.style_opendyslexic {
  132. font-family: $OpenDyslexic, sans-serif;
  133. @include font-styles($OpenDyslexicBold, $OpenDyslexicItalic);
  134. }
  135. body.style_comic_neue {
  136. font-family: $ComicNeue, sans-serif;
  137. @include font-styles($ComicNeueBold, $ComicNeueItalic);
  138. }
  139. /**
  140. * beluga
  141. */
  142. /* latin-ext */
  143. @font-face {
  144. font-family: "Open Sans";
  145. font-style: normal;
  146. font-weight: 400;
  147. src: url($font-path + "misc/woff2/OpenSans-Regular.woff2");
  148. }
  149. /* latin */
  150. @font-face {
  151. font-family: "Open Sans";
  152. font-style: normal;
  153. font-weight: 600;
  154. src: url($font-path + "misc/woff2/OpenSans-SemiBold.woff2");
  155. }
  156. /**
  157. * genaviv
  158. */
  159. /* latin-ext */
  160. @font-face {
  161. font-family: "Source Sans Pro";
  162. font-style: normal;
  163. font-weight: 400;
  164. src: url($font-path + "misc/woff2/SourceSansPro-Regular.woff2");
  165. unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
  166. }
  167. /* latin */
  168. @font-face {
  169. font-family: "Source Sans Pro";
  170. font-style: normal;
  171. font-weight: 400;
  172. src: url($font-path + "misc/woff2/SourceSansPro-Regular.woff2");
  173. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215,
  174. U+E0FF, U+EFFD, U+F000;
  175. }