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.

1328 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: $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. @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: $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: $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: $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: $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: $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: $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: $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: $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: $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: $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: $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: $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. @media screen and (max-width: $column-breakpoint) {
  880. height: 90vh;
  881. }
  882. }
  883. p {
  884. font-size: inherit;
  885. line-height: inherit;
  886. font-weight: inherit;
  887. color: $primary-text-color;
  888. margin-bottom: 20px;
  889. &:last-child {
  890. margin-bottom: 0;
  891. }
  892. a {
  893. color: $secondary-text-color;
  894. text-decoration: none;
  895. }
  896. }
  897. .attachment-list__list {
  898. margin-left: 0;
  899. list-style: none;
  900. li {
  901. font-size: inherit;
  902. line-height: inherit;
  903. font-weight: inherit;
  904. margin-bottom: 0;
  905. a {
  906. color: $dark-text-color;
  907. text-decoration: none;
  908. &:hover {
  909. text-decoration: underline;
  910. }
  911. }
  912. }
  913. }
  914. @media screen and (max-width: $column-breakpoint) {
  915. display: none;
  916. }
  917. }
  918. &__features {
  919. & > p {
  920. padding-right: 60px;
  921. }
  922. .features-list {
  923. margin: 40px 0;
  924. margin-top: 30px;
  925. }
  926. &__action {
  927. text-align: center;
  928. }
  929. }
  930. .features-list {
  931. .features-list__row {
  932. display: flex;
  933. padding: 10px 0;
  934. justify-content: space-between;
  935. .visual {
  936. flex: 0 0 auto;
  937. display: flex;
  938. align-items: center;
  939. margin-left: 15px;
  940. .fa {
  941. display: block;
  942. color: $darker-text-color;
  943. font-size: 48px;
  944. }
  945. }
  946. .text {
  947. font-size: 16px;
  948. line-height: 30px;
  949. color: $darker-text-color;
  950. h6 {
  951. font-size: inherit;
  952. line-height: inherit;
  953. margin-bottom: 0;
  954. }
  955. }
  956. }
  957. @media screen and (min-width: $small-breakpoint) {
  958. display: grid;
  959. grid-gap: 30px;
  960. grid-template-columns: 1fr 1fr;
  961. grid-auto-columns: 50%;
  962. grid-auto-rows: max-content;
  963. }
  964. }
  965. .footer-links {
  966. padding-bottom: 50px;
  967. text-align: right;
  968. color: $dark-text-color;
  969. p {
  970. font-size: 14px;
  971. }
  972. a {
  973. color: inherit;
  974. text-decoration: underline;
  975. }
  976. }
  977. &__footer {
  978. margin-top: 10px;
  979. text-align: center;
  980. color: $dark-text-color;
  981. p {
  982. font-size: 14px;
  983. a {
  984. color: inherit;
  985. text-decoration: underline;
  986. }
  987. }
  988. }
  989. @media screen and (max-width: 840px) {
  990. .container-alt {
  991. padding: 0 20px;
  992. }
  993. .information-board {
  994. .container-alt {
  995. padding-right: 20px;
  996. }
  997. .panel {
  998. position: static;
  999. margin-top: 20px;
  1000. width: 100%;
  1001. border-radius: 4px;
  1002. .panel-header {
  1003. text-align: center;
  1004. }
  1005. }
  1006. }
  1007. }
  1008. @media screen and (max-width: 675px) {
  1009. .header-wrapper {
  1010. padding-top: 0;
  1011. &.compact {
  1012. padding-bottom: 0;
  1013. }
  1014. &.compact .hero .heading {
  1015. text-align: initial;
  1016. }
  1017. }
  1018. .header .container-alt,
  1019. .features .container-alt {
  1020. display: block;
  1021. }
  1022. .header {
  1023. .links {
  1024. padding-top: 15px;
  1025. background: darken($ui-base-color, 4%);
  1026. a {
  1027. padding: 12px 8px;
  1028. }
  1029. .nav {
  1030. display: flex;
  1031. flex-flow: row wrap;
  1032. justify-content: space-around;
  1033. }
  1034. .brand img {
  1035. left: 0;
  1036. top: 0;
  1037. }
  1038. }
  1039. .hero {
  1040. margin-top: 30px;
  1041. padding: 0;
  1042. .heading {
  1043. padding: 30px 20px;
  1044. text-align: center;
  1045. }
  1046. .simple_form,
  1047. .closed-registrations-message {
  1048. background: darken($ui-base-color, 8%);
  1049. width: 100%;
  1050. border-radius: 0;
  1051. box-sizing: border-box;
  1052. }
  1053. }
  1054. }
  1055. }
  1056. .cta {
  1057. margin: 20px;
  1058. }
  1059. &.tag-page {
  1060. @media screen and (max-width: $column-breakpoint) {
  1061. padding: 0;
  1062. .container {
  1063. padding: 0;
  1064. }
  1065. #mastodon-timeline {
  1066. display: block;
  1067. width: 100vw;
  1068. height: 100vh;
  1069. border-radius: 0;
  1070. }
  1071. }
  1072. .grid {
  1073. @media screen and (min-width: $small-breakpoint) {
  1074. grid-template-columns: 33% 67%;
  1075. }
  1076. .column-2 {
  1077. grid-column: 2;
  1078. grid-row: 1;
  1079. }
  1080. }
  1081. .brand {
  1082. text-align: unset;
  1083. padding: 0;
  1084. img {
  1085. height: 48px;
  1086. width: auto;
  1087. }
  1088. }
  1089. .cta {
  1090. margin: 0;
  1091. .button {
  1092. margin-right: 4px;
  1093. }
  1094. }
  1095. @media screen and (max-width: $column-breakpoint) {
  1096. .grid {
  1097. grid-gap: 0;
  1098. .column-1 {
  1099. grid-column: 1;
  1100. grid-row: 1;
  1101. }
  1102. .column-2 {
  1103. display: none;
  1104. }
  1105. }
  1106. }
  1107. }
  1108. }