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

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