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.

1324 lines
23 KiB

  1. $maximum-width: 1235px;
  2. $fluid-breakpoint: $maximum-width + 20px;
  3. $column-breakpoint: 700px;
  4. $small-breakpoint: 960px;
  5. .container {
  6. box-sizing: border-box;
  7. max-width: $maximum-width;
  8. margin: 0 auto;
  9. position: relative;
  10. @media screen and (max-width: $fluid-breakpoint) {
  11. width: 100%;
  12. padding: 0 10px;
  13. }
  14. }
  15. .rich-formatting {
  16. font-family: 'mastodon-font-sans-serif', sans-serif;
  17. font-size: 16px;
  18. font-weight: 400;
  19. font-size: 16px;
  20. line-height: 30px;
  21. color: $darker-text-color;
  22. padding-right: 10px;
  23. a {
  24. color: $highlight-text-color;
  25. text-decoration: underline;
  26. }
  27. p,
  28. li {
  29. font-family: 'mastodon-font-sans-serif', sans-serif;
  30. font-size: 16px;
  31. font-weight: 400;
  32. font-size: 16px;
  33. line-height: 30px;
  34. margin-bottom: 12px;
  35. color: $darker-text-color;
  36. a {
  37. color: $highlight-text-color;
  38. text-decoration: underline;
  39. }
  40. &:last-child {
  41. margin-bottom: 0;
  42. }
  43. }
  44. em {
  45. display: inline;
  46. margin: 0;
  47. padding: 0;
  48. font-weight: 700;
  49. background: transparent;
  50. font-family: inherit;
  51. font-size: inherit;
  52. line-height: inherit;
  53. color: lighten($darker-text-color, 10%);
  54. }
  55. h1 {
  56. font-family: 'mastodon-font-display', sans-serif;
  57. font-size: 26px;
  58. line-height: 30px;
  59. font-weight: 500;
  60. margin-bottom: 20px;
  61. color: $secondary-text-color;
  62. small {
  63. font-family: 'mastodon-font-sans-serif', sans-serif;
  64. display: block;
  65. font-size: 18px;
  66. font-weight: 400;
  67. color: lighten($darker-text-color, 10%);
  68. }
  69. }
  70. h2 {
  71. font-family: 'mastodon-font-display', sans-serif;
  72. font-size: 22px;
  73. line-height: 26px;
  74. font-weight: 500;
  75. margin-bottom: 20px;
  76. color: $secondary-text-color;
  77. }
  78. h3 {
  79. font-family: 'mastodon-font-display', sans-serif;
  80. font-size: 18px;
  81. line-height: 24px;
  82. font-weight: 500;
  83. margin-bottom: 20px;
  84. color: $secondary-text-color;
  85. }
  86. h4 {
  87. font-family: 'mastodon-font-display', sans-serif;
  88. font-size: 16px;
  89. line-height: 24px;
  90. font-weight: 500;
  91. margin-bottom: 20px;
  92. color: $secondary-text-color;
  93. }
  94. h5 {
  95. font-family: 'mastodon-font-display', sans-serif;
  96. font-size: 14px;
  97. line-height: 24px;
  98. font-weight: 500;
  99. margin-bottom: 20px;
  100. color: $secondary-text-color;
  101. }
  102. h6 {
  103. font-family: 'mastodon-font-display', sans-serif;
  104. font-size: 12px;
  105. line-height: 24px;
  106. font-weight: 500;
  107. margin-bottom: 20px;
  108. color: $secondary-text-color;
  109. }
  110. ul,
  111. ol {
  112. margin-left: 20px;
  113. &[type='a'] {
  114. list-style-type: lower-alpha;
  115. }
  116. &[type='i'] {
  117. list-style-type: lower-roman;
  118. }
  119. }
  120. ul {
  121. list-style: disc;
  122. }
  123. ol {
  124. list-style: decimal;
  125. }
  126. li > ol,
  127. li > ul {
  128. margin-top: 6px;
  129. }
  130. hr {
  131. width: 100%;
  132. height: 0;
  133. border: 0;
  134. border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
  135. margin: 20px 0;
  136. &.spacer {
  137. height: 1px;
  138. border: 0;
  139. }
  140. }
  141. }
  142. .information-board {
  143. background: darken($ui-base-color, 4%);
  144. padding: 20px 0;
  145. .container-alt {
  146. position: relative;
  147. padding-right: 280px + 15px;
  148. }
  149. &__sections {
  150. display: flex;
  151. justify-content: space-between;
  152. flex-wrap: wrap;
  153. }
  154. &__section {
  155. flex: 1 0 0;
  156. font-family: 'mastodon-font-sans-serif', sans-serif;
  157. font-size: 16px;
  158. line-height: 28px;
  159. color: $primary-text-color;
  160. text-align: right;
  161. padding: 10px 15px;
  162. span,
  163. strong {
  164. display: block;
  165. }
  166. span {
  167. &:last-child {
  168. color: $secondary-text-color;
  169. }
  170. }
  171. strong {
  172. font-weight: 500;
  173. font-size: 32px;
  174. line-height: 48px;
  175. }
  176. @media screen and (max-width: $column-breakpoint) {
  177. text-align: center;
  178. }
  179. }
  180. .panel {
  181. position: absolute;
  182. width: 280px;
  183. box-sizing: border-box;
  184. background: darken($ui-base-color, 8%);
  185. padding: 20px;
  186. padding-top: 10px;
  187. border-radius: 4px 4px 0 0;
  188. right: 0;
  189. bottom: -40px;
  190. .panel-header {
  191. font-family: 'mastodon-font-display', sans-serif;
  192. font-size: 14px;
  193. line-height: 24px;
  194. font-weight: 500;
  195. color: $darker-text-color;
  196. padding-bottom: 5px;
  197. margin-bottom: 15px;
  198. border-bottom: 1px solid lighten($ui-base-color, 4%);
  199. text-overflow: ellipsis;
  200. white-space: nowrap;
  201. overflow: hidden;
  202. a,
  203. span {
  204. font-weight: 400;
  205. color: darken($darker-text-color, 10%);
  206. }
  207. a {
  208. text-decoration: none;
  209. }
  210. }
  211. }
  212. .owner {
  213. text-align: center;
  214. .avatar {
  215. width: 80px;
  216. height: 80px;
  217. @include avatar-size(80px);
  218. margin: 0 auto;
  219. margin-bottom: 15px;
  220. img {
  221. display: block;
  222. width: 80px;
  223. height: 80px;
  224. border-radius: 48px;
  225. @include avatar-radius();
  226. }
  227. }
  228. .name {
  229. font-size: 14px;
  230. a {
  231. display: block;
  232. color: $primary-text-color;
  233. text-decoration: none;
  234. &:hover {
  235. .display_name {
  236. text-decoration: underline;
  237. }
  238. }
  239. }
  240. .username {
  241. display: block;
  242. color: $darker-text-color;
  243. }
  244. }
  245. }
  246. }
  247. .landing-page {
  248. .grid {
  249. display: grid;
  250. grid-gap: 10px;
  251. grid-template-columns: 1fr 2fr;
  252. grid-auto-columns: 25%;
  253. grid-auto-rows: max-content;
  254. .column-0 {
  255. display: none;
  256. }
  257. .column-1 {
  258. grid-column: 1;
  259. grid-row: 1;
  260. }
  261. .column-2 {
  262. grid-column: 2;
  263. grid-row: 1;
  264. }
  265. .column-3 {
  266. grid-column: 3;
  267. grid-row: 1 / 3;
  268. }
  269. .column-4 {
  270. grid-column: 1 / 3;
  271. grid-row: 2;
  272. }
  273. }
  274. @media screen and (max-width: $small-breakpoint) {
  275. .grid {
  276. grid-template-columns: 40% 60%;
  277. .column-0 {
  278. display: none;
  279. }
  280. .column-1 {
  281. grid-column: 1;
  282. grid-row: 1;
  283. &.non-preview .landing-page__forms {
  284. height: 100%;
  285. }
  286. }
  287. .column-2 {
  288. grid-column: 2;
  289. grid-row: 1 / 3;
  290. &.non-preview {
  291. grid-column: 2;
  292. grid-row: 1;
  293. }
  294. }
  295. .column-3 {
  296. grid-column: 1;
  297. grid-row: 2 / 4;
  298. }
  299. .column-4 {
  300. grid-column: 2;
  301. grid-row: 3;
  302. &.non-preview {
  303. grid-column: 1 / 3;
  304. grid-row: 2;
  305. }
  306. }
  307. }
  308. }
  309. @media screen and (max-width: $column-breakpoint) {
  310. .grid {
  311. grid-template-columns: auto;
  312. .column-0 {
  313. display: block;
  314. grid-column: 1;
  315. grid-row: 1;
  316. }
  317. .column-1 {
  318. grid-column: 1;
  319. grid-row: 3;
  320. .brand {
  321. display: none;
  322. }
  323. }
  324. .column-2 {
  325. grid-column: 1;
  326. grid-row: 2;
  327. .landing-page__logo,
  328. .landing-page__call-to-action {
  329. display: none;
  330. }
  331. &.non-preview {
  332. grid-column: 1;
  333. grid-row: 2;
  334. }
  335. }
  336. .column-3 {
  337. grid-column: 1;
  338. grid-row: 5;
  339. }
  340. .column-4 {
  341. grid-column: 1;
  342. grid-row: 4;
  343. &.non-preview {
  344. grid-column: 1;
  345. grid-row: 4;
  346. }
  347. }
  348. }
  349. }
  350. .column-flex {
  351. display: flex;
  352. flex-direction: column;
  353. }
  354. .separator-or {
  355. position: relative;
  356. margin: 40px 0;
  357. text-align: center;
  358. &::before {
  359. content: "";
  360. display: block;
  361. width: 100%;
  362. height: 0;
  363. border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
  364. position: absolute;
  365. top: 50%;
  366. left: 0;
  367. }
  368. span {
  369. display: inline-block;
  370. background: $ui-base-color;
  371. font-size: 12px;
  372. font-weight: 500;
  373. color: $darker-text-color;
  374. text-transform: uppercase;
  375. position: relative;
  376. z-index: 1;
  377. padding: 0 8px;
  378. cursor: default;
  379. }
  380. }
  381. p,
  382. li {
  383. font-family: 'mastodon-font-sans-serif', sans-serif;
  384. font-size: 16px;
  385. font-weight: 400;
  386. font-size: 16px;
  387. line-height: 30px;
  388. margin-bottom: 12px;
  389. color: $darker-text-color;
  390. a {
  391. color: $highlight-text-color;
  392. text-decoration: underline;
  393. }
  394. }
  395. .closed-registrations-message {
  396. margin-top: 20px;
  397. &,
  398. p {
  399. text-align: center;
  400. font-size: 12px;
  401. line-height: 18px;
  402. color: $darker-text-color;
  403. margin-bottom: 0;
  404. a {
  405. color: $highlight-text-color;
  406. text-decoration: underline;
  407. }
  408. }
  409. p:last-child {
  410. margin-bottom: 0;
  411. }
  412. }
  413. em {
  414. display: inline;
  415. margin: 0;
  416. padding: 0;
  417. font-weight: 700;
  418. background: transparent;
  419. font-family: inherit;
  420. font-size: inherit;
  421. line-height: inherit;
  422. color: lighten($darker-text-color, 10%);
  423. }
  424. h1 {
  425. font-family: 'mastodon-font-display', sans-serif;
  426. font-size: 26px;
  427. line-height: 30px;
  428. font-weight: 500;
  429. margin-bottom: 20px;
  430. color: $secondary-text-color;
  431. small {
  432. font-family: 'mastodon-font-sans-serif', sans-serif;
  433. display: block;
  434. font-size: 18px;
  435. font-weight: 400;
  436. color: lighten($darker-text-color, 10%);
  437. }
  438. }
  439. h2 {
  440. font-family: 'mastodon-font-display', sans-serif;
  441. font-size: 22px;
  442. line-height: 26px;
  443. font-weight: 500;
  444. margin-bottom: 20px;
  445. color: $secondary-text-color;
  446. }
  447. h3 {
  448. font-family: 'mastodon-font-display', sans-serif;
  449. font-size: 18px;
  450. line-height: 24px;
  451. font-weight: 500;
  452. margin-bottom: 20px;
  453. color: $secondary-text-color;
  454. }
  455. h4 {
  456. font-family: 'mastodon-font-display', sans-serif;
  457. font-size: 16px;
  458. line-height: 24px;
  459. font-weight: 500;
  460. margin-bottom: 20px;
  461. color: $secondary-text-color;
  462. }
  463. h5 {
  464. font-family: 'mastodon-font-display', sans-serif;
  465. font-size: 14px;
  466. line-height: 24px;
  467. font-weight: 500;
  468. margin-bottom: 20px;
  469. color: $secondary-text-color;
  470. }
  471. h6 {
  472. font-family: 'mastodon-font-display', sans-serif;
  473. font-size: 12px;
  474. line-height: 24px;
  475. font-weight: 500;
  476. margin-bottom: 20px;
  477. color: $secondary-text-color;
  478. }
  479. ul,
  480. ol {
  481. margin-left: 20px;
  482. &[type='a'] {
  483. list-style-type: lower-alpha;
  484. }
  485. &[type='i'] {
  486. list-style-type: lower-roman;
  487. }
  488. }
  489. ul {
  490. list-style: disc;
  491. }
  492. ol {
  493. list-style: decimal;
  494. }
  495. li > ol,
  496. li > ul {
  497. margin-top: 6px;
  498. }
  499. hr {
  500. width: 100%;
  501. height: 0;
  502. border: 0;
  503. border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
  504. margin: 20px 0;
  505. &.spacer {
  506. height: 1px;
  507. border: 0;
  508. }
  509. }
  510. .container-alt {
  511. width: 100%;
  512. box-sizing: border-box;
  513. max-width: 800px;
  514. margin: 0 auto;
  515. word-wrap: break-word;
  516. }
  517. .header-wrapper {
  518. padding-top: 15px;
  519. background: $ui-base-color;
  520. background: linear-gradient(150deg, lighten($ui-base-color, 8%), $ui-base-color);
  521. position: relative;
  522. &.compact {
  523. background: $ui-base-color;
  524. padding-bottom: 15px;
  525. .hero .heading {
  526. padding-bottom: 20px;
  527. font-family: 'mastodon-font-sans-serif', sans-serif;
  528. font-size: 16px;
  529. font-weight: 400;
  530. font-size: 16px;
  531. line-height: 30px;
  532. color: $darker-text-color;
  533. a {
  534. color: $highlight-text-color;
  535. text-decoration: underline;
  536. }
  537. }
  538. }
  539. }
  540. .brand {
  541. a {
  542. padding-left: 0;
  543. padding-right: 0;
  544. color: $white;
  545. }
  546. img {
  547. height: 32px;
  548. position: relative;
  549. top: 4px;
  550. left: -10px;
  551. }
  552. }
  553. .header {
  554. line-height: 30px;
  555. overflow: hidden;
  556. .container-alt {
  557. display: flex;
  558. justify-content: space-between;
  559. }
  560. .links {
  561. position: relative;
  562. z-index: 4;
  563. a {
  564. display: flex;
  565. justify-content: center;
  566. align-items: center;
  567. color: $darker-text-color;
  568. text-decoration: none;
  569. padding: 12px 16px;
  570. line-height: 32px;
  571. font-family: 'mastodon-font-display', sans-serif;
  572. font-weight: 500;
  573. font-size: 14px;
  574. &:hover {
  575. color: $secondary-text-color;
  576. }
  577. }
  578. ul {
  579. list-style: none;
  580. margin: 0;
  581. li {
  582. display: inline-block;
  583. vertical-align: bottom;
  584. margin: 0;
  585. &:first-child a {
  586. padding-left: 0;
  587. }
  588. &:last-child a {
  589. padding-right: 0;
  590. }
  591. }
  592. }
  593. }
  594. .hero {
  595. margin-top: 50px;
  596. align-items: center;
  597. position: relative;
  598. .heading {
  599. position: relative;
  600. z-index: 4;
  601. padding-bottom: 150px;
  602. }
  603. .simple_form,
  604. .closed-registrations-message {
  605. background: darken($ui-base-color, 4%);
  606. width: 280px;
  607. padding: 15px 20px;
  608. border-radius: 4px 4px 0 0;
  609. line-height: initial;
  610. position: relative;
  611. z-index: 4;
  612. .actions {
  613. margin-bottom: 0;
  614. button,
  615. .button,
  616. .block-button {
  617. margin-bottom: 0;
  618. }
  619. }
  620. }
  621. .closed-registrations-message {
  622. min-height: 330px;
  623. display: flex;
  624. flex-direction: column;
  625. justify-content: space-between;
  626. }
  627. }
  628. }
  629. .about-short {
  630. background: darken($ui-base-color, 4%);
  631. padding: 50px 0 30px;
  632. font-family: 'mastodon-font-sans-serif', sans-serif;
  633. font-size: 16px;
  634. font-weight: 400;
  635. font-size: 16px;
  636. line-height: 30px;
  637. color: $darker-text-color;
  638. a {
  639. color: $highlight-text-color;
  640. text-decoration: underline;
  641. }
  642. }
  643. &.alternative {
  644. padding: 10px 0;
  645. .brand {
  646. text-align: center;
  647. padding: 30px 0;
  648. margin-bottom: 10px;
  649. img {
  650. position: static;
  651. padding: 10px 0;
  652. }
  653. @media screen and (max-width: $small-breakpoint) {
  654. padding: 15px 0;
  655. }
  656. @media screen and (max-width: $column-breakpoint) {
  657. padding: 0;
  658. margin-bottom: -10px;
  659. }
  660. }
  661. }
  662. &__information,
  663. &__forms {
  664. padding: 20px;
  665. }
  666. &__call-to-action {
  667. background: darken($ui-base-color, 4%);
  668. border-radius: 4px;
  669. padding: 25px 40px;
  670. overflow: hidden;
  671. box-sizing: border-box;
  672. .row {
  673. width: 100%;
  674. display: flex;
  675. flex-direction: row-reverse;
  676. flex-wrap: wrap;
  677. justify-content: space-between;
  678. align-items: center;
  679. }
  680. .row__information-board {
  681. display: flex;
  682. justify-content: flex-end;
  683. align-items: flex-end;
  684. .information-board__section {
  685. flex: 1 0 auto;
  686. padding: 0 10px;
  687. }
  688. @media screen and (max-width: $no-gap-breakpoint) {
  689. width: 100%;
  690. justify-content: space-between;
  691. }
  692. }
  693. .row__mascot {
  694. flex: 1;
  695. margin: 10px -50px 0 0;
  696. @media screen and (max-width: $no-gap-breakpoint) {
  697. display: none;
  698. }
  699. }
  700. }
  701. &__logo {
  702. margin-right: 20px;
  703. img {
  704. height: 50px;
  705. width: auto;
  706. mix-blend-mode: lighten;
  707. }
  708. }
  709. &__information {
  710. padding: 45px 40px;
  711. margin-bottom: 10px;
  712. &:last-child {
  713. margin-bottom: 0;
  714. }
  715. .account {
  716. border-bottom: 0;
  717. padding: 0;
  718. &__display-name {
  719. align-items: center;
  720. display: flex;
  721. margin-right: 5px;
  722. }
  723. div.account__display-name {
  724. &:hover {
  725. .display-name strong {
  726. text-decoration: none;
  727. }
  728. }
  729. .account__avatar {
  730. cursor: default;
  731. }
  732. }
  733. &__avatar-wrapper {
  734. margin-left: 0;
  735. flex: 0 0 auto;
  736. }
  737. &__avatar {
  738. width: 44px;
  739. height: 44px;
  740. background-size: 44px 44px;
  741. @include avatar-size(44px);
  742. }
  743. .display-name {
  744. font-size: 15px;
  745. &__account {
  746. font-size: 14px;
  747. }
  748. }
  749. }
  750. @media screen and (max-width: $small-breakpoint) {
  751. .contact {
  752. margin-top: 30px;
  753. }
  754. }
  755. @media screen and (max-width: $column-breakpoint) {
  756. padding: 25px 20px;
  757. }
  758. }
  759. &__information,
  760. &__forms,
  761. #mastodon-timeline {
  762. box-sizing: border-box;
  763. background: $ui-base-color;
  764. border-radius: 4px;
  765. box-shadow: 0 0 6px rgba($black, 0.1);
  766. }
  767. &__mascot {
  768. height: 104px;
  769. position: relative;
  770. left: -40px;
  771. bottom: 25px;
  772. img {
  773. height: 190px;
  774. width: auto;
  775. }
  776. }
  777. &__short-description {
  778. .row {
  779. display: flex;
  780. flex-wrap: wrap;
  781. align-items: center;
  782. margin-bottom: 40px;
  783. }
  784. @media screen and (max-width: $column-breakpoint) {
  785. .row {
  786. margin-bottom: 20px;
  787. }
  788. }
  789. p a {
  790. color: $secondary-text-color;
  791. }
  792. h1 {
  793. font-weight: 500;
  794. color: $primary-text-color;
  795. margin-bottom: 0;
  796. small {
  797. color: $darker-text-color;
  798. span {
  799. color: $secondary-text-color;
  800. }
  801. }
  802. }
  803. p:last-child {
  804. margin-bottom: 0;
  805. }
  806. }
  807. &__hero {
  808. margin-bottom: 10px;
  809. img {
  810. display: block;
  811. margin: 0;
  812. max-width: 100%;
  813. height: auto;
  814. border-radius: 4px;
  815. }
  816. }
  817. &__forms {
  818. height: 100%;
  819. @media screen and (max-width: $small-breakpoint) {
  820. height: auto;
  821. }
  822. @media screen and (max-width: $column-breakpoint) {
  823. background: transparent;
  824. box-shadow: none;
  825. padding: 0 20px;
  826. margin-top: 30px;
  827. margin-bottom: 40px;
  828. .separator-or {
  829. span {
  830. background: darken($ui-base-color, 8%);
  831. }
  832. }
  833. }
  834. hr {
  835. margin: 40px 0;
  836. }
  837. .button {
  838. display: block;
  839. }
  840. .subtle-hint a {
  841. text-decoration: none;
  842. &:hover,
  843. &:focus,
  844. &:active {
  845. text-decoration: underline;
  846. }
  847. }
  848. }
  849. #mastodon-timeline {
  850. display: flex;
  851. -webkit-overflow-scrolling: touch;
  852. -ms-overflow-style: -ms-autohiding-scrollbar;
  853. font-family: 'mastodon-font-sans-serif', sans-serif;
  854. font-size: 13px;
  855. line-height: 18px;
  856. font-weight: 400;
  857. color: $primary-text-color;
  858. width: 100%;
  859. flex: 1 1 auto;
  860. overflow: hidden;
  861. height: 100%;
  862. .column-header {
  863. color: inherit;
  864. font-family: inherit;
  865. font-size: 16px;
  866. line-height: inherit;
  867. font-weight: inherit;
  868. margin: 0;
  869. padding: 0;
  870. }
  871. .column {
  872. padding: 0;
  873. border-radius: 4px;
  874. overflow: hidden;
  875. width: 100%;
  876. }
  877. .scrollable {
  878. height: 400px;
  879. }
  880. p {
  881. font-size: inherit;
  882. line-height: inherit;
  883. font-weight: inherit;
  884. color: $primary-text-color;
  885. margin-bottom: 20px;
  886. &:last-child {
  887. margin-bottom: 0;
  888. }
  889. a {
  890. color: $secondary-text-color;
  891. text-decoration: none;
  892. }
  893. }
  894. .attachment-list__list {
  895. margin-left: 0;
  896. list-style: none;
  897. li {
  898. font-size: inherit;
  899. line-height: inherit;
  900. font-weight: inherit;
  901. margin-bottom: 0;
  902. a {
  903. color: $dark-text-color;
  904. text-decoration: none;
  905. &:hover {
  906. text-decoration: underline;
  907. }
  908. }
  909. }
  910. }
  911. @media screen and (max-width: $column-breakpoint) {
  912. display: none;
  913. }
  914. }
  915. &__features {
  916. & > p {
  917. padding-right: 60px;
  918. }
  919. .features-list {
  920. margin: 40px 0;
  921. margin-top: 30px;
  922. }
  923. &__action {
  924. text-align: center;
  925. }
  926. }
  927. .features-list {
  928. .features-list__row {
  929. display: flex;
  930. padding: 10px 0;
  931. justify-content: space-between;
  932. .visual {
  933. flex: 0 0 auto;
  934. display: flex;
  935. align-items: center;
  936. margin-left: 15px;
  937. .fa {
  938. display: block;
  939. color: $darker-text-color;
  940. font-size: 48px;
  941. }
  942. }
  943. .text {
  944. font-size: 16px;
  945. line-height: 30px;
  946. color: $darker-text-color;
  947. h6 {
  948. font-size: inherit;
  949. line-height: inherit;
  950. margin-bottom: 0;
  951. }
  952. }
  953. }
  954. @media screen and (min-width: $small-breakpoint) {
  955. display: grid;
  956. grid-gap: 30px;
  957. grid-template-columns: 1fr 1fr;
  958. grid-auto-columns: 50%;
  959. grid-auto-rows: max-content;
  960. }
  961. }
  962. .footer-links {
  963. padding-bottom: 50px;
  964. text-align: right;
  965. color: $dark-text-color;
  966. p {
  967. font-size: 14px;
  968. }
  969. a {
  970. color: inherit;
  971. text-decoration: underline;
  972. }
  973. }
  974. &__footer {
  975. margin-top: 10px;
  976. text-align: center;
  977. color: $dark-text-color;
  978. p {
  979. font-size: 14px;
  980. a {
  981. color: inherit;
  982. text-decoration: underline;
  983. }
  984. }
  985. }
  986. @media screen and (max-width: 840px) {
  987. .container-alt {
  988. padding: 0 20px;
  989. }
  990. .information-board {
  991. .container-alt {
  992. padding-right: 20px;
  993. }
  994. .panel {
  995. position: static;
  996. margin-top: 20px;
  997. width: 100%;
  998. border-radius: 4px;
  999. .panel-header {
  1000. text-align: center;
  1001. }
  1002. }
  1003. }
  1004. }
  1005. @media screen and (max-width: 675px) {
  1006. .header-wrapper {
  1007. padding-top: 0;
  1008. &.compact {
  1009. padding-bottom: 0;
  1010. }
  1011. &.compact .hero .heading {
  1012. text-align: initial;
  1013. }
  1014. }
  1015. .header .container-alt,
  1016. .features .container-alt {
  1017. display: block;
  1018. }
  1019. .header {
  1020. .links {
  1021. padding-top: 15px;
  1022. background: darken($ui-base-color, 4%);
  1023. a {
  1024. padding: 12px 8px;
  1025. }
  1026. .nav {
  1027. display: flex;
  1028. flex-flow: row wrap;
  1029. justify-content: space-around;
  1030. }
  1031. .brand img {
  1032. left: 0;
  1033. top: 0;
  1034. }
  1035. }
  1036. .hero {
  1037. margin-top: 30px;
  1038. padding: 0;
  1039. .heading {
  1040. padding: 30px 20px;
  1041. text-align: center;
  1042. }
  1043. .simple_form,
  1044. .closed-registrations-message {
  1045. background: darken($ui-base-color, 8%);
  1046. width: 100%;
  1047. border-radius: 0;
  1048. box-sizing: border-box;
  1049. }
  1050. }
  1051. }
  1052. }
  1053. .cta {
  1054. margin: 20px;
  1055. }
  1056. &.tag-page {
  1057. @media screen and (max-width: $column-breakpoint) {
  1058. padding: 0;
  1059. .container {
  1060. padding: 0;
  1061. }
  1062. #mastodon-timeline {
  1063. display: block;
  1064. width: 100vw;
  1065. height: 100vh;
  1066. border-radius: 0;
  1067. }
  1068. }
  1069. .grid {
  1070. @media screen and (min-width: $small-breakpoint) {
  1071. grid-template-columns: 33% 67%;
  1072. }
  1073. .column-2 {
  1074. grid-column: 2;
  1075. grid-row: 1;
  1076. }
  1077. }
  1078. .brand {
  1079. text-align: unset;
  1080. padding: 0;
  1081. img {
  1082. height: 48px;
  1083. width: auto;
  1084. }
  1085. }
  1086. .cta {
  1087. margin: 0;
  1088. .button {
  1089. margin-right: 4px;
  1090. }
  1091. }
  1092. @media screen and (max-width: $column-breakpoint) {
  1093. .grid {
  1094. grid-gap: 0;
  1095. .column-1 {
  1096. grid-column: 1;
  1097. grid-row: 1;
  1098. }
  1099. .column-2 {
  1100. display: none;
  1101. }
  1102. }
  1103. }
  1104. }
  1105. }