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.9KB

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