858 lines
19 KiB
CSS
858 lines
19 KiB
CSS
/*
|
|
* Theme-state and responsive component variants intentionally follow
|
|
* their base rules.
|
|
*/
|
|
|
|
/* stylelint-disable no-descending-specificity */
|
|
|
|
:root {
|
|
--chrnx-bg: #0d1117;
|
|
--chrnx-surface: #151b23;
|
|
--chrnx-surface-raised: #1b222c;
|
|
--chrnx-text: #e6edf3;
|
|
--chrnx-muted: #a1acb8;
|
|
--chrnx-line: rgb(139 148 158 / 28%);
|
|
--chrnx-accent: #7c6cf0;
|
|
--chrnx-accent-soft: rgb(124 108 240 / 16%);
|
|
--chrnx-green: #69c795;
|
|
--chrnx-link: #a99df8;
|
|
--chrnx-shadow: 0 1.5rem 4rem rgb(0 0 0 / 24%);
|
|
--chrnx-radius: 1.25rem;
|
|
}
|
|
|
|
html[data-theme="light"] {
|
|
--chrnx-bg: #f6f2e9;
|
|
--chrnx-surface: #fffdf7;
|
|
--chrnx-surface-raised: #fff;
|
|
--chrnx-text: #25221f;
|
|
--chrnx-muted: #625c54;
|
|
--chrnx-line: rgb(70 61 51 / 18%);
|
|
--chrnx-accent: #674ca4;
|
|
--chrnx-accent-soft: rgb(103 76 164 / 12%);
|
|
--chrnx-green: #327854;
|
|
--chrnx-link: #60408e;
|
|
--chrnx-shadow: 0 1.5rem 4rem rgb(70 61 51 / 12%);
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root:not([data-theme]) {
|
|
--chrnx-bg: #f6f2e9;
|
|
--chrnx-surface: #fffdf7;
|
|
--chrnx-surface-raised: #fff;
|
|
--chrnx-text: #25221f;
|
|
--chrnx-muted: #625c54;
|
|
--chrnx-line: rgb(70 61 51 / 18%);
|
|
--chrnx-accent: #674ca4;
|
|
--chrnx-accent-soft: rgb(103 76 164 / 12%);
|
|
--chrnx-green: #327854;
|
|
--chrnx-link: #60408e;
|
|
--chrnx-shadow: 0 1.5rem 4rem rgb(70 61 51 / 12%);
|
|
}
|
|
}
|
|
|
|
body,
|
|
html[data-theme="dark"] body,
|
|
html[data-theme="light"] body,
|
|
:root:not([data-theme]) body {
|
|
background-color: var(--chrnx-bg);
|
|
background-image:
|
|
radial-gradient(circle at 90% 6%, color-mix(in srgb, var(--chrnx-accent) 16%, transparent), transparent 34rem),
|
|
radial-gradient(circle at 8% 42%, color-mix(in srgb, var(--chrnx-green) 8%, transparent), transparent 30rem),
|
|
linear-gradient(165deg, color-mix(in srgb, var(--chrnx-surface) 22%, transparent), transparent 42%, color-mix(in srgb, var(--chrnx-accent) 5%, transparent));
|
|
background-position: center top, center 36rem, center;
|
|
background-repeat: no-repeat, no-repeat, no-repeat;
|
|
background-size: 100% 48rem, 100% 54rem, 100% 100%;
|
|
color: var(--chrnx-text);
|
|
}
|
|
|
|
.wp-site-blocks {
|
|
overflow: clip;
|
|
}
|
|
|
|
.wp-site-blocks > main {
|
|
margin-block-start: 0;
|
|
}
|
|
|
|
main a,
|
|
footer a {
|
|
color: var(--chrnx-link);
|
|
text-underline-offset: 0.2em;
|
|
text-decoration-thickness: 0.08em;
|
|
}
|
|
|
|
.chrnx-primary-navigation a,
|
|
.chrnx-footer-navigation a {
|
|
color: var(--chrnx-link);
|
|
}
|
|
|
|
.wp-site-blocks h1,
|
|
.wp-site-blocks h2,
|
|
.wp-site-blocks h3,
|
|
.wp-site-blocks h4 {
|
|
color: var(--chrnx-text);
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.wp-site-blocks p,
|
|
.wp-site-blocks li {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
.chrnx-home > section,
|
|
.chrnx-home > .wp-block-group,
|
|
.chrnx-home > .wp-block-chrnx-featured-stories,
|
|
.chrnx-home > .wp-block-chrnx-journal-stream,
|
|
.chrnx-home > .wp-block-chrnx-latest-podcast {
|
|
max-width: var(--wp--style--global--wide-size);
|
|
margin-inline: auto;
|
|
padding-block: clamp(3.5rem, 7vw, 7rem);
|
|
}
|
|
|
|
.chrnx-home > * + * {
|
|
border-top: 1px solid var(--chrnx-line);
|
|
}
|
|
|
|
.chrnx-home > .chrnx-home-intro {
|
|
position: relative;
|
|
display: grid;
|
|
box-sizing: border-box;
|
|
min-height: min(64vh, 42rem);
|
|
align-content: center;
|
|
padding-block: clamp(3rem, 5vh, 4rem);
|
|
padding-right: clamp(0rem, 12vw, 9rem);
|
|
}
|
|
|
|
.chrnx-home-intro::before {
|
|
display: block;
|
|
margin-bottom: 1.25rem;
|
|
color: var(--chrnx-green);
|
|
content: "CHR/NX · NIGHT WORKSHOP";
|
|
font-family: var(--wp--preset--font-family--metadata);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.16em;
|
|
}
|
|
|
|
.chrnx-home-intro::after {
|
|
position: absolute;
|
|
right: 2%;
|
|
bottom: 14%;
|
|
width: clamp(5rem, 11vw, 8.5rem);
|
|
aspect-ratio: 1;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: 50%;
|
|
box-shadow: inset 0 0 0 1.25rem var(--chrnx-accent-soft);
|
|
content: "";
|
|
}
|
|
|
|
.chrnx-home-intro h1 {
|
|
max-width: 18ch;
|
|
margin: 0;
|
|
font-size: clamp(2.35rem, 1.75rem + 2.8vw, 4.25rem);
|
|
line-height: 1.08;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.chrnx-home-intro p {
|
|
max-width: 58ch;
|
|
margin-top: 1.25rem;
|
|
color: var(--chrnx-muted);
|
|
font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.5rem);
|
|
}
|
|
|
|
.chrnx-featured-stories > h2,
|
|
.chrnx-journal-stream > h2,
|
|
.chrnx-home-projects > h2,
|
|
.chrnx-home-music h2,
|
|
.chrnx-home-about-preview h2 {
|
|
font-size: var(--wp--preset--font-size--x-large);
|
|
}
|
|
|
|
.chrnx-featured-stories__grid {
|
|
align-items: stretch;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.chrnx-featured-story,
|
|
.chrnx-journal-card,
|
|
.chrnx-podcast-card,
|
|
.chrnx-related-card,
|
|
.chrnx-release-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: var(--chrnx-radius);
|
|
background: color-mix(in srgb, var(--chrnx-surface) 92%, transparent);
|
|
box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 8%);
|
|
}
|
|
|
|
.chrnx-featured-story__link,
|
|
.chrnx-journal-card__link,
|
|
.chrnx-podcast-card__link,
|
|
.chrnx-related-card__link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.chrnx-featured-story__link:hover,
|
|
.chrnx-journal-card__link:hover,
|
|
.chrnx-podcast-card__link:hover,
|
|
.chrnx-related-card__link:hover {
|
|
color: inherit;
|
|
}
|
|
|
|
.chrnx-featured-story__content,
|
|
.chrnx-journal-card__content,
|
|
.chrnx-podcast-card__content,
|
|
.chrnx-related-card__content {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
padding: clamp(1.25rem, 2.5vw, 2rem);
|
|
}
|
|
|
|
.chrnx-featured-story__badge,
|
|
.chrnx-journal-card__badge,
|
|
.chrnx-podcast-card__badge,
|
|
.chrnx-related-card__badge,
|
|
.chrnx-page-kicker {
|
|
color: var(--chrnx-green);
|
|
font-family: var(--wp--preset--font-family--metadata);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.chrnx-featured-story__title,
|
|
.chrnx-journal-card__title,
|
|
.chrnx-podcast-card__title,
|
|
.chrnx-related-card__title {
|
|
margin: 0;
|
|
font-size: var(--wp--preset--font-size--large);
|
|
}
|
|
|
|
.chrnx-featured-story__excerpt,
|
|
.chrnx-journal-card__excerpt,
|
|
.chrnx-podcast-card__excerpt,
|
|
.chrnx-related-card__excerpt {
|
|
color: var(--chrnx-muted);
|
|
}
|
|
|
|
.chrnx-featured-story__fallback,
|
|
.chrnx-journal-card__fallback,
|
|
.chrnx-related-card__fallback {
|
|
background-color: var(--chrnx-surface-raised);
|
|
background-image:
|
|
linear-gradient(145deg, transparent 0 48%, color-mix(in srgb, var(--chrnx-green) 35%, transparent) 49% 51%, transparent 52%),
|
|
radial-gradient(circle at 76% 24%, var(--chrnx-accent-soft) 0 14%, transparent 15%);
|
|
}
|
|
|
|
.chrnx-featured-story__fallback,
|
|
.chrnx-journal-card__fallback,
|
|
.chrnx-podcast-card__fallback,
|
|
.chrnx-related-card__fallback {
|
|
background-color: var(--chrnx-surface-raised);
|
|
background-image:
|
|
linear-gradient(135deg, transparent 0 46%, color-mix(in srgb, var(--chrnx-card-accent, var(--chrnx-green)) 35%, transparent) 47% 52%, transparent 53%),
|
|
radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--chrnx-card-accent, var(--chrnx-green)) 28%, transparent) 0 15%, transparent 16%);
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-code,
|
|
.chrnx-journal-card__fallback.is-topic-code,
|
|
.chrnx-related-card__fallback.is-topic-code {
|
|
--chrnx-card-accent: #59c3c3;
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-research,
|
|
.chrnx-journal-card__fallback.is-topic-research,
|
|
.chrnx-related-card__fallback.is-topic-research {
|
|
--chrnx-card-accent: #a5d66a;
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-gaming,
|
|
.chrnx-journal-card__fallback.is-topic-gaming,
|
|
.chrnx-related-card__fallback.is-topic-gaming {
|
|
--chrnx-card-accent: #da7b45;
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-literature,
|
|
.chrnx-journal-card__fallback.is-topic-literature,
|
|
.chrnx-related-card__fallback.is-topic-literature {
|
|
--chrnx-card-accent: #b88ad9;
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-life,
|
|
.chrnx-journal-card__fallback.is-topic-life,
|
|
.chrnx-related-card__fallback.is-topic-life {
|
|
--chrnx-card-accent: #e0b75b;
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-podcasts,
|
|
.chrnx-journal-card__fallback.is-topic-podcasts,
|
|
.chrnx-podcast-card__fallback.is-topic-podcasts,
|
|
.chrnx-related-card__fallback.is-topic-podcasts {
|
|
--chrnx-card-accent: #58a7d8;
|
|
}
|
|
|
|
.chrnx-featured-story__fallback.is-topic-music,
|
|
.chrnx-journal-card__fallback.is-topic-music,
|
|
.chrnx-related-card__fallback.is-topic-music {
|
|
--chrnx-card-accent: #d36b3f;
|
|
}
|
|
|
|
.chrnx-journal-stream__filters {
|
|
align-items: end;
|
|
margin-block: 2rem;
|
|
padding: 1rem;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: 0.75rem;
|
|
background: var(--chrnx-surface);
|
|
}
|
|
|
|
.chrnx-journal-stream__filters label {
|
|
min-width: min(100%, 11rem);
|
|
color: var(--chrnx-muted);
|
|
font-family: var(--wp--preset--font-family--metadata);
|
|
font-size: var(--wp--preset--font-size--small);
|
|
}
|
|
|
|
.chrnx-journal-stream__filters input,
|
|
.chrnx-journal-stream__filters select {
|
|
min-height: 45px;
|
|
padding: 0.6rem 0.75rem;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: 0.4rem;
|
|
background: var(--chrnx-bg);
|
|
color: var(--chrnx-text);
|
|
}
|
|
|
|
.chrnx-journal-stream__filters button,
|
|
.chrnx-subscribe-cta a {
|
|
min-height: 45px;
|
|
padding: 0.7rem 1.1rem;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: var(--chrnx-green);
|
|
color: var(--chrnx-bg);
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.chrnx-journal-stream__list {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
margin: 0;
|
|
}
|
|
|
|
.chrnx-journal-stream__list > li {
|
|
min-width: 0;
|
|
}
|
|
|
|
.chrnx-journal-card__link {
|
|
display: grid;
|
|
grid-template-columns: minmax(7rem, 0.45fr) minmax(0, 1fr);
|
|
height: 100%;
|
|
}
|
|
|
|
.chrnx-journal-card__fallback,
|
|
.chrnx-journal-card__image {
|
|
height: 100%;
|
|
min-height: 13rem;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.chrnx-home-projects {
|
|
position: relative;
|
|
isolation: isolate;
|
|
min-height: 38rem;
|
|
overflow: hidden;
|
|
border-radius: calc(var(--chrnx-radius) * 1.5);
|
|
background:
|
|
linear-gradient(125deg, var(--chrnx-surface) 0 58%, transparent 58%),
|
|
radial-gradient(circle at 80% 35%, var(--chrnx-accent-soft), transparent 48%);
|
|
}
|
|
|
|
.chrnx-home-projects > h2,
|
|
.chrnx-home-projects > .wp-block-columns {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 62%;
|
|
}
|
|
|
|
.chrnx-home-projects .wp-block-columns {
|
|
display: grid;
|
|
gap: 0;
|
|
grid-template-columns: 1fr;
|
|
border-top: 1px solid var(--chrnx-line);
|
|
}
|
|
|
|
.chrnx-home-projects .wp-block-column {
|
|
padding-block: 1.25rem;
|
|
border-bottom: 1px solid var(--chrnx-line);
|
|
}
|
|
|
|
.chrnx-home-projects .wp-block-column h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.chrnx-responsive-portrait {
|
|
display: block;
|
|
}
|
|
|
|
.chrnx-section-portrait {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
filter: drop-shadow(0 2rem 2rem rgb(0 0 0 / 28%));
|
|
}
|
|
|
|
.chrnx-home-projects > .chrnx-responsive-portrait {
|
|
position: absolute;
|
|
z-index: 1;
|
|
right: -2rem;
|
|
bottom: 0;
|
|
width: min(43%, 25rem);
|
|
}
|
|
|
|
.chrnx-home-projects > .chrnx-responsive-portrait:last-child {
|
|
z-index: 0;
|
|
right: 22%;
|
|
width: min(30%, 17rem);
|
|
opacity: 0.3;
|
|
filter: saturate(0.6);
|
|
}
|
|
|
|
.chrnx-home-music .wp-block-columns {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-height: 34rem;
|
|
padding: clamp(2rem, 6vw, 5rem);
|
|
border: 1px solid rgb(197 88 35 / 35%);
|
|
border-radius: calc(var(--chrnx-radius) * 1.5);
|
|
background:
|
|
linear-gradient(110deg, rgb(13 17 23 / 98%) 0 45%, rgb(13 17 23 / 30%) 70%),
|
|
linear-gradient(145deg, #54260f, #0d1117 75%);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.chrnx-home-music h2 {
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.chrnx-home-music p {
|
|
color: #c6ced7;
|
|
}
|
|
|
|
html[data-theme="light"] .chrnx-home-music h2,
|
|
html[data-theme="light"] .chrnx-home-music p {
|
|
color: #e6edf3;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root:not([data-theme]) .chrnx-home-music h2,
|
|
:root:not([data-theme]) .chrnx-home-music p {
|
|
color: #e6edf3;
|
|
}
|
|
}
|
|
|
|
.chrnx-home-music .wp-block-column:first-child {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.chrnx-home-music .wp-block-column:last-child {
|
|
align-self: end;
|
|
}
|
|
|
|
.chrnx-home-music .chrnx-responsive-portrait {
|
|
width: min(100%, 29rem);
|
|
margin: auto auto -5rem;
|
|
}
|
|
|
|
.chrnx-latest-podcast {
|
|
position: relative;
|
|
}
|
|
|
|
.chrnx-latest-podcast::before {
|
|
display: block;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--chrnx-green);
|
|
content: "LATEST CONVERSATION";
|
|
font-family: var(--wp--preset--font-family--metadata);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
.chrnx-podcast-card__link {
|
|
display: block;
|
|
padding: clamp(1.5rem, 4vw, 3rem);
|
|
}
|
|
|
|
.chrnx-home-about-preview,
|
|
.chrnx-subscribe-cta {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: end;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.chrnx-home-about-preview p,
|
|
.chrnx-subscribe-cta p {
|
|
max-width: 58ch;
|
|
color: var(--chrnx-muted);
|
|
}
|
|
|
|
.chrnx-entry,
|
|
.chrnx-archive,
|
|
.chrnx-search,
|
|
.chrnx-not-found {
|
|
padding-block: clamp(3.5rem, 7vw, 7rem);
|
|
}
|
|
|
|
.chrnx-entry > h1,
|
|
.chrnx-archive > h1,
|
|
.chrnx-search > h1,
|
|
.chrnx-not-found > h1 {
|
|
font-size: var(--wp--preset--font-size--display);
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.chrnx-entry--page > .wp-block-post-title,
|
|
.chrnx-archive > .wp-block-query-title {
|
|
width: min(100%, var(--wp--style--global--content-size));
|
|
margin-inline: auto;
|
|
color: var(--chrnx-green);
|
|
font-family: var(--wp--preset--font-family--metadata);
|
|
font-size: var(--wp--preset--font-size--small);
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.chrnx-entry__meta {
|
|
padding-block: 1rem;
|
|
border-block: 1px solid var(--chrnx-line);
|
|
color: var(--chrnx-muted);
|
|
}
|
|
|
|
.chrnx-entry pre {
|
|
overflow-x: auto;
|
|
padding: 1.25rem;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: 0.75rem;
|
|
background: #090c10;
|
|
color: #d9e7df;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.chrnx-topic-hero {
|
|
display: grid;
|
|
min-height: 30rem;
|
|
grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.65fr);
|
|
align-items: end;
|
|
overflow: hidden;
|
|
margin-bottom: 3rem;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: calc(var(--chrnx-radius) * 1.5);
|
|
background: linear-gradient(135deg, var(--chrnx-surface), var(--chrnx-accent-soft));
|
|
}
|
|
|
|
.chrnx-topic-hero__content {
|
|
padding: clamp(2rem, 6vw, 5rem);
|
|
}
|
|
|
|
.chrnx-topic-hero__title {
|
|
margin: 0;
|
|
font-size: var(--wp--preset--font-size--display);
|
|
}
|
|
|
|
.chrnx-topic-hero__art {
|
|
align-self: end;
|
|
}
|
|
|
|
.chrnx-topic-hero__art .chrnx-section-portrait {
|
|
max-height: 34rem;
|
|
object-fit: contain;
|
|
object-position: bottom;
|
|
}
|
|
|
|
.chrnx-music-landing,
|
|
.chrnx-podcast-landing,
|
|
.chrnx-about {
|
|
position: relative;
|
|
}
|
|
|
|
.chrnx-music-landing > h2,
|
|
.chrnx-podcast-landing > h2,
|
|
.chrnx-about > h2 {
|
|
font-size: var(--wp--preset--font-size--display);
|
|
}
|
|
|
|
.chrnx-music-landing__art {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
|
|
overflow: hidden;
|
|
margin-block: 3rem;
|
|
border-radius: calc(var(--chrnx-radius) * 1.5);
|
|
background: #15100d;
|
|
}
|
|
|
|
.chrnx-music-landing__art > img {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 40rem;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.chrnx-music-landing__art .chrnx-responsive-portrait {
|
|
align-self: end;
|
|
}
|
|
|
|
.chrnx-music-landing__portrait {
|
|
max-height: 38rem;
|
|
object-fit: contain;
|
|
object-position: bottom;
|
|
}
|
|
|
|
.chrnx-release-list {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.chrnx-release-card {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.chrnx-podcast-landing > .chrnx-responsive-portrait {
|
|
float: right;
|
|
width: min(45%, 24rem);
|
|
margin: -7rem 0 2rem 2rem;
|
|
}
|
|
|
|
.chrnx-podcast-landing [data-type="core/group"]:empty,
|
|
.chrnx-podcast-landing > .wp-block-group:empty,
|
|
.chrnx-podcast-show > .wp-block-group:empty {
|
|
display: none;
|
|
}
|
|
|
|
.chrnx-about__portraits {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
align-items: end;
|
|
overflow: hidden;
|
|
margin-block: 2rem 3rem;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: calc(var(--chrnx-radius) * 1.5);
|
|
background: linear-gradient(145deg, var(--chrnx-surface), var(--chrnx-accent-soft));
|
|
}
|
|
|
|
.chrnx-about__portraits .chrnx-responsive-portrait {
|
|
min-width: 0;
|
|
margin: 0 -14%;
|
|
}
|
|
|
|
.chrnx-about__portraits .chrnx-responsive-portrait:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.chrnx-about__portraits .chrnx-responsive-portrait:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.chrnx-about__portraits .chrnx-section-portrait {
|
|
max-height: 24rem;
|
|
object-fit: contain;
|
|
object-position: bottom;
|
|
}
|
|
|
|
.chrnx-journal-stream__empty,
|
|
.chrnx-not-found .wp-block-search,
|
|
.chrnx-search .wp-block-query-no-results {
|
|
padding: 2rem;
|
|
border: 1px dashed var(--chrnx-line);
|
|
border-radius: var(--chrnx-radius);
|
|
background: var(--chrnx-surface);
|
|
}
|
|
|
|
.chrnx-journal-stream__pagination a,
|
|
.chrnx-journal-stream__pagination span {
|
|
display: inline-flex;
|
|
min-width: 45px;
|
|
min-height: 45px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid var(--chrnx-line);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.chrnx-journal-stream__pagination .current {
|
|
background: var(--chrnx-green);
|
|
color: var(--chrnx-bg);
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
|
|
.chrnx-featured-story,
|
|
.chrnx-journal-card,
|
|
.chrnx-podcast-card,
|
|
.chrnx-related-card {
|
|
transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
|
|
}
|
|
|
|
.chrnx-featured-story:hover,
|
|
.chrnx-journal-card:hover,
|
|
.chrnx-podcast-card:hover,
|
|
.chrnx-related-card:hover {
|
|
border-color: color-mix(in srgb, var(--chrnx-green) 62%, var(--chrnx-line));
|
|
box-shadow: var(--chrnx-shadow);
|
|
transform: translateY(-0.25rem);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
.chrnx-journal-stream__list,
|
|
.chrnx-release-list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.chrnx-home-projects > h2,
|
|
.chrnx-home-projects > .wp-block-columns {
|
|
max-width: 70%;
|
|
}
|
|
|
|
.chrnx-topic-hero {
|
|
grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.6fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 599px) {
|
|
|
|
.chrnx-home > section,
|
|
.chrnx-home > .wp-block-group,
|
|
.chrnx-home > .wp-block-chrnx-featured-stories,
|
|
.chrnx-home > .wp-block-chrnx-journal-stream,
|
|
.chrnx-home > .wp-block-chrnx-latest-podcast {
|
|
padding-block: 3.5rem;
|
|
}
|
|
|
|
.chrnx-home > .chrnx-home-intro {
|
|
min-height: auto;
|
|
align-content: start;
|
|
padding-block: 2.5rem;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.chrnx-home-intro h1 {
|
|
font-size: clamp(2.2rem, 10vw, 2.75rem);
|
|
}
|
|
|
|
.chrnx-home-intro::after {
|
|
display: none;
|
|
}
|
|
|
|
.chrnx-journal-stream__filters,
|
|
.chrnx-home-about-preview,
|
|
.chrnx-subscribe-cta {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.chrnx-journal-stream__filters label,
|
|
.chrnx-journal-stream__filters input,
|
|
.chrnx-journal-stream__filters select,
|
|
.chrnx-journal-stream__filters button {
|
|
width: 100%;
|
|
}
|
|
|
|
.chrnx-journal-card__link {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.chrnx-journal-card__fallback,
|
|
.chrnx-journal-card__image {
|
|
min-height: 10rem;
|
|
}
|
|
|
|
.chrnx-home-projects {
|
|
min-height: 42rem;
|
|
padding-inline: 1.5rem;
|
|
}
|
|
|
|
.chrnx-home-projects > h2,
|
|
.chrnx-home-projects > .wp-block-columns {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.chrnx-home-projects > .chrnx-responsive-portrait {
|
|
right: -3rem;
|
|
width: min(72%, 21rem);
|
|
}
|
|
|
|
.chrnx-home-projects > .chrnx-responsive-portrait:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.chrnx-home-music .wp-block-columns {
|
|
padding: 2rem 1.5rem 0;
|
|
}
|
|
|
|
.chrnx-topic-hero {
|
|
min-height: 36rem;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.chrnx-topic-hero__art {
|
|
width: min(88%, 24rem);
|
|
margin: -4rem auto 0;
|
|
}
|
|
|
|
.chrnx-music-landing__art {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.chrnx-music-landing__art > img {
|
|
max-height: 24rem;
|
|
}
|
|
|
|
.chrnx-podcast-landing > .chrnx-responsive-portrait {
|
|
float: none;
|
|
width: min(85%, 22rem);
|
|
margin: 0 auto 2rem;
|
|
}
|
|
|
|
.chrnx-about__portraits {
|
|
grid-template-columns: repeat(3, 70%);
|
|
overflow-x: auto;
|
|
scroll-snap-type: x mandatory;
|
|
}
|
|
|
|
.chrnx-about__portraits .chrnx-responsive-portrait {
|
|
margin: 0;
|
|
scroll-snap-align: center;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
.chrnx-featured-story,
|
|
.chrnx-journal-card,
|
|
.chrnx-podcast-card,
|
|
.chrnx-related-card {
|
|
transition: none;
|
|
}
|
|
|
|
.chrnx-featured-story:hover,
|
|
.chrnx-journal-card:hover,
|
|
.chrnx-podcast-card:hover,
|
|
.chrnx-related-card:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.chrnx-about__portraits {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|