2023-03-21 17:56:27 -04:00
|
|
|
/*
|
|
|
|
/// Copyright (c) 2016-2022 Martin Donath <martin.donath@squidfunk.com>
|
2024-01-06 16:12:44 -05:00
|
|
|
/// Copyright (c) 2022-2024 Jonah Aragon <jonah@triplebit.net>
|
2023-03-21 17:56:27 -04:00
|
|
|
///
|
|
|
|
/// Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
/// copy of this software and associated documentation files (the "Software"),
|
|
|
|
/// to deal in the Software without restriction, including without limitation
|
|
|
|
/// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
/// and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
/// Software is furnished to do so, subject to the following conditions:
|
|
|
|
///
|
|
|
|
/// The above copyright notice and this permission notice shall be included in
|
|
|
|
/// all copies or substantial portions of the Software.
|
|
|
|
///
|
|
|
|
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
|
/// DEALINGS
|
|
|
|
*/
|
|
|
|
|
2022-04-01 15:29:18 -04:00
|
|
|
/* Homepage hero section */
|
|
|
|
.mdx-container {
|
2022-05-31 00:03:09 -04:00
|
|
|
background: url("data:image/svg+xml;utf8,<svg width='100%' height='100%' viewBox='0 0 1123 258' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'><g transform='matrix(-1.01432,0,0,0.388868,1134.41,161.501)'><path d='M1124,2L1124,258L-1,258L-1,210C-1,210 15,215 54,215C170,215 251,123 379,123C500,123 493,169 633,169C773,169 847,2 1205,3L1124,2Z' style='fill:rgb(247, 247, 252);fill-rule:nonzero;'/></g></svg>")
|
2022-04-01 15:29:18 -04:00
|
|
|
no-repeat bottom,
|
2022-05-31 00:03:09 -04:00
|
|
|
linear-gradient(to bottom, rgb(255 255 255/.8), #ffdd98 99%, var(--md-default-bg-color) 99%);
|
2023-02-22 05:44:03 -05:00
|
|
|
background-size: contain;
|
2022-04-01 15:29:18 -04:00
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] .mdx-container {
|
2022-05-31 00:03:09 -04:00
|
|
|
background: url("data:image/svg+xml;utf8,<svg width='100%' height='100%' viewBox='0 0 1123 258' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'><g transform='matrix(-1.01432,0,0,0.388868,1134.41,161.501)'><path d='M1124,2L1124,258L-1,258L-1,210C-1,210 15,215 54,215C170,215 251,123 379,123C500,123 493,169 633,169C773,169 847,2 1205,3L1124,2Z' style='fill:rgb(26, 26, 27);fill-rule:nonzero;'/></g></svg>")
|
|
|
|
no-repeat bottom, rgba(9, 9, 9, 0.95);
|
2023-02-22 05:44:03 -05:00
|
|
|
background-size: contain;
|
2022-04-01 15:29:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.mdx-hero {
|
2022-05-31 00:03:09 -04:00
|
|
|
color: var(--pg-hero-color);
|
2022-04-01 15:29:18 -04:00
|
|
|
margin: 0 0.8rem;
|
|
|
|
}
|
|
|
|
.mdx-hero h1 {
|
|
|
|
color: currentcolor;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
font-size: 2.6rem;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 29.9375em) {
|
|
|
|
.mdx-hero h1 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mdx-hero__content {
|
|
|
|
padding-bottom: 6rem;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 60em) {
|
|
|
|
.mdx-hero {
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.mdx-hero__content {
|
|
|
|
margin-top: 3.5rem;
|
|
|
|
max-width: 38rem;
|
|
|
|
padding-bottom: 14vw;
|
|
|
|
}
|
|
|
|
.mdx-hero__image {
|
|
|
|
order: 1;
|
|
|
|
transform: translateX(4rem);
|
|
|
|
width: 38rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 76.25em) {
|
|
|
|
.mdx-hero__image {
|
|
|
|
transform: translateX(8rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mdx-hero .md-button {
|
2022-05-31 00:03:09 -04:00
|
|
|
color: var(--pg-hero-color);
|
|
|
|
border-color: var(--pg-hero-color);
|
2022-04-01 15:29:18 -04:00
|
|
|
}
|
2022-04-05 12:30:55 -04:00
|
|
|
[data-md-color-scheme="slate"] .mdx-hero .md-button--primary {
|
|
|
|
color: var(--md-primary-fg-color);
|
|
|
|
}
|
2022-04-01 15:29:18 -04:00
|
|
|
.mdx-hero .md-button--primary {
|
2022-04-05 11:48:48 -04:00
|
|
|
color: var(--md-primary-fg-color);
|
2022-05-31 00:03:09 -04:00
|
|
|
background-color: var(--pg-hero-color);
|
2022-04-05 11:48:48 -04:00
|
|
|
border-color: transparent;
|
2022-04-01 15:29:18 -04:00
|
|
|
margin-right: 0.5rem;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
2022-05-31 00:03:09 -04:00
|
|
|
nav[class="md-tabs"] {
|
|
|
|
border-bottom: none;
|
2022-04-05 11:48:48 -04:00
|
|
|
}
|
2023-02-27 23:17:50 -05:00
|
|
|
|
|
|
|
/* Homepage Body */
|
|
|
|
.md-typeset a.headerlink {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
article.md-content__inner {
|
|
|
|
max-width: 50rem;
|
|
|
|
margin: auto;
|
|
|
|
padding-bottom: 3rem;
|
|
|
|
}
|
2023-12-02 01:49:06 -05:00
|
|
|
@media screen and (max-width: 65rem) {
|
|
|
|
article.md-content__inner {
|
|
|
|
margin-right: 0.8rem;
|
|
|
|
margin-left: 0.8rem;
|
|
|
|
}
|
|
|
|
}
|
2023-02-27 23:17:50 -05:00
|
|
|
article.md-content__inner > * {
|
|
|
|
max-width: 38rem;
|
|
|
|
}
|
2024-04-05 06:44:23 -04:00
|
|
|
/* article.md-content__inner > *:nth-child(n+8):nth-child(-n+12) {
|
2023-02-27 23:17:50 -05:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
|
|
|
text-align: right;
|
2024-04-05 06:44:23 -04:00
|
|
|
} */
|
2024-05-18 23:00:45 -04:00
|
|
|
#what-should-i-do, #what-should-i-do ~ :not( .mdx-cat ~ * ):not( .mdx-cta ):not( .mdx-discourse-topics) {
|
2024-04-05 06:44:23 -04:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
|
|
|
text-align: right;
|
2023-02-27 23:17:50 -05:00
|
|
|
}
|
|
|
|
article.md-content__inner > hr {
|
|
|
|
margin: 3rem;
|
|
|
|
}
|
2024-04-05 06:44:23 -04:00
|
|
|
.pg-end-right-align, .mdx-cta {
|
2023-02-27 23:17:50 -05:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2024-04-05 06:44:23 -04:00
|
|
|
.mdx-cta a:has(.twemoji) {
|
2023-02-27 23:17:50 -05:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2024-04-05 06:44:23 -04:00
|
|
|
.mdx-cta .twemoji {
|
2023-02-27 23:17:50 -05:00
|
|
|
--md-icon-size: 1.8em;
|
|
|
|
margin: 0.4rem;
|
|
|
|
}
|
2024-05-18 23:00:45 -04:00
|
|
|
|
|
|
|
.mdx-discourse-topics {
|
|
|
|
max-width: 100% !important;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list {
|
|
|
|
grid-template-columns: repeat(5, 1fr);
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .discourse-title {
|
|
|
|
min-height: 4em;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list {
|
|
|
|
display: grid;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-title {
|
|
|
|
line-height: 1.2;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-topic {
|
|
|
|
padding: 0.4em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-data {
|
|
|
|
color: var(--md-default-fg-color--light);
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-data li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-data li img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 1000px) {
|
|
|
|
.mdx-discourse-topics .topics-list {
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-title {
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
.mdx-discourse-topics .topics-list {
|
|
|
|
grid-template-columns: repeat(1, 1fr);
|
|
|
|
}
|
|
|
|
.mdx-discourse-topics .topics-list .discourse-title {
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
}
|