about.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  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. }
  102. }
  103. .information-board {
  104. margin: 20px 0;
  105. display: flex;
  106. justify-content: space-between;
  107. border-top: 1px solid lighten($ui-base-color, 10%);
  108. border-bottom: 1px solid lighten($ui-base-color, 10%);
  109. padding-right: 14px;
  110. .section {
  111. flex: 1 0 0;
  112. padding: 14px;
  113. text-align: right;
  114. font: 16px/28px 'mastodon-font-sans-serif', sans-serif;
  115. span,
  116. strong {
  117. display: block;
  118. }
  119. span {
  120. font-size: 16px;
  121. &:last-child {
  122. color: $ui-secondary-color;
  123. font-size: 14px;
  124. }
  125. }
  126. strong {
  127. font-weight: 500;
  128. font-size: 32px;
  129. line-height: 48px;
  130. color: $primary-text-color;
  131. }
  132. }
  133. @media screen and (max-width: 500px) {
  134. flex-direction: column;
  135. .section {
  136. text-align: left;
  137. }
  138. }
  139. }
  140. .owner {
  141. text-align: center;
  142. .avatar {
  143. width: 80px;
  144. height: 80px;
  145. margin: 0 auto;
  146. margin-bottom: 15px;
  147. img {
  148. display: block;
  149. width: 80px;
  150. height: 80px;
  151. border-radius: 48px;
  152. }
  153. }
  154. .name {
  155. font-size: 14px;
  156. a {
  157. display: block;
  158. color: $primary-text-color;
  159. text-decoration: none;
  160. &:hover {
  161. .display_name {
  162. text-decoration: underline;
  163. }
  164. }
  165. }
  166. .username {
  167. display: block;
  168. color: $ui-primary-color;
  169. }
  170. }
  171. }
  172. .contact-email {
  173. text-align: center;
  174. margin: 40px 0;
  175. strong {
  176. display: block;
  177. color: $primary-text-color;
  178. word-break: break-word;
  179. }
  180. }
  181. .sidebar-layout {
  182. display: flex;
  183. .main {
  184. flex: 1 1 auto;
  185. padding: 14px 0;
  186. .panel {
  187. padding-right: 14px;
  188. }
  189. }
  190. .sidebar {
  191. border-left: 1px solid lighten($ui-base-color, 10%);
  192. width: 200px;
  193. flex: 0 0 auto;
  194. }
  195. .panel {
  196. .panel-header {
  197. background: lighten($ui-base-color, 10%);
  198. padding: 7px 14px;
  199. text-transform: uppercase;
  200. font-size: 12px;
  201. font-weight: 500;
  202. }
  203. .panel-body {
  204. padding: 14px;
  205. }
  206. .panel-list {
  207. ul {
  208. list-style: none;
  209. margin: 0;
  210. li {
  211. margin: 0;
  212. font-family: inherit;
  213. font-size: 13px;
  214. line-height: 18px;
  215. a {
  216. display: block;
  217. padding: 7px 14px;
  218. color: rgba($primary-text-color, 0.7);
  219. text-decoration: none;
  220. transition: all 200ms linear;
  221. i.fa {
  222. margin-right: 5px;
  223. }
  224. &:hover {
  225. color: $primary-text-color;
  226. background-color: darken($ui-base-color, 5%);
  227. transition: all 100ms linear;
  228. }
  229. &.selected {
  230. color: $primary-text-color;
  231. background-color: $ui-highlight-color;
  232. &:hover {
  233. background-color: lighten($ui-highlight-color, 5%);
  234. }
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. @media screen and (max-width: 625px) {
  242. flex-direction: column;
  243. .sidebar {
  244. border: 1px solid lighten($ui-base-color, 10%);
  245. width: auto;
  246. }
  247. }
  248. }
  249. .features-list__row {
  250. display: flex;
  251. padding: 10px 0;
  252. justify-content: space-between;
  253. &:first-child {
  254. padding-top: 0;
  255. }
  256. .visual {
  257. flex: 0 0 auto;
  258. display: flex;
  259. align-items: center;
  260. margin-left: 15px;
  261. .fa {
  262. display: block;
  263. color: $ui-primary-color;
  264. font-size: 48px;
  265. }
  266. }
  267. .text {
  268. font-size: 16px;
  269. line-height: 30px;
  270. color: lighten($ui-base-color, 26%);
  271. h6 {
  272. font-weight: 500;
  273. color: $ui-primary-color;
  274. }
  275. }
  276. }
  277. .landing-page {
  278. .header-wrapper {
  279. padding-top: 15px;
  280. background: $ui-base-color;
  281. background: linear-gradient(150deg, lighten($ui-base-color, 8%), $ui-base-color);
  282. position: relative;
  283. .mascot-container {
  284. max-width: 800px;
  285. margin: 0 auto;
  286. position: absolute;
  287. top: 0;
  288. left: 0;
  289. right: 0;
  290. height: 100%;
  291. }
  292. .mascot {
  293. position: absolute;
  294. bottom: -14px;
  295. width: auto;
  296. height: auto;
  297. left: 60px;
  298. z-index: 3;
  299. }
  300. }
  301. p,
  302. li {
  303. font: inherit;
  304. font-weight: inherit;
  305. margin-bottom: 0;
  306. }
  307. .header {
  308. line-height: 30px;
  309. overflow: hidden;
  310. .container {
  311. display: flex;
  312. justify-content: space-between;
  313. }
  314. .hero {
  315. margin-top: 50px;
  316. align-items: center;
  317. position: relative;
  318. .floats {
  319. position: absolute;
  320. width: 100%;
  321. height: 100%;
  322. top: 0;
  323. left: 0;
  324. div {
  325. position: absolute;
  326. transition: all 0.1s linear;
  327. animation-name: floating;
  328. animation-iteration-count: infinite;
  329. animation-direction: alternate;
  330. animation-timing-function: ease-in-out;
  331. z-index: 2;
  332. }
  333. .float-1 {
  334. width: 324px;
  335. height: 170px;
  336. right: -120px;
  337. bottom: 0;
  338. animation-duration: 3s;
  339. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 447.1875 234.375" height="170" width="324"><path fill="#{hex-color(lighten($ui-base-color, 26%))}" d="M21.69 233.366c-6.45-1.268-13.347-5.63-16.704-10.564-10.705-15.734-1.513-37.724 18.632-44.57l4.8-1.632.173-17.753c.146-14.77.515-19.063 2.2-25.55 6.736-25.944 24.46-46.032 47.766-54.137 11.913-4.143 19.558-5.366 34.178-5.47l13.828-.096V71.12c0-4.755 2.853-17.457 5.238-23.327 8.588-21.137 26.735-35.957 52.153-42.593 23.248-6.07 50.153-6.415 71.863-.923 11.14 2.82 25.686 9.957 33.857 16.615 19.335 15.756 31.82 41.05 35.183 71.275.59 5.305.672 5.435 3.11 4.926 11.833-2.474 30.4-3.132 40.065-1.42 24.388 4.32 40.568 19.076 47.214 43.058 2.16 7.8 3.953 23.894 3.59 32.237l-.24 5.498 5.156 1.317c6.392 1.633 14.55 7.098 18.003 12.062 1.435 2.062 3.305 6.597 4.156 10.078 1.428 5.84 1.43 6.8.04 12.44-1.807 7.318-5.672 13.252-10.872 16.694-8.508 5.63 3.756 5.33-211.916 5.216-108.56-.056-199.22-.464-201.47-.906z"/></svg>');
  340. }
  341. .float-2 {
  342. width: 241px;
  343. height: 100px;
  344. right: 210px;
  345. bottom: 0;
  346. animation-duration: 3.5s;
  347. animation-delay: 0.2s;
  348. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 536.25 222.1875" height="100" width="241"><path fill="#{hex-color(lighten($ui-base-color, 26%))}" d="M42.626 221.23c-14.104-1.174-26.442-5.133-32.825-10.534-4.194-3.548-7.684-10.66-8.868-18.075-1.934-12.102.633-22.265 7.528-29.81 7.61-8.328 19.998-12.76 39.855-14.257l8.47-.638-2.08-6.223c-4.826-14.422-6.357-24.813-6.37-43.255-.012-14.923.28-18.513 2.1-25.724 2.283-9.048 8.483-23.034 13.345-30.1 14.76-21.45 43.505-38.425 70.535-41.65 30.628-3.655 64.47 12.073 89.668 41.673l5.955 6.995 2.765-4.174c1.52-2.296 5.74-6.93 9.376-10.295 18.382-17.02 43.436-20.676 73.352-10.705 12.158 4.052 21.315 9.53 29.64 17.733 12.752 12.562 18.16 25.718 18.19 44.26l.02 10.98 2.312-3.01c15.64-20.365 42.29-20.485 62.438-.28 3.644 3.653 7.558 8.593 8.697 10.976 4.895 10.24 5.932 25.688 2.486 37.046-.76 2.507-1.388 4.816-1.393 5.13-.006.316 6.845.87 15.224 1.234 53.06 2.297 76.356 12.98 81.817 37.526 3.554 15.973-3.71 28.604-19.566 34.02-4.554 1.555-17.922 1.655-234.517 1.757-126.327.06-233.497-.21-238.154-.597z"/></svg>');
  349. }
  350. .float-3 {
  351. width: 267px;
  352. height: 140px;
  353. right: 110px;
  354. top: -30px;
  355. animation-duration: 4s;
  356. animation-delay: 0.5s;
  357. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 388.125 202.5" height="140" width="267"><path fill="#{hex-color(lighten($ui-base-color, 26%))}" d="M181.37 201.458c-17.184-1.81-36.762-8.944-49.523-18.05l-5.774-4.12-8.074 2.63c-11.468 3.738-21.382 4.962-35.815 4.422-14.79-.554-24.577-2.845-36.716-8.594-15.483-7.332-28.498-19.98-35.985-34.968C2.44 128.675-.94 108.435.9 91.356c3.362-31.234 18.197-53.698 43.63-66.074 12.803-6.23 22.384-8.55 37.655-9.122 14.433-.54 24.347.684 35.814 4.42l8.073 2.633 5.635-4.01c24.81-17.656 60.007-23.332 92.914-14.985 10.11 2.565 25.498 9.62 33.102 15.178l5.068 3.704 7.632-2.564c10.89-3.66 21.086-4.916 35.516-4.376 45.816 1.716 76.422 30.03 81.285 75.196 1.84 17.08-1.54 37.32-8.585 51.422-7.487 14.99-20.502 27.636-35.984 34.968-12.14 5.75-21.926 8.04-36.716 8.593-14.43.54-24.626-.716-35.516-4.376l-7.632-2.564-5.068 3.704c-12.844 9.387-32.714 16.488-51.545 18.42-10.607 1.09-13.916 1.08-24.81-.066z"/></svg>');
  358. }
  359. }
  360. .simple_form,
  361. .closed-registrations-message {
  362. background: darken($ui-base-color, 4%);
  363. width: 280px;
  364. padding: 15px 20px;
  365. border-radius: 4px 4px 0 0;
  366. line-height: initial;
  367. position: relative;
  368. z-index: 4;
  369. .actions {
  370. margin-bottom: 0;
  371. button,
  372. .button,
  373. .block-button {
  374. margin-bottom: 0;
  375. }
  376. }
  377. }
  378. .heading {
  379. position: relative;
  380. z-index: 4;
  381. padding-bottom: 150px;
  382. }
  383. .closed-registrations-message {
  384. min-height: 330px;
  385. display: flex;
  386. flex-direction: column;
  387. justify-content: space-between;
  388. }
  389. }
  390. ul {
  391. list-style: none;
  392. margin: 0;
  393. li {
  394. display: inline-block;
  395. vertical-align: bottom;
  396. margin: 0;
  397. &:first-child a {
  398. padding-left: 0;
  399. }
  400. &:last-child a {
  401. padding-right: 0;
  402. }
  403. }
  404. }
  405. .links {
  406. position: relative;
  407. z-index: 4;
  408. a {
  409. display: flex;
  410. justify-content: center;
  411. align-items: center;
  412. color: $ui-primary-color;
  413. text-decoration: none;
  414. padding: 12px 16px;
  415. line-height: 32px;
  416. font-family: 'mastodon-font-display', sans-serif;
  417. font-weight: 500;
  418. font-size: 14px;
  419. &:hover {
  420. color: $ui-secondary-color;
  421. }
  422. }
  423. .brand {
  424. a {
  425. padding-left: 0;
  426. color: $white;
  427. &:hover img {
  428. opacity: 1;
  429. }
  430. }
  431. img {
  432. height: 32px;
  433. margin-right: 10px;
  434. position: relative;
  435. top: 4px;
  436. left: -10px;
  437. opacity: 0.8;
  438. }
  439. }
  440. }
  441. }
  442. .container {
  443. width: 100%;
  444. box-sizing: border-box;
  445. max-width: 800px;
  446. margin: 0 auto;
  447. }
  448. .wrapper {
  449. max-width: 800px;
  450. margin: 0 auto;
  451. padding: 0;
  452. }
  453. .learn-more-cta {
  454. background: darken($ui-base-color, 4%);
  455. padding: 50px 0;
  456. }
  457. h3 {
  458. font-family: 'mastodon-font-display', sans-serif;
  459. font-size: 16px;
  460. line-height: 24px;
  461. font-weight: 500;
  462. margin-bottom: 20px;
  463. color: $ui-primary-color;
  464. }
  465. p {
  466. font-size: 16px;
  467. line-height: 30px;
  468. color: lighten($ui-base-color, 26%);
  469. }
  470. .features {
  471. padding: 50px 0;
  472. .container {
  473. display: flex;
  474. }
  475. }
  476. #mastodon-timeline {
  477. -webkit-overflow-scrolling: touch;
  478. -ms-overflow-style: -ms-autohiding-scrollbar;
  479. font-family: 'mastodon-font-sans-serif', sans-serif;
  480. font-size: 13px;
  481. line-height: 18px;
  482. font-weight: 400;
  483. color: $primary-text-color;
  484. width: 330px;
  485. margin-right: 30px;
  486. flex: 0 0 auto;
  487. background: $ui-base-color;
  488. overflow: hidden;
  489. box-shadow: 0 0 6px rgba($black, 0.1);
  490. .column {
  491. padding: 0;
  492. border-radius: 4px;
  493. overflow: hidden;
  494. height: 100%;
  495. }
  496. .scrollable {
  497. height: 400px;
  498. }
  499. p {
  500. font-size: inherit;
  501. line-height: inherit;
  502. font-weight: inherit;
  503. color: $primary-text-color;
  504. a {
  505. color: $ui-secondary-color;
  506. text-decoration: none;
  507. }
  508. }
  509. }
  510. .about-mastodon {
  511. max-width: 675px;
  512. p {
  513. margin-bottom: 20px;
  514. }
  515. .features-list {
  516. margin-top: 20px;
  517. }
  518. }
  519. em {
  520. display: inline;
  521. margin: 0;
  522. padding: 0;
  523. font-weight: 500;
  524. background: transparent;
  525. font-family: inherit;
  526. font-size: inherit;
  527. line-height: inherit;
  528. color: $ui-primary-color;
  529. }
  530. h1 {
  531. font-family: 'mastodon-font-display', sans-serif;
  532. font-size: 26px;
  533. line-height: 30px;
  534. margin-bottom: 0;
  535. font-weight: 500;
  536. color: $ui-secondary-color;
  537. small {
  538. font-family: 'mastodon-font-sans-serif', sans-serif;
  539. display: block;
  540. font-size: 18px;
  541. font-weight: 400;
  542. color: lighten($ui-base-color, 26%);
  543. }
  544. }
  545. .footer-links {
  546. padding-bottom: 50px;
  547. text-align: right;
  548. color: lighten($ui-base-color, 26%);
  549. p {
  550. font-size: 14px;
  551. }
  552. a {
  553. color: inherit;
  554. text-decoration: underline;
  555. }
  556. }
  557. @media screen and (max-width: 800px) {
  558. .container {
  559. padding: 0 20px;
  560. }
  561. .header-wrapper .mascot {
  562. left: 20px;
  563. }
  564. }
  565. @media screen and (max-width: 689px) {
  566. .header-wrapper .mascot {
  567. display: none;
  568. }
  569. }
  570. @media screen and (max-width: 675px) {
  571. .header-wrapper {
  572. padding-top: 0;
  573. }
  574. .header .container,
  575. .features .container {
  576. display: block;
  577. }
  578. .links {
  579. padding-top: 15px;
  580. background: darken($ui-base-color, 4%);
  581. }
  582. .header {
  583. padding-top: 0;
  584. .hero {
  585. margin-top: 30px;
  586. padding: 0;
  587. .heading {
  588. padding-bottom: 20px;
  589. }
  590. }
  591. .floats {
  592. display: none;
  593. }
  594. .heading,
  595. .nav {
  596. text-align: center;
  597. }
  598. .heading h1 {
  599. padding: 30px 0;
  600. }
  601. .hero {
  602. .simple_form,
  603. .closed-registrations-message {
  604. background: darken($ui-base-color, 8%);
  605. width: 100%;
  606. border-radius: 0;
  607. box-sizing: border-box;
  608. }
  609. }
  610. }
  611. #mastodon-timeline {
  612. height: 70vh;
  613. width: 100%;
  614. margin-bottom: 50px;
  615. }
  616. }
  617. }
  618. @keyframes floating {
  619. from {
  620. transform: translate(0, 0);
  621. }
  622. 65% {
  623. transform: translate(0, 4px);
  624. }
  625. to {
  626. transform: translate(0, -0);
  627. }
  628. }