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

373 lines
5.8 KiB

  1. .about-body {
  2. .wrapper {
  3. max-width: 600px;
  4. margin: 0 auto;
  5. color: $color3;
  6. padding-top: 50px;
  7. padding-bottom: 50px;
  8. &.thicc {
  9. max-width: 700px;
  10. }
  11. }
  12. h1 {
  13. font: 46px/52px 'Roboto', sans-serif;
  14. font-weight: 600;
  15. margin-bottom: 20px;
  16. color: $color4;
  17. padding: 20px 0;
  18. img {
  19. margin-bottom: -5px;
  20. margin-right: 5px;
  21. width: 46px;
  22. height: 46px;
  23. }
  24. }
  25. h2 {
  26. font-family: 'Montserrat', sans-serif;
  27. font-size: 24px;
  28. line-height: 28px;
  29. font-weight: 400;
  30. margin-bottom: 20px;
  31. color: $color5;
  32. }
  33. h3 {
  34. font-family: 'Montserrat', sans-serif;
  35. font-size: 20px;
  36. line-height: 28px;
  37. font-weight: 400;
  38. margin-bottom: 20px;
  39. color: $color2;
  40. }
  41. ul, ol {
  42. list-style: inherit;
  43. margin-left: 20px;
  44. &[type='a'] {
  45. list-style-type: lower-alpha;
  46. }
  47. &[type='i'] {
  48. list-style-type: lower-roman;
  49. }
  50. }
  51. li > ol, li > ul {
  52. margin-top: 20px;
  53. }
  54. p, li {
  55. font: 16px/28px 'Montserrat', sans-serif;
  56. font-weight: 400;
  57. margin-bottom: 26px;
  58. a {
  59. color: $color4;
  60. text-decoration: underline;
  61. }
  62. }
  63. em {
  64. display: inline-block;
  65. padding: 7px 7px 5px 7px;
  66. margin: 0 2px;
  67. background: $color3;
  68. color: $color1;
  69. font: 16px/16px 'Montserrat', sans-serif;
  70. font-weight: 300;
  71. }
  72. .screenshot {
  73. box-shadow: 0 0 15px rgba($color8, 0.4);
  74. margin-bottom: 26px;
  75. img {
  76. max-width: 100%;
  77. height: auto;
  78. display: block;
  79. }
  80. }
  81. .actions {
  82. overflow: hidden;
  83. margin-bottom: 20px;
  84. .info {
  85. float: right;
  86. text-align: right;
  87. line-height: 36px;
  88. a {
  89. color: $color3;
  90. text-decoration: underline;
  91. }
  92. }
  93. }
  94. @media screen and (max-width: 625px) {
  95. .wrapper {
  96. padding: 20px;
  97. }
  98. .features-list {
  99. display: block;
  100. }
  101. }
  102. }
  103. .information-board {
  104. margin: 20px 0;
  105. display: flex;
  106. justify-content: space-between;
  107. border-top: 1px solid lighten($color1, 10%);
  108. border-bottom: 1px solid lighten($color1, 10%);
  109. padding-right: 14px;
  110. .section {
  111. flex: 1 0 0;
  112. padding: 14px;
  113. text-align: right;
  114. font: 16px/28px 'Montserrat', sans-serif;
  115. span, strong {
  116. display: block;
  117. }
  118. span {
  119. font-size: 16px;
  120. &:last-child {
  121. color: $color2;
  122. font-size: 14px;
  123. }
  124. }
  125. strong {
  126. font-weight: 500;
  127. font-size: 32px;
  128. line-height: 48px;
  129. color: $color5;
  130. }
  131. }
  132. @media screen and (max-width: 500px) {
  133. flex-direction: column;
  134. .section {
  135. text-align: left;
  136. }
  137. }
  138. }
  139. .owner {
  140. text-align: center;
  141. .avatar {
  142. width: 80px;
  143. height: 80px;
  144. margin: 0 auto;
  145. margin-bottom: 15px;
  146. img {
  147. display: block;
  148. width: 80px;
  149. height: 80px;
  150. border-radius: 48px;
  151. }
  152. }
  153. .name {
  154. font-size: 14px;
  155. a {
  156. display: block;
  157. color: $color5;
  158. text-decoration: none;
  159. &:hover {
  160. .display_name {
  161. text-decoration: underline;
  162. }
  163. }
  164. }
  165. .username {
  166. display: block;
  167. color: $color3;
  168. }
  169. }
  170. }
  171. .contact-email {
  172. text-align: center;
  173. margin: 40px 0;
  174. strong {
  175. display: block;
  176. color: $color5;
  177. }
  178. }
  179. .sidebar-layout {
  180. display: flex;
  181. .main {
  182. flex: 1 1 auto;
  183. padding: 14px 0;
  184. .panel {
  185. padding-right: 14px;
  186. }
  187. }
  188. .sidebar {
  189. border-left: 1px solid lighten($color1, 10%);
  190. width: 180px;
  191. flex: 0 0 auto;
  192. }
  193. .panel {
  194. .panel-header {
  195. background: lighten($color1, 10%);
  196. padding: 7px 14px;
  197. text-transform: uppercase;
  198. font-size: 12px;
  199. font-weight: 500;
  200. }
  201. .panel-body {
  202. padding: 14px;
  203. }
  204. .panel-list {
  205. ul {
  206. list-style: none;
  207. margin: 0;
  208. li {
  209. margin: 0;
  210. font-family: inherit;
  211. font-size: 13px;
  212. line-height: 18px;
  213. a {
  214. display: block;
  215. padding: 7px 14px;
  216. color: rgba($color5, 0.7);
  217. text-decoration: none;
  218. transition: all 200ms linear;
  219. i.fa {
  220. margin-right: 5px;
  221. }
  222. &:hover {
  223. color: $color5;
  224. background-color: darken($color1, 5%);
  225. transition: all 100ms linear;
  226. }
  227. &.selected {
  228. color: $color5;
  229. background-color: $color4;
  230. &:hover {
  231. background-color: lighten($color4, 5%);
  232. }
  233. }
  234. }
  235. }
  236. }
  237. }
  238. }
  239. @media screen and (max-width: 625px) {
  240. flex-direction: column;
  241. .sidebar {
  242. border: 1px solid lighten($color1, 10%);
  243. width: auto;
  244. }
  245. }
  246. }
  247. .features-list {
  248. display: flex;
  249. margin-bottom: 20px;
  250. .features-list__column {
  251. flex: 1 1 0;
  252. ul {
  253. list-style: none;
  254. }
  255. li {
  256. margin: 0;
  257. }
  258. }
  259. }
  260. .screenshot-with-signup {
  261. display: flex;
  262. margin-bottom: 20px;
  263. .mascot {
  264. flex: 1 1 auto;
  265. display: flex;
  266. align-items: center;
  267. justify-content: center;
  268. flex-direction: column;
  269. img {
  270. display: block;
  271. margin: 0 auto;
  272. max-width: 100%;
  273. height: auto;
  274. }
  275. }
  276. .simple_form, .closed-registrations-message {
  277. width: 300px;
  278. flex: 0 0 auto;
  279. background: rgba(darken($color1, 7%), 0.5);
  280. padding: 14px;
  281. border-radius: 4px;
  282. box-shadow: 0 0 15px rgba($color8, 0.4);
  283. .actions {
  284. margin-bottom: 0;
  285. }
  286. .info {
  287. text-align: center;
  288. a {
  289. color: $color2;
  290. }
  291. }
  292. }
  293. @media screen and (max-width: 625px) {
  294. .mascot {
  295. display: none;
  296. }
  297. .simple_form, .closed-registrations-message {
  298. flex: auto;
  299. }
  300. }
  301. }
  302. .closed-registrations-message {
  303. display: flex;
  304. flex-direction: column;
  305. align-items: center;
  306. justify-content: center;
  307. text-align: center;
  308. }