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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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. left: 0;
  41. }
  42. .nav_dropdown > div > a {
  43. display: none;
  44. color: white;
  45. height: 2.4em;
  46. line-height: 2.4em;
  47. text-decoration: none;
  48. }
  49. .nav_dropdown:hover > div > a {
  50. display: block;
  51. }
  52. /* Search bars */
  53. #searchbars {
  54. text-align: center;
  55. background-color: #9fedd7;
  56. box-sizing: content-box;
  57. padding: 0.5em 10%;
  58. display: flex;
  59. input {
  60. position: relative;
  61. border: 1px solid transparent;
  62. box-sizing: border-box;
  63. padding: 0.25em 0.25em 0.25em 0.5em;
  64. background-color: white;
  65. width: 100%;
  66. color: black;
  67. }
  68. ul {
  69. margin: 0 auto;
  70. display: block;
  71. text-align: center;
  72. li {
  73. display: inline;
  74. margin: 0px 1px;
  75. list-style: none;
  76. position: relative;
  77. form {
  78. display: inline;
  79. }
  80. ul {
  81. display: block;
  82. position: absolute;
  83. top: 1em;
  84. left: 0;
  85. z-index: 1000;
  86. background-color: white;
  87. width: 12em;
  88. margin-top: 1em;
  89. li {
  90. margin: 0 0 0 0;
  91. padding: 0;
  92. display: block;
  93. width: 100%;
  94. .highlight {
  95. background: white;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. #searchbars > .search_form {
  103. flex: 1 1 auto;
  104. text-align: center;
  105. margin: 0 0.1em;
  106. }
  107. /* Upload, Invite, etc. */
  108. #userinfo {
  109. background: #fff9c7;
  110. box-shadow: 0 2px 10px -2px slategray;
  111. color: black;
  112. padding: 0.5em 0;
  113. width: 100%;
  114. text-align: center;
  115. a {
  116. color: black;
  117. text-decoration: none;
  118. &:hover {
  119. text-decoration: underline;
  120. }
  121. }
  122. b a {
  123. font-weight: normal;
  124. font-size: 0.9em;
  125. font-weight: bold;
  126. }
  127. ul {
  128. display: inline;
  129. margin: 0 1%;
  130. li {
  131. display: inline;
  132. margin: 0 0.1em;
  133. line-height: 2em;
  134. vertical-align: middle;
  135. padding: 0;
  136. }
  137. }
  138. }
  139. #userinfo_minor > li > ul {
  140. display: none;
  141. position: absolute;
  142. padding: 5px;
  143. left: -5px;
  144. background-color: #fff9c7;
  145. z-index: 100;
  146. }
  147. /* Column heads */
  148. .head,
  149. .colhead,
  150. .colhead_dark {
  151. background: #9fedd7;
  152. border-bottom: 2px solid change-color(black, $alpha: 0.25);
  153. color: black;
  154. padding: 0.5em 1em;
  155. }
  156. /* Box */
  157. .box,
  158. .pad,
  159. section,
  160. /* Exceptions, fixes, etc. */
  161. table.user_options {
  162. background-color: white;
  163. border: none;
  164. margin-bottom: 1em;
  165. padding: 0.5rem;
  166. }
  167. /* Shadows */
  168. .box,
  169. .border,
  170. .alertbar,
  171. .artist_table,
  172. .request_table,
  173. .forum_index,
  174. #userinfo_minor > li > ul,
  175. .permissions table {
  176. box-shadow: 0 5px 4px -4px slategray;
  177. }
  178. /* Links */
  179. a {
  180. color: #016670;
  181. text-decoration: none;
  182. &:hover {
  183. color: black;
  184. text-decoration: underline;
  185. }
  186. }
  187. /* Special links */
  188. .forum_post .body a:not([href="#"]),
  189. .rule_summary a,
  190. .wiki_article a,
  191. #actual_rules a,
  192. .news_post .pad a,
  193. .store_table a {
  194. color: #016670;
  195. text-decoration: none;
  196. }
  197. .forum_post .body a:hover:not([href="#"]),
  198. .rule_summary a:hover,
  199. .wiki_article a:hover,
  200. #actual_rules a:hover,
  201. .news_post .pad a:hover,
  202. .store_table a:hover {
  203. color: black;
  204. text-decoration: underline;
  205. }
  206. /* Blockquote */
  207. blockquote {
  208. margin: 0.5em 2em;
  209. padding: 1em;
  210. border: 1px solid #bbb;
  211. }
  212. /* Buttons */
  213. button:not(.editor-toolbar button),
  214. input[type="button"],
  215. input[type="submit"] {
  216. color: black;
  217. border: 1px solid #bbb;
  218. box-shadow: 2px 2px 10px -5px slategray;
  219. &.button-primary {
  220. background: #fbe180;
  221. }
  222. &:hover {
  223. background: #fff9c7;
  224. /* Primary hover default blue */
  225. border: 1px solid #bbb;
  226. color: black;
  227. }
  228. &:focus {
  229. background: #fff9c7;
  230. }
  231. }
  232. /* Text input */
  233. input.inputtext {
  234. border: none;
  235. border-bottom: 1px solid #edeae5;
  236. background-color: white;
  237. font-size: 13px;
  238. outline: none;
  239. transition: ease-in-out 0.12s;
  240. &:focus {
  241. border-bottom: 1px solid #fbe180;
  242. }
  243. }
  244. /* Cover images */
  245. #coverCont {
  246. background-color: #fff9c7;
  247. padding: 5px;
  248. box-shadow: 2px 2px 10px -2px slategray;
  249. }
  250. #coverCont img {
  251. background-color: #fff9c7;
  252. }
  253. /* Captions */
  254. caption {
  255. border-bottom: 1px solid #edeae5;
  256. font-weight: bold;
  257. }
  258. /* Messages */
  259. .error_message {
  260. padding: 1em;
  261. background-color: #ff8a8a;
  262. text-align: center;
  263. color: white;
  264. font-weight: bold;
  265. box-shadow: 2px 2px 10px -5px slategray;
  266. }
  267. .save_message {
  268. padding: 1em;
  269. width: 50%;
  270. margin: 2em auto;
  271. background: #fbe180;
  272. text-align: center;
  273. color: black;
  274. font-weight: bold;
  275. box-shadow: 2px 2px 10px -5px slategray;
  276. }
  277. /* Forums */
  278. .forum_post .colhead_dark {
  279. background: #9fedd7;
  280. }
  281. .forum_post.staff_post .colhead_dark {
  282. background: #fbe180;
  283. }
  284. .forum_post.sticky_post {
  285. border: 2px solid #fbe180;
  286. }
  287. } /* end body.style_matcha */