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

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