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 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. /*
  2. * Base typography
  3. */
  4. body {
  5. background: white;
  6. color: black;
  7. font-family: $NotoSans;
  8. font-size: 0.75rem;
  9. b,
  10. strong {
  11. font-family: $NotoSansBold;
  12. font-weight: normal;
  13. }
  14. i,
  15. em {
  16. font-family: $NotoSansItalic;
  17. font-style: normal;
  18. }
  19. }
  20. header,
  21. .header {
  22. margin: 2rem;
  23. text-align: center;
  24. }
  25. .torrent_form {
  26. label {
  27. font-weight: bold;
  28. }
  29. .required {
  30. &:after {
  31. color: red;
  32. content: "*";
  33. }
  34. }
  35. }
  36. /* Links */
  37. a {
  38. color: black;
  39. text-decoration: underline;
  40. }
  41. a:hover {
  42. color: $lb900;
  43. text-decoration: none;
  44. }
  45. /* Tags */
  46. .tags {
  47. font-style: italic;
  48. a,
  49. a.search_link {
  50. color: black;
  51. text-decoration: none;
  52. }
  53. a:hover,
  54. a:hover.search_link {
  55. color: black;
  56. text-decoration: underline;
  57. }
  58. }
  59. /* Dupe for grouped "Details" on browse.php */
  60. a.search_link {
  61. color: black;
  62. text-decoration: none;
  63. &:hover {
  64. text-decoration: underline;
  65. }
  66. }
  67. /**
  68. * Blockquotes, figures, and captions
  69. */
  70. blockquote {
  71. margin: 0.5em 2rem;
  72. padding: 1rem;
  73. @include transparent-border($A: 0.1);
  74. }
  75. caption {
  76. font-style: italic;
  77. }
  78. /* code, pre */
  79. code,
  80. pre {
  81. font-family: $NotoMono;
  82. margin-bottom: 1rem;
  83. word-wrap: break-word;
  84. /* word-wrap: pre; */
  85. b,
  86. strong {
  87. font-family: $NotoMonoBold;
  88. }
  89. }
  90. ul {
  91. margin-left: 1rem;
  92. }
  93. /* Markdown Extra new features */
  94. hr {
  95. @include transparent-border($A: 0.1);
  96. margin: 2rem auto;
  97. width: 66%;
  98. }
  99. .footnotes {
  100. /* display: flex; */
  101. ol {
  102. margin: -0.5rem 0 0 -1rem;
  103. display: flex;
  104. flex-direction: column;
  105. li:before {
  106. /* display: none; */
  107. }
  108. }
  109. p {
  110. /* align-self: flex-start; */
  111. }
  112. }
  113. /* Font Awesome ugliness fix */
  114. .footnote-backref {
  115. font-family: sans-serif;
  116. }
  117. /* Definition lists */
  118. dl {
  119. margin-top: 0.5rem;
  120. dt {
  121. font-variant: small-caps;
  122. font-size: larger;
  123. }
  124. dd {
  125. margin: 0 0 0.5rem 0.5rem;
  126. }
  127. }
  128. textarea {
  129. font-family: $NotoMono;
  130. b,
  131. strong {
  132. font-family: $NotoMonoBold;
  133. }
  134. }
  135. /* nobullet */
  136. ul.nobullet,
  137. .tags .tags ul.nobullet {
  138. /* display: inline-block; */
  139. margin: 0;
  140. li {
  141. list-style-type: none;
  142. }
  143. }
  144. /* Bullets (home page) */
  145. ul.stats li {
  146. padding: 0 0 1px 0;
  147. }
  148. ul.poll li {
  149. padding: 0 0 0 10px;
  150. margin: 0;
  151. clear: left;
  152. .graph {
  153. margin-bottom: 3px;
  154. padding-left: 20px;
  155. }
  156. }
  157. /* ToC */
  158. .navigation_list {
  159. margin-bottom: 1rem;
  160. }
  161. /* Alerts, Toolbox, etc. */
  162. .alertbar {
  163. a {
  164. color: black;
  165. text-decoration: none;
  166. }
  167. a:hover {
  168. text-decoration: underline;
  169. }
  170. }
  171. /* Last edited */
  172. /*
  173. .last_edited {
  174. opacity: 0.75;
  175. }
  176. */