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.

matcha.scss 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. /**
  2. * Matcha Additions
  3. */
  4. body.style_matcha {
  5. /* Body */
  6. background: #edeae5;
  7. /* Header and logo */
  8. #header {
  9. background: url("/static/styles/bookish/matcha/sam-komon.png");
  10. }
  11. #logo {
  12. background: url("/static/common/logos/matcha.png") no-repeat center;
  13. background-size: contain;
  14. width: 250px;
  15. height: 50px;
  16. margin: 0 0 0 10%;
  17. }
  18. /* Main menu */
  19. #menu {
  20. background-color: #016670;
  21. }
  22. #menu ul li a.active {
  23. background-color: #016670;
  24. }
  25. #menu ul li a:hover {
  26. background-color: #0298a6;
  27. }
  28. /* Dropdown menu */
  29. #menu .nav_dropdown {
  30. background: #016670;
  31. margin-top: 0;
  32. }
  33. .nav_dropdown > div {
  34. box-shadow: 2px 2px 10px -2px slategray;
  35. position: absolute;
  36. background-color: #016670;
  37. width: 100%;
  38. z-index: 99999;
  39. margin-top: 2.4em;
  40. /* margin-top: 32px; */
  41. left: 0;
  42. }
  43. .nav_dropdown > div > a {
  44. display: none;
  45. color: white;
  46. height: 2.4em;
  47. line-height: 2.4em;
  48. text-decoration: none;
  49. }
  50. .nav_dropdown:hover > div > a {
  51. display: block;
  52. }
  53. /* Search bars */
  54. #searchbars {
  55. text-align: center;
  56. background-color: #9fedd7;
  57. box-sizing: content-box;
  58. padding: 0.5em 10%;
  59. display: flex;
  60. input {
  61. position: relative;
  62. border: 1px solid transparent;
  63. box-sizing: border-box;
  64. padding: 0.25em 0.25em 0.25em 0.5em;
  65. background-color: white;
  66. width: 100%;
  67. color: black;
  68. }
  69. ul {
  70. margin: 0 auto;
  71. display: block;
  72. text-align: center;
  73. li {
  74. display: inline;
  75. margin: 0px 1px;
  76. list-style: none;
  77. position: relative;
  78. form {
  79. display: inline;
  80. }
  81. ul {
  82. display: block;
  83. position: absolute;
  84. top: 1em;
  85. left: 0;
  86. z-index: 1000;
  87. background-color: white;
  88. width: 12em;
  89. margin-top: 1em;
  90. li {
  91. margin: 0 0 0 0;
  92. padding: 0;
  93. display: block;
  94. width: 100%;
  95. .highlight {
  96. background: white;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. }
  103. #searchbars > .search_form {
  104. flex: 1 1 auto;
  105. text-align: center;
  106. margin: 0 0.1em;
  107. }
  108. /* Upload, Invite, etc. */
  109. #userinfo {
  110. background: #fff9c7;
  111. box-shadow: 0 2px 10px -2px slategray;
  112. color: black;
  113. padding: 0.5em 0;
  114. width: 100%;
  115. text-align: center;
  116. a {
  117. color: black;
  118. text-decoration: none;
  119. &:hover {
  120. text-decoration: underline;
  121. }
  122. }
  123. b a {
  124. font-weight: normal;
  125. font-size: 0.9em;
  126. font-weight: bold;
  127. }
  128. ul {
  129. display: inline;
  130. margin: 0 1%;
  131. li {
  132. display: inline;
  133. margin: 0 0.1em;
  134. line-height: 2em;
  135. vertical-align: middle;
  136. padding: 0;
  137. }
  138. }
  139. }
  140. #userinfo_minor > li > ul {
  141. display: none;
  142. position: absolute;
  143. padding: 5px;
  144. left: -5px;
  145. background-color: #fff9c7;
  146. z-index: 100;
  147. }
  148. /* Alerts, Toolbox, etc. */
  149. .alertbar {
  150. background-color: #fff9c7;
  151. text-align: center;
  152. color: black;
  153. font-weight: bold;
  154. width: 320px;
  155. margin: 2em auto;
  156. padding: 1em;
  157. a {
  158. color: black;
  159. text-decoration: none;
  160. &:hover {
  161. color: black;
  162. text-decoration: underline;
  163. }
  164. }
  165. .warning {
  166. background-color: #ffe68a;
  167. }
  168. .error {
  169. background-color: #ff8a8a;
  170. }
  171. }
  172. /* Column heads */
  173. .head {
  174. background: #9fedd7;
  175. color: black;
  176. padding: 0.5em 1em;
  177. }
  178. .colhead {
  179. background: #9fedd7;
  180. font-weight: bold;
  181. color: black;
  182. }
  183. .colhead_dark {
  184. background: #9fedd7;
  185. color: black;
  186. }
  187. /* Box */
  188. .box,
  189. section {
  190. background-color: white;
  191. border: none;
  192. margin-bottom: 1em;
  193. }
  194. /* Shadows */
  195. .box,
  196. .border,
  197. .alertbar,
  198. .artist_table,
  199. .request_table,
  200. .forum_index,
  201. #userinfo_minor > li > ul,
  202. .permissions table {
  203. box-shadow: 2px 2px 10px -2px slategray;
  204. }
  205. /* Links */
  206. a {
  207. color: #016670;
  208. text-decoration: none;
  209. &:hover {
  210. color: black;
  211. text-decoration: underline;
  212. }
  213. }
  214. /* Special links */
  215. .forum_post .body a:not([href="#"]),
  216. .rule_summary a,
  217. .wiki_article a,
  218. #actual_rules a,
  219. .news_post .pad a,
  220. .store_table a {
  221. color: #016670;
  222. text-decoration: none;
  223. }
  224. .forum_post .body a:hover:not([href="#"]),
  225. .rule_summary a:hover,
  226. .wiki_article a:hover,
  227. #actual_rules a:hover,
  228. .news_post .pad a:hover,
  229. .store_table a:hover {
  230. color: black;
  231. text-decoration: underline;
  232. }
  233. /* Blockquote */
  234. blockquote {
  235. margin: 0.5em 2em;
  236. padding: 1em;
  237. border: 1px solid #bbb;
  238. }
  239. /* Buttons */
  240. button:not(.editor-toolbar button),
  241. input[type="button"],
  242. input[type="submit"] {
  243. background: #fbe180;
  244. border-radius: 0.25rem;
  245. box-shadow: 2px 2px 10px -5px slategray;
  246. }
  247. button:hover,
  248. input[type="button"]:hover,
  249. input[type="submit"]:hover {
  250. background: #fff9c7;
  251. }
  252. button:focus,
  253. input[type="button"]:focus,
  254. input[type="submit"]:focus {
  255. background: #fff9c7;
  256. }
  257. /* Text input */
  258. input.inputtext {
  259. border: none;
  260. border-bottom: 1px solid #edeae5;
  261. background-color: white;
  262. font-size: 13px;
  263. outline: none;
  264. transition: ease-in-out 0.12s;
  265. &:focus {
  266. border-bottom: 1px solid #fbe180;
  267. }
  268. }
  269. /* Cover images */
  270. #coverCont {
  271. background-color: #fff9c7;
  272. padding: 5px;
  273. box-shadow: 2px 2px 10px -2px slategray;
  274. }
  275. #coverCont img {
  276. background-color: #fff9c7;
  277. }
  278. /* Captions */
  279. caption {
  280. border-bottom: 1px solid #edeae5;
  281. font-weight: bold;
  282. }
  283. /* Messages */
  284. .error_message {
  285. padding: 1em;
  286. background-color: #ff8a8a;
  287. text-align: center;
  288. color: white;
  289. font-weight: bold;
  290. box-shadow: 2px 2px 10px -5px slategray;
  291. }
  292. .save_message {
  293. padding: 1em;
  294. width: 50%;
  295. margin: 2em auto;
  296. background: #fbe180;
  297. text-align: center;
  298. color: black;
  299. font-weight: bold;
  300. box-shadow: 2px 2px 10px -5px slategray;
  301. }
  302. /* Forums */
  303. .forum_post .colhead_dark {
  304. background: #9fedd7;
  305. }
  306. .forum_post.staff_post .colhead_dark {
  307. background: #fbe180;
  308. }
  309. .forum_post.sticky_post {
  310. border: 2px solid #fbe180;
  311. }
  312. /* Inbox */
  313. tr.unreadpm {
  314. background-color: #fff9c7;
  315. }
  316. } /* end body.style_matcha */