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.

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