garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/mockups/macro-view/style.css

raw

@font-face { font-family: Jakarta; src: url(../../../assets/fonts/PlusJakartaSans-SemiBold.ttf); }
@font-face { font-family: JakartaR; src: url(../../../assets/fonts/PlusJakartaSans-Regular.ttf); }
/* systems::theme */
:root {
  --ink:#0F1416; --surface:#141A1C; --raised:#1F2829; --hover:#2A3536; --line:#63797C;
  --accent:#5CC6C0; --brand:#FD6012; --amber:#FD9212; --cream:#F3F7F9; --text:#DBE2E5; --dim:#A5B2B7;
  --glass:rgba(20,26,28,.86); --gline:rgba(255,255,255,.14); --red:#E5483A;
}
* { box-sizing:border-box; margin:0; padding:0; }
body { background:#0d1214; color:var(--text); font:15px/1.45 Jakarta, system-ui, sans-serif; padding:48px 56px 64px; width:1840px; }
h1 { font-size:34px; color:var(--cream); letter-spacing:-.4px; }
h1 b { color:var(--brand); font-weight:inherit; }
h2 { font-size:22px; color:var(--cream); margin:48px 0 6px; }
h2 span { color:var(--brand); margin-right:8px; }
.lede { color:var(--dim); font-size:17px; max-width:1180px; margin:10px 0 26px; font-family:JakartaR, sans-serif; }
.sub { color:var(--dim); font-size:15px; max-width:1300px; margin-bottom:16px; font-family:JakartaR, sans-serif; }
.principles { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:12px; }
.principles div { background:var(--surface); border:1px solid var(--gline); border-radius:14px; padding:16px 18px; }
.principles h3 { color:var(--cream); font-size:15px; margin-bottom:6px; }
.principles p { color:var(--dim); font-size:13.5px; font-family:JakartaR, sans-serif; }
.new { display:inline-block; font-size:10.5px; padding:0 6px; border-radius:6px; background:rgba(253,96,18,.2); color:#ffb48a; margin-left:6px; vertical-align:2px; }
.today { display:inline-block; font-size:10.5px; padding:0 6px; border-radius:6px; background:#23392f; color:#9fd3b4; margin-left:6px; vertical-align:2px; }
.made { display:inline-block; font-size:10.5px; padding:0 6px; border-radius:6px; background:#3a2f1a; color:#f3c66b; margin-left:6px; vertical-align:2px; }

/* a desktop screen */
.screen { width:1600px; height:1000px; position:relative; overflow:hidden; border-radius:14px; box-shadow:0 0 0 1px #2b3438, 0 30px 60px rgba(0,0,0,.5); background-size:cover; }
.screen.half { width:860px; height:538px; }
.glass { background:var(--glass); border:1px solid var(--gline); border-radius:14px; backdrop-filter:blur(12px); }
.abs { position:absolute; }
svg.i { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }

/* top bar */
.topbar { left:16px; right:16px; top:14px; height:52px; display:flex; align-items:center; gap:22px; padding:0 18px; }
.topbar .logo { color:var(--cream); font-size:17px; display:flex; align-items:center; gap:8px; }
.topbar .logo i { width:22px; height:22px; border-radius:50%; background:var(--brand); display:block; }
.stat { display:flex; align-items:center; gap:7px; color:var(--text); font-size:14px; }
.stat b { color:var(--cream); font-weight:inherit; }
.stat small { color:var(--dim); font-size:12px; }
.dot { width:9px; height:9px; border-radius:50%; }
.topbar .right { margin-left:auto; display:flex; gap:18px; align-items:center; }

/* lens rail */
.lenses { right:16px; top:84px; width:64px; padding:8px 0; display:flex; flex-direction:column; align-items:center; gap:6px; }
.lens { width:48px; height:48px; border-radius:12px; display:grid; place-items:center; color:var(--dim); position:relative; }
.lens.on { background:var(--accent); color:var(--ink); }
.lens.war.on { background:var(--red); color:#fff; }
.lens span { position:absolute; right:58px; white-space:nowrap; font-size:12px; color:var(--cream); background:var(--ink); padding:2px 8px; border-radius:7px; opacity:0; }
.lenses.labels .lens span { opacity:1; }

/* panels */
.panel { padding:16px 18px; }
.panel h3 { color:var(--cream); font-size:18px; display:flex; align-items:center; gap:8px; }
.panel .k { color:var(--dim); font-size:12px; text-transform:uppercase; letter-spacing:.06em; margin:12px 0 6px; }
.row2 { display:flex; justify-content:space-between; font-size:14px; padding:4px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.row2 b { color:var(--cream); font-weight:inherit; }
.bar { height:6px; border-radius:3px; background:var(--raised); overflow:hidden; margin-top:4px; }
.bar i { display:block; height:100%; background:var(--accent); }
.chip { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:10px; background:var(--raised); font-size:13px; color:var(--text); margin:3px 4px 0 0; }
.btn { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:11px; background:var(--raised); color:var(--cream); font-size:14px; border:1px solid var(--gline); }
.btn.primary { background:var(--accent); color:var(--ink); border:none; }
.btn.danger { background:var(--red); color:#fff; border:none; }

/* minimap + zoom */
.mini { right:16px; bottom:16px; width:220px; height:150px; overflow:hidden; padding:0; }
.mini img { width:100%; height:100%; object-fit:cover; opacity:.9; }
.mini .vp { position:absolute; border:2px solid var(--cream); border-radius:3px; }
.zoom { left:16px; bottom:16px; padding:10px 14px; display:flex; gap:14px; align-items:center; font-size:13px; color:var(--dim); }
.zoom .tiers { display:flex; gap:4px; }
.zoom .tiers div { padding:3px 9px; border-radius:8px; }
.zoom .tiers .on { background:var(--accent); color:var(--ink); }

/* timeline (war) */
.timeline { left:16px; right:16px; bottom:16px; height:118px; padding:14px 20px; }
.tl-head { display:flex; align-items:center; gap:14px; margin-bottom:10px; }
.play { width:38px; height:38px; border-radius:50%; background:var(--cream); color:var(--ink); display:grid; place-items:center; }
.tl-head .clock { font-size:22px; color:var(--cream); font-variant-numeric:tabular-nums; }
.tl-head .phase { color:#ffb48a; font-size:14px; }
.tl-head .speed { margin-left:auto; display:flex; gap:4px; }
.tl-head .speed div { padding:3px 9px; border-radius:8px; color:var(--dim); font-size:13px; }
.tl-head .speed .on { background:var(--raised); color:var(--cream); }
.track { position:relative; height:34px; }
.track .seg { position:absolute; top:6px; height:14px; border-radius:4px; }
.track .seg b { position:absolute; top:17px; left:0; font-size:11.5px; color:var(--dim); white-space:nowrap; font-weight:inherit; }
.track .head { position:absolute; top:0; width:2px; height:26px; background:var(--cream); }
.track .head:before { content:""; position:absolute; left:-6px; top:-4px; width:14px; height:14px; border-radius:50%; background:var(--cream); }

.log { font-size:13px; }
.log div { display:grid; grid-template-columns:58px 1fr; gap:8px; padding:6px 0; border-bottom:1px solid rgba(255,255,255,.06); font-family:JakartaR, sans-serif; }
.log div t { color:var(--dim); font-family:Jakarta; font-variant-numeric:tabular-nums; }
.log div.now { color:var(--cream); }
.log div.next { opacity:.4; }
.banner { left:50%; transform:translateX(-50%); top:80px; padding:8px 16px; font-size:13.5px; display:flex; gap:10px; align-items:center; color:var(--cream); border-color:rgba(229,72,58,.6); }
.swatch { width:14px; height:14px; border-radius:4px; display:inline-block; vertical-align:-2px; margin-right:8px; }

.notes { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:22px; }
.notes > div { background:var(--surface); border:1px solid var(--gline); border-radius:14px; padding:16px 20px; font-family:JakartaR, sans-serif; color:var(--dim); font-size:14px; }
.notes h3 { font-family:Jakarta; color:var(--cream); font-size:15px; margin-bottom:8px; }
.notes li { margin:0 0 6px 18px; }
.grid3 { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.grid3 .cap { margin-top:10px; font-size:14px; color:var(--dim); font-family:JakartaR, sans-serif; }
.grid3 .cap b { color:var(--cream); font-family:Jakarta; font-weight:inherit; }
.lensimg { width:100%; aspect-ratio:1.6; background-size:cover; border-radius:12px; box-shadow:0 0 0 1px #2b3438; position:relative; }
.pair { display:grid; grid-template-columns:1fr 1fr; gap:24px; }

/* v2: the transition */
.strip { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px 24px; }
.frame { position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; box-shadow:0 0 0 1px #2b3438; background-size:cover; }
.frame img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.frame .alt { position:absolute; left:10px; top:10px; padding:3px 10px; border-radius:9px; background:var(--glass); color:var(--cream); font-size:13px; border:1px solid var(--gline); }
.fcap { margin-top:8px; font-size:13.5px; color:var(--dim); font-family:JakartaR, sans-serif; }
.fcap b { color:var(--cream); font-family:Jakarta; font-weight:inherit; }
.cb { position:absolute; transform:translate(-50%,-100%); display:flex; flex-direction:column; align-items:center; font-size:12px; }
.cb .p { display:flex; align-items:center; gap:5px; background:#13191b; color:var(--cream); border-radius:11px; padding:2px 8px 2px 2px; border:1px solid rgba(255,255,255,.22); box-shadow:0 2px 4px rgba(0,0,0,.5); white-space:nowrap; }
.cb .p i { font-style:normal; background:var(--accent); color:var(--ink); border-radius:8px; padding:0 6px; font-size:10.5px; }
.cb .s { width:2px; height:10px; background:#fff6dc; }
.cb .d { width:7px; height:7px; border-radius:50%; background:#fff6dc; border:1.5px solid #2b2118; }
.vs { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:22px; }
.vs .frame .tag { position:absolute; right:10px; top:10px; }