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

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