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

374 lines
5.9 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: 12px;
  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. word-break: break-word;
  178. }
  179. }
  180. .sidebar-layout {
  181. display: flex;
  182. .main {
  183. flex: 1 1 auto;
  184. padding: 14px 0;
  185. .panel {
  186. padding-right: 14px;
  187. }
  188. }
  189. .sidebar {
  190. border-left: 1px solid lighten($color1, 10%);
  191. width: 180px;
  192. flex: 0 0 auto;
  193. }
  194. .panel {
  195. .panel-header {
  196. background: lighten($color1, 10%);
  197. padding: 7px 14px;
  198. text-transform: uppercase;
  199. font-size: 12px;
  200. font-weight: 500;
  201. }
  202. .panel-body {
  203. padding: 14px;
  204. }
  205. .panel-list {
  206. ul {
  207. list-style: none;
  208. margin: 0;
  209. li {
  210. margin: 0;
  211. font-family: inherit;
  212. font-size: 13px;
  213. line-height: 18px;
  214. a {
  215. display: block;
  216. padding: 7px 14px;
  217. color: rgba($color5, 0.7);
  218. text-decoration: none;
  219. transition: all 200ms linear;
  220. i.fa {
  221. margin-right: 5px;
  222. }
  223. &:hover {
  224. color: $color5;
  225. background-color: darken($color1, 5%);
  226. transition: all 100ms linear;
  227. }
  228. &.selected {
  229. color: $color5;
  230. background-color: $color4;
  231. &:hover {
  232. background-color: lighten($color4, 5%);
  233. }
  234. }
  235. }
  236. }
  237. }
  238. }
  239. }
  240. @media screen and (max-width: 625px) {
  241. flex-direction: column;
  242. .sidebar {
  243. border: 1px solid lighten($color1, 10%);
  244. width: auto;
  245. }
  246. }
  247. }
  248. .features-list {
  249. display: flex;
  250. margin-bottom: 20px;
  251. .features-list__column {
  252. flex: 1 1 0;
  253. ul {
  254. list-style: none;
  255. }
  256. li {
  257. margin: 0;
  258. }
  259. }
  260. }
  261. .screenshot-with-signup {
  262. display: flex;
  263. margin-bottom: 20px;
  264. .mascot {
  265. flex: 1 1 auto;
  266. display: flex;
  267. align-items: center;
  268. justify-content: center;
  269. flex-direction: column;
  270. img {
  271. display: block;
  272. margin: 0 auto;
  273. max-width: 100%;
  274. height: auto;
  275. }
  276. }
  277. .simple_form, .closed-registrations-message {
  278. width: 300px;
  279. flex: 0 0 auto;
  280. background: rgba(darken($color1, 7%), 0.5);
  281. padding: 14px;
  282. border-radius: 4px;
  283. box-shadow: 0 0 15px rgba($color8, 0.4);
  284. .actions {
  285. margin-bottom: 0;
  286. }
  287. .info {
  288. text-align: center;
  289. a {
  290. color: $color2;
  291. }
  292. }
  293. }
  294. @media screen and (max-width: 625px) {
  295. .mascot {
  296. display: none;
  297. }
  298. .simple_form, .closed-registrations-message {
  299. flex: auto;
  300. }
  301. }
  302. }
  303. .closed-registrations-message {
  304. display: flex;
  305. flex-direction: column;
  306. align-items: center;
  307. justify-content: center;
  308. text-align: center;
  309. }