style: compose CHRNX grunge stages

This commit is contained in:
chrnx committed 2026-08-13 08:21:55 -05:00
1 parent 54ea215895
commit 041c5f539d
5 files changed
+585 -26

No files matched your search

+73 -23
View File
@@ -645,29 +645,6 @@ html[data-theme="light"] .chrnx-home-music p {
letter-spacing: 0.12em;
}
.chrnx-podcast-card__link {
display: block;
padding: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 781px) {
.chrnx-podcast-card__link {
display: grid;
grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
align-items: stretch;
padding: clamp(1.25rem, 2.5vw, 2rem);
}
.chrnx-podcast-card__image,
.chrnx-podcast-card__fallback {
height: 100%;
min-height: 15rem;
max-height: 19rem;
aspect-ratio: auto;
}
}
.chrnx-home-about-preview,
.chrnx-subscribe-cta {
display: grid;
@@ -1330,6 +1307,79 @@ html[data-theme="light"] .chrnx-music-landing .chrnx-character-stage {
--chrnx-character-accent: #58a7d8;
}
/* Music and Podcast landing stage composition. */
.chrnx-music-landing .chrnx-character-stage,
.chrnx-podcast-landing .chrnx-character-stage {
min-height: min(38rem, 100vh);
}
.chrnx-podcast-landing {
width: min(calc(100vw - 2rem), var(--wp--style--global--wide-size));
max-width: none;
margin-inline: calc((100% - min(calc(100vw - 2rem), var(--wp--style--global--wide-size))) / 2);
}
.chrnx-music-landing .chrnx-character-stage__atmosphere > .chrnx-responsive-portrait,
.chrnx-podcast-landing .chrnx-character-stage__atmosphere > .chrnx-responsive-portrait {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
}
.chrnx-music-landing .chrnx-character-stage__atmosphere img,
.chrnx-podcast-landing .chrnx-character-stage__atmosphere img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.chrnx-music-landing .chrnx-character-stage__atmosphere img {
opacity: 0.58;
}
.chrnx-podcast-landing .chrnx-character-stage__atmosphere img {
opacity: 0.5;
}
.chrnx-music-landing .chrnx-character-stage__atmosphere::after,
.chrnx-podcast-landing .chrnx-character-stage__atmosphere::after {
background-image:
linear-gradient(90deg, rgb(13 17 23 / 82%) 0 36%, rgb(13 17 23 / 22%) 72%, rgb(13 17 23 / 48%)),
linear-gradient(180deg, transparent 62%, rgb(0 0 0 / 34%));
}
.chrnx-music-landing .chrnx-character-stage__content,
.chrnx-podcast-landing .chrnx-character-stage__content {
min-width: 0;
}
.chrnx-music-landing .chrnx-character-stage__art,
.chrnx-podcast-landing .chrnx-character-stage__art {
align-self: end;
overflow: hidden;
}
.chrnx-music-landing .chrnx-character-stage__art img,
.chrnx-podcast-landing .chrnx-character-stage__art img {
max-height: min(46rem, 100vh);
object-fit: contain;
object-position: center bottom;
}
.chrnx-podcast-landing > .wp-block-chrnx-latest-podcast {
position: relative;
width: 100%;
max-width: none;
margin-block-start: clamp(1.5rem, 4vw, 3rem);
margin-inline: 0;
}
/* End Music and Podcast landing stage composition. */
.chrnx-about .chrnx-character-stage,
.is-topic-life .chrnx-character-stage {
--chrnx-character-accent: #e0b75b;