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.

layout.scss 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. /*
  2. * Body
  3. */
  4. * {
  5. margin: 0;
  6. padding: 0;
  7. }
  8. /*
  9. * Flex elements
  10. */
  11. .flex {
  12. display: flex;
  13. }
  14. /* Grow and shrink */
  15. .flex > .grow {
  16. flex-grow: 1;
  17. }
  18. .flex > .shrink {
  19. flex-shrink: 1;
  20. }
  21. /* Text input */
  22. .flex_input_container {
  23. display: flex;
  24. }
  25. .flex_input_container > input[type="text"] {
  26. flex-grow: 1;
  27. box-sizing: border-box;
  28. width: 50%;
  29. }
  30. /**
  31. * Section elements
  32. */
  33. .style_addition input {
  34. margin-left: 0.5rem;
  35. }
  36. /**
  37. * Aside elements
  38. */
  39. aside {
  40. max-width: 66%;
  41. p {
  42. text-align: center;
  43. }
  44. /**
  45. * "Please consult the Upload Rules"
  46. * admonishment on torrent_form.class.php.
  47. */
  48. &.upload_notice {
  49. @include transparent-border($R: 255, $A: 0.5);
  50. margin: 1rem auto;
  51. padding-top: 1rem;
  52. text-align: center;
  53. }
  54. /* Announce and source */
  55. &.announce_source,
  56. &.torrent_upload {
  57. margin: 1rem auto;
  58. }
  59. /* Torrent upload error */
  60. &.upload_error {
  61. color: red;
  62. margin: 2rem auto;
  63. font-size: larger;
  64. }
  65. }
  66. /**
  67. * Footer
  68. */
  69. footer {
  70. margin-top: 2rem;
  71. width: 100%;
  72. p {
  73. text-align: center;
  74. }
  75. }
  76. /*
  77. * Misc
  78. */
  79. .hidden {
  80. display: none;
  81. }
  82. .invisible {
  83. visibility: hidden;
  84. }
  85. /* Permissions form submit button */
  86. .submit_container {
  87. clear: both;
  88. margin: 1rem;
  89. text-align: right;
  90. }
  91. /* Textarea */
  92. .textarea_wrap {
  93. margin-bottom: 0.5rem;
  94. }
  95. .textarea_wrap:last-of-type {
  96. margin-bottom: 0;
  97. }
  98. /* Floaters */
  99. .float_left {
  100. float: left;
  101. }
  102. .float_right {
  103. float: right;
  104. }
  105. .float_clear {
  106. clear: both;
  107. }
  108. /* Images */
  109. img {
  110. border: none;
  111. }
  112. .webm {
  113. max-width: 100%;
  114. }
  115. /* Donor hearts and badges */
  116. .donor_icon {
  117. margin-left: 2px;
  118. margin-right: 2px;
  119. max-width: 16px;
  120. max-height: 16px;
  121. position: relative;
  122. }
  123. .badge_icon {
  124. margin: 0px 2px;
  125. position: relative;
  126. }
  127. .donation_info {
  128. padding: 10px 10px 10px 20px;
  129. margin-left: 10px;
  130. margin-right: 10px;
  131. margin-bottom: 20px;
  132. }
  133. .donation_info_title {
  134. display: block;
  135. font-size: 1.75em;
  136. -webkit-margin-before: 1em;
  137. -webkit-margin-after: 1em;
  138. -webkit-margin-start: 0px;
  139. -webkit-margin-end: 0px;
  140. font-weight: bold;
  141. margin: 10px 0;
  142. }
  143. /* Image dimension limits */
  144. img {
  145. max-width: 100%;
  146. }
  147. /* Covers */
  148. #coverCont {
  149. position: fixed;
  150. max-width: 30%;
  151. background-size: contain;
  152. background-repeat: no-repeat;
  153. z-index: 9999;
  154. }
  155. #coverCont img {
  156. max-width: 100%;
  157. }
  158. #covers img {
  159. display: block;
  160. margin-left: auto;
  161. margin-right: auto;
  162. }
  163. /**
  164. * Donate button
  165. * PNG to avoid the botnet
  166. */
  167. .donate_button {
  168. margin: 2rem auto;
  169. img {
  170. height: 2rem;
  171. }
  172. }