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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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. text-align: center;
  52. }
  53. /* Announce and source */
  54. &.announce_source,
  55. &.torrent_upload {
  56. margin: 1rem auto;
  57. }
  58. /* Torrent upload error */
  59. &.upload_error {
  60. color: red;
  61. margin: 2rem auto;
  62. font-size: larger;
  63. }
  64. }
  65. /*
  66. * Misc
  67. */
  68. .hidden {
  69. display: none;
  70. }
  71. .invisible {
  72. visibility: hidden;
  73. }
  74. /* Permissions form submit button */
  75. .submit_container {
  76. clear: both;
  77. margin: 1rem;
  78. text-align: right;
  79. }
  80. /* Textarea */
  81. .textarea_wrap {
  82. margin-bottom: 0.5rem;
  83. }
  84. .textarea_wrap:last-of-type {
  85. margin-bottom: 0;
  86. }
  87. /* Floaters */
  88. .float_left {
  89. float: left;
  90. }
  91. .float_right {
  92. float: right;
  93. }
  94. .float_clear {
  95. clear: both;
  96. }
  97. /* Images */
  98. img {
  99. border: none;
  100. }
  101. .webm {
  102. max-width: 100%;
  103. }
  104. /* Donor hearts and badges */
  105. .donor_icon {
  106. margin-left: 2px;
  107. margin-right: 2px;
  108. max-width: 16px;
  109. max-height: 16px;
  110. position: relative;
  111. }
  112. .badge_icon {
  113. margin: 0px 2px;
  114. position: relative;
  115. }
  116. .donation_info {
  117. padding: 10px 10px 10px 20px;
  118. margin-left: 10px;
  119. margin-right: 10px;
  120. margin-bottom: 20px;
  121. }
  122. .donation_info_title {
  123. display: block;
  124. font-size: 1.75em;
  125. -webkit-margin-before: 1em;
  126. -webkit-margin-after: 1em;
  127. -webkit-margin-start: 0px;
  128. -webkit-margin-end: 0px;
  129. font-weight: bold;
  130. margin: 10px 0;
  131. }
  132. /* Image dimension limits */
  133. img {
  134. max-width: 100%;
  135. }
  136. /* Covers */
  137. #coverCont {
  138. position: fixed;
  139. max-width: 30%;
  140. background-size: contain;
  141. background-repeat: no-repeat;
  142. z-index: 9999;
  143. }
  144. #coverCont img {
  145. max-width: 100%;
  146. }
  147. #covers img {
  148. display: block;
  149. margin-left: auto;
  150. margin-right: auto;
  151. }
  152. /**
  153. * Donate button
  154. * PNG to avoid the botnet
  155. */
  156. .donate_button {
  157. margin: 2rem auto;
  158. img {
  159. height: 2rem;
  160. }
  161. }