Use real public-domain photos throughout (Chicago skyline, CTA signage, Marina City, Union Station, guitars, synths, cassette, Game Boy and floppy stickers, daisies, clouds, flowers, a vintage postcard and stamp), credited on a new /credits page. Lean into Chicago: CTA 'L' line colors for sections and categories, a Chicago star logo, flag footer, a CTA platform work page with split-flap board and arrival rows, and a Greetings from Chicago postcard on contact. Add GSAP + Lenis scroll motion and React Bits components (split-flap, ticker, circular badge, count-up, sticker peel, scrambled text, halftone reveal, CRT terminal, staggered mobile menu). Rebuild pages mobile-first, drop the katakana, and lazy-load the 3D viewer.
This commit is contained in:
72 files changed
+5729
-506
No files matched your search
+595
-212
@@ -1,13 +1,32 @@
|
||||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import { getImage } from 'astro:assets';
|
||||
import Base from '../layouts/Base.astro';
|
||||
import ProjectCard from '../components/ProjectCard.astro';
|
||||
import LineBadge from '../components/LineBadge.astro';
|
||||
import ChicagoStar from '../components/ChicagoStar.astro';
|
||||
import Starburst from '../components/deco/Starburst.astro';
|
||||
import Barcode from '../components/deco/Barcode.astro';
|
||||
import Clipping from '../components/deco/Clipping.astro';
|
||||
import ScrollVelocity from '../components/bits/ScrollVelocity';
|
||||
import CircularText from '../components/bits/CircularText';
|
||||
import CountUp from '../components/bits/CountUp';
|
||||
import StickerPeel from '../components/bits/StickerPeel';
|
||||
import { SITE } from '../lib/site';
|
||||
import { DISCIPLINES, LINES } from '../lib/disciplines';
|
||||
|
||||
import skyline from '../assets/photos/chicago-skyline-red.jpg';
|
||||
import ctaSign from '../assets/photos/cta-sign.jpg';
|
||||
import marina from '../assets/photos/marina-city.jpg';
|
||||
import cassette from '../assets/photos/cassette.jpg';
|
||||
import guitar from '../assets/photos/guitar-strat.jpg';
|
||||
import moto from '../assets/photos/motorcycle.jpg';
|
||||
import gba from '../assets/photos/gba-sticker.png';
|
||||
import floppies from '../assets/photos/floppies-sticker.png';
|
||||
|
||||
const gbaSticker = await getImage({ src: gba, width: 360, format: 'webp' });
|
||||
const floppySticker = await getImage({ src: floppies, width: 320, format: 'webp' });
|
||||
|
||||
const work = (await getCollection('work')).sort(
|
||||
(a, b) => Number(b.data.featured) - Number(a.data.featured) || +b.data.date - +a.data.date,
|
||||
);
|
||||
@@ -15,99 +34,180 @@ const selected = work.slice(0, 6);
|
||||
const posts = (await getCollection('blog', ({ data }) => !data.draft))
|
||||
.sort((a, b) => +b.data.date - +a.data.date)
|
||||
.slice(0, 3);
|
||||
|
||||
const counts = Object.fromEntries(
|
||||
DISCIPLINES.map((d) => [d, work.filter((p) => p.data.disciplines.includes(d)).length]),
|
||||
);
|
||||
const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' });
|
||||
const now = new Date();
|
||||
const season = ['Winter', 'Spring', 'Summer', 'Fall'][Math.floor(((now.getMonth() + 1) % 12) / 3)];
|
||||
const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
---
|
||||
|
||||
<Base>
|
||||
<!-- ===== Cover ===== -->
|
||||
<section class="cover wrap">
|
||||
<div class="masthead">
|
||||
<span>Portfolio · {season} {now.getFullYear()}</span>
|
||||
<span>{SITE.location}</span>
|
||||
<span class="price">Free</span>
|
||||
<!-- ================= COVER ================= -->
|
||||
<section class="cover">
|
||||
<div class="wrap cover-in">
|
||||
<header class="masthead">
|
||||
<p class="logo" aria-hidden="true">YOYOS<span>.sh</span></p>
|
||||
<div class="issue">
|
||||
<span>No.{issue}</span>
|
||||
<span>{season} {now.getFullYear()}</span>
|
||||
<span class="price">Free</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="hero">
|
||||
<Clipping
|
||||
class="hero-photo"
|
||||
src={skyline}
|
||||
alt="Chicago skyline silhouetted against a red sunset"
|
||||
ratio="4 / 3.4"
|
||||
position="center 40%"
|
||||
loading="eager"
|
||||
widths={[480, 800, 1200]}
|
||||
sizes="(min-width: 60rem) 55vw, 100vw"
|
||||
rotate={-1.5}
|
||||
tape="top"
|
||||
/>
|
||||
|
||||
<h1 class="name">
|
||||
<span class="first">Johan</span>
|
||||
<span class="last">Sandoval</span>
|
||||
</h1>
|
||||
|
||||
<p class="role-tag">Software Engineer</p>
|
||||
|
||||
<div class="badge" aria-hidden="true">
|
||||
<CircularText client:visible text="OPEN TO WORK ★ CHICAGO IL ★ " spinDuration={18} onHover="speedUp" className="badge-ring" />
|
||||
<ChicagoStar size="2.4rem" class="badge-star" />
|
||||
</div>
|
||||
|
||||
<div class="sticker sticker-gba" aria-hidden="true">
|
||||
<StickerPeel client:visible imageSrc={gbaSticker.src} width={150} rotate={-8} peelDirection={20} shadowIntensity={0.45} lightingIntensity={0.08} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="deck">
|
||||
<p class="lede">
|
||||
I build the software operations teams run on: <mark>dashboards</mark>, deployment tooling and
|
||||
the APIs behind them. Off the clock I make games, 3D models, hardware and music.
|
||||
</p>
|
||||
<div class="cta">
|
||||
<a class="btn btn--primary" href="/work">See my work</a>
|
||||
<a class="btn" href="/contact">Hire me</a>
|
||||
<a class="btn" href={SITE.resume}>Résumé</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="coverlines">
|
||||
<li class="cl cl-1">
|
||||
<a href="/work/usmt-dash">
|
||||
<span class="big">10 → 25</span>
|
||||
daily builds after shipping USMT Dash
|
||||
<span class="pg">p.01</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="cl cl-2">
|
||||
<span class="big">Self-hosted</span>
|
||||
this site runs on my own servers, deployed from git
|
||||
</li>
|
||||
<li class="cl cl-3">
|
||||
<a href="/music"><span class="big">Also inside</span> games, 3D, hardware & guitar <span class="pg">p.04</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<Starburst class="burst" color="var(--cta-yellow)" size="clamp(6.5rem, 22vw, 9.5rem)" rotate={10}>
|
||||
{SITE.availability.open ? 'Now hiring me!' : 'Say hi!'}
|
||||
</Starburst>
|
||||
|
||||
<div class="barcode-wrap"><Barcode value="YOYOS.SH-2026" /></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<h1 class="title">
|
||||
<span class="l1">Johan</span>
|
||||
<span class="l2">Sandoval</span>
|
||||
</h1>
|
||||
<p class="kana" aria-hidden="true">ジョハン・サンドバル</p>
|
||||
<!-- ================= TICKER ================= -->
|
||||
<div class="ticker" aria-hidden="true">
|
||||
<ScrollVelocity
|
||||
client:visible
|
||||
velocity={45}
|
||||
numCopies={4}
|
||||
texts={['Software Engineer ★ Internal Tools ★ Automation ★ Web Apps ★ ', 'Games ★ 3D ★ Hardware ★ Music ★ Chicago ★ ']}
|
||||
className="ticker-text"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Starburst class="burst" color="var(--yellow)" size="clamp(7.5rem, 14vw, 11rem)" rotate={12}>
|
||||
{SITE.availability.open ? 'Open to work!' : 'Say hi!'}
|
||||
</Starburst>
|
||||
|
||||
<div class="deck">
|
||||
<p class="role">Software engineer<br />building internal tools, automation & web apps.</p>
|
||||
<p class="lede">
|
||||
I make the software operations teams run on: dashboards, deployment tooling and the APIs
|
||||
behind them. On the side I make games, 3D models, hardware and music.
|
||||
</p>
|
||||
<div class="cluster">
|
||||
<a class="btn btn--primary" href="/work">See my work</a>
|
||||
<a class="btn" href="/contact">Hire me</a>
|
||||
<a class="btn" href={SITE.resume}>Résumé (PDF)</a>
|
||||
<!-- ================= STATS + COLLAGE ================= -->
|
||||
<section class="wrap section stats-wrap">
|
||||
<div class="collage" aria-hidden="true">
|
||||
<Clipping class="c-sign" src={ctaSign} ratio="4 / 5" position="45% center" rotate={-4} tape="corners" widths={[300, 500]} sizes="45vw" />
|
||||
<Clipping class="c-marina" src={marina} ratio="3 / 4" rotate={5} tape="top" treatment="riso" ink="var(--cta-blue)" widths={[300, 500]} sizes="40vw" />
|
||||
<Clipping class="c-cassette" src={cassette} ratio="16 / 10" rotate={-7} widths={[260, 420]} sizes="36vw" />
|
||||
<div class="sticker sticker-floppy">
|
||||
<StickerPeel client:visible imageSrc={floppySticker.src} width={130} rotate={12} peelDirection={-30} shadowIntensity={0.4} lightingIntensity={0.06} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="stats" aria-label="Highlights">
|
||||
<li style="--c: var(--lime)"><b>16,000+</b> devices deployed with my tooling</li>
|
||||
<li style="--c: var(--pink)"><b>10 → 25</b> daily builds after shipping USMT Dash</li>
|
||||
<li style="--c: var(--sky)"><b>2 yrs</b> as technical lead on enterprise rollouts</li>
|
||||
</ul>
|
||||
|
||||
<div class="corner">
|
||||
<Barcode value="YOYOS.SH-2026" />
|
||||
<div class="stats" data-reveal data-reveal-stagger>
|
||||
<div class="stat" style="--c: var(--cta-yellow)">
|
||||
<b><CountUp client:visible to={16000} separator="," duration={1.6} />+</b>
|
||||
<span>devices deployed with tooling I wrote</span>
|
||||
</div>
|
||||
<div class="stat" style="--c: var(--cta-pink)">
|
||||
<b><CountUp client:visible from={10} to={25} duration={1.4} /> / day</b>
|
||||
<span>machine builds after shipping USMT Dash</span>
|
||||
</div>
|
||||
<div class="stat" style="--c: var(--chicago-blue)">
|
||||
<b><CountUp client:visible to={1900} separator="," duration={1.6} /></b>
|
||||
<span>machines closed against a 1,300 scope</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ===== Selected work ===== -->
|
||||
<section class="wrap section">
|
||||
<div class="head">
|
||||
<h2><span class="hl" style="--c: var(--lime)">Selected work</span></h2>
|
||||
<!-- ================= SELECTED WORK ================= -->
|
||||
<section class="section work">
|
||||
<div class="wrap head" data-reveal>
|
||||
<h2><span class="hl" style="--c: var(--cta-yellow)">Selected work</span></h2>
|
||||
<a class="more" href="/work">All projects →</a>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div class="rail" data-reveal data-reveal-stagger>
|
||||
{selected.map((p, i) => <ProjectCard project={p} index={i + 1} />)}
|
||||
</div>
|
||||
<p class="swipe wrap" aria-hidden="true">Swipe →</p>
|
||||
</section>
|
||||
|
||||
<!-- ===== What I do ===== -->
|
||||
<!-- ================= WHAT I DO ================= -->
|
||||
<section class="wrap section">
|
||||
<div class="head">
|
||||
<h2><span class="hl" style="--c: var(--sky)">What I work on</span></h2>
|
||||
<div class="head" data-reveal>
|
||||
<h2><span class="hl" style="--c: var(--chicago-blue)">What I work on</span></h2>
|
||||
</div>
|
||||
<div class="what">
|
||||
<ul class="lines" data-reveal data-reveal-stagger>
|
||||
{
|
||||
DISCIPLINES.map((d) => (
|
||||
<li style={`--c:${LINES[d].color}`}>
|
||||
<a href={d === 'music' ? '/music' : d === '3d' ? '/models' : `/work?d=${d}`}>
|
||||
<LineBadge d={d} size="2.4rem" />
|
||||
<span class="lname">{LINES[d].label}</span>
|
||||
<span class="track" aria-hidden="true" />
|
||||
<span class="count">{counts[d]}</span>
|
||||
</a>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
<div class="what-photos" aria-hidden="true">
|
||||
<Clipping src={guitar} ratio="1 / 1" rotate={3} tape="top" treatment="duotone" ink="var(--cta-pink)" widths={[300, 500]} sizes="30vw" />
|
||||
<Clipping src={moto} ratio="4 / 3" rotate={-4} treatment="halftone" widths={[300, 500]} sizes="30vw" data-parallax="0.2" />
|
||||
</div>
|
||||
</div>
|
||||
<ul class="lines">
|
||||
{
|
||||
DISCIPLINES.map((d) => (
|
||||
<li style={`--c:${LINES[d].color}`}>
|
||||
<a href={d === 'music' ? '/music' : d === '3d' ? '/models' : `/work?d=${d}`}>
|
||||
<LineBadge d={d} size="2.4rem" />
|
||||
<span class="lname">{LINES[d].label}</span>
|
||||
<span class="track" aria-hidden="true" />
|
||||
<span class="count">
|
||||
{counts[d]} {counts[d] === 1 ? 'project' : 'projects'}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<!-- ===== Blog ===== -->
|
||||
<!-- ================= BLOG ================= -->
|
||||
<section class="wrap section">
|
||||
<div class="head">
|
||||
<h2><span class="hl" style="--c: var(--pink)">From the blog</span></h2>
|
||||
<div class="head" data-reveal>
|
||||
<h2><span class="hl" style="--c: var(--cta-pink)">From the blog</span></h2>
|
||||
<a class="more" href="/blog">All posts →</a>
|
||||
</div>
|
||||
<ol class="posts">
|
||||
<ol class="posts" data-reveal data-reveal-stagger>
|
||||
{
|
||||
posts.map((post) => (
|
||||
<li>
|
||||
@@ -124,164 +224,394 @@ const season = ['Winter', 'Spring', 'Summer', 'Fall'][Math.floor(((now.getMonth(
|
||||
</Base>
|
||||
|
||||
<style>
|
||||
/* ---------- cover ---------- */
|
||||
/* ============ cover (mobile first) ============ */
|
||||
.cover {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
|
||||
grid-template-areas:
|
||||
'mast mast'
|
||||
'title title'
|
||||
'deck stats';
|
||||
gap: var(--space-5) var(--space-7);
|
||||
margin-top: var(--space-6);
|
||||
padding: var(--space-5) var(--space-6) 5.5rem;
|
||||
border: 3px solid var(--ink);
|
||||
background:
|
||||
radial-gradient(circle, color-mix(in oklab, var(--red) 22%, transparent) 1.3px, transparent 1.7px) 0 0 / 11px 11px,
|
||||
var(--paper-2);
|
||||
box-shadow: 10px 10px 0 var(--ink);
|
||||
overflow: hidden;
|
||||
padding-block: var(--space-4) var(--space-7);
|
||||
background:
|
||||
radial-gradient(circle, color-mix(in oklab, var(--cta-red) 20%, transparent) 1.2px, transparent 1.6px) 0 0 / 10px 10px,
|
||||
var(--paper);
|
||||
border-bottom: 3px solid var(--ink);
|
||||
}
|
||||
.cover-in {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: var(--space-5);
|
||||
}
|
||||
.masthead {
|
||||
grid-area: mast;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2) var(--space-5);
|
||||
align-items: center;
|
||||
padding-bottom: var(--space-3);
|
||||
border-bottom: 3px solid var(--ink);
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 700;
|
||||
font-size: 0.85rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
padding-bottom: var(--space-2);
|
||||
border-bottom: 4px solid var(--ink);
|
||||
animation: drop 0.7s var(--ease) both;
|
||||
}
|
||||
.price {
|
||||
margin-inline-start: auto;
|
||||
padding: 0.1em 0.6em;
|
||||
background: var(--red);
|
||||
color: #fff;
|
||||
}
|
||||
.title {
|
||||
grid-area: title;
|
||||
display: grid;
|
||||
.logo {
|
||||
font-family: var(--ff-mag);
|
||||
font-size: clamp(3.5rem, 13vw, 11.5rem);
|
||||
line-height: 0.86;
|
||||
letter-spacing: -0.04em;
|
||||
padding-right: 3.5rem;
|
||||
}
|
||||
.l1 {
|
||||
color: var(--red);
|
||||
-webkit-text-stroke: 3px var(--ink);
|
||||
font-size: clamp(2.8rem, 14vw, 9rem);
|
||||
line-height: 0.82;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
letter-spacing: -0.05em;
|
||||
color: var(--cta-red);
|
||||
-webkit-text-stroke: 2px var(--ink);
|
||||
paint-order: stroke fill;
|
||||
text-shadow: 6px 6px 0 var(--ink);
|
||||
text-shadow: 4px 4px 0 var(--ink);
|
||||
}
|
||||
.l2 {
|
||||
.logo span {
|
||||
font-size: 0.3em;
|
||||
color: var(--ink);
|
||||
margin-left: 0.35em;
|
||||
text-shadow: 6px 6px 0 var(--lime);
|
||||
-webkit-text-stroke: 0;
|
||||
text-shadow: none;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.kana {
|
||||
position: absolute;
|
||||
top: 4.5rem;
|
||||
right: var(--space-5);
|
||||
writing-mode: vertical-rl;
|
||||
font-family: var(--ff-mag);
|
||||
font-size: clamp(1.1rem, 2.4vw, 1.9rem);
|
||||
color: var(--cobalt);
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
position: absolute;
|
||||
top: clamp(5rem, 8vw, 7rem);
|
||||
right: clamp(4rem, 14vw, 13rem);
|
||||
}
|
||||
.deck {
|
||||
grid-area: deck;
|
||||
.issue {
|
||||
flex: none;
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
align-content: start;
|
||||
}
|
||||
.role {
|
||||
justify-items: end;
|
||||
gap: 2px;
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 800;
|
||||
font-stretch: 105%;
|
||||
font-size: var(--step-2);
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.03em;
|
||||
font-size: 0.72rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
text-align: right;
|
||||
}
|
||||
.price {
|
||||
padding: 0.05em 0.5em;
|
||||
background: var(--ink);
|
||||
color: var(--cta-yellow);
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
}
|
||||
.hero :global(.hero-photo) {
|
||||
animation: rise 0.9s 0.1s var(--ease) both;
|
||||
}
|
||||
.name {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: grid;
|
||||
margin-top: -3.2rem;
|
||||
padding-inline: 0.2rem;
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
font-size: clamp(3.1rem, 15.5vw, 8.5rem);
|
||||
line-height: 0.86;
|
||||
letter-spacing: -0.045em;
|
||||
text-transform: none;
|
||||
animation: rise 0.8s 0.25s var(--ease) both;
|
||||
}
|
||||
.first {
|
||||
color: #fffdf7;
|
||||
-webkit-text-stroke: 2.5px var(--ink);
|
||||
paint-order: stroke fill;
|
||||
text-shadow: 5px 5px 0 var(--ink);
|
||||
}
|
||||
.last {
|
||||
color: var(--ink);
|
||||
text-shadow: 5px 5px 0 var(--cta-yellow);
|
||||
}
|
||||
.role-tag {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0.9rem;
|
||||
left: -0.4rem;
|
||||
padding: 0.3rem 0.7rem;
|
||||
background: var(--cta-blue);
|
||||
color: #fff;
|
||||
border: 2px solid var(--ink);
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 800;
|
||||
font-size: 0.9rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
rotate: -4deg;
|
||||
box-shadow: 3px 3px 0 var(--ink);
|
||||
}
|
||||
.badge {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: -0.8rem;
|
||||
right: -0.4rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 6.6rem;
|
||||
height: 6.6rem;
|
||||
border-radius: 50%;
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
}
|
||||
.badge :global(.badge-ring) {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
font-family: var(--ff-mono);
|
||||
font-weight: 500;
|
||||
color: var(--paper);
|
||||
}
|
||||
.badge :global(.badge-ring span) {
|
||||
font-size: 0.68rem;
|
||||
inset: 0.25rem;
|
||||
}
|
||||
.sticker {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
}
|
||||
.sticker-gba {
|
||||
right: -0.5rem;
|
||||
bottom: 5.5rem;
|
||||
width: 150px;
|
||||
height: 110px;
|
||||
}
|
||||
|
||||
.deck {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.lede {
|
||||
max-width: 46ch;
|
||||
font-size: var(--step-0);
|
||||
color: var(--ink-2);
|
||||
font-size: 1.12rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
.stats {
|
||||
grid-area: stats;
|
||||
.lede mark {
|
||||
background: linear-gradient(transparent 55%, var(--cta-yellow) 55%);
|
||||
color: inherit;
|
||||
}
|
||||
.cta {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.cta .btn {
|
||||
justify-content: center;
|
||||
min-height: 48px;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.cta .btn:first-child {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.coverlines {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
align-content: start;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.stats li {
|
||||
padding: 0.7rem 0.9rem;
|
||||
background: var(--c);
|
||||
.cl {
|
||||
position: relative;
|
||||
padding: 0.75rem 0.9rem;
|
||||
border: 2px solid var(--ink);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.3;
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
box-shadow: 4px 4px 0 var(--ink);
|
||||
}
|
||||
.stats li:nth-child(1) {
|
||||
rotate: -1.5deg;
|
||||
.cl a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
.stats li:nth-child(2) {
|
||||
rotate: 1deg;
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
.stats li:nth-child(3) {
|
||||
rotate: -0.5deg;
|
||||
}
|
||||
.stats b {
|
||||
.cl .big {
|
||||
display: block;
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
font-size: var(--step-2);
|
||||
line-height: 1;
|
||||
font-size: 1.7rem;
|
||||
line-height: 1.05;
|
||||
}
|
||||
.corner {
|
||||
.cl .pg {
|
||||
position: absolute;
|
||||
right: 0.5rem;
|
||||
top: 0.4rem;
|
||||
font-family: var(--ff-mono);
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
.cl-1 {
|
||||
background: var(--cta-pink);
|
||||
rotate: -1.2deg;
|
||||
}
|
||||
.cl-2 {
|
||||
background: #fffdf7;
|
||||
rotate: 0.8deg;
|
||||
}
|
||||
.cl-3 {
|
||||
background: var(--cta-green);
|
||||
color: #fff;
|
||||
rotate: -0.6deg;
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-top: 2px solid var(--ink);
|
||||
border-left: 2px solid var(--ink);
|
||||
bottom: -0.5rem;
|
||||
z-index: 5;
|
||||
}
|
||||
.barcode-wrap {
|
||||
justify-self: start;
|
||||
border: 2px solid var(--ink);
|
||||
}
|
||||
|
||||
@media (max-width: 52rem) {
|
||||
@keyframes rise {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(28px);
|
||||
}
|
||||
}
|
||||
@keyframes drop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-16px);
|
||||
}
|
||||
}
|
||||
|
||||
/* ============ cover (desktop) ============ */
|
||||
@media (min-width: 60rem) {
|
||||
.cover {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-areas: 'mast' 'title' 'deck' 'stats';
|
||||
padding-inline: var(--space-4);
|
||||
padding-bottom: 6rem;
|
||||
box-shadow: 6px 6px 0 var(--ink);
|
||||
padding-block: var(--space-6) var(--space-8);
|
||||
}
|
||||
.kana {
|
||||
display: none;
|
||||
.cover-in {
|
||||
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
|
||||
grid-template-areas:
|
||||
'mast mast'
|
||||
'hero deck'
|
||||
'hero lines'
|
||||
'hero code';
|
||||
column-gap: var(--space-7);
|
||||
align-items: start;
|
||||
}
|
||||
.title {
|
||||
padding-right: 0;
|
||||
.masthead {
|
||||
grid-area: mast;
|
||||
}
|
||||
.hero {
|
||||
grid-area: hero;
|
||||
}
|
||||
.deck {
|
||||
grid-area: deck;
|
||||
}
|
||||
.coverlines {
|
||||
grid-area: lines;
|
||||
}
|
||||
.barcode-wrap {
|
||||
grid-area: code;
|
||||
}
|
||||
.issue {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.name {
|
||||
margin-top: -5rem;
|
||||
}
|
||||
.lede {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.badge {
|
||||
width: 8.5rem;
|
||||
height: 8.5rem;
|
||||
right: -1.5rem;
|
||||
}
|
||||
.badge :global(.badge-ring span) {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.sticker-gba {
|
||||
right: -3rem;
|
||||
bottom: 8rem;
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
top: 4.5rem;
|
||||
right: var(--space-2);
|
||||
width: 5.75rem;
|
||||
}
|
||||
.stats li:nth-child(2) {
|
||||
margin-left: 0;
|
||||
right: 2rem;
|
||||
bottom: -1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- sections ---------- */
|
||||
/* ============ ticker ============ */
|
||||
.ticker {
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
padding-block: 0.6rem;
|
||||
border-bottom: 3px solid var(--ink);
|
||||
}
|
||||
.ticker :global(.ticker-text) {
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
font-size: clamp(1.6rem, 6vw, 3.4rem);
|
||||
line-height: 1.25;
|
||||
letter-spacing: -0.01em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.ticker :global(.parallax:nth-child(2) .ticker-text) {
|
||||
color: var(--cta-yellow);
|
||||
}
|
||||
|
||||
/* ============ stats + collage ============ */
|
||||
.stats-wrap {
|
||||
display: grid;
|
||||
gap: var(--space-7);
|
||||
}
|
||||
.collage {
|
||||
position: relative;
|
||||
height: 22rem;
|
||||
}
|
||||
.collage :global(.c-sign) {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0.5rem;
|
||||
width: 46%;
|
||||
}
|
||||
.collage :global(.c-marina) {
|
||||
position: absolute;
|
||||
right: 2%;
|
||||
top: 0;
|
||||
width: 40%;
|
||||
}
|
||||
.collage :global(.c-cassette) {
|
||||
position: absolute;
|
||||
left: 24%;
|
||||
bottom: 0;
|
||||
width: 50%;
|
||||
z-index: 2;
|
||||
}
|
||||
.sticker-floppy {
|
||||
right: 0;
|
||||
bottom: 0.5rem;
|
||||
width: 130px;
|
||||
height: 90px;
|
||||
}
|
||||
.stats {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.stat {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
padding: 1rem 1.1rem;
|
||||
background: var(--c);
|
||||
border: 2px solid var(--ink);
|
||||
box-shadow: 5px 5px 0 var(--ink);
|
||||
}
|
||||
.stat b {
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
font-size: clamp(2.3rem, 10vw, 3.4rem);
|
||||
line-height: 1;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
.stat span {
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 600;
|
||||
}
|
||||
@media (min-width: 52rem) {
|
||||
.stats-wrap {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
align-items: center;
|
||||
}
|
||||
.collage {
|
||||
height: 30rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============ sections ============ */
|
||||
.head {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -291,64 +621,118 @@ const season = ['Winter', 'Spring', 'Summer', 'Fall'][Math.floor(((now.getMonth(
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
.head h2 {
|
||||
font-size: var(--step-4);
|
||||
font-size: clamp(2.3rem, 10vw, 4.75rem);
|
||||
}
|
||||
.hl {
|
||||
padding: 0 0.15em;
|
||||
padding: 0 0.12em;
|
||||
background: linear-gradient(transparent 55%, var(--c) 55% 92%, transparent 92%);
|
||||
}
|
||||
.more {
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 700;
|
||||
}
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
|
||||
gap: var(--space-5);
|
||||
min-height: 44px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* horizontal swipe rail on mobile, grid on desktop */
|
||||
.rail {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: min(82vw, 21rem);
|
||||
gap: var(--space-4);
|
||||
overflow-x: auto;
|
||||
scroll-snap-type: x mandatory;
|
||||
padding: 0.5rem var(--gutter) 1rem;
|
||||
scroll-padding-inline: var(--gutter);
|
||||
scrollbar-width: none;
|
||||
overscroll-behavior-x: contain;
|
||||
}
|
||||
.rail::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.rail > :global(*) {
|
||||
scroll-snap-align: start;
|
||||
}
|
||||
.swipe {
|
||||
font-family: var(--ff-mono);
|
||||
font-size: 0.8rem;
|
||||
color: var(--fg-muted);
|
||||
}
|
||||
@media (min-width: 60rem) {
|
||||
.rail {
|
||||
grid-auto-flow: row;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-auto-columns: auto;
|
||||
overflow: visible;
|
||||
width: min(100% - 2 * var(--gutter), var(--max-w));
|
||||
margin-inline: auto;
|
||||
padding: 0;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
.swipe {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.what {
|
||||
display: grid;
|
||||
gap: var(--space-7);
|
||||
}
|
||||
.lines {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
gap: var(--space-2);
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.lines a {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto 1fr auto;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-2) 0;
|
||||
gap: var(--space-3);
|
||||
min-height: 3.25rem;
|
||||
text-decoration: none;
|
||||
color: var(--ink);
|
||||
}
|
||||
.lname {
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 800;
|
||||
font-size: var(--step-2);
|
||||
font-size: clamp(1.35rem, 5.5vw, 2rem);
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
.track {
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background: var(--c);
|
||||
border: 2px solid var(--ink);
|
||||
transition: transform 0.25s var(--ease);
|
||||
transform-origin: left;
|
||||
}
|
||||
.lines a:hover .track {
|
||||
transform: scaleX(1.03);
|
||||
display: none;
|
||||
}
|
||||
.count {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 2rem;
|
||||
height: 2rem;
|
||||
border: 2px solid var(--ink);
|
||||
border-radius: 999px;
|
||||
font-family: var(--ff-mono);
|
||||
font-size: var(--step--1);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
@media (max-width: 40rem) {
|
||||
.what-photos {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--space-4);
|
||||
align-items: start;
|
||||
}
|
||||
@media (min-width: 52rem) {
|
||||
.what {
|
||||
grid-template-columns: 1.4fr 1fr;
|
||||
align-items: center;
|
||||
}
|
||||
.lines a {
|
||||
grid-template-columns: auto 1fr auto;
|
||||
grid-template-columns: auto auto 1fr auto;
|
||||
}
|
||||
.track {
|
||||
display: none;
|
||||
display: block;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background: var(--c);
|
||||
border: 2px solid var(--ink);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -359,36 +743,35 @@ const season = ['Winter', 'Spring', 'Summer', 'Fall'][Math.floor(((now.getMonth(
|
||||
}
|
||||
.posts a {
|
||||
display: grid;
|
||||
grid-template-columns: 9rem 1fr;
|
||||
gap: 0.2rem var(--space-5);
|
||||
gap: 0.3rem;
|
||||
padding-block: var(--space-4);
|
||||
border-bottom: 2px solid var(--ink);
|
||||
text-decoration: none;
|
||||
color: var(--ink);
|
||||
}
|
||||
.posts a:active,
|
||||
.posts a:hover {
|
||||
background: var(--lime);
|
||||
background: var(--cta-yellow);
|
||||
}
|
||||
time {
|
||||
font-family: var(--ff-mono);
|
||||
font-size: var(--step--1);
|
||||
padding-top: 0.3em;
|
||||
}
|
||||
.ptitle {
|
||||
font-family: var(--ff-mag);
|
||||
font-size: var(--step-2);
|
||||
font-size: clamp(1.5rem, 6vw, 2rem);
|
||||
line-height: 1.1;
|
||||
}
|
||||
.psum {
|
||||
grid-column: 2;
|
||||
color: var(--ink-2);
|
||||
}
|
||||
@media (max-width: 40rem) {
|
||||
@media (min-width: 52rem) {
|
||||
.posts a {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-columns: 9rem 1fr;
|
||||
column-gap: var(--space-5);
|
||||
}
|
||||
.psum {
|
||||
grid-column: 1;
|
||||
grid-column: 2;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user