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.

738 lines
16 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. }
  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. @include avatar-size(80px);
  144. margin: 0 auto;
  145. margin-bottom: 15px;
  146. img {
  147. @include avatar-radius();
  148. @include avatar-size(80px);
  149. display: block;
  150. }
  151. }
  152. .name {
  153. font-size: 14px;
  154. a {
  155. display: block;
  156. color: $primary-text-color;
  157. text-decoration: none;
  158. &:hover {
  159. .display_name {
  160. text-decoration: underline;
  161. }
  162. }
  163. }
  164. .username {
  165. display: block;
  166. color: $ui-primary-color;
  167. }
  168. }
  169. }
  170. .contact-email {
  171. text-align: center;
  172. margin: 40px 0;
  173. strong {
  174. display: block;
  175. color: $primary-text-color;
  176. word-break: break-word;
  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($ui-base-color, 10%);
  190. width: 200px;
  191. flex: 0 0 auto;
  192. }
  193. .panel {
  194. .panel-header {
  195. background: lighten($ui-base-color, 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($primary-text-color, 0.7);
  217. text-decoration: none;
  218. transition: all 200ms linear;
  219. i.fa {
  220. margin-right: 5px;
  221. }
  222. &:hover {
  223. color: $primary-text-color;
  224. background-color: darken($ui-base-color, 5%);
  225. transition: all 100ms linear;
  226. }
  227. &.selected {
  228. color: $primary-text-color;
  229. background-color: $ui-highlight-color;
  230. &:hover {
  231. background-color: lighten($ui-highlight-color, 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($ui-base-color, 10%);
  243. width: auto;
  244. }
  245. }
  246. }
  247. .features-list__row {
  248. display: flex;
  249. padding: 10px 0;
  250. justify-content: space-between;
  251. &:first-child {
  252. padding-top: 0;
  253. }
  254. .visual {
  255. flex: 0 0 auto;
  256. display: flex;
  257. align-items: center;
  258. margin-left: 15px;
  259. .fa {
  260. display: block;
  261. color: $ui-primary-color;
  262. font-size: 48px;
  263. }
  264. }
  265. .text {
  266. font-size: 16px;
  267. line-height: 30px;
  268. color: lighten($ui-base-color, 26%);
  269. h6 {
  270. font-weight: 500;
  271. color: $ui-primary-color;
  272. }
  273. }
  274. }
  275. .landing-page {
  276. .header-wrapper {
  277. padding-top: 15px;
  278. background: $ui-base-color;
  279. background: linear-gradient(150deg, lighten($ui-base-color, 8%), $ui-base-color);
  280. position: relative;
  281. .mascot-container {
  282. max-width: 800px;
  283. margin: 0 auto;
  284. position: absolute;
  285. top: 0;
  286. left: 0;
  287. right: 0;
  288. height: 100%;
  289. }
  290. .mascot {
  291. position: absolute;
  292. bottom: -14px;
  293. width: auto;
  294. height: auto;
  295. left: 60px;
  296. z-index: 3;
  297. }
  298. }
  299. p,
  300. li {
  301. font: inherit;
  302. font-weight: inherit;
  303. margin-bottom: 0;
  304. }
  305. .header {
  306. line-height: 30px;
  307. overflow: hidden;
  308. .container {
  309. display: flex;
  310. justify-content: space-between;
  311. }
  312. .hero {
  313. margin-top: 50px;
  314. align-items: center;
  315. position: relative;
  316. .floats {
  317. position: absolute;
  318. width: 100%;
  319. height: 100%;
  320. top: 0;
  321. left: 0;
  322. div {
  323. position: absolute;
  324. transition: all 0.1s linear;
  325. animation-name: floating;
  326. animation-duration: 1.7s;
  327. animation-iteration-count: infinite;
  328. animation-direction: alternate;
  329. animation-timing-function: linear;
  330. z-index: 2;
  331. }
  332. .float-1 {
  333. width: 324px;
  334. height: 170px;
  335. right: -120px;
  336. bottom: 0;
  337. 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>');
  338. }
  339. .float-2 {
  340. width: 241px;
  341. height: 100px;
  342. right: 210px;
  343. bottom: 0;
  344. animation-delay: 0.2s;
  345. 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>');
  346. }
  347. .float-3 {
  348. width: 267px;
  349. height: 140px;
  350. right: 110px;
  351. top: -30px;
  352. animation-delay: 0.1s;
  353. 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>');
  354. }
  355. }
  356. .simple_form,
  357. .closed-registrations-message {
  358. background: darken($ui-base-color, 4%);
  359. width: 280px;
  360. padding: 15px 20px;
  361. border-radius: 4px 4px 0 0;
  362. line-height: initial;
  363. position: relative;
  364. z-index: 4;
  365. .actions {
  366. margin-bottom: 0;
  367. button,
  368. .button,
  369. .block-button {
  370. margin-bottom: 0;
  371. }
  372. }
  373. }
  374. .heading {
  375. position: relative;
  376. z-index: 4;
  377. padding-bottom: 150px;
  378. }
  379. .closed-registrations-message {
  380. min-height: 330px;
  381. display: flex;
  382. flex-direction: column;
  383. justify-content: space-between;
  384. }
  385. }
  386. ul {
  387. list-style: none;
  388. margin: 0;
  389. li {
  390. display: inline-block;
  391. vertical-align: bottom;
  392. margin: 0;
  393. &:first-child a {
  394. padding-left: 0;
  395. }
  396. &:last-child a {
  397. padding-right: 0;
  398. }
  399. }
  400. }
  401. .links {
  402. position: relative;
  403. z-index: 4;
  404. a {
  405. display: flex;
  406. justify-content: center;
  407. align-items: center;
  408. color: $ui-primary-color;
  409. text-decoration: none;
  410. padding: 12px 16px;
  411. line-height: 32px;
  412. font-family: 'mastodon-font-display', sans-serif;
  413. font-weight: 500;
  414. font-size: 14px;
  415. &:hover {
  416. color: $ui-secondary-color;
  417. }
  418. }
  419. .brand {
  420. a {
  421. padding-left: 0;
  422. color: $white;
  423. }
  424. img {
  425. width: 32px;
  426. height: 32px;
  427. margin-right: 10px;
  428. }
  429. }
  430. }
  431. }
  432. .container {
  433. width: 100%;
  434. box-sizing: border-box;
  435. max-width: 800px;
  436. margin: 0 auto;
  437. }
  438. .wrapper {
  439. max-width: 800px;
  440. margin: 0 auto;
  441. padding: 0;
  442. }
  443. .learn-more-cta {
  444. background: darken($ui-base-color, 4%);
  445. padding: 50px 0;
  446. }
  447. h3 {
  448. font-family: 'mastodon-font-display', sans-serif;
  449. font-size: 16px;
  450. line-height: 24px;
  451. font-weight: 500;
  452. margin-bottom: 20px;
  453. color: $ui-primary-color;
  454. }
  455. p {
  456. font-size: 16px;
  457. line-height: 30px;
  458. color: lighten($ui-base-color, 26%);
  459. }
  460. .features {
  461. padding: 50px 0;
  462. .container {
  463. display: flex;
  464. }
  465. }
  466. #mastodon-timeline {
  467. -webkit-overflow-scrolling: touch;
  468. -ms-overflow-style: -ms-autohiding-scrollbar;
  469. font-family: 'mastodon-font-sans-serif', sans-serif;
  470. font-size: 13px;
  471. line-height: 18px;
  472. font-weight: 400;
  473. color: $primary-text-color;
  474. width: 330px;
  475. margin-right: 30px;
  476. flex: 0 0 auto;
  477. background: $ui-base-color;
  478. overflow: hidden;
  479. box-shadow: 0 0 6px rgba($black, 0.1);
  480. .column {
  481. padding: 0;
  482. border-radius: 4px;
  483. overflow: hidden;
  484. height: 100%;
  485. }
  486. .scrollable {
  487. height: 400px;
  488. }
  489. p {
  490. font-size: inherit;
  491. line-height: inherit;
  492. font-weight: inherit;
  493. color: $primary-text-color;
  494. a {
  495. color: $ui-secondary-color;
  496. text-decoration: none;
  497. }
  498. }
  499. }
  500. .about-mastodon {
  501. max-width: 675px;
  502. p {
  503. margin-bottom: 20px;
  504. }
  505. .features-list {
  506. margin-top: 20px;
  507. }
  508. }
  509. em {
  510. display: inline;
  511. margin: 0;
  512. padding: 0;
  513. font-weight: 500;
  514. background: transparent;
  515. font-family: inherit;
  516. font-size: inherit;
  517. line-height: inherit;
  518. color: $ui-primary-color;
  519. }
  520. h1 {
  521. font-family: 'mastodon-font-display', sans-serif;
  522. font-size: 26px;
  523. line-height: 30px;
  524. margin-bottom: 0;
  525. font-weight: 500;
  526. color: $ui-secondary-color;
  527. small {
  528. font-family: 'mastodon-font-sans-serif', sans-serif;
  529. display: block;
  530. font-size: 18px;
  531. font-weight: 400;
  532. color: lighten($ui-base-color, 26%);
  533. }
  534. }
  535. .footer-links {
  536. padding-bottom: 50px;
  537. text-align: right;
  538. color: lighten($ui-base-color, 26%);
  539. p {
  540. font-size: 14px;
  541. }
  542. a {
  543. color: inherit;
  544. text-decoration: underline;
  545. }
  546. }
  547. @media screen and (max-width: 800px) {
  548. .container {
  549. padding: 0 20px;
  550. }
  551. .header-wrapper .mascot {
  552. left: 20px;
  553. }
  554. }
  555. @media screen and (max-width: 689px) {
  556. .header-wrapper .mascot {
  557. display: none;
  558. }
  559. }
  560. @media screen and (max-width: 675px) {
  561. .header-wrapper {
  562. padding-top: 0;
  563. }
  564. .header .container,
  565. .features .container {
  566. display: block;
  567. }
  568. .links {
  569. padding-top: 15px;
  570. background: darken($ui-base-color, 4%);
  571. }
  572. .header {
  573. padding-top: 0;
  574. .hero {
  575. margin-top: 30px;
  576. padding: 0;
  577. .heading {
  578. padding-bottom: 20px;
  579. }
  580. }
  581. .floats {
  582. display: none;
  583. }
  584. .heading,
  585. .nav {
  586. text-align: center;
  587. }
  588. .heading h1 {
  589. padding: 30px 0;
  590. }
  591. .hero {
  592. .simple_form,
  593. .closed-registrations-message {
  594. background: darken($ui-base-color, 8%);
  595. width: 100%;
  596. border-radius: 0;
  597. box-sizing: border-box;
  598. }
  599. }
  600. }
  601. #mastodon-timeline {
  602. height: 70vh;
  603. width: 100%;
  604. margin-bottom: 50px;
  605. }
  606. }
  607. }
  608. @keyframes floating {
  609. from {
  610. transform: translate(0, 0);
  611. }
  612. 65% {
  613. transform: translate(0, 4px);
  614. }
  615. to {
  616. transform: translate(0, -0);
  617. }
  618. }