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

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