style.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038
  1. @import 'roboto-mono.scss';
  2. @import 'manrope.scss';
  3. // Values from the Mastodon UI
  4. $black: #000000; // Black
  5. $white: #ffffff; // White
  6. $red-600: #b7253d !default; // Deep Carmine
  7. $red-500: #df405a !default; // Cerise
  8. $blurple-600: #563acc; // Iris
  9. $blurple-500: #6364ff; // Brand purple
  10. $blurple-400: #7477fd; // Medium slate blue
  11. $blurple-300: #858afa; // Faded Blue
  12. $grey-600: hsl(240deg, 8%, 33%); // Trout
  13. $grey-100: hsl(240deg, 51%, 90%); // Topaz
  14. $success-green: #79bd9a !default; // Padua
  15. $error-red: $red-500 !default; // Cerise
  16. $warning-red: #ff5050 !default; // Sunset Orange
  17. $gold-star: #ca8f04 !default; // Dark Goldenrod
  18. $classic-base-color: hsl(240deg, 16%, 19%);
  19. $classic-primary-color: hsl(240deg, 29%, 70%);
  20. $classic-secondary-color: hsl(255deg, 25%, 88%);
  21. $classic-highlight-color: $blurple-500;
  22. // Custom values
  23. $lightest: $white; // color2
  24. $lighter: $classic-secondary-color; // color3
  25. $darkest: darken($classic-base-color, 8%); // color1
  26. $darker: $classic-primary-color;
  27. $vibrant: lighten($blurple-500, 8%); // color4
  28. $error: $warning-red; // color6
  29. $warning: $gold-star;
  30. $success: $success-green; // color7
  31. $background-border-color: lighten($classic-base-color, 4%);
  32. $highlight-border-color: $vibrant;
  33. $warning-border-color: $gold-star;
  34. $alert-border-color: $warning-red;
  35. $success-border-color: $success-green;
  36. $transition-in: 100ms linear;
  37. $transition-out: 250ms linear;
  38. $content-width: 1080px;
  39. $mobile-width: 600px;
  40. /* http://meyerweb.com/eric/tools/css/reset/
  41. v2.0 | 20110126
  42. License: none (public domain)
  43. */
  44. html,
  45. body,
  46. div,
  47. span,
  48. applet,
  49. object,
  50. iframe,
  51. h1,
  52. h2,
  53. h3,
  54. h4,
  55. h5,
  56. h6,
  57. p,
  58. blockquote,
  59. pre,
  60. a,
  61. abbr,
  62. acronym,
  63. address,
  64. big,
  65. cite,
  66. code,
  67. del,
  68. dfn,
  69. em,
  70. img,
  71. ins,
  72. kbd,
  73. q,
  74. s,
  75. samp,
  76. small,
  77. strike,
  78. strong,
  79. sub,
  80. sup,
  81. tt,
  82. var,
  83. b,
  84. u,
  85. i,
  86. center,
  87. dl,
  88. dt,
  89. dd,
  90. ol,
  91. ul,
  92. li,
  93. fieldset,
  94. form,
  95. label,
  96. legend,
  97. table,
  98. caption,
  99. tbody,
  100. tfoot,
  101. thead,
  102. tr,
  103. th,
  104. td,
  105. article,
  106. aside,
  107. canvas,
  108. details,
  109. embed,
  110. figure,
  111. figcaption,
  112. footer,
  113. header,
  114. hgroup,
  115. menu,
  116. nav,
  117. output,
  118. ruby,
  119. section,
  120. summary,
  121. time,
  122. mark,
  123. audio,
  124. video {
  125. margin: 0;
  126. padding: 0;
  127. border: 0;
  128. font: inherit;
  129. vertical-align: baseline;
  130. }
  131. /* HTML5 display-role reset for older browsers */
  132. article,
  133. aside,
  134. details,
  135. figcaption,
  136. figure,
  137. footer,
  138. header,
  139. hgroup,
  140. menu,
  141. nav,
  142. section {
  143. display: block;
  144. }
  145. body {
  146. line-height: 1;
  147. box-sizing: border-box;
  148. text-rendering: optimizelegibility;
  149. font-feature-settings: "kern";
  150. -webkit-text-size-adjust: none;
  151. text-size-adjust: none;
  152. }
  153. ol,
  154. ul {
  155. list-style: none;
  156. }
  157. blockquote,
  158. q {
  159. quotes: none;
  160. }
  161. blockquote:before,
  162. blockquote:after,
  163. q:before,
  164. q:after {
  165. content: '';
  166. content: none;
  167. }
  168. table {
  169. border-collapse: collapse;
  170. border-spacing: 0;
  171. }
  172. a {
  173. outline: 0;
  174. }
  175. body {
  176. box-sizing: border-box;
  177. font-family: 'Manrope', sans-serif;
  178. text-rendering: optimizeLegibility;
  179. background-color: $darkest;
  180. color: $lighter;
  181. font-size: 13px;
  182. line-height: 18px;
  183. font-weight: 400;
  184. padding-top: 30px;
  185. }
  186. .container {
  187. box-sizing: border-box;
  188. max-width: $content-width;
  189. margin: 0 auto;
  190. padding: 0 20px;
  191. }
  192. .sidebar-layout {
  193. display: grid;
  194. grid-gap: 15px;
  195. grid-template-columns: 260px minmax(300px, ($content-width - 260px));
  196. grid-template-rows: auto;
  197. margin-bottom: 30px;
  198. @media screen and (max-width: $mobile-width) {
  199. display: block;
  200. }
  201. }
  202. .sidebar {
  203. @media screen and (max-width: $mobile-width) {
  204. margin-bottom: 60px;
  205. // css menu toggle for mobile.
  206. // when the checkbox is checked, the menu shows,
  207. // othewise it's hidden.
  208. // it's important for it all to be scoped inside this media query,
  209. // that way on larger screens the menu will always show even if the checkbox is unchecked.
  210. input[type="checkbox"] {
  211. display: none;
  212. }
  213. label {
  214. font-size: 1.2rem;
  215. display: flex;
  216. justify-content: flex-end;
  217. margin-bottom: 2rem;
  218. }
  219. label i {
  220. margin-right: .25rem;
  221. }
  222. input[type="checkbox"]:not(:checked) + label > .menu-open {
  223. display: none;
  224. }
  225. input[type="checkbox"]:checked + label > .menu-close {
  226. display: none;
  227. }
  228. & > ul {
  229. display: none;
  230. }
  231. #mobile-nav-toggle:checked ~ ul {
  232. display: block;
  233. }
  234. }
  235. // on viewport sizes larger than mobile, always hide the mobile nav toggle.
  236. @media screen and (min-width: $mobile-width) {
  237. .mobile-nav-toggle,
  238. .mobile-nav-toggle + label {
  239. display: none;
  240. }
  241. }
  242. .brand {
  243. display: flex;
  244. justify-content: flex-start;
  245. align-items: center;
  246. color: $darkest;
  247. margin-top: 12px;
  248. margin-bottom: 52px;
  249. img {
  250. height: 38px;
  251. }
  252. @media screen and (max-width: $mobile-width) {
  253. justify-content: center;
  254. img {
  255. position: static;
  256. }
  257. }
  258. }
  259. &>ul>li {
  260. margin-bottom: 26px;
  261. &:last-child {
  262. margin-bottom: 0;
  263. }
  264. }
  265. .sub-title {
  266. display: block;
  267. padding: 10px;
  268. font-weight: 500;
  269. text-transform: uppercase;
  270. color: $darker;
  271. }
  272. &>ul a {
  273. display: block;
  274. color: $lighter;
  275. text-decoration: none;
  276. font-weight: 500;
  277. padding: 10px;
  278. &:hover {
  279. color: $lightest;
  280. }
  281. }
  282. .sub-menu {
  283. a.active {
  284. color: $vibrant;
  285. }
  286. &.collapsed {
  287. display: none;
  288. }
  289. .sub-menu {
  290. padding-left: 15px;
  291. }
  292. }
  293. }
  294. .footer {
  295. padding-bottom: 30px;
  296. .legal {
  297. margin-top: 30px;
  298. &--right {
  299. float: right;
  300. text-align: right;
  301. @media screen and (max-width: $mobile-width) {
  302. float: none;
  303. text-align: left;
  304. }
  305. }
  306. a {
  307. color: $darker;
  308. text-decoration: none;
  309. }
  310. svg {
  311. vertical-align: middle;
  312. }
  313. }
  314. }
  315. main {
  316. h1 {
  317. font-size: 36px;
  318. line-height: 1.48;
  319. font-weight: 600;
  320. color: $lighter;
  321. padding-bottom: 35px;
  322. border-bottom: 1px solid $background-border-color;
  323. margin-bottom: 35px;
  324. margin-left: -2.63px;
  325. text-align: left;
  326. position: relative;
  327. }
  328. h2 {
  329. font-size: 26px;
  330. margin-left: -1.63px;
  331. line-height: 1.22;
  332. text-align: left;
  333. margin-top: 50px;
  334. margin-bottom: 30px;
  335. font-weight: 600;
  336. color: $lighter;
  337. }
  338. h3 {
  339. font-size: 21px;
  340. line-height: 1.22;
  341. font-weight: 500;
  342. color: $lighter;
  343. margin-top: 25px;
  344. margin-bottom: 30px;
  345. margin-left: -1.75px;
  346. text-align: left;
  347. }
  348. h4 {
  349. font-size: 18px;
  350. line-height: 1.22;
  351. font-weight: 500;
  352. color: $lighter;
  353. margin-top: 25px;
  354. margin-bottom: 30px;
  355. margin-left: -1.75px;
  356. text-align: left;
  357. }
  358. h5 {
  359. font-size: 18px;
  360. line-height: 1.22;
  361. font-weight: 500;
  362. color: $lighter;
  363. margin-top: 25px;
  364. margin-bottom: 30px;
  365. margin-left: -1.75px;
  366. text-align: left;
  367. }
  368. h6 {
  369. font-weight: 700;
  370. margin-top: 25px;
  371. margin-left: -1.75px;
  372. text-align: left;
  373. color: $lighter;
  374. font-size: 16px;
  375. line-height: 28px;
  376. margin-bottom: 26px;
  377. }
  378. blockquote {
  379. color: $lightest;
  380. font-size: 16px;
  381. line-height: 28px;
  382. font-style: italic;
  383. border-left: 3px solid $vibrant;
  384. padding-left: 20px;
  385. margin-left: -23px;
  386. padding-bottom: 2px;
  387. margin-bottom: 26px;
  388. p:last-child {
  389. margin-bottom: 0;
  390. }
  391. }
  392. p {
  393. color: $lightest;
  394. font-size: 16px;
  395. line-height: 28px;
  396. font-weight: normal;
  397. margin-bottom: 26px;
  398. -webkit-hyphens: auto;
  399. hyphens: auto;
  400. }
  401. a {
  402. color: $darker;
  403. text-decoration: none;
  404. &:hover {
  405. text-decoration: underline;
  406. }
  407. }
  408. img {
  409. display: block;
  410. margin: 0 auto;
  411. max-width: 100%;
  412. height: auto;
  413. border-radius: 4px;
  414. }
  415. .image-large {
  416. margin-bottom: 50px;
  417. }
  418. .image-pull-left {
  419. float: left;
  420. }
  421. em {
  422. font-style: italic;
  423. }
  424. strong {
  425. font-weight: 600;
  426. color: #fff;
  427. }
  428. ul,
  429. ol {
  430. counter-reset: post;
  431. margin-bottom: 26px;
  432. }
  433. ul li,
  434. ol li {
  435. margin-left: 30px;
  436. margin-bottom: 14px;
  437. color: $lightest;
  438. font-size: 16px;
  439. line-height: 28px;
  440. &::before {
  441. position: absolute;
  442. display: inline-block;
  443. -webkit-box-sizing: border-box;
  444. box-sizing: border-box;
  445. width: 78px;
  446. margin-left: -78px;
  447. text-align: right;
  448. padding-right: 15px;
  449. content: '\2022';
  450. }
  451. }
  452. ol>li {
  453. &::before {
  454. padding-top: 0;
  455. content: counter(post) ". ";
  456. counter-increment: post;
  457. }
  458. }
  459. li>ul,
  460. li>ol {
  461. margin-top: 14px;
  462. }
  463. table {
  464. width: 100%;
  465. margin-bottom: 26px;
  466. color: $lightest;
  467. border-collapse: separate;
  468. border-spacing: 0;
  469. border: 1px solid $background-border-color;
  470. border-radius: 4px;
  471. th,
  472. td {
  473. font-size: 16px;
  474. line-height: 28px;
  475. padding: 10px 15px;
  476. vertical-align: middle;
  477. border-bottom: 1px solid $background-border-color;
  478. .fa-check {
  479. color: $success;
  480. }
  481. .fa-times {
  482. color: $error;
  483. }
  484. }
  485. thead th {
  486. font-weight: 500;
  487. }
  488. tr:first-child th {
  489. font-weight: bold;
  490. }
  491. tr:last-child td {
  492. border-bottom: 0;
  493. }
  494. }
  495. figure {
  496. figcaption {
  497. margin-top: 8px;
  498. text-align: center;
  499. &,
  500. p {
  501. color: $darker;
  502. }
  503. }
  504. }
  505. hr {
  506. background: transparent;
  507. border: 0;
  508. border-top: 1px solid $background-border-color;
  509. margin: 26px 0;
  510. }
  511. pre {
  512. margin-bottom: 26px;
  513. font-size: 16px;
  514. line-height: 28px;
  515. background-color: lighten($darkest, 4%);
  516. border-radius: 4px;
  517. padding: 16px;
  518. overflow: auto;
  519. }
  520. figure pre {
  521. margin-bottom: 0;
  522. }
  523. code {
  524. padding: 0.2em 0.4em;
  525. margin: 0;
  526. font-size: 85%;
  527. font-family: 'Roboto Mono', monospace;
  528. background-color: lighten($darkest, 4%);
  529. border-radius: 4px;
  530. -webkit-hyphens: none;
  531. hyphens: none;
  532. white-space: pre;
  533. }
  534. pre code {
  535. background: transparent;
  536. padding: 0;
  537. }
  538. dl {
  539. color: $lightest;
  540. font-size: 16px;
  541. line-height: 28px;
  542. font-weight: normal;
  543. margin-bottom: 26px;
  544. -webkit-hyphens: auto;
  545. hyphens: auto;
  546. dt {
  547. font-weight: 700;
  548. background: lighten($darkest, 8%);
  549. padding: 2px 16px;
  550. max-width: max-content;
  551. margin-bottom: 4px;
  552. }
  553. dd {
  554. margin-left: 16px;
  555. margin-bottom: 16px;
  556. }
  557. }
  558. .mastodon-embed,
  559. iframe {
  560. width: 100%;
  561. display: block;
  562. margin: 0 auto;
  563. margin-bottom: 26px;
  564. border-radius: 4px;
  565. box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.35);
  566. }
  567. }
  568. .mascot {
  569. display: flex;
  570. justify-content: flex-start;
  571. align-items: center;
  572. margin-bottom: 60px;
  573. @media screen and (max-width: $mobile-width) {
  574. display: none;
  575. }
  576. }
  577. #TableOfContents {
  578. color: $darker;
  579. ul li {
  580. color: inherit;
  581. }
  582. &>ul>li {
  583. margin-left: 0;
  584. &::before {
  585. display: none;
  586. }
  587. }
  588. a {
  589. text-decoration: none;
  590. color: $darker;
  591. &:hover {
  592. text-decoration: underline;
  593. }
  594. }
  595. padding-bottom: 35px - 14px;
  596. border-bottom: 1px solid $background-border-color;
  597. margin-bottom: 35px;
  598. }
  599. .cta-banner {
  600. background: $vibrant;
  601. border-radius: 4px;
  602. text-align: center;
  603. padding: 40px;
  604. h4 {
  605. font-size: 24px;
  606. line-height: 1.08;
  607. font-weight: 600;
  608. margin-bottom: 20px;
  609. color: #fff;
  610. }
  611. p {
  612. color: #fff;
  613. font-size: 18px;
  614. line-height: 1.22;
  615. margin-bottom: 20px;
  616. }
  617. &>a {
  618. font-weight: 500;
  619. color: $vibrant;
  620. background: #fff;
  621. border-radius: 4px;
  622. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  623. font-family: inherit;
  624. display: inline-block;
  625. text-align: center;
  626. font-size: 16px;
  627. text-decoration: none;
  628. line-height: 36px;
  629. padding: 4px 16px;
  630. margin: 0 auto;
  631. border: 0;
  632. cursor: pointer;
  633. &.secondary {
  634. padding: 2px 14px;
  635. border: 2px solid $white;
  636. background: transparent;
  637. margin-left: 4px;
  638. color: $white;
  639. }
  640. @media screen and (max-width: 375px) {
  641. margin-bottom: 10px;
  642. }
  643. }
  644. }
  645. .hint {
  646. margin: 26px 0;
  647. padding: 16px 16px 16px 66px;
  648. position: relative;
  649. border-radius: 4px;
  650. border: 1px solid $background-border-color;
  651. color: $white;
  652. font-size: 16px;
  653. line-height: 28px;
  654. &-info {
  655. border-color: $highlight-border-color;
  656. .hint-icon {
  657. color: $highlight-border-color;
  658. }
  659. }
  660. &-warning {
  661. border-color: $warning-border-color;
  662. .hint-icon {
  663. color: $warning-border-color;
  664. }
  665. }
  666. &-success {
  667. border-color: $success-border-color;
  668. .hint-icon {
  669. color: $success-border-color;
  670. }
  671. }
  672. &-danger {
  673. border-color: $alert-border-color;
  674. .hint-icon {
  675. color: $alert-border-color;
  676. }
  677. }
  678. &-icon {
  679. position: absolute;
  680. top: 14px;
  681. left: 18px;
  682. font-size: 24px;
  683. }
  684. }
  685. .page-ref {
  686. display: block;
  687. background: lighten($darkest, 4%);
  688. color: $vibrant;
  689. text-decoration: none;
  690. font-weight: 500;
  691. font-size: 18px;
  692. position: relative;
  693. margin: 26px 0;
  694. padding: 24px 24px 24px 50px;
  695. border-radius: 4px;
  696. &-icon {
  697. position: absolute;
  698. top: 16px;
  699. left: 16px;
  700. font-size: 24px;
  701. }
  702. &:hover,
  703. &:focus,
  704. &:active {
  705. background: lighten($darkest, 8%);
  706. text-decoration: none;
  707. }
  708. }
  709. .api-method {
  710. display: flex;
  711. align-items: center;
  712. font-weight: 500;
  713. font-size: 18px;
  714. &-method {
  715. display: inline-flex;
  716. align-items: center;
  717. padding: 2px 0;
  718. border-radius: 9999px;
  719. height: 21px;
  720. color: $white;
  721. background: $vibrant;
  722. margin: 0;
  723. margin-right: 8px;
  724. span {
  725. display: inline-block;
  726. padding: 0 8px;
  727. font-size: 12px;
  728. font-weight: 700;
  729. text-transform: uppercase;
  730. letter-spacing: 1px;
  731. line-height: 15px;
  732. }
  733. }
  734. &-url {
  735. background: lighten($darkest, 4%);
  736. border-radius: 4px;
  737. padding: 8px;
  738. font-size: 16px;
  739. margin: 26px 0;
  740. line-height: 1.7;
  741. }
  742. &-host {
  743. color: $darker;
  744. }
  745. &-path {
  746. font-weight: 700;
  747. color: $white;
  748. }
  749. }
  750. .api-method-parameters-list {
  751. border: 1px solid $background-border-color;
  752. border-radius: 4px;
  753. margin-bottom: 26px;
  754. }
  755. .api-method-parameters-type {
  756. font-weight: 400;
  757. color: $darker;
  758. }
  759. .api-method-parameters-type,
  760. .api-method-response-example h5 {
  761. font-size: 16px;
  762. margin-bottom: 16px;
  763. }
  764. .api-method-parameter {
  765. display: flex;
  766. border-bottom: 1px solid $background-border-color;
  767. &:last-child {
  768. border-bottom: 0;
  769. }
  770. &-cell {
  771. box-sizing: border-box;
  772. padding: 16px 10px;
  773. color: $white;
  774. }
  775. &-required {
  776. text-transform: uppercase;
  777. font-size: 12px;
  778. font-weight: 500;
  779. color: $error;
  780. }
  781. &-removed {
  782. text-transform: uppercase;
  783. font-size: 12px;
  784. font-weight: 500;
  785. color: $error;
  786. }
  787. &-deprecated {
  788. text-transform: uppercase;
  789. font-size: 12px;
  790. font-weight: 500;
  791. color: $warning;
  792. }
  793. &-optional {
  794. text-transform: uppercase;
  795. font-size: 12px;
  796. font-weight: 500;
  797. color: $darker;
  798. }
  799. &-name {
  800. width: 180px;
  801. font-size: 16px;
  802. &>div:first-child {
  803. margin-bottom: 2px;
  804. }
  805. }
  806. &-type {
  807. width: 100px;
  808. }
  809. &-description {
  810. flex: 1 1 0%;
  811. font-size: 15px;
  812. }
  813. }
  814. .api-method-response-example {
  815. &-indicator {
  816. display: inline-block;
  817. width: 12px;
  818. height: 12px;
  819. border-radius: 50%;
  820. background: $success;
  821. &-error {
  822. background: $error;
  823. }
  824. }
  825. }
  826. .sponsorship {
  827. border-radius: 4px;
  828. border: 1px solid $background-border-color;
  829. padding: 40px 0;
  830. h2 {
  831. line-height: 21px;
  832. font-weight: 500;
  833. font-size: 16px;
  834. color: $darker;
  835. text-align: center;
  836. margin-bottom: 20px;
  837. }
  838. .logo-grid {
  839. display: flex;
  840. align-items: center;
  841. justify-content: center;
  842. flex-direction: row;
  843. &>div {
  844. display: flex;
  845. align-items: center;
  846. justify-content: center;
  847. flex-direction: row;
  848. }
  849. a {
  850. display: inline-block;
  851. text-decoration: none;
  852. padding: 0 10px;
  853. img {
  854. display: block;
  855. margin: 0;
  856. height: 28px;
  857. width: auto;
  858. opacity: 0.8;
  859. transition: all $transition-in;
  860. filter: grayscale(100%);
  861. }
  862. &:hover {
  863. img {
  864. opacity: 0.9;
  865. transition: all $transition-out;
  866. filter: grayscale(0%);
  867. }
  868. }
  869. }
  870. }
  871. h2 {
  872. color: $lightest;
  873. }
  874. .logo-grid>div {
  875. flex-wrap: wrap;
  876. }
  877. .logo-grid a {
  878. padding: 20px;
  879. }
  880. }
  881. .heading {
  882. display: flex;
  883. align-items: center;
  884. &__anchor-link {
  885. display: inline-flex;
  886. align-content: center;
  887. margin-left: 0.25em;
  888. }
  889. }