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

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