/* every page but home: what is printed on the wall. the bands and the wall itself are shared with home (bands.css, Wall.svelte) */ .station { /* a paperclip seen from the front: the loop behind the sheet is hidden below its top edge, at y 22 of 60 */ --paperclip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 60'%3E%3ClinearGradient id='m' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23f4f6f8'/%3E%3Cstop offset='.45' stop-color='%23959ca6'/%3E%3Cstop offset='.7' stop-color='%23eef1f4'/%3E%3Cstop offset='1' stop-color='%236d737c'/%3E%3C/linearGradient%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath stroke='%233a3d42' stroke-width='2.6' d='M3 22V16M13 20V41a3.5 3.5 0 0 1-7 0V9a5.5 5.5 0 0 1 11 0V22'/%3E%3Cpath stroke='url(%23m)' stroke-width='1.5' d='M3 22V16M13 20V41a3.5 3.5 0 0 1-7 0V9a5.5 5.5 0 0 1 11 0V22'/%3E%3C/g%3E%3C/svg%3E"); --accent: var(--hot); --red: var(--hot); --link: color-mix(in srgb, var(--ink) 44%, var(--hot)); --rule: var(--muted); --frame: color-mix(in srgb, var(--bg) 84%, var(--ink)); --ghost: color-mix(in srgb, var(--bg) 92%, var(--ink)); } body { margin: 0; } .station { position: relative; min-height: 100vh; box-sizing: border-box; background: var(--bg); color: var(--ink); font: 15px/1.6 cookmono, 'Hiragino Maru Gothic ProN', 'Yu Gothic', Verdana, sans-serif; overflow-wrap: anywhere; overflow-x: clip; } .station *, .station *::before, .station *::after { box-sizing: border-box; } .station a { color: var(--link); text-decoration: none; } .station a:hover, .station a:focus-visible { color: var(--ink); text-decoration: none; text-shadow: -2px 0 var(--hot), 2px 0 var(--cyan), 0 0 12px color-mix(in srgb, var(--hot) 45%, transparent); } .station :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .station img { max-width: 100%; } .station h1, .station h2, .station h3, .station h4 { margin: 1.6em 0 0.5em; font-weight: 700; line-height: 1.25; } .station p, .station ul, .station ol { margin: 0.6em 0; } .station ul { padding-left: 1.3em; list-style: '-> '; } .station code, .station pre { font: inherit; color: var(--muted); } .station pre { white-space: pre-wrap; } .station pre { padding: 0.6em 0.8em; overflow-x: auto; } .station .muted { color: var(--muted); } .station .skip { position: absolute; left: -999rem; } .station .skip:focus { left: 1rem; top: 1rem; z-index: 9; } .station .hp { position: absolute; left: -999rem; width: 1px; height: 1px; opacity: 0; } /* ---- no boxes. things sit on the page; what holds them together is where they are and what colour they are ---- */ .station .k { color: var(--muted); } .station .k:not(:empty)::after { content: ':'; } .station .when { font-size: 0.78rem; color: var(--muted); } .station .said { white-space: pre-wrap; } .foot { font-size: 0.85rem; } .foot p { margin: 0.3rem 0; } .station .home h1 a { color: var(--ink); text-decoration: none; } .station .home h1 a:hover { color: var(--bg); } .home h2 { margin: 0; font-size: 0.95rem; } .home section p { margin: 0.15rem 0; } .home .blinkies { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; line-height: 0; } .home .me { display: flex; gap: 0.9rem; align-items: flex-start; } .home .me img { flex: none; image-rendering: pixelated; } .station .home .me ul { margin: 0; } .home .cover { width: 1.5em; height: 1.5em; object-fit: cover; vertical-align: -0.35em; } /* the note to her: a line on the page you write on */ .station .bother { display: flex; gap: 0.6rem; max-width: 30rem; } .station .bother input[type='text'] { padding: 0.2rem 0; border: 0; border-bottom: 2px solid var(--ink); background: none; } .station .bother input[type='submit'] { padding: 0.2rem 0.3rem; border: 0; background: none; color: var(--link); text-decoration: underline; text-decoration-color: var(--accent); } .station .bother input[type='submit']:hover { background: var(--ink); color: var(--bg); } .station .home .buttons { margin: 0.5rem 0; } /* ---- the cord down the left edge of every page, and the line tied to it across the top: the five stops, and the bus on it ---- */ .station { --cord: 1.4rem; --col: clamp(2.4rem, 13vw, 14rem); --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; padding: 0 0 5rem; } .station::before { content: ''; position: absolute; left: var(--cord); top: 0; bottom: 0; width: 3px; background: var(--red); } .line { position: relative; z-index: 4; display: flex; align-items: flex-start; gap: 1.4rem; margin: 0 2.4rem 0 var(--cord); padding-top: 2.4rem; } .line .stops { position: relative; flex: 1; } /* the wire, from the cord to the last stop */ .line .stops::before { content: ''; position: absolute; left: 0; right: 0; top: 0.62rem; height: 3px; background: var(--red); filter: url(#sub-boil) drop-shadow(0 0 4px var(--red)); } .line ol { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; } .line li { position: relative; padding-top: 1.75rem; text-align: center; } /* a stop is a knot in the wire */ .line li::before { content: ''; position: absolute; left: calc(50% - 0.55rem); top: 0.2rem; width: 1.1rem; height: 1.1rem; background: var(--bg); border: 3px solid var(--red); } .line li.here::before { background: var(--red); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--red); } .station .line a { display: inline-flex; flex-direction: column; align-items: center; padding: 0.2rem 0.55rem 0.25rem; color: var(--ink); line-height: 1.15; text-shadow: 0 0 6px var(--bg), 0 0 12px var(--bg); } .line .n { font: 700 0.7rem/1.3 var(--mono), monospace; letter-spacing: 0.08em; color: var(--muted); } .line .jp { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; } .line .nm { font-size: 0.76rem; color: var(--muted); } /* where you are is lit, as the stop a train is at is on the board in the carriage */ .station .line li.here a { background: var(--ink); color: var(--bg); text-shadow: none; box-shadow: inset 0 -3px 0 var(--hot); } .line li.here :is(.n, .nm) { color: inherit; opacity: 0.75; } .station .line a:hover .n { color: inherit; } /* the way out, signed as a way out is */ .station .line .out { flex: none; flex-direction: row; gap: 0.45rem; margin-top: 1.5rem; padding: 0.2rem 0.6rem 0.2rem 0.25rem; background: var(--plate); color: var(--plate-ink); font-weight: 700; text-shadow: none; box-shadow: 2px 3px 0 var(--drop); transform: rotate(-2deg); } .station .line .out:hover, .station .line .out:focus-visible { color: var(--plate-ink); text-shadow: none; box-shadow: 2px 3px 0 var(--hot); } .line .exit { padding: 0.05rem 0.3rem; background: #f5c400; color: #14110a; font-size: 0.8rem; } /* the bus rides on the wire, its wheels on it */ .line .bus { position: absolute; left: calc((var(--at) + 0.5) / 5 * 100%); top: -0.5rem; z-index: 2; width: 2.5rem; margin-left: -1.25rem; line-height: 0; transition: left 1.2s ease-in-out; } .line .bus svg { display: block; width: 100%; overflow: visible; } .bus .bus-body { fill: var(--hot); stroke: var(--ink); stroke-width: 1.2; } .bus .bus-glass { fill: var(--bg); } .bus circle { fill: var(--ink); } .line .bus.go svg { animation: bus-rock 0.5s steps(2) infinite; } @keyframes bus-rock { 50% { transform: translateY(-1px) rotate(-1.5deg); } } .bus-says { position: absolute; left: 100%; top: 0.05rem; margin-left: 0.45rem; font: 0.68rem/1.2 var(--mono), monospace; color: var(--muted); white-space: nowrap; text-shadow: 0 0 4px var(--bg), 0 0 8px var(--bg); } .bus.flip .bus-says { left: auto; right: 100%; margin: 0 0.45rem 0 0; } .station main { margin-left: var(--col); padding: 2rem 1.2rem 0 0; } .station .sub-main { max-width: 46rem; } .station .foot { margin: 3.5rem 1rem 0 var(--col); } .station .who, .station .hang { position: relative; max-width: 34rem; } .station #halo { max-width: none; } @media (max-width: 56rem) { .station { --cord: 0.55rem; --col: 1.15rem; font-size: 14px; } .line { flex-wrap: wrap; gap: 0; margin-right: 0.6rem; padding-top: 2.2rem; } .line .stops { flex-basis: 100%; } .station .line a { padding: 0.15rem 0.2rem 0.2rem; } .line .jp { font-size: 1.05rem; } .line .nm { font-size: 0.66rem; } .station .line .out { margin: 0.4rem 0 0 auto; } .bus-says { font-size: 0.62rem; } .station main { padding: 0.8rem 0.7rem 0 0; } } .station .init { display: block; width: max-content; max-width: 100%; font-size: 0.78rem; line-height: 1.45; color: var(--muted); text-decoration: none; } .unit { position: absolute; z-index: 1; top: 1.2vw; left: 51vw; width: 52vw; } .unit .fig { position: relative; aspect-ratio: 760 / 920; } .fig > div { position: absolute; inset: 0; background: center / 100% 100% no-repeat; } .fig .body { background-image: url('/station/unit-0.png'); } .fig .shut { background-image: url('/station/unit-0-shut.png'); } .station[data-band='1'] .fig .body { background-image: url('/station/unit-1.png'); } .station[data-band='1'] .fig .shut { background-image: url('/station/unit-1-shut.png'); } .station[data-band='2'] .fig .body { background-image: url('/station/unit-2.png'); } .station[data-band='2'] .fig .shut { background-image: url('/station/unit-2-shut.png'); } @media (prefers-color-scheme: dark) { .station[data-band='auto'] .fig .body { background-image: url('/station/unit-2.png'); } .station[data-band='auto'] .fig .shut { background-image: url('/station/unit-2-shut.png'); } } /* she blinks: the same picture with the eye on her forehead shut */ .fig .shut { opacity: 0; animation: blink 6.5s steps(1) infinite; } @keyframes blink { 0% { opacity: 0; } 95% { opacity: 1; } 97.5% { opacity: 0; } } /* point at a readout and the marks on her drop out, in the pattern her model flickers in */ .fig .flick { background: var(--bg); mask: url('/station/unit-flicker.png') center / 100% 100% no-repeat; opacity: 0; } .unit:has(.readouts li:hover) .flick, .unit:has(.sigil:hover) .flick { animation: flick 0.45s steps(1) infinite; } @keyframes flick { 0% { opacity: 1; } 35% { opacity: 0; } 55% { opacity: 1; } 80% { opacity: 0; } } /* the drawing over her: 760 x 920 like the picture, and wide enough to reach the cord at the left of the page */ .wires { position: absolute; top: 0; left: -98.08%; width: 198.08%; height: 100%; overflow: visible; pointer-events: none; } .wires .cord { fill: none; stroke: var(--red); stroke-width: 3.4px; stroke-linecap: round; vector-effect: non-scaling-stroke; } .wires .knot { fill: var(--bg); stroke: var(--red); stroke-width: 3px; vector-effect: non-scaling-stroke; } .wires .lead { stroke: var(--ink); stroke-width: 1px; vector-effect: non-scaling-stroke; } .wires .mark circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; } .wires .mark text { font-size: 13px; font-weight: 700; text-anchor: middle; dominant-baseline: central; fill: var(--ink); } .wires .narrow { display: none; } .eye, .sigil { position: absolute; left: calc(var(--x) / 760 * 100%); top: calc(var(--y) / 920 * 100%); } /* the eyes are the old ones, in the ink of the band. each shuts on its own time */ .eye { width: 7.4%; aspect-ratio: 2; margin: -1.85% 0 0 -3.7%; } .eye::before, .eye::after { content: ''; position: absolute; inset: 0; background: var(--ink); mask: url('/eyes/normal_forward.webp') center / contain no-repeat; image-rendering: pixelated; animation: lid 7s steps(1) infinite; animation-delay: calc(var(--i) * -1.7s); } .eye.left::before { mask-image: url('/eyes/normal_left.webp'); } .eye.right::before { mask-image: url('/eyes/normal_right.webp'); } .eye::after { mask-image: url('/eyes/closed.webp'); animation-name: lid-shut; } @keyframes lid { 0% { opacity: 1; } 94% { opacity: 0; } 97% { opacity: 1; } } @keyframes lid-shut { 0% { opacity: 0; } 94% { opacity: 1; } 97% { opacity: 0; } } /* the eye on her forehead turns the dial */ .sigil { width: 9%; aspect-ratio: 1.5; margin: -3% 0 0 -4.5%; border-radius: 50%; } .station a.sigil:hover, .station a.sigil:focus-visible { background: none; outline: 2px solid var(--accent); } .readouts { margin: 0; padding: 0; list-style: none; counter-reset: part; font-size: clamp(10.5px, 0.9vw, 13.5px); line-height: 1.35; } .readouts li { position: absolute; left: calc(var(--x) / 760 * 100%); top: calc(var(--y) / 920 * 100%); display: grid; grid-template-columns: auto 1fr; column-gap: 0.5em; justify-items: start; width: max-content; max-width: calc((712 - var(--x)) / 760 * 100%); counter-increment: part; } .readouts li > * { grid-column: 2; } /* the number is the one drawn on her */ .readouts li::before { content: counter(part); grid-row: 1 / span 6; width: 1.5em; height: 1.5em; border: 1px solid var(--ink); border-radius: 50%; font-size: 0.85em; font-weight: 700; line-height: 1.45em; text-align: center; } .readouts li.r { left: auto; right: calc((760 - var(--x)) / 760 * 100%); grid-template-columns: 1fr auto; justify-items: end; max-width: 13vw; text-align: right; } .readouts li.r > * { grid-column: 1; } .readouts li.r::before { grid-column: 2; } .station .readouts a { font-weight: 700; } .station .readouts .band { font-weight: 400; text-decoration: none; } .station .readouts .band[aria-current='true'] { background: var(--ink); color: var(--bg); } .station .file { position: absolute; right: 4vw; bottom: 0; margin: 0; font-size: 0.72rem; color: var(--muted); } .station #halo { max-width: calc(100% - 8vw); } @media (max-width: 56rem) { .unit { position: relative; top: 0; left: 0; width: 100vw; margin-top: -4vw; } .wires .wide, .wires .lead { display: none; } .wires .narrow { display: inline; } .wires .mark circle { r: 19px; } .wires .mark text { font-size: 23px; } .readouts { padding: 0 1rem 0 var(--gutter); font-size: 0.9rem; } .readouts li, .readouts li.r { position: static; grid-template-columns: auto 1fr; justify-items: start; width: auto; max-width: none; margin: 0.45rem 0; text-align: left; } .readouts li.r > * { grid-column: 2; } .readouts li.r::before { grid-column: 1; } .station .file { position: static; padding-right: 1rem; text-align: right; } .station #halo { max-width: none; } } /* ---- the boxed pieces of the first attempt. only the subpages still use them, until a look is picked ---- */ .station .dollcode { font-family: 'Doll Mono', monospace; text-decoration: none; color: var(--muted); } /* board: a framed list with a heading. timetables, the transfer board, today's notices */ .board { margin-top: 1.75rem; } .station .board > h2 { display: flex; align-items: baseline; gap: 0.6rem; margin: 0; padding: 0.3rem 0.7rem; background: var(--ink); color: var(--bg); font-size: 1rem; } .board > h2 .side { margin-left: auto; font-size: 0.75rem; font-weight: 400; } .station .board > h2 a { color: var(--bg); text-decoration-color: var(--bg); } .board > .rows { border: 3px solid var(--ink); border-top: 0; } .station .rows > * { margin: 0; padding: 0.55rem 0.7rem; border-top: 1px solid var(--muted); } .station .rows > :first-child { border-top: 0; } .rows .when { font-size: 0.78rem; color: var(--muted); } /* slip: one piece of paper with something written on it. a note, a wish */ .slip .said { white-space: pre-wrap; } .slip .reply { margin-left: 1.2rem; padding-left: 0.6rem; border-left: 3px solid var(--muted); } .slip p { margin: 0.15rem 0; } /* ticket: the small facts about a thing */ .ticket { display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 0.9rem; margin: 1rem 0; padding: 0.6rem 0.8rem; border: 3px dashed var(--rule); font-size: 0.85rem; } .ticket dt { color: var(--muted); } .ticket dd { margin: 0; } /* forms are slips you fill in */ .station input[type='text'], .station textarea { width: 100%; padding: 0.45rem 0.6rem; border: 3px solid var(--ink); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; } .station button, .station input[type='submit'] { padding: 0.4rem 0.9rem; border: 3px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--bg); font: inherit; font-weight: 700; cursor: pointer; } .station button:hover, .station input[type='submit']:hover { background: var(--bg); color: var(--ink); } .fill { display: flex; gap: 0.5rem; } .pattern { min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; } .err { padding-left: 0.5rem; border-left: 0.4rem solid var(--red); } /* pictures are pasted in as they are, in a paper frame */ .pasted { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.5rem; } .station .pasted a { display: block; padding: 0.3rem; background: var(--frame); border: 1px solid var(--muted); line-height: 0; } .pasted img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; } .buttons { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem; } .station .buttons a { line-height: 0; background: none; } .buttons img { image-rendering: pixelated; } @media (max-width: 34rem) { .fill { flex-direction: column; } } /* subpage dreamland haze, shaky hand-boiled nerves, zero-box pockets, and per-route ghostly angel */ .station-defs { position: absolute; width: 0; height: 0; pointer-events: none; } .station-wires { position: fixed; top: 0; left: 0; width: 100vw; height: 64px; z-index: 1; pointer-events: none; } .station-wires path { fill: none; stroke-linecap: round; } .station-wires .w-dark { stroke: var(--ink); stroke-width: 1.5; opacity: 0.25; } .station-wires .w-red { stroke: var(--red, #e0081a); stroke-width: 1.8; opacity: 0.62; filter: drop-shadow(0 0 6px var(--red, #e0081a)); } .station::before { filter: url(#sub-boil) drop-shadow(0 0 5px var(--red, #e0081a)); opacity: 0.72; } .station .foot { position: relative; z-index: 3; } .station .sub-main { position: relative; margin-top: 2.2rem; padding: 1.2rem 1.4rem 2.4rem; background: none; border: 0; text-shadow: 0 0 12px var(--bg), 0 0 22px var(--bg); } .station .board > h2 { background: none; color: var(--accent); padding: 0.2rem 0; border-bottom: 1.5px wavy var(--accent); transform: rotate(-0.6deg); } .station .board > h2 a { color: var(--ink); text-decoration-color: var(--accent); } .station .board > .rows { border: 0; } .station .rows > * { padding: 0.55rem 0.2rem; border-top: 1px dashed rgba(140, 140, 150, 0.28); } .station .ticket { border: 0; padding: 0.4rem 0; } .station input[type='text'], .station textarea { border: 0; border-bottom: 2px wavy var(--accent); background: transparent; } .station button, .station input[type='submit'] { border: 0; background: none; color: var(--accent); text-decoration: none; padding: 0.3rem 0.5rem; } .station .pasted a { border: 0; background: transparent; padding: 0.15rem; } /* what stands between two things on a line: room, and no mark */ .station .gap { display: inline-block; width: 0.9em; } /* the pool under the column lies below the coral, and everything in the column above it */ .station .sub-main > * { position: relative; z-index: 3; } /* what the pointer is on lies on coral, like an open knot at home: its words take the same colours and the same shadow */ .station .sub-main :is(.rows > *, .board > h2):is(:hover, :focus-within) { --ink: var(--over-ink); --muted: var(--over-muted); --link: var(--over-link); --accent: var(--over-link); color: var(--ink); text-shadow: 0 0 1px var(--halo), 0 0 2px var(--halo), 0 0 3px var(--halo), 0 1px 4px var(--halo), 0 0 8px var(--halo), 0 0 16px var(--halo); } /* a phone: the column starts where the nav does, and its sign lies on coral from the start, since nothing hovers there */ @media (max-width: 56rem) { .station .sub-main { margin-top: 1.2rem; padding: 0.6rem 0 1.6rem 0; } } /* ---- the sign at the head of a page: the stop's number in its square, its kanji big, the page's own name, and the stops either side on the line's colour, as on a platform. screwed to the wall a little crooked ---- */ .station .sign { position: relative; padding: 1rem 1.3rem 0; background: var(--paper); box-shadow: 3px 4px 0 var(--drop), 0 0 0 1px var(--paper-edge); transform: rotate(-0.8deg); text-shadow: none; } .station .sign::before, .station .sign::after { content: ''; position: absolute; top: 0.45rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--paper), var(--muted) 70%); } .station .sign::before { left: 0.45rem; } .station .sign::after { right: 0.45rem; } .sign-plate { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; } .sign-no { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 3.1rem; height: 3.1rem; border: 0.3rem solid var(--hot); border-radius: 0.55rem; background: var(--paper); color: var(--ink); font: 700 1.3rem/1 var(--mono), monospace; } .sign-no small { font-size: 0.55rem; letter-spacing: 0.1em; } .sign-jp { font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: 0.06em; } .station .sign h1 { margin: 0; font-size: 2.1rem; font-weight: 400; line-height: 1.1; } .sign-meta { display: flex; flex-wrap: wrap; gap: 0 1.1rem; margin: 0.55rem 0 0.7rem !important; font: 0.74rem/1.4 var(--mono), monospace; color: var(--muted); } .sign-meta span + span::before { content: '/ '; color: var(--hot); } .station .sign .bar { display: flex; justify-content: space-between; margin: 0 -1.3rem; padding: 0.2rem 1.3rem; background: var(--hot); font-size: 0.8rem; } .station .sign .bar a { margin: 0 -0.4rem; padding: 0 0.4rem; color: var(--bg); font-weight: 700; text-shadow: none; } .station .sign .bar a:hover, .station .sign .bar a:focus-visible { outline: none; background: var(--bg); color: var(--hot); text-shadow: none; } @media (max-width: 34rem) { .sign-jp { font-size: 2.5rem; } .station .sign h1 { font-size: 1.6rem; } } /* something printed on, pinned to the wall: the words on it are not lit from behind */ .station :is(.sheet, .clippings .rows > *, .annex .board) { position: relative; background: var(--paper); box-shadow: 3px 4px 0 var(--drop), 0 0 0 1px var(--paper-edge); text-shadow: none; } /* ---- 02 識別: an identification document. a printed sheet with a header off the terminal, the specimen's picture clipped on and stamped, and the annexes clipped on after it ---- */ .station .dossier { margin-top: 1.8rem; padding: 0 1.9rem 1.4rem; transform: rotate(0.4deg); } .dossier > pre:first-of-type, .dossier > pre:last-of-type { margin: 0 -1.9rem 1.3rem; padding: 0.9rem 1.9rem; background: var(--plate); color: var(--plate-ink); font: 0.78rem/1.6 var(--mono), monospace; } .dossier > pre:last-of-type { margin: 1.6rem -1.9rem -1.4rem; } .dossier > pre code { color: inherit; font: inherit; } .dossier h4 { display: flex; align-items: center; gap: 0.7rem; margin: 1.8em 0 0.5em; font: 700 0.82rem/1.3 var(--mono), monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hot); } .dossier h4::after { content: ''; flex: 1; border-top: 1px dashed var(--paper-edge); } .dossier p { line-height: 1.75; } .dossier > pre:first-of-type { padding-right: 10rem; } /* the picture, clipped on at the corner and sticking out past it */ .dossier .specimen { position: absolute; right: -1.4rem; top: -1.1rem; z-index: 1; width: 7.8rem; margin: 0; padding: 0.35rem 0.35rem 0.25rem; border: 2px solid var(--ink); background: var(--paper-2); box-shadow: 3px 4px 0 var(--drop); transform: rotate(4deg); } .dossier .specimen img { display: block; width: 100%; height: auto; image-rendering: pixelated; } .dossier .specimen figcaption { margin-top: 0.25rem; font: 0.64rem/1.3 var(--mono), monospace; color: var(--muted); text-align: center; } /* a seal, stamped over the corner of the picture */ .dossier .seal { position: absolute; left: -1.5rem; bottom: -0.9rem; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border: 3px double var(--hot); border-radius: 50%; color: var(--hot); font-size: 0.9rem; font-weight: 700; line-height: 1.05; text-align: center; transform: rotate(-14deg); opacity: 0.85; } .station .annex .board { margin-top: 2.4rem; padding: 0.4rem 1.5rem 1rem; background: var(--paper-2); transform: rotate(-0.6deg); } .station .annex .board:nth-child(2) { transform: rotate(0.9deg); } /* the clip it is held on by, at the corner away from its heading */ .station .annex .board::before, .dossier .specimen::before { content: ''; position: absolute; right: 1.6rem; top: -1.83rem; width: 1.7rem; height: 5rem; background: var(--paperclip) center / contain no-repeat; filter: drop-shadow(1px 2px 0 var(--drop)); transform: rotate(6deg); } .dossier .specimen::before { right: auto; left: 1rem; transform: rotate(-5deg); } /* ---- 03 電線: what came over the wire. entries are clippings pinned up with their date stamped on; a post is a sheet that is easy to read at length, with its ticket; the log is the feed as it was received ---- */ .station .clippings .rows { display: grid; gap: 1.5rem; padding-top: 1rem; } .station .clippings .rows > * { padding: 1.1rem 1.3rem 1rem; border: 0; transform: rotate(var(--tilt, -0.6deg)); } .station .clippings .rows > :nth-child(2n) { --tilt: 0.8deg; margin-left: 1.2rem; } .station .clippings .rows > :nth-child(3n) { --tilt: -1.2deg; } .station .clippings .rows > *::before { content: ''; position: absolute; left: calc(50% - 0.4rem); top: -0.35rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 12%, var(--hot) 45%); box-shadow: 1px 2px 0 var(--drop); } .clippings .rows b { font-size: 1.15rem; } .station .clippings .when, .station .h-entry .ticket { font-family: var(--mono), monospace; } .station .clippings .when { display: inline-block; margin: 0.6rem 0 0; padding: 0.1rem 0.5rem; border: 2px solid var(--hot); color: var(--hot); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; transform: rotate(-2.5deg); } .station .h-entry .e-content { position: relative; z-index: 3; margin-top: 1.4rem; padding: 1.8rem 2.3rem 2rem; background: var(--paper); box-shadow: 3px 4px 0 var(--drop), 0 0 0 1px var(--paper-edge); font-size: 1.02rem; line-height: 1.8; text-shadow: none; } .station .h-entry .e-content h2 { margin-top: 0.2em; } /* a ticket for the post: thermal paper, torn along the dotted line, clipped to the top-right corner of the sheet */ .station .h-entry .ticket { --ink: var(--thermal-ink); --muted: #5f574d; --link: #a3102c; position: relative; z-index: 4; float: right; width: fit-content; max-width: min(24rem, 100%); margin: -1.4rem -2.7rem 1rem 1.4rem; padding: 0.75rem 1.2rem 0.75rem 2.4rem; border-left: 2px dashed rgba(0, 0, 0, 0.3); background: var(--thermal); color: var(--ink); font-size: 0.78rem; line-height: 1.45; text-shadow: none; box-shadow: -2px 3px 0 var(--drop); transform: rotate(1.4deg); } .station .h-entry .ticket::before { content: ''; position: absolute; left: 0.55rem; top: -1.5rem; width: 1.65rem; height: 4.8rem; background: var(--paperclip) center / contain no-repeat; filter: drop-shadow(1px 2px 0 var(--drop)); transform: rotate(-4deg); } .station .feed .rows > * { border-top: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); } .station .feed .rows > :nth-child(2n) { background: color-mix(in srgb, var(--paper) 55%, transparent); } .feed .slip > div { display: grid; grid-template-columns: 8.6rem 1fr; grid-auto-flow: dense; column-gap: 1rem; } .feed .slip > div > p { grid-column: 2; } .station .feed .slip > div > p.when { grid-column: 1; grid-row: 1 / span 4; margin: 0.1rem 0 0; font: 0.7rem/1.5 var(--mono), monospace; } .feed .slip .z { display: block; color: var(--ink); font-weight: 700; } .feed .slip .z::before { content: 'rx '; color: var(--hot); } .feed .slip .when .gap { display: none; } .feed .slip .when time { margin-right: 0.5rem; } .feed .slip .when a { display: inline-block; margin-right: 0.4rem; } .station .feed .slip .reply { border-left: 0; margin-left: 0 !important; } .feed .slip .reply > p.when .z::before { content: 're '; } /* ---- 04 祈り: a blank plaque to write on, and a rack of the ones hung already. plaques of wood, and here and there a fortune tied on, as at the shrine on the line ---- */ .station :is(.ema-desk, .ema-rack) .rows > * { border: 0; } .station :is(.ema-desk .rows > * > *, .ema-rack .slip > div) { --ink: var(--wood-ink); --muted: #5d3f22; --link: #8f1022; --accent: #8f1022; color: var(--ink); text-shadow: none; } .station .ema-desk .rows > * { position: relative; isolation: isolate; padding: 2.4rem 1.6rem 1.2rem; } .station :is(.ema-desk .rows > *, .ema-rack .slip)::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient( 178deg, transparent 0 7px, rgba(90, 50, 20, 0.07) 7px 9px, transparent 9px 17px ), linear-gradient(90deg, var(--wood), var(--wood-2)); clip-path: polygon(0 1.4rem, 50% 0, 100% 1.4rem, 100% 100%, 0 100%); filter: drop-shadow(3px 4px 0 var(--drop)); } .station .ema-desk textarea { background: rgba(255, 250, 240, 0.4); color: var(--ink); } .station .ema-desk input[type='submit'] { background: #b3122e; color: #fff4ea; } .station .ema-desk input[type='submit']:hover { background: var(--wood-ink); color: var(--wood); } .station .ema-rack .rows { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.6rem 1.4rem; padding: 2.4rem 0 0; border-top: 0.6rem solid #b3122e; box-shadow: 0 -0.25rem 0 #2a0c10 inset; } .station .ema-rack .slip { position: relative; isolation: isolate; width: calc(50% - 0.7rem); padding: 2.2rem 1.1rem 0.9rem; transform: rotate(var(--tilt, -1.5deg)); transform-origin: 50% -2rem; } .station .ema-rack .slip:nth-child(2n) { --tilt: 2deg; margin-top: 1rem; } .station .ema-rack .slip:nth-child(3n) { --tilt: -3deg; } /* the red cord it hangs by, and the hole it goes through */ .station .ema-rack .slip::after { content: ''; position: absolute; left: calc(50% - 0.3rem); top: -2.4rem; width: 0.6rem; height: 3.1rem; border: 2px solid #c8102e; border-bottom: 0; border-radius: 0.3rem 0.3rem 0 0; } /* every third one is a fortune: a strip of paper, folded and tied, not a plaque */ .station .ema-rack .slip:nth-child(3n)::before { background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, 0.04) 22px 23px), var(--thermal); clip-path: polygon( 0 0.3rem, 100% 0, 99% 100%, 88% calc(100% - 0.3rem), 74% 100%, 55% calc(100% - 0.25rem), 38% 100%, 20% calc(100% - 0.35rem), 0 100% ); } .station .ema-rack .slip:nth-child(3n)::after { top: -1.4rem; height: 2.2rem; border-radius: 0; border-width: 0 2px; } .station .ema-rack .slip:nth-child(3n) { padding-top: 1.2rem; } .ema-rack .slip .said { font-size: 0.98rem; } .station .ema-rack .slip .when { font-family: var(--mono), monospace; } .ema-rack .slip .z { margin-right: 0.6rem; } .station .ema-rack .slip .reply { border-left-color: #8f1022; } .ema-rack .hung { font-size: 0.8rem; color: var(--muted); } @media (max-width: 40rem) { .station .ema-rack .slip { width: 100%; } .feed .slip > div { grid-template-columns: 1fr; } .station .feed .slip > div > p.when { grid-column: 1; grid-row: auto; } .feed .slip > div > p { grid-column: 1; } .feed .slip .z { display: inline; margin-right: 0.5rem; } .station .h-entry .e-content { padding: 1.2rem 1.1rem 1.4rem; } .station .h-entry .ticket { float: none; max-width: 100%; margin: -1.5rem -0.4rem 1.1rem auto; transform: rotate(0.8deg); } .station .dossier { padding: 0 1.1rem 1.2rem; } .dossier > pre:first-of-type, .dossier > pre:last-of-type { margin-left: -1.1rem; margin-right: -1.1rem; padding: 0.8rem 1.1rem; } .dossier > pre:last-of-type { margin-bottom: -1.2rem; } .dossier > pre:first-of-type { padding-right: 5.4rem; font-size: 0.7rem; } .dossier .specimen { right: 0.3rem; width: 5rem; } .dossier .seal { left: -1rem; width: 2.9rem; height: 2.9rem; font-size: 0.75rem; } } @media (prefers-reduced-motion: reduce) { .line .bus { transition: none; } .line .bus.go svg { animation: none; } } /* ---- /copy: a slip off the till with one thing printed on it, and a stamp to take it ---- */ .station .receipt .board { --ink: var(--thermal-ink); --muted: #5f574d; --link: #a3102c; --accent: #a3102c; --over-ink: var(--thermal-ink); --over-muted: #5f574d; --over-link: #a3102c; --halo: transparent; position: relative; max-width: 32rem; margin-top: 2.2rem; padding: 1rem 1.4rem 1.4rem; background: linear-gradient(180deg, rgba(0, 0, 0, 0.07), transparent 26px), repeating-linear-gradient(0deg, transparent 0 23px, rgba(0, 0, 0, 0.035) 23px 24px), var(--thermal); color: var(--ink); font-family: var(--mono), monospace; text-shadow: none; box-shadow: 3px 4px 0 var(--drop); transform: rotate(-1deg); } .station .receipt .board::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: linear-gradient(-45deg, transparent 5px, var(--thermal) 0) 0 0 / 9px 8px, linear-gradient(45deg, transparent 5px, var(--thermal) 0) 0 0 / 9px 8px; } .station .receipt .board > h2 { padding: 0 0 0.5rem; border-bottom: 2px dashed rgba(0, 0, 0, 0.3); color: var(--muted); font: 700 0.75rem/1.4 var(--mono), monospace; letter-spacing: 0.14em; text-transform: uppercase; transform: none; } .station .receipt .rows > * { padding: 0.9rem 0 0; border: 0; } .station .receipt .receipt-text { margin: 0; font-size: 1.15rem; line-height: 1.45; word-break: break-all; user-select: all; } .station .receipt .receipt-do { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin: 1.2rem 0 0; font-size: 0.82rem; } .station .receipt button { padding: 0.35rem 1rem; border: 2px dashed #b3122e; background: none; color: #b3122e; font: 700 0.95rem/1.2 var(--mono), monospace; letter-spacing: 0.08em; transform: rotate(-3deg); } .station .receipt button:hover, .station .receipt button:focus-visible, .station .receipt button.done { background: #b3122e; color: var(--thermal); } .station .receipt button.done { border-style: solid; transform: rotate(2deg); } /* a platform sign is as wide as what is on it, not as wide as the page */ .station .sign { width: fit-content; min-width: min(100%, 30rem); max-width: 46rem; } .station .annex ul { padding-left: 1.1em; } .station .annex ul ul { padding-left: 0.9em; } /* with room, a page's two halves sit side by side: the document and its annexes, the entries and the log, the plaque to write on and the rack, as the about page had them before the station */ @media (min-width: 68rem) { .station .sub-main:has(.spread) { max-width: 86rem; } .spread { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(25rem, 1fr); gap: 3rem; align-items: start; } .spread-wide-right { grid-template-columns: minmax(26rem, 0.9fr) minmax(0, 1.35fr); } .station .spread > .dossier { max-width: 46rem; } .station .spread .annex .board:first-child, .station .spread > .feed > .board, .station .spread > .ema-rack > .board { margin-top: 1.75rem; } .station .spread .annex .board:first-child { margin-top: 2.6rem; } .station .spread .annex .board { padding: 0.4rem 1.3rem 0.9rem; } /* the plaque to write on stays in reach while the rack goes by */ .spread > .ema-desk { position: sticky; top: 1.5rem; } }