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

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