闭社主体 forked from https://github.com/tootsuite/mastodon
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.

237 lines
4.0 KiB

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