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.

312 lines
5.0 KiB

7 years ago
7 years ago
  1. @import 'variables';
  2. @import 'fonts/roboto';
  3. @import 'fonts/roboto-mono';
  4. @import 'fonts/montserrat';
  5. @import 'font-awesome';
  6. /* http://meyerweb.com/eric/tools/css/reset/
  7. v2.0 | 20110126
  8. License: none (public domain)
  9. */
  10. html, body, div, span, applet, object, iframe,
  11. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  12. a, abbr, acronym, address, big, cite, code,
  13. del, dfn, em, img, ins, kbd, q, s, samp,
  14. small, strike, strong, sub, sup, tt, var,
  15. b, u, i, center,
  16. dl, dt, dd, ol, ul, li,
  17. fieldset, form, label, legend,
  18. table, caption, tbody, tfoot, thead, tr, th, td,
  19. article, aside, canvas, details, embed,
  20. figure, figcaption, footer, header, hgroup,
  21. menu, nav, output, ruby, section, summary,
  22. time, mark, audio, video {
  23. margin: 0;
  24. padding: 0;
  25. border: 0;
  26. font-size: 100%;
  27. font: inherit;
  28. vertical-align: baseline;
  29. }
  30. /* HTML5 display-role reset for older browsers */
  31. article, aside, details, figcaption, figure,
  32. footer, header, hgroup, menu, nav, section {
  33. display: block;
  34. }
  35. body {
  36. line-height: 1;
  37. }
  38. ol, ul {
  39. list-style: none;
  40. }
  41. blockquote, q {
  42. quotes: none;
  43. }
  44. blockquote:before, blockquote:after,
  45. q:before, q:after {
  46. content: '';
  47. content: none;
  48. }
  49. table {
  50. border-collapse: collapse;
  51. border-spacing: 0;
  52. }
  53. ::-webkit-scrollbar {
  54. width: 8px;
  55. height: 8px;
  56. }
  57. ::-webkit-scrollbar-thumb {
  58. background: lighten($color1, 4%);
  59. border: 0px none $color5;
  60. border-radius: 50px;
  61. }
  62. ::-webkit-scrollbar-thumb:hover {
  63. background: lighten($color1, 6%);
  64. }
  65. ::-webkit-scrollbar-thumb:active {
  66. background: lighten($color1, 4%);
  67. }
  68. ::-webkit-scrollbar-track {
  69. border: 0px none $color5;
  70. border-radius: 0;
  71. background: rgba($color8, 0.1);
  72. }
  73. ::-webkit-scrollbar-track:hover {
  74. background: $color1;
  75. }
  76. ::-webkit-scrollbar-track:active {
  77. background: $color1;
  78. }
  79. ::-webkit-scrollbar-corner {
  80. background: transparent;
  81. }
  82. body {
  83. font-family: 'Roboto', sans-serif;
  84. background: $color1 image-url('background-photo.jpeg');
  85. background-size: cover;
  86. background-attachment: fixed;
  87. font-size: 13px;
  88. line-height: 18px;
  89. font-weight: 400;
  90. color: $color5;
  91. padding-bottom: 140px;
  92. text-rendering: optimizelegibility;
  93. font-feature-settings: "kern";
  94. text-size-adjust: none;
  95. &.app-body {
  96. position: fixed;
  97. width: 100%;
  98. height: 100%;
  99. padding: 0;
  100. background: $color1;
  101. }
  102. &.embed {
  103. background: transparent;
  104. margin: 0;
  105. .container {
  106. position: absolute;
  107. width: 100%;
  108. height: 100%;
  109. overflow: hidden;
  110. }
  111. }
  112. &.admin {
  113. background: darken($color1, 4%);
  114. position: fixed;
  115. width: 100%;
  116. height: 100%;
  117. padding: 0;
  118. }
  119. @media screen and (max-width: 360px) {
  120. padding-bottom: 0;
  121. }
  122. }
  123. button:focus {
  124. outline: none;
  125. }
  126. .app-holder {
  127. display: flex;
  128. width: 100%;
  129. height: 100%;
  130. align-items: center;
  131. justify-content: center;
  132. }
  133. .container {
  134. width: 700px;
  135. margin: 0 auto;
  136. margin-top: 40px;
  137. @media screen and (max-width: 700px) {
  138. width: 100%;
  139. margin: 0;
  140. }
  141. }
  142. .logo-container {
  143. max-width: 400px;
  144. margin: 100px auto;
  145. margin-bottom: 0;
  146. cursor: default;
  147. @media screen and (max-width: 360px) {
  148. margin: 30px auto;
  149. }
  150. h1 {
  151. display: block;
  152. text-align: center;
  153. color: $color5;
  154. font-size: 48px;
  155. font-weight: 500;
  156. img {
  157. display: block;
  158. margin: 20px auto;
  159. width: 180px;
  160. height: 180px;
  161. }
  162. a {
  163. color: inherit;
  164. text-decoration: none;
  165. outline: 0;
  166. img {
  167. opacity: 0.8;
  168. transition: all 0.8s ease;
  169. }
  170. &:hover {
  171. img {
  172. opacity: 1;
  173. transition-duration: 0.2s;
  174. }
  175. }
  176. }
  177. small {
  178. display: block;
  179. font-size: 12px;
  180. font-weight: 400;
  181. font-family: 'Roboto Mono', monospace;
  182. }
  183. }
  184. }
  185. .no-list {
  186. list-style: none;
  187. li {
  188. display: inline-block;
  189. margin: 0 5px;
  190. }
  191. }
  192. .footer {
  193. text-align: center;
  194. margin-top: 30px;
  195. font-size: 12px;
  196. color: darken($color2, 25%);
  197. .domain {
  198. font-weight: 500;
  199. a {
  200. color: inherit;
  201. text-decoration: none;
  202. }
  203. }
  204. .powered-by {
  205. font-weight: 400;
  206. a {
  207. color: inherit;
  208. text-decoration: underline;
  209. font-weight: 500;
  210. &:hover {
  211. text-decoration: none;
  212. }
  213. }
  214. }
  215. }
  216. .compact-header {
  217. h1 {
  218. font-size: 24px;
  219. line-height: 28px;
  220. color: $color3;
  221. overflow: hidden;
  222. font-weight: 500;
  223. margin-bottom: 20px;
  224. a {
  225. color: inherit;
  226. text-decoration: none;
  227. }
  228. small {
  229. font-weight: 400;
  230. color: $color2;
  231. }
  232. img {
  233. display: inline-block;
  234. margin-bottom: -5px;
  235. margin-right: 15px;
  236. width: 36px;
  237. height: 36px;
  238. }
  239. }
  240. }
  241. .landing-strip {
  242. background: rgba(darken($color1, 7%), 0.8);
  243. color: $color3;
  244. font-weight: 400;
  245. padding: 14px;
  246. border-radius: 4px;
  247. margin-bottom: 20px;
  248. strong, a {
  249. font-weight: 500;
  250. }
  251. a {
  252. color: inherit;
  253. text-decoration: underline;
  254. }
  255. }
  256. @import 'forms';
  257. @import 'accounts';
  258. @import 'stream_entries';
  259. @import 'components';
  260. @import 'about';
  261. @import 'tables';
  262. @import 'admin';