@font-face {
font-family: "League Spartan";
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(//www.jeroentielen.nl/wp-content/themes/tielen/assets/fonts/LeagueSpartan-normal-latin-ext.woff2) format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "League Spartan";
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(//www.jeroentielen.nl/wp-content/themes/tielen/assets/fonts/LeagueSpartan-normal-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Nunito Sans";
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(//www.jeroentielen.nl/wp-content/themes/tielen/assets/fonts/NunitoSans-normal-latin-ext.woff2) format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Nunito Sans";
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(//www.jeroentielen.nl/wp-content/themes/tielen/assets/fonts/NunitoSans-normal-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Nunito Sans";
font-style: italic;
font-weight: 400 800;
font-display: swap;
src: url(//www.jeroentielen.nl/wp-content/themes/tielen/assets/fonts/NunitoSans-italic-latin-ext.woff2) format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Nunito Sans";
font-style: italic;
font-weight: 400 800;
font-display: swap;
src: url(//www.jeroentielen.nl/wp-content/themes/tielen/assets/fonts/NunitoSans-italic-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} :root {
--purple: #951c81;
--purple-deep: #6f1560;
--purple-soft: #e59ad6;
--teal: #00a19a;
--teal-deep: #00736e;
--ink: #191919;
--ink-soft: #55565a;
--paper: #eceeef;
--white: #ffffff;
--line: #d9dcde;
--line-dark: rgba(255, 255, 255, 0.16);
--display: "League Spartan", "Trebuchet MS", "Segoe UI", sans-serif;
--body: "Nunito Sans", "Segoe UI", Roboto, sans-serif;
--mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace; --dark: #191919;
--band: #191919;
--on-dark: #ffffff;
--code-bg: #191919; --link: var(--purple);
--link-hover: var(--purple-deep);
--accent-text: var(--teal-deep);
--line-strong: #b9bdc0;
--media-bg: #dfe2e4;
--sweep: clamp(56px, 13vw, 190px);
--gutter: clamp(20px, 5vw, 48px);
--page: var(--paper);
} @media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--white: #1d1d21;
--paper: #111113;
--ink: #ededee;
--ink-soft: #a9abb1;
--line: #303036;
--band: #2a1633;
--code-bg: #0b0b0d;
--link: #e59ad6;
--link-hover: #f3c4ea;
--accent-text: #4fd6cf;
--line-strong: #4a4b52;
--media-bg: #26262b;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--white: #1d1d21;
--paper: #111113;
--ink: #ededee;
--ink-soft: #a9abb1;
--line: #303036;
--band: #2a1633;
--code-bg: #0b0b0d;
--link: #e59ad6;
--link-hover: #f3c4ea;
--accent-text: #4fd6cf;
--line-strong: #4a4b52;
--media-bg: #26262b;
color-scheme: dark;
} *,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--page);
color: var(--ink);
font-family: var(--body);
font-size: 1.0625rem;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
body.on-white {
--page: var(--white);
}
img,
video,
iframe {
max-width: 100%;
}
img {
height: auto;
}
a {
color: var(--link);
text-underline-offset: 0.18em;
}
a:hover {
color: var(--link-hover);
}
:focus-visible {
outline: 3px solid var(--teal);
outline-offset: 3px;
border-radius: 4px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--display);
font-weight: 700;
line-height: 1.12;
letter-spacing: -0.01em;
margin: 0 0 0.5em;
text-wrap: balance;
}
p {
margin: 0 0 1.2em;
}
.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.skip-link {
position: absolute;
left: 12px;
top: -60px;
z-index: 20;
padding: 10px 16px;
background: var(--white);
color: var(--ink);
border-radius: 6px;
}
.skip-link:focus {
top: 12px;
}
.wrap {
width: 100%;
max-width: 1240px;
margin-inline: auto;
padding-inline: var(--gutter);
}
.wrap--narrow {
max-width: calc(800px + 2 * var(--gutter));
} .band {
background: var(--page);
}
.band__inner {
background: var(--band);
color: var(--on-dark);
}
.band--head .band__inner {
border-bottom-left-radius: var(--sweep);
background:
radial-gradient(60rem 26rem at 88% -20%, rgba(149, 28, 129, 0.55), transparent 70%),
var(--band);
}
.band--hero .band__inner {
background:
radial-gradient(56rem 32rem at 86% -6%, rgba(149, 28, 129, 0.62), transparent 70%),
radial-gradient(38rem 24rem at -6% 108%, rgba(0, 161, 154, 0.2), transparent 70%),
var(--band);
}
.band--foot {
margin-top: clamp(56px, 8vw, 110px);
}
.band--foot .band__inner {
border-top-right-radius: var(--sweep);
} .topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding-block: 22px;
}
.brand {
display: inline-flex;
align-items: center;
gap: 12px;
color: var(--on-dark);
text-decoration: none;
}
.brand:hover {
color: var(--on-dark);
}
.brand__mark {
width: 38px;
height: 38px;
object-fit: contain;
}
.brand__name {
font-family: var(--display);
font-weight: 700;
font-size: 1.45rem;
line-height: 1;
padding-top: 0.18em;
}
.nav {
display: flex;
align-items: center;
gap: 28px;
}
.menu,
.footer__menu {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 6px 26px;
}
.menu a,
.footer__menu a {
color: var(--on-dark);
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
padding-block: 6px;
border-bottom: 2px solid transparent;
}
.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a,
.footer__menu a:hover {
border-bottom-color: var(--teal);
}
.menu li {
position: relative;
}
.menu .sub-menu {
list-style: none;
margin: 0;
padding: 10px 16px;
position: absolute;
left: -16px;
top: 100%;
min-width: 200px;
background: var(--band);
border: 1px solid var(--line-dark);
border-radius: 8px;
display: none;
z-index: 10;
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
display: block;
} .site-search {
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid var(--line-dark);
border-radius: 999px;
padding: 3px 4px 3px 16px;
}
.site-search input {
width: 150px;
border: 0;
background: transparent;
color: inherit;
font: inherit;
font-size: 0.92rem;
padding: 5px 0;
}
.site-search input::placeholder {
color: inherit;
opacity: 0.7;
}
.site-search input:focus {
outline: none;
}
.site-search:focus-within {
border-color: var(--teal);
}
.site-search button {
border: 0;
border-radius: 999px;
background: var(--purple);
color: var(--on-dark);
font: inherit;
font-size: 0.85rem;
font-weight: 700;
padding: 6px 14px;
cursor: pointer;
}
.site-search button:hover {
background: var(--purple-deep);
}
.nav-toggle {
display: none;
align-items: center;
gap: 10px;
background: transparent;
border: 1px solid var(--line-dark);
border-radius: 999px;
color: var(--on-dark);
font: inherit;
font-weight: 700;
font-size: 0.9rem;
padding: 8px 16px;
cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
display: block;
width: 18px;
height: 2px;
background: currentColor;
border-radius: 2px;
}
.nav-toggle__bars {
position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
content: "";
position: absolute;
left: 0;
}
.nav-toggle__bars::before {
top: -6px;
}
.nav-toggle__bars::after {
top: 6px;
} .btn {
display: inline-block;
border-radius: 999px;
padding: 0.72em 1.5em 0.66em;
font-family: var(--display);
font-weight: 600;
font-size: 1rem;
line-height: 1.2;
text-decoration: none;
border: 2px solid transparent;
transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--solid {
background: var(--purple);
color: var(--on-dark);
}
.btn--solid:hover {
background: var(--on-dark);
color: var(--purple);
}
.btn--ghost {
border-color: rgba(255, 255, 255, 0.7);
color: var(--on-dark);
}
.btn--ghost:hover {
background: var(--on-dark);
color: var(--dark);
border-color: var(--on-dark);
}
.btn--light {
background: var(--on-dark);
color: var(--purple);
}
.btn--light:hover {
background: var(--dark);
color: var(--on-dark);
} .hero {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
gap: clamp(32px, 6vw, 88px);
align-items: center;
padding-block: clamp(36px, 6vw, 80px) clamp(72px, 10vw, 140px);
}
.hero__title {
font-size: clamp(2.5rem, 5.4vw, 4.4rem);
font-weight: 800;
line-height: 0.98;
letter-spacing: -0.02em;
margin-bottom: 0.45em;
}
.hero__ornament {
color: #2cc7c0;
font-weight: 600;
letter-spacing: 0;
white-space: nowrap;
}
.hero__lead {
font-size: 1.2rem;
max-width: 30em;
color: rgba(255, 255, 255, 0.88);
margin-bottom: 1.6em;
}
.hero__actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.feature__media {
display: block;
border-radius: 12px;
overflow: hidden;
margin-bottom: 20px;
border: 1px solid var(--line-dark);
}
.feature__media img {
display: block;
width: 100%;
height: auto;
}
.feature__label {
font-weight: 700;
font-size: 0.92rem;
color: rgba(255, 255, 255, 0.75);
margin-bottom: 0.4em;
}
.feature__label a {
color: #4fd6cf;
}
.feature__title {
font-size: clamp(1.6rem, 2.6vw, 2.25rem);
margin-bottom: 0.35em;
}
.feature__title a {
color: var(--on-dark);
text-decoration: none;
}
.feature__title a:hover {
text-decoration: underline;
text-decoration-color: var(--teal);
text-decoration-thickness: 3px;
}
.feature__meta {
font-size: 0.92rem;
color: rgba(255, 255, 255, 0.7);
margin: 0;
} .pagehead {
padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px);
max-width: 900px;
}
.pagehead__cats {
font-weight: 700;
font-size: 0.95rem;
margin-bottom: 0.9em;
}
.pagehead__cats a {
color: #4fd6cf;
text-decoration: none;
}
.pagehead__cats a:hover {
text-decoration: underline;
}
.pagehead__title {
font-size: clamp(2.2rem, 5vw, 3.75rem);
font-weight: 800;
line-height: 1.02;
letter-spacing: -0.02em;
margin-bottom: 0.4em;
}
.pagehead__intro {
font-size: 1.15rem;
color: rgba(255, 255, 255, 0.85);
max-width: 38em;
}
.pagehead__meta {
display: flex;
flex-wrap: wrap;
gap: 6px 22px;
margin: 0;
font-size: 0.95rem;
color: rgba(255, 255, 255, 0.75);
}
.pagehead__meta a {
color: inherit;
} .posts {
padding-top: clamp(44px, 6vw, 84px);
}
.posts__head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 16px 32px;
margin-bottom: 30px;
}
.posts__title,
.related__title {
font-size: clamp(1.8rem, 3.2vw, 2.5rem);
margin: 0;
}
.topics {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.topics a {
display: inline-block;
padding: 6px 14px 5px;
border-radius: 999px;
border: 1px solid var(--line-strong);
color: var(--ink);
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
}
.topics a span {
color: var(--ink-soft);
font-weight: 400;
margin-left: 2px;
}
.topics a:hover {
background: var(--purple);
border-color: var(--purple);
color: var(--on-dark);
}
.topics a:hover span {
color: inherit;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
gap: clamp(20px, 2.4vw, 32px);
}
.card {
display: flex;
flex-direction: column;
background: var(--white);
border-radius: 10px;
overflow: hidden;
}
.on-white .card {
background: var(--paper);
}
.card__media {
background: var(--media-bg);
} .card__media img {
display: block;
width: 100%;
aspect-ratio: 3 / 2;
object-fit: contain;
}
.card__body {
display: flex;
flex-direction: column;
flex: 1;
padding: 22px 24px 24px;
}
.card__cat {
align-self: flex-start;
color: var(--accent-text);
font-weight: 700;
font-size: 0.86rem;
text-decoration: none;
margin-bottom: 8px;
}
.card__cat:hover {
text-decoration: underline;
}
.card__title {
font-size: 1.42rem;
line-height: 1.16;
margin-bottom: 0.5em;
}
.card__title a {
color: var(--ink);
text-decoration: none;
}
.card__title a:hover {
color: var(--link);
}
.card__excerpt {
overflow-wrap: anywhere;
font-size: 0.98rem;
color: var(--ink-soft);
margin-bottom: 1.1em;
}
.card__meta {
margin: auto 0 0;
font-size: 0.86rem;
color: var(--ink-soft);
}
.card--promo {
background: var(--purple);
color: var(--on-dark);
border-bottom-right-radius: 72px;
}
.on-white .card--promo {
background: var(--purple);
}
.card--promo .card__media {
background: var(--dark);
}
.card--promo .card__body {
justify-content: center;
align-items: flex-start;
padding: 32px;
}
.card--promo .card__title {
font-size: 1.9rem;
}
.card--promo .card__excerpt {
color: rgba(255, 255, 255, 0.9);
font-size: 1.05rem;
} .pagination {
margin-top: 44px;
}
.nav-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}
.page-numbers {
display: inline-block;
min-width: 44px;
padding: 9px 16px 7px;
text-align: center;
border-radius: 999px;
background: var(--white);
color: var(--ink);
font-weight: 700;
text-decoration: none;
}
.on-white .page-numbers {
background: var(--paper);
}
a.page-numbers:hover,
.page-numbers.current {
background: var(--purple);
color: var(--on-dark);
}
.page-numbers.dots {
background: transparent;
} .article {
padding-top: clamp(36px, 5vw, 64px);
}
.entry {
font-size: 1.125rem;
line-height: 1.7;
overflow-wrap: break-word;
}
.entry > *:first-child {
margin-top: 0;
}
.entry h2 {
font-size: 1.9rem;
margin-top: 1.7em;
}
.entry h3 {
font-size: 1.5rem;
margin-top: 1.6em;
}
.entry h4,
.entry h5,
.entry h6 {
font-size: 1.2rem;
margin-top: 1.5em;
}
.entry ul,
.entry ol {
padding-left: 1.3em;
margin: 0 0 1.2em;
}
.entry li {
margin-bottom: 0.35em;
}
.entry li::marker {
color: var(--link);
}
.entry img {
border-radius: 6px;
}
.entry figure {
margin: 1.8em 0;
}
.entry figcaption,
.entry .wp-caption-text {
font-size: 0.9rem;
color: var(--ink-soft);
text-align: center;
margin-top: 0.6em;
}
.entry .wp-block-image,
.entry .wp-block-image figure {
display: block;
}
.entry .wp-block-image figcaption {
display: block;
}
.entry .wp-caption {
max-width: 100%;
}
.entry .alignleft {
float: left;
margin: 0.3em 1.5em 1em 0;
}
.entry .alignright {
float: right;
margin: 0.3em 0 1em 1.5em;
}
.entry .aligncenter {
display: block;
margin-inline: auto;
}
.entry blockquote {
margin: 1.8em 0;
padding: 4px 0 4px 24px;
border-left: 4px solid var(--teal);
font-size: 1.2rem;
}
.entry blockquote p:last-child {
margin-bottom: 0;
}
.entry code,
.entry kbd,
.entry tt {
font-family: var(--mono);
font-size: 0.88em;
background: var(--paper);
border-radius: 4px;
padding: 0.15em 0.4em;
}
.entry pre {
font-family: var(--mono);
font-size: 0.9rem;
line-height: 1.55;
background: var(--code-bg);
color: #ececec;
border-radius: 8px;
padding: 18px 20px;
margin: 1.8em 0;
overflow-x: auto;
tab-size: 4;
}
.entry pre code {
background: transparent;
padding: 0;
font-size: inherit;
color: inherit;
}
.entry .wp-block-kevinbatdorf-code-block-pro {
margin: 1.8em 0;
border-radius: 8px;
overflow: hidden;
}
.entry .wp-block-kevinbatdorf-code-block-pro pre {
margin: 0;
border-radius: 0;
}
.entry table {
width: 100%;
border-collapse: collapse;
margin: 1.8em 0;
font-size: 1rem;
}
.entry th,
.entry td {
border: 1px solid var(--line);
padding: 10px 14px;
text-align: left;
vertical-align: top;
}
.entry th {
background: var(--paper);
font-family: var(--display);
font-weight: 600;
}
.entry .wp-block-table {
overflow-x: auto;
}
.entry hr,
.entry .wp-block-separator {
border: 0;
height: 2px;
background: var(--line) !important;
margin: 2.4em 0;
}
.entry .wp-block-button__link {
border-radius: 999px;
background: var(--purple);
color: var(--on-dark);
font-family: var(--display);
font-weight: 600;
}
.entry .wp-block-rss,
.entry .wp-block-latest-posts {
list-style: none;
padding: 0;
}
.entry .wp-block-rss li,
.entry .wp-block-latest-posts li {
padding: 14px 0;
margin: 0;
border-bottom: 1px solid var(--line);
}
.entry .wp-block-rss a,
.entry .wp-block-latest-posts a {
font-family: var(--display);
font-weight: 600;
font-size: 1.2rem;
line-height: 1.25;
text-decoration: none;
}
.entry .wp-block-rss a:hover,
.entry .wp-block-latest-posts a:hover {
text-decoration: underline;
}
.entry .wp-block-latest-posts li {
display: grid;
grid-template-columns: 180px minmax(0, 1fr);
gap: 20px;
align-items: center;
}
.entry .wp-block-latest-posts li > a:only-child {
grid-column: 1 / -1;
}
.entry .wp-block-latest-posts__featured-image {
margin: 0;
}
.entry .wp-block-latest-posts__featured-image img {
display: block;
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
} .tags {
list-style: none;
margin: 40px 0 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tags a {
display: inline-block;
padding: 4px 12px 3px;
border-radius: 999px;
background: var(--paper);
color: var(--ink);
font-size: 0.86rem;
text-decoration: none;
}
.tags a:hover {
background: var(--purple);
color: var(--on-dark);
}
.byline {
display: flex;
gap: 18px;
align-items: center;
margin-top: 40px;
padding: 22px 24px;
background: var(--paper);
border-radius: 10px;
border-bottom-right-radius: 48px;
}
.byline img {
border-radius: 50%;
flex: none;
}
.byline__name {
font-family: var(--display);
font-weight: 700;
font-size: 1.2rem;
margin: 0;
}
.byline__role {
margin: 2px 0 0;
font-size: 0.98rem;
color: var(--ink-soft);
}
.byline__bio {
margin: 4px 0 0;
font-size: 0.98rem;
color: var(--ink-soft);
}
.postnav {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
margin-top: 40px;
padding-top: 28px;
border-top: 2px solid var(--line);
}
.postnav__item span {
display: block;
font-size: 0.86rem;
color: var(--ink-soft);
margin-bottom: 2px;
}
.postnav__item a {
font-family: var(--display);
font-weight: 600;
font-size: 1.15rem;
line-height: 1.25;
color: var(--ink);
text-decoration: none;
}
.postnav__item a:hover {
color: var(--link);
}
.postnav__item--next {
grid-column: 2;
text-align: right;
}
.related {
margin-top: clamp(56px, 7vw, 96px);
}
.related__title {
margin-bottom: 26px;
} .comments {
margin-top: clamp(56px, 7vw, 96px);
}
.comments__title,
.comment-reply-title {
font-size: 1.7rem;
margin-bottom: 0.8em;
}
.comment-list,
.comment-list .children {
list-style: none;
margin: 0;
padding: 0;
}
.comment-list .children {
margin-left: clamp(16px, 4vw, 44px);
border-left: 2px solid var(--line);
padding-left: clamp(14px, 3vw, 24px);
}
.comment-body {
padding: 20px 0;
border-bottom: 1px solid var(--line);
font-size: 1rem;
}
.comment-author {
display: flex;
align-items: center;
gap: 12px;
font-family: var(--display);
font-weight: 600;
font-size: 1.1rem;
}
.comment-author .avatar {
border-radius: 50%;
}
.comment-author .says {
display: none;
}
.comment-author a {
color: var(--ink);
text-decoration: none;
}
.comment-metadata {
font-size: 0.84rem;
margin: 4px 0 12px 56px;
}
.comment-metadata a {
color: var(--ink-soft);
text-decoration: none;
}
.comment-content {
margin-left: 56px;
}
.comment-content p:last-child {
margin-bottom: 0;
}
.reply {
margin: 10px 0 0 56px;
font-size: 0.9rem;
font-weight: 700;
}
.reply a {
text-decoration: none;
}
.bypostauthor > .comment-body .fn::after {
content: "Author";
margin-left: 10px;
padding: 2px 10px 1px;
border-radius: 999px;
background: var(--purple);
color: var(--on-dark);
font-family: var(--body);
font-size: 0.72rem;
font-weight: 700;
}
.comment-respond {
margin-top: 40px;
padding: clamp(22px, 4vw, 36px);
background: var(--paper);
border-radius: 10px;
border-bottom-right-radius: 64px;
}
.comment-form label {
display: block;
font-weight: 700;
font-size: 0.95rem;
margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
width: 100%;
font: inherit;
color: var(--ink);
background: var(--white);
border: 1px solid var(--line-strong);
border-radius: 8px;
padding: 10px 14px;
}
.comment-form input:focus,
.comment-form textarea:focus {
outline: 3px solid var(--teal);
outline-offset: 1px;
border-color: var(--teal);
}
.comment-form .comment-form-cookies-consent label,
.comment-form .comment-subscription-form label {
display: inline;
font-weight: 400;
}
.comment-form .submit,
.entry input[type="submit"],
.entry button[type="submit"] {
border: 0;
border-radius: 999px;
background: var(--purple);
color: var(--on-dark);
font-family: var(--display);
font-weight: 600;
font-size: 1rem;
padding: 0.75em 1.6em 0.68em;
cursor: pointer;
}
.comment-form .submit:hover,
.entry input[type="submit"]:hover,
.entry button[type="submit"]:hover {
background: var(--purple-deep);
} .empty {
padding: clamp(36px, 5vw, 64px) 0;
font-size: 1.15rem;
}
.empty .site-search {
max-width: 420px;
margin: 0 0 24px;
background: var(--white);
border-color: var(--line-strong);
}
.on-white .empty .site-search {
background: var(--paper);
}
.empty .site-search input {
flex: 1;
width: auto;
} .about {
display: grid;
grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
gap: clamp(28px, 6vw, 80px);
align-items: center;
padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px);
}
.about__photo {
display: block;
width: 100%;
max-width: 380px;
justify-self: center;
}
.about__text h2 {
font-size: clamp(2rem, 3.6vw, 2.9rem);
}
.about__text h2 {
margin-bottom: 0.2em;
}
.about__text .about__role {
font-family: var(--display);
font-weight: 600;
font-size: 1.25rem;
color: #2cc7c0;
margin-bottom: 1.1em;
}
.about__role a {
color: inherit;
}
.about__text p {
font-size: 1.12rem;
color: rgba(255, 255, 255, 0.86);
max-width: 38em;
margin-bottom: 1.6em;
}
.footer {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 18px 36px;
padding-block: clamp(36px, 5vw, 56px);
}
.footer .brand__mark {
width: 30px;
height: 30px;
}
.footer .brand__name {
font-size: 1.2rem;
}
.footer__copy {
margin: 0;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
}
.footer__copy a {
color: var(--on-dark);
} .theme-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
flex: none;
border: 1px solid var(--line-dark);
border-radius: 50%;
background: transparent;
color: var(--on-dark);
cursor: pointer;
}
.theme-toggle:hover {
border-color: var(--teal);
}
.theme-toggle__sun {
display: none;
}
:root[data-theme="dark"] .theme-toggle__sun {
display: block;
}
:root[data-theme="dark"] .theme-toggle__moon {
display: none;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .theme-toggle__sun {
display: block;
}
:root:not([data-theme="light"]) .theme-toggle__moon {
display: none;
}
} .article__layout {
display: grid;
grid-template-columns: minmax(0, 800px) 250px;
justify-content: center;
gap: 64px;
align-items: start;
}
.article__main {
min-width: 0;
grid-column: 1;
grid-row: 1;
}
.toc {
grid-column: 2;
grid-row: 1;
position: sticky;
top: 28px;
max-height: calc(100vh - 56px);
overflow-y: auto;
padding-left: 22px;
border-left: 2px solid var(--line);
}
.toc__title {
font-size: 1.05rem;
margin-bottom: 0.7em;
}
.toc__list {
list-style: none;
margin: 0;
padding: 0;
font-size: 0.93rem;
line-height: 1.35;
}
.toc__item {
margin-bottom: 0.6em;
}
.toc__item--3 {
padding-left: 0;
}
.toc__item--4 {
padding-left: 14px;
}
.toc a {
color: var(--ink-soft);
text-decoration: none;
}
.toc a:hover,
.toc a.is-current {
color: var(--link);
}
.toc a.is-current {
font-weight: 700;
}
.entry [id] {
scroll-margin-top: 24px;
} .notice {
margin: 0 0 2em;
padding: 14px 20px;
border-left: 4px solid var(--teal);
border-radius: 0 8px 8px 0;
background: var(--paper);
font-size: 1rem;
} .entry img.is-zoomable {
cursor: zoom-in;
}
.entry .is-broken {
display: none;
}
.lightbox {
width: 100vw;
height: 100vh;
max-width: none;
max-height: none;
margin: 0;
padding: 24px;
border: 0;
background: rgba(10, 10, 12, 0.94);
cursor: zoom-out;
}
.lightbox[open] {
display: flex;
align-items: center;
justify-content: center;
}
.lightbox::backdrop {
background: rgba(10, 10, 12, 0.94);
}
.lightbox img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 4px;
}
.lightbox__close {
position: absolute;
top: 16px;
right: 16px;
border: 1px solid var(--line-dark);
border-radius: 999px;
background: var(--dark);
color: var(--on-dark);
font: inherit;
font-size: 0.9rem;
font-weight: 700;
padding: 7px 16px;
cursor: pointer;
} .codewrap {
position: relative;
margin: 1.8em 0;
}
.codewrap pre {
margin: 0;
}
.copy {
position: absolute;
top: 8px;
right: 8px;
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 6px;
background: rgba(255, 255, 255, 0.08);
color: #ececec;
font: inherit;
font-size: 0.78rem;
font-weight: 700;
padding: 3px 10px;
cursor: pointer;
opacity: 0;
transition: opacity 0.15s;
}
.codewrap:hover .copy,
.copy:focus-visible {
opacity: 1;
}
.copy:hover {
background: var(--purple);
border-color: var(--purple);
}
.entry pre,
.entry .wp-block-kevinbatdorf-code-block-pro pre,
.entry .wp-block-kevinbatdorf-code-block-pro > span:first-child {
background-color: var(--code-bg) !important;
}
.entry .wp-block-kevinbatdorf-code-block-pro .codewrap {
margin: 0;
} .entry .syntaxhighlighter {
background: var(--code-bg) !important;
border-radius: 8px;
padding: 16px 0 !important;
margin: 0 !important;
font-size: 0.9rem !important;
overflow-x: auto !important;
}
.entry .syntaxhighlighter table,
.entry .syntaxhighlighter td {
border: 0 !important;
margin: 0 !important;
}
.entry .syntaxhighlighter .line,
.entry .syntaxhighlighter .line.alt1,
.entry .syntaxhighlighter .line.alt2,
.entry .syntaxhighlighter .gutter .line {
background: transparent !important;
}
.entry .syntaxhighlighter td,
.entry .syntaxhighlighter div,
.entry .syntaxhighlighter .line {
font-family: var(--mono) !important;
font-size: 1em !important;
line-height: 1.55 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.entry .syntaxhighlighter .gutter .line {
color: #6f7178 !important;
border-right: 1px solid #34353b !important;
}
.entry .syntaxhighlighter .plain,
.entry .syntaxhighlighter .plain a,
.entry .syntaxhighlighter code {
color: #ececec !important;
font-family: var(--mono) !important;
font-size: 1em !important;
line-height: 1.55 !important;
}
.entry .syntaxhighlighter .keyword,
.entry .syntaxhighlighter .color1,
.entry .syntaxhighlighter .color1 a {
color: #d7a6f0 !important;
font-weight: 400 !important;
}
.entry .syntaxhighlighter .string,
.entry .syntaxhighlighter .value {
color: #a8dba8 !important;
}
.entry .syntaxhighlighter .comments,
.entry .syntaxhighlighter .comments a {
color: #8b919a !important;
}
.entry .syntaxhighlighter .variable,
.entry .syntaxhighlighter .color2 {
color: #8fb8ff !important;
}
.entry .syntaxhighlighter .functions,
.entry .syntaxhighlighter .constants,
.entry .syntaxhighlighter .color3 {
color: #f2cc7a !important;
}
.entry .syntaxhighlighter .toolbar {
display: none !important;
} .years {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding-top: clamp(36px, 5vw, 64px);
}
.years a {
display: inline-block;
padding: 6px 14px 5px;
border-radius: 999px;
border: 1px solid var(--line-strong);
color: var(--ink);
font-weight: 700;
font-size: 0.92rem;
text-decoration: none;
}
.years a span {
color: var(--ink-soft);
font-weight: 400;
margin-left: 2px;
}
.years a:hover {
background: var(--purple);
border-color: var(--purple);
color: var(--on-dark);
}
.years a:hover span {
color: inherit;
}
.year {
margin-top: 48px;
scroll-margin-top: 20px;
}
.year__title {
font-size: 2.4rem;
padding-bottom: 10px;
margin-bottom: 0;
border-bottom: 2px solid var(--ink);
}
.year__list {
list-style: none;
margin: 0;
padding: 0;
}
.year__list li {
display: grid;
grid-template-columns: 4.6em minmax(0, 1fr) auto;
gap: 4px 18px;
align-items: baseline;
padding: 13px 0;
border-bottom: 1px solid var(--line);
}
.year__list time {
font-size: 0.9rem;
color: var(--ink-soft);
font-variant-numeric: tabular-nums;
}
.year__list a {
font-family: var(--display);
font-weight: 600;
font-size: 1.18rem;
line-height: 1.25;
color: var(--ink);
text-decoration: none;
}
.year__list a:hover {
color: var(--link);
}
.year__cat {
font-size: 0.86rem;
color: var(--accent-text);
font-weight: 700;
white-space: nowrap;
} .badges {
padding-bottom: clamp(40px, 6vw, 72px);
border-bottom: 1px solid var(--line-dark);
}
.badges__head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 8px 24px;
margin-bottom: 24px;
}
.badges__title {
font-size: 1.15rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.7);
margin: 0;
}
.badges__all {
color: #4fd6cf;
font-weight: 700;
font-size: 0.95rem;
}
.badges__all:hover {
color: var(--on-dark);
}
.badges__strip {
overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.badges__track {
display: flex;
width: max-content;
animation: badges-scroll 150s linear infinite;
}
.badges__strip:hover .badges__track,
.badges__strip:focus-within .badges__track {
animation-play-state: paused;
}
@keyframes badges-scroll {
to {
transform: translateX(-50%);
}
}
.badges__list {
list-style: none;
margin: 0;
padding: 0 18px;
display: flex;
flex: none;
align-items: center;
gap: 36px;
}
.badges__list a {
display: block;
border-radius: 8px;
}
.badges__list img {
display: block;
width: 96px;
height: 96px;
object-fit: contain;
}
.badges__list .has-backing img {
background: #f4f5f6;
border-radius: 8px;
padding: 6px;
} @media (max-width: 1000px) {
.nav-toggle {
display: inline-flex;
}
.topbar {
flex-wrap: wrap;
}
.nav {
display: none;
flex-basis: 100%;
flex-direction: column;
align-items: stretch;
gap: 18px;
padding-bottom: 8px;
}
.nav.is-open {
display: flex;
}
.menu {
flex-direction: column;
gap: 0;
}
.menu a {
display: block;
padding-block: 12px;
font-size: 1.05rem;
border-bottom: 1px solid var(--line-dark);
}
.menu .sub-menu {
position: static;
display: block;
border: 0;
padding: 0 0 0 18px;
}
.site-search input {
flex: 1;
width: auto;
}
}
@media (max-width: 1180px) {
.article__layout {
display: block;
max-width: calc(800px + 2 * var(--gutter));
}
.toc {
position: static;
max-height: none;
margin-bottom: 2em;
padding: 18px 22px;
border: 0;
border-radius: 10px;
background: var(--paper);
}
}
@media (max-width: 860px) {
.hero,
.about {
grid-template-columns: minmax(0, 1fr);
}
.about__photo {
max-width: 260px;
justify-self: start;
} .hero__intro {
text-align: center;
}
.hero__lead {
margin-inline: auto;
}
.hero__actions {
justify-content: center;
}
}
@media (max-width: 600px) {
body {
font-size: 1rem;
}
.entry {
font-size: 1.05rem;
}
.entry .wp-block-latest-posts li {
grid-template-columns: 110px minmax(0, 1fr);
gap: 14px;
}
.postnav {
grid-template-columns: 1fr;
}
.year__list li {
grid-template-columns: 4.2em minmax(0, 1fr);
}
.year__cat {
grid-column: 2;
}
.badges__list {
gap: 26px;
padding: 0 13px;
}
.badges__list img {
width: 72px;
height: 72px;
}
.postnav__item--next {
grid-column: 1;
text-align: left;
}
.comment-metadata,
.comment-content,
.reply {
margin-left: 0;
}
.entry .alignleft,
.entry .alignright {
float: none;
margin: 1em 0;
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
} .badges__strip {
overflow-x: auto;
}
.badges__track {
animation: none;
}
.badges__list[aria-hidden="true"] {
display: none;
}
.btn {
transition: none;
}
}