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.

public.scss 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html,
  6. body {
  7. height: 100%;
  8. font-size: 16px;
  9. line-height: 1.6;
  10. }
  11. /**
  12. * Typography
  13. */
  14. body {
  15. background: white;
  16. color: black;
  17. font-family: "NotoSans-SemiCondensed", sans-serif;
  18. font-size: 0.75rem;
  19. b,
  20. strong {
  21. font-family: "NotoSans-SemiCondensedBold", sans-serif;
  22. font-weight: normal;
  23. }
  24. i,
  25. em {
  26. font-family: "NotoSans-SemiCondensedItalic", sans-serif;
  27. font-style: normal;
  28. }
  29. }
  30. /* Text elements */
  31. a {
  32. color: black;
  33. text-decoration: underline;
  34. &:hover {
  35. color: #01579b;
  36. text-decoration: none;
  37. }
  38. }
  39. p {
  40. margin: 1em 0;
  41. }
  42. ul {
  43. margin-left: 2rem;
  44. &.p li {
  45. margin-bottom: 1rem;
  46. }
  47. }
  48. h2 {
  49. text-align: center;
  50. margin-bottom: 1rem;
  51. }
  52. /**
  53. * Inputs
  54. */
  55. input[type="text"],
  56. input[type="password"],
  57. input[type="email"] {
  58. color: black;
  59. background-color: white;
  60. padding: 0 0 0 6px;
  61. font: 500 14px/29px "NotoSans-SemiCondensed", sans-serif;
  62. width: 100%;
  63. box-sizing: border-box;
  64. &:valid,
  65. &:valid {
  66. border-style: none;
  67. }
  68. &:invalid,
  69. &:invalid {
  70. border: none;
  71. border-right: 2px solid red;
  72. }
  73. }
  74. #loginform > table,
  75. #recoverform > div > table {
  76. border-spacing: 1px;
  77. }
  78. #loginform #username,
  79. #recoverform #new_pass_1 {
  80. border-radius: 5px 5px 0 0;
  81. }
  82. #loginform input[type="submit"],
  83. #recoverform input[type="submit"],
  84. input[type="submit"] {
  85. width: 100%;
  86. background-color: #81d4fa;
  87. font: 500 14px/29px "NotoSans-SemiCondensed", sans-serif;
  88. border: none;
  89. border-radius: 0 0 5px 5px;
  90. cursor: pointer;
  91. }
  92. #loginform input[type="submit"]:hover,
  93. #recoverform input[type="submit"]:hover,
  94. input[type="submit"]:hover {
  95. background-color: #e1f5fe;
  96. }
  97. #recoverform .layout td:first-child {
  98. width: 100%;
  99. text-align: right;
  100. padding-right: 5px;
  101. }
  102. /**
  103. * Layout
  104. */
  105. header,
  106. footer {
  107. height: 2rem;
  108. line-height: 2rem;
  109. width: 100%;
  110. background: #01579b;
  111. position: fixed;
  112. left: 0;
  113. a {
  114. color: white;
  115. text-decoration: none;
  116. margin: 0 0.5rem;
  117. &:hover {
  118. color: white;
  119. text-decoration: underline;
  120. }
  121. }
  122. }
  123. header {
  124. top: 0;
  125. text-align: right;
  126. }
  127. footer {
  128. bottom: 0;
  129. text-align: center;
  130. }
  131. main {
  132. width: 250px;
  133. height: calc(80% - 60px);
  134. margin: 0 auto;
  135. padding: 10% 0;
  136. }
  137. #logo {
  138. width: 250px;
  139. height: 50px;
  140. background-image: url("/static/common/logos/bookish.png");
  141. background-repeat: no-repeat;
  142. background-position: center;
  143. background-size: contain;
  144. margin: 1em 0;
  145. }
  146. /**
  147. * Classes
  148. */
  149. .center {
  150. text-align: center;
  151. vertical-align: middle;
  152. }
  153. .hidden {
  154. display: none;
  155. }
  156. .mouseless {
  157. cursor: default;
  158. }
  159. .notice {
  160. width: 250px;
  161. }
  162. .info {
  163. color: green;
  164. font-family: "NotoSans-SemiCondensedBold", sans-serif;
  165. }
  166. .error {
  167. color: red;
  168. font-family: "NotoSans-SemiCondensedBold", sans-serif;
  169. }
  170. /* Legal */
  171. .tldr {
  172. width: 200%;
  173. height: 500px;
  174. margin-left: -50%;
  175. overflow-y: scroll;
  176. }
  177. #logo::after {
  178. content: "℠";
  179. font-size: 0.75rem;
  180. font-weight: normal;
  181. margin-left: 100%;
  182. }