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

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