闭社主体 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.

252 lines
4.2 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. text-size-adjust: none;
  93. &.app-body {
  94. position: fixed;
  95. width: 100%;
  96. height: 100%;
  97. padding: 0;
  98. }
  99. &.embed {
  100. background: transparent;
  101. margin: 0;
  102. .container {
  103. position: absolute;
  104. width: 100%;
  105. height: 100%;
  106. overflow: hidden;
  107. }
  108. }
  109. @media screen and (max-width: 360px) {
  110. padding-bottom: 0;
  111. }
  112. }
  113. .app-holder {
  114. display: flex;
  115. width: 100%;
  116. height: 100%;
  117. align-items: center;
  118. justify-content: center;
  119. }
  120. .container {
  121. width: 700px;
  122. margin: 0 auto;
  123. margin-top: 40px;
  124. @media screen and (max-width: 700px) {
  125. width: 100%;
  126. margin: 0;
  127. }
  128. }
  129. .logo-container {
  130. max-width: 400px;
  131. margin: 100px auto;
  132. margin-bottom: 0;
  133. cursor: default;
  134. @media screen and (max-width: 360px) {
  135. margin: 30px auto;
  136. }
  137. h1 {
  138. display: block;
  139. text-align: center;
  140. color: #fff;
  141. font-size: 48px;
  142. font-weight: 500;
  143. img {
  144. display: block;
  145. margin: 20px auto;
  146. width: 180px;
  147. height: 180px;
  148. }
  149. a {
  150. color: inherit;
  151. text-decoration: none;
  152. outline: 0;
  153. img {
  154. opacity: 0.8;
  155. transition: all 0.8s ease;
  156. }
  157. &:hover {
  158. img {
  159. opacity: 1;
  160. transition-duration: 0.2s;
  161. }
  162. }
  163. }
  164. small {
  165. display: block;
  166. font-size: 12px;
  167. font-weight: 400;
  168. font-family: 'Roboto Mono', monospace;
  169. }
  170. }
  171. }
  172. .no-list {
  173. list-style: none;
  174. li {
  175. display: inline-block;
  176. margin: 0 5px;
  177. }
  178. }
  179. .footer {
  180. text-align: center;
  181. margin-top: 30px;
  182. font-size: 12px;
  183. color: darken(#d9e1e8, 25%);
  184. .domain {
  185. //font-size: 12px;
  186. font-weight: 500;
  187. //font-family: 'Roboto Mono', monospace;
  188. a {
  189. color: inherit;
  190. text-decoration: none;
  191. }
  192. }
  193. .powered-by {
  194. font-weight: 400;
  195. a {
  196. color: inherit;
  197. text-decoration: underline;
  198. font-weight: 500;
  199. &:hover {
  200. text-decoration: none;
  201. }
  202. }
  203. }
  204. }
  205. @import 'forms';
  206. @import 'accounts';
  207. @import 'stream_entries';
  208. @import 'components';
  209. @import 'about';
  210. @import 'tables';
  211. @import 'admin';