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

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