Bake grungy treatments into photos (toon/cel shading with ink outlines, dithered pixel art, photocopy, riso misprint, faded vintage with dust and scratches) via tools/fx.py, and add a live WebGL shader (CRT, VHS, pixel-resolve, toon) used on hero images. Add glitch and RGB-split type, camcorder OSD, manga speed lines, sparkles, speech bubbles, checker strips, TV test-pattern placeholders and a CRT power-off/on page transition. Keep the L-train menu and line colors but drop the other Chicago references (star logo, skyline hero, flag footer, Chicago postcard). Fix menu lag: grain overlay no longer uses a blend mode, the header drops its backdrop blur, menu layers are GPU-promoted, and background effects pause while the menu is open.
This commit is contained in:
41 files changed
+1119
-185
No files matched your search
+210
-71
@@ -4,7 +4,7 @@ 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 FxImage from '../components/FxImage.astro';
|
||||
import Starburst from '../components/deco/Starburst.astro';
|
||||
import Barcode from '../components/deco/Barcode.astro';
|
||||
import Clipping from '../components/deco/Clipping.astro';
|
||||
@@ -15,12 +15,12 @@ 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 motoToon from '../assets/fx/motorcycle-toon.webp';
|
||||
import motoPixel from '../assets/fx/motorcycle-pixel.webp';
|
||||
import cassette from '../assets/fx/cassette-vintage.webp';
|
||||
import tv from '../assets/fx/tv-vintage.webp';
|
||||
import pile from '../assets/fx/computers-pile-pixel.webp';
|
||||
import guitar from '../assets/fx/guitar-strat-riso.webp';
|
||||
import gba from '../assets/photos/gba-sticker.png';
|
||||
import floppies from '../assets/photos/floppies-sticker.png';
|
||||
|
||||
@@ -41,50 +41,62 @@ const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'n
|
||||
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');
|
||||
const osdDate = now.toLocaleDateString('en-US', { month: 'short', day: '2-digit', year: 'numeric' }).toUpperCase().replace(',', '');
|
||||
---
|
||||
|
||||
<Base>
|
||||
<!-- ================= COVER ================= -->
|
||||
<section class="cover">
|
||||
<div class="speedlines" aria-hidden="true"></div>
|
||||
<div class="wrap cover-in">
|
||||
<header class="masthead">
|
||||
<p class="logo" aria-hidden="true">YOYOS<span>.sh</span></p>
|
||||
<p class="logo glitch" data-text="YOYOS" aria-hidden="true">YOYOS</p>
|
||||
<div class="issue">
|
||||
<span>No.{issue}</span>
|
||||
<span>Vol.{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"
|
||||
/>
|
||||
<div class="screen hover-glitch">
|
||||
<FxImage
|
||||
src={motoToon}
|
||||
mode="vhs"
|
||||
amount={0.9}
|
||||
ratio="4 / 3.3"
|
||||
loading="eager"
|
||||
sizes="(min-width: 60rem) 55vw, 100vw"
|
||||
alt="Cafe racer motorcycle, cel-shaded"
|
||||
/>
|
||||
<div class="osd" aria-hidden="true">
|
||||
<span>▶ PLAY</span>
|
||||
<span class="rec">REC</span>
|
||||
</div>
|
||||
<div class="osd osd-bottom" aria-hidden="true">
|
||||
<span>SP</span>
|
||||
<span>{osdDate} <span class="tc" data-timecode>00:00:00</span></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 class="name">
|
||||
<span class="first">Johan</span>
|
||||
<span class="first glitch" data-text="Johan">Johan</span>
|
||||
<span class="last">Sandoval</span>
|
||||
</h1>
|
||||
|
||||
<p class="role-tag">Software Engineer</p>
|
||||
<p class="bubble say" aria-hidden="true">I build the tools teams run on!</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" />
|
||||
<CircularText client:visible text="OPEN TO WORK ✦ SOFTWARE ENGINEER ✦ " spinDuration={16} onHover="speedUp" className="badge-ring" />
|
||||
<span class="sparkle" style="--s:2.2rem;--c:var(--cta-yellow)"></span>
|
||||
</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>
|
||||
<span class="sparkle s1" style="--s:1.6rem;--c:#fff;--d:1.8s" aria-hidden="true"></span>
|
||||
<span class="sparkle s2" style="--s:1.1rem;--c:var(--cta-pink);--d:2.6s" aria-hidden="true"></span>
|
||||
</div>
|
||||
|
||||
<div class="deck">
|
||||
@@ -102,22 +114,29 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<ul class="coverlines">
|
||||
<li class="cl cl-1">
|
||||
<a href="/work/usmt-dash">
|
||||
<span class="num">01</span>
|
||||
<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>
|
||||
<span class="num">02</span>
|
||||
<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>
|
||||
<a href="/music">
|
||||
<span class="num">03</span>
|
||||
<span class="big">Also inside</span>
|
||||
games, 3D, hardware & guitar
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="checker strip" style="--h:14px" aria-hidden="true"></div>
|
||||
|
||||
<Starburst class="burst" color="var(--cta-yellow)" size="clamp(6.5rem, 22vw, 9.5rem)" rotate={10}>
|
||||
{SITE.availability.open ? 'Now hiring me!' : 'Say hi!'}
|
||||
{SITE.availability.open ? 'Open to work!' : 'Say hi!'}
|
||||
</Starburst>
|
||||
|
||||
<div class="barcode-wrap"><Barcode value="YOYOS.SH-2026" /></div>
|
||||
@@ -130,7 +149,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
client:visible
|
||||
velocity={45}
|
||||
numCopies={4}
|
||||
texts={['Software Engineer ★ Internal Tools ★ Automation ★ Web Apps ★ ', 'Games ★ 3D ★ Hardware ★ Music ★ Chicago ★ ']}
|
||||
texts={['Software Engineer ✦ Internal Tools ✦ Automation ✦ Web Apps ✦ ', 'Games ✦ 3D ✦ Hardware ✦ Music ✦ Homelab ✦ ']}
|
||||
className="ticker-text"
|
||||
/>
|
||||
</div>
|
||||
@@ -138,12 +157,16 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<!-- ================= 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="tv-wrap" data-reveal="tilt">
|
||||
<FxImage src={tv} mode="crt" amount={1} ratio="1 / 1" position="center 70%" sizes="50vw" class="tv" />
|
||||
<span class="tv-label">CH 03</span>
|
||||
</div>
|
||||
<Clipping class="c-pile" src={pile} ratio="4 / 3" rotate={5} tape="top" widths={[300, 500]} sizes="45vw" />
|
||||
<Clipping class="c-cassette" src={cassette} ratio="16 / 10" rotate={-7} widths={[260, 420]} sizes="40vw" />
|
||||
<div class="sticker sticker-floppy">
|
||||
<StickerPeel client:visible imageSrc={floppySticker.src} width={130} rotate={12} peelDirection={-30} shadowIntensity={0.4} lightingIntensity={0.06} />
|
||||
</div>
|
||||
<p class="bubble pow">Pow!</p>
|
||||
</div>
|
||||
|
||||
<div class="stats" data-reveal data-reveal-stagger>
|
||||
@@ -155,7 +178,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<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)">
|
||||
<div class="stat" style="--c: var(--cta-blue); --t: #fff">
|
||||
<b><CountUp client:visible to={1900} separator="," duration={1.6} /></b>
|
||||
<span>machines closed against a 1,300 scope</span>
|
||||
</div>
|
||||
@@ -174,10 +197,12 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<p class="swipe wrap" aria-hidden="true">Swipe →</p>
|
||||
</section>
|
||||
|
||||
<div class="checker" style="--h:20px;--a:var(--cta-red);--b:var(--paper)" aria-hidden="true"></div>
|
||||
|
||||
<!-- ================= WHAT I DO ================= -->
|
||||
<section class="wrap section">
|
||||
<div class="head" data-reveal>
|
||||
<h2><span class="hl" style="--c: var(--chicago-blue)">What I work on</span></h2>
|
||||
<h2><span class="hl" style="--c: var(--cta-yellow)">What I work on</span></h2>
|
||||
</div>
|
||||
<div class="what">
|
||||
<ul class="lines" data-reveal data-reveal-stagger>
|
||||
@@ -195,8 +220,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
}
|
||||
</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" />
|
||||
<Clipping src={guitar} ratio="1 / 1" rotate={3} tape="top" widths={[300, 500]} sizes="40vw" class="hover-glitch" />
|
||||
<Clipping src={motoPixel} ratio="4 / 3" rotate={-4} widths={[300, 500]} sizes="40vw" class="pixelated hover-glitch" data-parallax="0.2" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -223,17 +248,37 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
</section>
|
||||
</Base>
|
||||
|
||||
<script>
|
||||
// Camcorder timecode on the cover.
|
||||
function timecode() {
|
||||
const el = document.querySelector<HTMLElement>('[data-timecode]');
|
||||
if (!el || matchMedia('(prefers-reduced-motion: reduce)').matches) return;
|
||||
const start = Date.now();
|
||||
const pad = (n: number) => String(n).padStart(2, '0');
|
||||
const id = setInterval(() => {
|
||||
if (!el.isConnected) return clearInterval(id);
|
||||
const s = Math.floor((Date.now() - start) / 1000);
|
||||
el.textContent = `${pad(Math.floor(s / 3600))}:${pad(Math.floor(s / 60) % 60)}:${pad(s % 60)}`;
|
||||
}, 1000);
|
||||
}
|
||||
document.addEventListener('astro:page-load', timecode);
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* ============ cover (mobile first) ============ */
|
||||
.cover {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-block: var(--space-4) var(--space-7);
|
||||
color: var(--ink);
|
||||
background:
|
||||
radial-gradient(circle, color-mix(in oklab, var(--cta-red) 20%, transparent) 1.2px, transparent 1.6px) 0 0 / 10px 10px,
|
||||
radial-gradient(circle, color-mix(in oklab, var(--cta-red) 22%, transparent) 1.2px, transparent 1.6px) 0 0 / 10px 10px,
|
||||
var(--paper);
|
||||
border-bottom: 3px solid var(--ink);
|
||||
}
|
||||
.cover > .speedlines {
|
||||
color: var(--ink);
|
||||
}
|
||||
.cover-in {
|
||||
position: relative;
|
||||
display: grid;
|
||||
@@ -251,22 +296,22 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
}
|
||||
.logo {
|
||||
font-family: var(--ff-mag);
|
||||
font-size: clamp(2.8rem, 14vw, 9rem);
|
||||
font-size: clamp(3.2rem, 17vw, 9.5rem);
|
||||
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: 4px 4px 0 var(--ink);
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
}
|
||||
.logo span {
|
||||
font-size: 0.3em;
|
||||
color: var(--ink);
|
||||
.logo::before,
|
||||
.logo::after,
|
||||
.first::before,
|
||||
.first::after {
|
||||
-webkit-text-stroke: 0;
|
||||
text-shadow: none;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.issue {
|
||||
flex: none;
|
||||
@@ -289,14 +334,21 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
.hero {
|
||||
position: relative;
|
||||
}
|
||||
.hero :global(.hero-photo) {
|
||||
.screen {
|
||||
position: relative;
|
||||
border: 3px solid var(--ink);
|
||||
box-shadow: 6px 6px 0 var(--ink);
|
||||
rotate: -1.2deg;
|
||||
animation: rise 0.9s 0.1s var(--ease) both;
|
||||
}
|
||||
.tc {
|
||||
margin-left: 0.4em;
|
||||
}
|
||||
.name {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: grid;
|
||||
margin-top: -3.2rem;
|
||||
margin-top: -2.6rem;
|
||||
padding-inline: 0.2rem;
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
@@ -314,12 +366,15 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
}
|
||||
.last {
|
||||
color: var(--ink);
|
||||
text-shadow: 5px 5px 0 var(--cta-yellow);
|
||||
text-shadow:
|
||||
5px 5px 0 var(--cta-yellow),
|
||||
-2px 0 0 rgb(0 229 255 / 0.6),
|
||||
2px 0 0 rgb(255 42 109 / 0.6);
|
||||
}
|
||||
.role-tag {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0.9rem;
|
||||
top: 2.6rem;
|
||||
left: -0.4rem;
|
||||
padding: 0.3rem 0.7rem;
|
||||
background: var(--cta-blue);
|
||||
@@ -333,6 +388,22 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
rotate: -4deg;
|
||||
box-shadow: 3px 3px 0 var(--ink);
|
||||
}
|
||||
.say {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 5.2rem;
|
||||
left: 0.6rem;
|
||||
max-width: 11rem;
|
||||
font-size: 0.85rem;
|
||||
rotate: -3deg;
|
||||
animation: pop 0.5s 0.9s cubic-bezier(0.3, 1.6, 0.5, 1) both;
|
||||
}
|
||||
@keyframes pop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.4);
|
||||
}
|
||||
}
|
||||
.badge {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
@@ -345,6 +416,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
border-radius: 50%;
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
border: 3px solid var(--cta-yellow);
|
||||
}
|
||||
.badge :global(.badge-ring) {
|
||||
position: absolute;
|
||||
@@ -357,7 +429,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
color: var(--paper);
|
||||
}
|
||||
.badge :global(.badge-ring span) {
|
||||
font-size: 0.68rem;
|
||||
font-size: 0.62rem;
|
||||
inset: 0.25rem;
|
||||
}
|
||||
.sticker {
|
||||
@@ -370,6 +442,18 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
width: 150px;
|
||||
height: 110px;
|
||||
}
|
||||
.hero > .sparkle {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
}
|
||||
.s1 {
|
||||
top: 42%;
|
||||
left: 8%;
|
||||
}
|
||||
.s2 {
|
||||
top: 18%;
|
||||
right: 34%;
|
||||
}
|
||||
|
||||
.deck {
|
||||
display: grid;
|
||||
@@ -405,7 +489,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
}
|
||||
.cl {
|
||||
position: relative;
|
||||
padding: 0.75rem 0.9rem;
|
||||
padding: 0.75rem 0.9rem 0.75rem 3.1rem;
|
||||
border: 2px solid var(--ink);
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 600;
|
||||
@@ -417,6 +501,20 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
.cl .num {
|
||||
position: absolute;
|
||||
left: 0.6rem;
|
||||
top: 0.75rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 1.9rem;
|
||||
height: 1.9rem;
|
||||
border-radius: 50%;
|
||||
background: var(--ink);
|
||||
color: var(--paper);
|
||||
font-family: var(--ff-mag);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.cl .big {
|
||||
display: block;
|
||||
font-family: var(--ff-mag);
|
||||
@@ -424,13 +522,6 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
font-size: 1.7rem;
|
||||
line-height: 1.05;
|
||||
}
|
||||
.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;
|
||||
@@ -444,6 +535,9 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
color: #fff;
|
||||
rotate: -0.6deg;
|
||||
}
|
||||
.strip {
|
||||
border: 2px solid var(--ink);
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
@@ -479,6 +573,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
'mast mast'
|
||||
'hero deck'
|
||||
'hero lines'
|
||||
'hero strip'
|
||||
'hero code';
|
||||
column-gap: var(--space-7);
|
||||
align-items: start;
|
||||
@@ -495,6 +590,9 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
.coverlines {
|
||||
grid-area: lines;
|
||||
}
|
||||
.strip {
|
||||
grid-area: strip;
|
||||
}
|
||||
.barcode-wrap {
|
||||
grid-area: code;
|
||||
}
|
||||
@@ -502,18 +600,24 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.name {
|
||||
margin-top: -5rem;
|
||||
margin-top: -4.5rem;
|
||||
}
|
||||
.lede {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.say {
|
||||
top: 4rem;
|
||||
left: 1.2rem;
|
||||
max-width: 14rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.badge {
|
||||
width: 8.5rem;
|
||||
height: 8.5rem;
|
||||
right: -1.5rem;
|
||||
}
|
||||
.badge :global(.badge-ring span) {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
.sticker-gba {
|
||||
right: -3rem;
|
||||
@@ -551,25 +655,43 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
}
|
||||
.collage {
|
||||
position: relative;
|
||||
height: 22rem;
|
||||
height: 24rem;
|
||||
}
|
||||
.collage :global(.c-sign) {
|
||||
.tv-wrap {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0.5rem;
|
||||
width: 46%;
|
||||
}
|
||||
.collage :global(.c-marina) {
|
||||
position: absolute;
|
||||
right: 2%;
|
||||
top: 0;
|
||||
width: 40%;
|
||||
width: 56%;
|
||||
padding: 8px 8px 26px;
|
||||
background: #2a2622;
|
||||
border: 3px solid var(--ink);
|
||||
border-radius: 14px;
|
||||
box-shadow: 5px 5px 0 var(--ink);
|
||||
rotate: -3deg;
|
||||
z-index: 1;
|
||||
}
|
||||
.tv-wrap :global(.tv) {
|
||||
border-radius: 18px / 14px;
|
||||
}
|
||||
.tv-label {
|
||||
position: absolute;
|
||||
bottom: 4px;
|
||||
right: 12px;
|
||||
font-family: var(--ff-crt);
|
||||
color: var(--phosphor);
|
||||
font-size: 1rem;
|
||||
}
|
||||
.collage :global(.c-pile) {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 1.5rem;
|
||||
width: 46%;
|
||||
}
|
||||
.collage :global(.c-cassette) {
|
||||
position: absolute;
|
||||
left: 24%;
|
||||
left: 22%;
|
||||
bottom: 0;
|
||||
width: 50%;
|
||||
width: 52%;
|
||||
z-index: 2;
|
||||
}
|
||||
.sticker-floppy {
|
||||
@@ -578,6 +700,20 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
width: 130px;
|
||||
height: 90px;
|
||||
}
|
||||
.pow {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
right: 12%;
|
||||
top: 47%;
|
||||
background: var(--cta-yellow);
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
font-size: 1.4rem;
|
||||
rotate: 8deg;
|
||||
}
|
||||
.pow::after {
|
||||
background: var(--cta-yellow);
|
||||
}
|
||||
.stats {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
@@ -587,6 +723,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
gap: 0.2rem;
|
||||
padding: 1rem 1.1rem;
|
||||
background: var(--c);
|
||||
color: var(--t, var(--ink));
|
||||
border: 2px solid var(--ink);
|
||||
box-shadow: 5px 5px 0 var(--ink);
|
||||
}
|
||||
@@ -635,7 +772,6 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* horizontal swipe rail on mobile, grid on desktop */
|
||||
.rail {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
@@ -719,6 +855,9 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
gap: var(--space-4);
|
||||
align-items: start;
|
||||
}
|
||||
.what-photos :global(.pixelated img) {
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
@media (min-width: 52rem) {
|
||||
.what {
|
||||
grid-template-columns: 1.4fr 1fr;
|
||||
|
||||
Reference in new issue
Block a user