mrly.css
5.0 kB · css · 86 lines
1@import "../kit/ui/palette.css";2@import "../kit/ui/tokens.css";3@import "../kit/ui/base.css";4@import "../kit/ui/chrome.css";56/* TEXT */78.sub { color: var(--dim); margin-top: var(--s2); max-width: 72ch; }9.foot { margin-top: 30px; padding-top: 14px; border-top: var(--hair); color: var(--dim); font-size: 13px; max-width: 80ch; }10.reads { color: var(--dim); font-size: 13px; margin-top: 10px; max-width: 80ch; }11.note { color: var(--orange); font: 13px var(--mono); min-height: 20px; margin-top: 8px; }12.banner { min-height: 24px; font-weight: 600; margin-top: 12px; }13.yellow { color: var(--yellow); }14.shift { color: var(--dim); font: 12px var(--mono); }15pre { font: 12px/1.6 var(--mono); color: var(--dim); white-space: pre-wrap; margin-top: 10px; }1617/* SURFACES */1819.arena { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }20.panel { background: var(--panel); border: var(--hair); border-radius: var(--r3); padding: 14px; min-width: 0; }21.panel h2 { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }22.panel h2 span { color: var(--dim); font-weight: 400; }23.panel h2 ~ h2 { margin-top: 16px; }24.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }25.sheet { width: 100%; display: block; border-radius: var(--r2); background: var(--art); image-rendering: pixelated; }26.stage { width: 100%; aspect-ratio: 4 / 3; display: block; border-radius: var(--r3); background: radial-gradient(ellipse at 50% 40%, var(--panel), var(--art) 70%); }27.bars { width: 100%; height: 220px; display: block; border-radius: var(--r2); background: var(--art); }28.meter { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 10px; }29.meter div { height: 100%; width: 0; border-radius: 4px; }3031/* TABLES */3233.scroll table { width: max-content; min-width: 100%; }34.scroll tbody tr { cursor: pointer; }35.scroll tbody tr:hover td { background: var(--deep); }36.scroll tbody tr.on td { background: var(--deep); color: var(--accent); }3738/* HOME */3940h2.group { font: 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); border-bottom: var(--hair); padding-bottom: 10px; margin: 34px 0 4px; }41.lede + section h2.group { margin-top: 4px; }42.shelf { margin: 22px 0 12px; }43.shelf h2 { font-size: 16px; font-weight: 650; }44.shelf p { color: var(--dim); font-size: 13px; margin-top: 3px; max-width: 76ch; }4546/* TOUR */4748.tour { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 18px; margin-top: 18px; }49.tour.wide { grid-template-columns: 1fr; }50.tour .pic { display: flex; align-items: center; justify-content: center; align-self: start; }51.tour .pic:empty { display: none; }52.tour .pic canvas, .tour .pic svg { max-width: 100%; max-height: 280px; width: auto; height: 280px; image-rendering: pixelated; border-radius: var(--r2); background: var(--art); }53.tour .story { color: var(--dim); font-size: 14px; margin-top: 4px; max-width: 76ch; }54.entry { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 8px 0; border-top: var(--hair); font-size: 13px; line-height: 1.7; }55.entry .text { flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; }56.strip { display: flex; gap: 6px; align-items: flex-end; }57.strip canvas { height: 48px; width: auto; image-rendering: pixelated; border-radius: 4px; background: var(--art); }58.tour .pic .strip { flex-wrap: wrap; justify-content: center; }59.tour .pic .strip canvas { height: 80px; width: 80px; }60@media (max-width: 640px) { .tour { grid-template-columns: 1fr; } }6162/* RIBBON */6364.ribbon { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }65.ribbon span { display: inline-flex; gap: 6px; align-items: baseline; background: var(--deep); border: var(--hair); border-radius: 6px; padding: 2px 7px; font: 12px/1.6 var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }66.ribbon i { font-style: normal; font-size: 10px; color: var(--dim); }67.ribbon b { font-weight: 500; }68.ribbon .cap, .ribbon .tag { color: var(--dim); background: none; border-color: transparent; padding-left: 0; }69.ribbon [role=button] { cursor: pointer; }70.ribbon [role=button]:hover { border-color: var(--accent); }71.ribbon.tight { gap: 4px; margin-top: 6px; }72.ribbon.tight span { padding: 0 5px; font-size: 11.5px; }7374/* TOWER */7576.tower { display: flex; gap: 10px; align-items: flex-start; overflow-x: auto; margin-top: 14px; padding-bottom: 8px; }77.tower .block { flex: 0 0 190px; }78.tower .block canvas, .tower .block svg { width: 190px; height: auto; display: block; border-radius: 6px; background: var(--art); image-rendering: pixelated; }79.tower .block .stats { flex-direction: column; gap: 2px; margin-top: 8px; font-size: 12px; }8081/* PENS */8283.pens { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }84.pens .card p { margin-top: 6px; font: 12px var(--mono); color: var(--dim); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }85.pens .card p b { color: var(--fg); font-weight: 500; }86.pens .chip { white-space: nowrap; }