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

380 lines
6.2 KiB

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