Spaces:
Running
Running
Download style.css from CyberMax-tools/plotwren: direct link, hf CLI and curl.
- Browser
- Download file 8.73 kB
-
https://huggingface.co/spaces/CyberMax-tools/plotwren/resolve/main/style.css
- Command line
-
hf download hf://spaces/CyberMax-tools/plotwren/style.css
-
curl -L -o style.css https://huggingface.co/spaces/CyberMax-tools/plotwren/resolve/main/style.css
8.73 kB
| /* Plotwren. © 2026 CyberMax. All rights reserved. */ | |
| :root { --ink: #2b2d42; --paper: #fff8e7; --grass: #8fd16a; --accent: #e4572e; --gold: #ffd60a; --muted: #5c5f73; --line: #e6dcc6; --card: #fffdf6; } | |
| * { box-sizing: border-box; } | |
| html { -webkit-text-size-adjust: 100%; } | |
| body { margin: 0; font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--paper); } | |
| a { color: #1d5f8a; } | |
| h1, h2, h3 { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: -0.02em; line-height: 1.15; } | |
| h1 { font-size: clamp(28px, 5vw, 44px); margin: 0 0 10px; } | |
| h2 { font-size: 24px; margin: 32px 0 10px; } | |
| .bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; } | |
| .bar .brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 700 18px ui-monospace, monospace; } | |
| .bar .brand img { image-rendering: pixelated; } | |
| .bar .tag { color: #c9f2b0; font-size: 13px; flex: 1; } | |
| .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 3px solid var(--ink); background: var(--accent); color: #fff; font: 700 15px ui-monospace, monospace; text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); border-radius: 0; } | |
| .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } | |
| .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); } | |
| .btn.ghost { background: #fff; color: var(--ink); } | |
| .btn.small { min-height: 36px; padding: 6px 12px; font-size: 13px; box-shadow: 2px 2px 0 #000; border-color: #000; } | |
| .btn.disabled { background: #bbb; cursor: not-allowed; } | |
| .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } | |
| .lead { font-size: 18px; color: #3a3d55; max-width: 62ch; } | |
| .fine { font-size: 13px; color: var(--muted); } | |
| .hero { padding: 22px 16px 8px; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; } | |
| .hero .demo { width: 400px; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--grass); } | |
| .mapwrap { position: relative; height: min(68vh, 640px); min-height: 380px; margin: 8px auto 0; max-width: 1400px; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); background: var(--grass); } | |
| #town { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; image-rendering: pixelated; outline: none; } | |
| #town:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); } | |
| .zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; } | |
| .zoom button { width: 44px; height: 44px; font: 700 22px ui-monospace, monospace; background: #fff; border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: pointer; color: var(--ink); } | |
| .legend { position: absolute; left: 12px; top: 12px; display: flex; gap: 10px; flex-wrap: wrap; background: rgba(255, 248, 231, .92); border: 2px solid var(--ink); padding: 4px 8px; font-size: 12px; } | |
| .lg { display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; border: 1px solid var(--ink); } | |
| .lg.free { background: #c99a5b; } .lg.built { background: #2e86ab; } .lg.feat { background: #fff; outline: 2px solid var(--gold); } | |
| .panel { position: absolute; right: 12px; bottom: 12px; width: min(380px, calc(100% - 24px)); background: var(--card); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px 16px; } | |
| .panel h3 { margin: 0 0 6px; font-size: 18px; padding-right: 28px; } | |
| .panel .x { position: absolute; right: 6px; top: 4px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--ink); } | |
| .panel .ph { display: flex; gap: 12px; align-items: center; } | |
| .panel .ph img, .mono { width: 56px; height: 56px; border: 2px solid var(--ink); object-fit: contain; background: #fff; flex: none; } | |
| .mono { display: inline-flex; align-items: center; justify-content: center; color: #fff; font: 700 26px ui-monospace, monospace; } | |
| .panel p { margin: 6px 0; } | |
| .meta { font-size: 13px; color: var(--muted); } | |
| .price { color: var(--accent); font: 700 1.1em ui-monospace, monospace; } | |
| .feat { color: #9a7b00; font-style: normal; } | |
| .wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; } | |
| .cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; } | |
| .cards button { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: var(--card); border: 2px solid var(--ink); padding: 8px 10px; cursor: pointer; font: inherit; color: inherit; min-height: 56px; } | |
| .cards button:hover { background: #fff; } | |
| .cards img, .cards .mono { width: 32px; height: 32px; font-size: 16px; } | |
| .cards span { display: flex; flex-direction: column; min-width: 0; flex: 1; } | |
| .cards small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .cards em { font-size: 11px; font-style: normal; background: var(--ink); color: #fff; padding: 1px 6px; } | |
| .cards em.feat { background: var(--gold); color: var(--ink); } | |
| .cards .empty { color: var(--muted); font-size: 14px; } | |
| .tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } | |
| .tier { background: var(--card); border: 3px solid var(--ink); padding: 14px; box-shadow: 4px 4px 0 var(--ink); display: flex; flex-direction: column; } | |
| .tier.hot { background: #fff4c2; } | |
| .tier h3 { margin: 0; } | |
| .tier .price { font-size: 30px; margin: 6px 0; } | |
| .tier .price small { font-size: 13px; color: var(--muted); } | |
| .tier .left { font-size: 13px; color: var(--muted); margin-top: auto; } | |
| .steps li { margin: 6px 0; } | |
| .faq details { border-bottom: 2px solid var(--line); padding: 10px 0; } | |
| .faq summary { cursor: pointer; font-weight: 700; } | |
| .cta { text-align: center; padding-bottom: 30px; } | |
| .cta .row { justify-content: center; } | |
| .foot { text-align: center; font-size: 13px; color: var(--muted); padding: 24px 16px 90px; } | |
| .buybar { display: none; } | |
| @media (max-width: 700px) { | |
| .bar .tag { display: none; } | |
| .bar .brand { flex: 1; } | |
| .mapwrap { height: 62vh; } | |
| .hero { padding: 14px 16px 4px; grid-template-columns: 1fr; gap: 8px; } | |
| .hero .demo { width: 100%; max-height: 190px; } | |
| .hero h1 { font-size: 26px; } | |
| .hero .lead { font-size: 15px; margin: 6px 0; } | |
| .hero .row .ghost { display: none; } | |
| .hero .fine { margin: 6px 0; } | |
| .panel { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 60%; overflow: auto; } | |
| .legend { font-size: 11px; } | |
| .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; } | |
| } | |
| /* sub pages (share, edit, terms) */ | |
| body.sub .wrap { padding-top: 20px; padding-bottom: 30px; } | |
| .card { background: var(--card); border: 3px solid var(--ink); padding: 16px; margin: 16px 0; box-shadow: 4px 4px 0 var(--ink); } | |
| .plotcard { display: flex; gap: 18px; align-items: flex-start; border-top: 14px solid var(--c, var(--accent)); } | |
| .plotcard .sign img, .plotcard .sign .mono { width: 96px; height: 96px; font-size: 44px; border: 3px solid var(--ink); background: #fff; object-fit: contain; } | |
| .plotcard .sign .mono { background: var(--c); } | |
| .form label { display: block; margin: 10px 0; font-weight: 600; } | |
| .form input[type=text], .form input:not([type]), .form input[type=url], .form input[type=file], textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 2px solid var(--ink); font: inherit; background: #fff; } | |
| .form fieldset { border: 2px solid var(--line); margin: 10px 0; display: flex; gap: 8px; flex-wrap: wrap; } | |
| .form .row { display: flex; gap: 8px; align-items: center; font-weight: 400; } | |
| .sw { position: relative; display: inline-block; margin: 0 ; } | |
| .sw input { position: absolute; opacity: 0; } | |
| .sw span { display: block; width: 34px; height: 34px; background: var(--c); border: 3px solid var(--ink); } | |
| .sw input:checked + span { outline: 3px solid var(--gold); outline-offset: 2px; } | |
| .sw input:focus-visible + span { outline: 3px solid #1d5f8a; } | |
| .note { padding: 10px 14px; border: 3px solid var(--ink); margin: 12px 0; } | |
| .note.ok { background: #d8f5c4; } .note.warn { background: #fff1b8; } .note.bad { background: #ffd6cc; } | |
| .ok { color: #1e7a12; } | |
| .center { text-align: center; } | |
| .terms h2 { font-size: 20px; } | |
| @media (max-width: 700px) { .plotcard { flex-direction: column; } } | |