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

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