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 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. /*
  2. * Basic structure
  3. */
  4. #header {
  5. background: white;
  6. margin-bottom: 2rem;
  7. padding: 0;
  8. width: 100%;
  9. }
  10. #content {
  11. margin: auto;
  12. margin-top: 2rem;
  13. overflow: hidden;
  14. width: 90%;
  15. }
  16. #footer {
  17. margin-top: 2rem;
  18. padding: 1em 0;
  19. text-align: center;
  20. width: 100%;
  21. }
  22. /* Logo */
  23. #logo {
  24. background: url("/static/common/logos/torrents.bio.png") no-repeat center;
  25. background-size: contain;
  26. width: 220px;
  27. height: 50px;
  28. margin: 0.5rem 0 0.25rem 10%;
  29. a {
  30. border: none;
  31. display: block;
  32. width: 100%;
  33. height: 50px;
  34. }
  35. a:hover {
  36. border: none;
  37. }
  38. }
  39. /* Links */
  40. div.linkbox {
  41. text-align: center;
  42. padding: 0.5rem;
  43. }
  44. /* Misc */
  45. .torrents_nomatch {
  46. margin-top: 1rem;
  47. }
  48. .vertical_space {
  49. margin-bottom: 1rem;
  50. }
  51. /* Textarea preview button */
  52. .preview_button {
  53. margin-top: 1rem;
  54. }
  55. /**
  56. * Torrents page
  57. */
  58. .show_torrents {
  59. width: 21px;
  60. height: 28px;
  61. background: url("/static/common/symbols/show.png") no-repeat center center;
  62. }
  63. .hide_torrents {
  64. width: 21px;
  65. height: 28px;
  66. background: url("/static/common/symbols/hide.png") no-repeat center center;
  67. }
  68. .show_torrents_link {
  69. border: none;
  70. width: 28px;
  71. height: 28px;
  72. display: block;
  73. cursor: pointer;
  74. }
  75. .filter_torrents {
  76. background: white;
  77. margin: auto;
  78. width: 75%;
  79. .submit {
  80. vertical-align: middle;
  81. }
  82. }
  83. #content form.search_form + .torrent_table {
  84. margin-top: 20px;
  85. }
  86. #content form.search_form .submit {
  87. text-align: center;
  88. }
  89. .cat_list tr td {
  90. border: none;
  91. }
  92. .torrent_table .number_column {
  93. text-align: center;
  94. }
  95. /**
  96. * Text elements
  97. */
  98. p {
  99. margin-bottom: 1rem;
  100. }
  101. li {
  102. margin: 0 1rem;
  103. }
  104. .torrent_title {
  105. font-size: larger;
  106. }
  107. /* Permissions page */
  108. .permissions {
  109. width: 90%;
  110. margin: 1em auto;
  111. }
  112. .permission_head {
  113. width: 50%;
  114. margin: auto;
  115. }
  116. .permission_container {
  117. margin: auto;
  118. float: left;
  119. max-width: 33%;
  120. padding: 1rem;
  121. input {
  122. margin: 0px 3px 5px 0px;
  123. vertical-align: top;
  124. }
  125. }
  126. /* Invite tree */
  127. ul .invitetree {
  128. margin: 0px 0px 0px 25px;
  129. }
  130. .invitetree li {
  131. list-style: none;
  132. margin: 10px 2px;
  133. }
  134. /* User options */
  135. .user_options .options_list li {
  136. margin: 0;
  137. }
  138. /* Store, badges, and BP */
  139. #comm_badge_tr .badge_icon,
  140. #user_badge_edit_tr .badge_icon {
  141. margin-right: 0.1rem;
  142. margin-left: 0;
  143. white-space: nowrap;
  144. }
  145. .store_table .badge_icon {
  146. display: inline-block;
  147. width: 4rem;
  148. /* width: 16px; */
  149. }
  150. .store_table .badge_icon img {
  151. display: block;
  152. margin-left: auto;
  153. margin-right: auto;
  154. }
  155. .point_gift_box p {
  156. margin: 7px 2px 0px;
  157. }
  158. .point_gift_box input[type="text"],
  159. .point_gift_box textarea {
  160. width: 100%;
  161. box-sizing: border-box;
  162. }
  163. /* Polls */
  164. .left_poll {
  165. display: none;
  166. width: 2px;
  167. height: 9px;
  168. float: left;
  169. margin: 0px;
  170. padding: 0px;
  171. }
  172. .center_poll {
  173. height: 0.75rem;
  174. background: change-color(green, $alpha: 0.25);
  175. /* background: $SkeletonDefault; */
  176. /* background: $lb50; */
  177. border-radius: 0;
  178. float: left;
  179. margin: 0.25rem 0;
  180. padding: 0;
  181. }
  182. .right_poll {
  183. display: none;
  184. width: 2px;
  185. height: 9px;
  186. float: left;
  187. margin: 0px;
  188. padding: 0px;
  189. }
  190. /* Curtain? */
  191. .curtain {
  192. position: fixed;
  193. top: 0%;
  194. left: 0%;
  195. width: 100%;
  196. height: 100%;
  197. background: black;
  198. z-index: 1001;
  199. -moz-opacity: 0.8;
  200. opacity: 0.8;
  201. filter: alpha(opacity=80);
  202. }
  203. /* Lightbox */
  204. .lightbox {
  205. position: fixed;
  206. text-align: center;
  207. top: 5%;
  208. left: 5%;
  209. width: 90%;
  210. height: 90%;
  211. padding: 0;
  212. z-index: 1002;
  213. overflow: auto;
  214. img {
  215. background: white;
  216. }
  217. }
  218. /* BibTeX overflow partial fix */
  219. .torrentdetails {
  220. * {
  221. box-sizing: border-box;
  222. max-width: inherit;
  223. }
  224. blockquote {
  225. max-width: 90%;
  226. margin: 1rem 5%;
  227. }
  228. pre {
  229. max-width: 100%;
  230. }
  231. /*
  232. .spoilerContainer,
  233. .hideContainer {
  234. }
  235. */
  236. }