Files
Containr/site/style.css
T
Tomas DvorakandDevin 894192bf9b feat(site): drop live demo, add Railway-style canvas preview
Remove all links to the deleted containr-app deployment and replace
the static hero screenshot with a CSS/HTML product mockup: a project
canvas with five icon-branded service nodes, connected edges (one
animated deploying edge), env/zoom/minimap pills, status dots,
domains, and image tags. Mobile gets a two-column layout with its
own edge paths.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-23 17:56:43 +02:00

623 lines
21 KiB
CSS

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('fonts/inter-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('fonts/inter-latin-ext.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url('fonts/jbmono-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url('fonts/jbmono-latin-ext.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
--bg-void: #0c0d0f;
--bg-base: #0e0f12;
--surface-card: #131518;
--surface-card-hover: #1a1d22;
--surface-muted: #1a1d22;
--border-subtle: rgba(255, 255, 255, 0.06);
--border-default: rgba(255, 255, 255, 0.1);
--border-strong: rgba(255, 255, 255, 0.18);
--text-primary: #ecedf0;
--text-secondary: #8b919e;
--text-tertiary: #575d68;
--accent: #b4e34a;
--accent-dim: rgba(180, 227, 74, 0.12);
--accent-on: #131507;
--mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
--sans: 'Inter', system-ui, -apple-system, sans-serif;
--radius: 14px;
--radius-sm: 9px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: var(--sans);
background: var(--bg-void);
color: var(--text-secondary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
}
body::before {
content: '';
position: fixed;
inset: 0;
background: radial-gradient(1000px 480px at 50% -8%, rgba(180, 227, 74, 0.05), transparent 60%);
pointer-events: none;
}
::selection { background: rgba(180, 227, 74, 0.25); color: var(--text-primary); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
/* ---------- nav ---------- */
nav {
position: sticky;
top: 0;
z-index: 50;
border-bottom: 1px solid var(--border-subtle);
background: rgba(14, 15, 18, 0.82);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}
.nav-inner {
display: flex;
align-items: center;
height: 60px;
gap: 28px;
}
.brand {
display: flex;
align-items: center;
gap: 9px;
font-weight: 800;
font-size: 15px;
letter-spacing: -0.02em;
color: var(--text-primary);
}
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.brand em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
font-size: 13px;
padding: 6px 12px;
border-radius: var(--radius-sm);
color: var(--text-secondary);
transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--surface-muted); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.gh-link {
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-subtle);
color: var(--text-secondary);
transition: color 0.15s, border-color 0.15s;
}
.gh-link:hover { color: var(--text-primary); border-color: var(--border-strong); }
.btn {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 13px;
font-weight: 600;
padding: 8px 16px;
border-radius: var(--radius-sm);
border: 1px solid transparent;
cursor: pointer;
transition: transform 0.15s, border-color 0.15s, background 0.15s;
white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-default); color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }
/* ---------- hero ---------- */
.hero { padding: 84px 0 0; }
.pill {
display: inline-flex;
align-items: center;
gap: 8px;
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-tertiary);
border: 1px solid var(--border-subtle);
background: var(--surface-card);
padding: 6px 14px;
border-radius: 999px;
}
.pill svg { color: var(--accent); }
.hero h1 {
margin-top: 22px;
font-size: clamp(34px, 5.4vw, 58px);
font-weight: 800;
letter-spacing: -0.035em;
line-height: 1.06;
color: var(--text-primary);
max-width: 22ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub {
margin-top: 18px;
font-size: 15.5px;
line-height: 1.65;
max-width: 46ch;
}
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-cta .btn { font-size: 14px; padding: 11px 22px; }
.shot-frame {
margin-top: 56px;
border: 1px solid var(--border-default);
border-radius: var(--radius);
background: var(--surface-card);
overflow: hidden;
box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.shot-bar {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 14px;
border-bottom: 1px solid var(--border-subtle);
font-family: var(--mono);
font-size: 11px;
color: var(--text-tertiary);
}
.shot-bar .addr {
flex: 1;
text-align: center;
background: var(--bg-void);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 3px 0;
max-width: 320px;
margin: 0 auto;
}
.shot-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
/* ---------- install ---------- */
.install { padding: 72px 0 0; }
.install-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
border: 1px solid var(--border-default);
border-radius: var(--radius);
background: var(--bg-base);
padding: 26px 30px;
flex-wrap: wrap;
}
.install-copy h2 { font-size: 17px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.install-copy p { font-size: 13px; margin-top: 4px; }
.cmd {
display: flex;
align-items: center;
gap: 0;
font-family: var(--mono);
font-size: 12.5px;
background: var(--bg-void);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-sm);
overflow: hidden;
max-width: 100%;
}
.cmd code {
padding: 11px 14px;
color: var(--text-primary);
white-space: nowrap;
overflow-x: auto;
scrollbar-width: none;
}
.cmd code::-webkit-scrollbar { display: none; }
.cmd code::before { content: '$ '; color: var(--accent); }
.copy-btn {
border: none;
border-left: 1px solid var(--border-subtle);
background: transparent;
color: var(--text-tertiary);
padding: 11px 13px;
cursor: pointer;
display: flex;
align-items: center;
transition: color 0.15s, background 0.15s;
flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); background: var(--surface-muted); }
/* ---------- sections ---------- */
section { padding: 96px 0 0; }
.sec-head { margin-bottom: 40px; }
.sec-head h2 {
font-size: clamp(24px, 3vw, 32px);
font-weight: 800;
letter-spacing: -0.025em;
color: var(--text-primary);
max-width: 22ch;
}
.sec-head p { margin-top: 10px; font-size: 14.5px; max-width: 56ch; }
/* ---------- bento ---------- */
.bento {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 14px;
}
.cell {
grid-column: span 2;
border: 1px solid var(--border-subtle);
border-radius: var(--radius);
background: var(--surface-card);
padding: 22px;
transition: border-color 0.15s, transform 0.15s;
position: relative;
overflow: hidden;
}
.cell:hover { border-color: var(--border-default); transform: translateY(-2px); }
.cell.wide { grid-column: span 4; display: flex; gap: 26px; align-items: stretch; }
.cell h3 { font-size: 14.5px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.cell p { font-size: 12.5px; line-height: 1.6; margin-top: 8px; color: var(--text-tertiary); }
.cell .icon {
width: 32px;
height: 32px;
border-radius: 8px;
background: var(--accent-dim);
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 14px;
}
.cell.wide .icon { margin-bottom: 12px; }
.cell-media {
flex: 0 0 46%;
border-radius: 10px;
overflow: hidden;
border: 1px solid var(--border-subtle);
align-self: center;
}
.cell-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.cell.tinted { background: linear-gradient(160deg, rgba(180, 227, 74, 0.09), rgba(180, 227, 74, 0.02) 55%), var(--surface-card); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span {
font-family: var(--mono);
font-size: 10.5px;
color: var(--text-secondary);
background: var(--bg-void);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 3px 8px;
}
.snippet {
margin-top: 14px;
font-family: var(--mono);
font-size: 11.5px;
background: var(--bg-void);
border: 1px solid var(--border-subtle);
border-radius: 8px;
padding: 10px 12px;
color: var(--text-secondary);
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none;
}
.snippet b { color: var(--accent); font-weight: 500; }
/* ---------- screenshots ---------- */
.shot-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.shot-tab {
font-family: var(--mono);
font-size: 11.5px;
color: var(--text-tertiary);
background: transparent;
border: 1px solid var(--border-subtle);
border-radius: 999px;
padding: 7px 15px;
cursor: pointer;
transition: all 0.15s;
}
.shot-tab:hover { color: var(--text-secondary); border-color: var(--border-default); }
.shot-tab.on { color: var(--accent); border-color: rgba(180, 227, 74, 0.4); background: var(--accent-dim); }
.gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-default); }
.gallery .cap { font-size: 12.5px; color: var(--text-tertiary); margin-top: 12px; }
/* ---------- templates marquee ---------- */
.marquee {
overflow: hidden;
border: 1px solid var(--border-subtle);
border-radius: var(--radius);
background: var(--bg-base);
padding: 18px 0;
mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
display: flex;
gap: 10px;
width: max-content;
animation: scroll 46s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.tpl {
display: flex;
align-items: center;
gap: 8px;
font-size: 12.5px;
font-weight: 600;
color: var(--text-secondary);
border: 1px solid var(--border-subtle);
background: var(--surface-card);
border-radius: 999px;
padding: 8px 16px;
white-space: nowrap;
}
.tpl img { width: 15px; height: 15px; }
/* ---------- access ---------- */
.access {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0;
border-top: 1px solid var(--border-subtle);
}
.access > div { padding: 28px 28px 4px 0; }
.access > div + div { padding-left: 28px; border-left: 1px solid var(--border-subtle); }
.access h3 {
font-family: var(--mono);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent);
}
.access ul { list-style: none; margin-top: 14px; }
.access li { font-size: 13px; padding: 5px 0; color: var(--text-secondary); }
.access li::before { content: '- '; color: var(--text-tertiary); }
/* ---------- cta ---------- */
.cta { text-align: center; padding: 110px 0; }
.cta h2 {
font-size: clamp(30px, 4.5vw, 46px);
font-weight: 800;
letter-spacing: -0.03em;
color: var(--text-primary);
}
.cta p { margin: 14px auto 0; font-size: 14.5px; max-width: 46ch; }
.cta .hero-cta { justify-content: center; }
/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border-subtle); }
.foot {
display: flex;
align-items: center;
justify-content: space-between;
padding: 26px 0;
font-size: 12.5px;
color: var(--text-tertiary);
flex-wrap: wrap;
gap: 14px;
}
.foot .l { display: flex; align-items: center; gap: 8px; }
.foot img { width: 18px; height: 18px; border-radius: 5px; }
.foot nav { display: flex; gap: 20px; position: static; border: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.foot nav a:hover { color: var(--text-primary); }
/* ---------- reveal (JS-gated: content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.marquee-track { animation: none; }
.reveal { opacity: 1; transform: none; transition: none; }
.btn-primary:hover, .cell:hover { transform: none; }
}
/* ---------- responsive ---------- */
@media (max-width: 860px) {
.nav-links { display: none; }
.bento { grid-template-columns: repeat(2, 1fr); }
.cell, .cell.wide { grid-column: span 2; }
.cell.wide { flex-direction: column; }
.cell-media { flex: none; }
.access { grid-template-columns: 1fr; }
.access > div { padding: 22px 0; }
.access > div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--border-subtle); }
section { padding: 72px 0 0; }
.hero { padding-top: 56px; }
}
@media (max-width: 520px) {
.bento { grid-template-columns: 1fr; }
.cell, .cell.wide { grid-column: span 1; }
.install-inner { padding: 20px; }
}
/* ---------- hero canvas mockup ---------- */
.cv { background: #0a0b0d; }
.cv-top {
display: flex;
align-items: center;
gap: 14px;
padding: 9px 16px;
border-bottom: 1px solid var(--border-subtle);
background: #101216;
}
.cv-back { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-tertiary); }
.cv-top b { font-size: 13px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.cv-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-tertiary); }
.cv-tabs {
margin-left: auto;
display: inline-flex;
gap: 2px;
background: var(--bg-void);
border: 1px solid var(--border-subtle);
border-radius: 999px;
padding: 3px;
}
.cv-tabs i { font-style: normal; font-size: 10.5px; color: var(--text-tertiary); padding: 4px 11px; border-radius: 999px; }
.cv-tabs i.on { color: var(--text-primary); background: var(--surface-muted); }
.cv-active { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; color: #5ee6a0; }
.cv-stage {
position: relative;
height: 380px;
background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
background-size: 22px 22px;
overflow: hidden;
}
.cv-edges, .cv-edges-m { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-edges-m { display: none; }
.cv-edges path, .cv-edges-m path {
fill: none;
stroke: rgba(180, 227, 74, 0.42);
stroke-width: 2;
stroke-linecap: round;
filter: drop-shadow(0 0 4px rgba(180, 227, 74, 0.25));
}
.cv-edges .live, .cv-edges-m .live { stroke-dasharray: 7 9; animation: cv-dash 1.1s linear infinite; }
@keyframes cv-dash { to { stroke-dashoffset: -16; } }
.cv-node {
position: absolute;
width: 200px;
background: var(--surface-card);
border: 1px solid var(--border-subtle);
border-radius: 14px;
padding: 12px 12px 10px;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
transition: border-color 0.2s;
}
.cv-node:hover { border-color: var(--border-default); }
.cv-node.sel {
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent), 0 16px 44px rgba(0, 0, 0, 0.55);
}
.cv-n1 { left: 3.2%; top: 12%; }
.cv-n2 { left: 3.2%; top: 50%; }
.cv-n3 { left: 35.2%; top: 33%; }
.cv-n4 { left: 70%; top: 7%; }
.cv-n5 { left: 70%; top: 44%; }
.cv-row { display: flex; align-items: center; gap: 10px; }
.cv-ic {
width: 34px; height: 34px;
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
font-weight: 800; font-size: 14px;
}
.cv-ic img { width: 18px; height: 18px; }
.cv-node h4 { font-size: 12.5px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.cv-row p { font-size: 10px; color: var(--text-tertiary); margin-top: 2px; }
.cv-addr {
display: flex; align-items: center; gap: 6px;
margin-top: 10px;
padding: 5px 8px;
background: rgba(26, 29, 34, 0.55);
border: 1px solid var(--border-subtle);
border-radius: 7px;
color: var(--text-tertiary);
}
.cv-addr span {
font-family: var(--mono); font-size: 9.5px; color: var(--text-secondary);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.cv-st { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cv-st.run { background: #5ee6a0; }
.cv-st.dep { background: #f2c94c; animation: cv-pulse 1.4s ease-in-out infinite; }
@keyframes cv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.cv-foot em { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5ee6a0; }
.cv-foot code {
margin-left: auto; font-family: var(--mono); font-size: 9px; color: var(--text-tertiary);
max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-pill {
position: absolute;
display: inline-flex; align-items: center; gap: 7px;
background: rgba(19, 21, 24, 0.85);
backdrop-filter: blur(12px);
border: 1px solid var(--border-default);
border-radius: 999px;
padding: 6px 12px;
font-family: var(--mono); font-size: 10px; color: var(--text-secondary);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.cv-pill.env { left: 14px; top: 14px; }
.cv-pill.env i { width: 6px; height: 6px; border-radius: 50%; background: #5ee6a0; }
.cv-pill.env svg { color: var(--text-tertiary); }
.cv-pill.zoom { left: 14px; bottom: 14px; padding: 5px 11px; gap: 9px; }
.cv-pill.zoom b { font-weight: 500; font-size: 10px; }
.cv-pill.zoom i { width: 1px; height: 12px; background: var(--border-subtle); }
.cv-pill.zoom svg { color: var(--text-tertiary); }
.cv-chip {
position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
color: var(--accent); background: var(--accent-dim);
border: 1px solid rgba(180, 227, 74, 0.3);
border-radius: 999px; padding: 4px 10px;
}
.cv-minimap {
position: absolute; right: 14px; bottom: 14px;
width: 112px; height: 68px;
border: 1px solid var(--border-default); border-radius: 8px;
background: #0e1013; overflow: hidden;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.cv-minimap i { position: absolute; width: 15px; height: 10px; border-radius: 2px; background: rgba(180, 227, 74, 0.45); }
@media (max-width: 720px) {
.cv-stage { height: 360px; }
.cv-edges { display: none; }
.cv-edges-m { display: block; }
.cv-node { width: 150px; padding: 9px 9px 8px; border-radius: 11px; }
.cv-node h4 { font-size: 11px; }
.cv-ic { width: 27px; height: 27px; border-radius: 7px; }
.cv-ic img { width: 14px; height: 14px; }
.cv-addr span { font-size: 8.5px; }
.cv-foot code { display: none; }
.cv-n1 { left: 4%; top: 14%; }
.cv-n2 { left: 4%; top: 62%; }
.cv-n3 { left: 52%; top: 36%; }
.cv-n4 { left: 52%; top: 2%; }
.cv-n5 { left: 52%; top: 68%; }
.cv-back, .cv-meta, .cv-minimap, .cv-pill.zoom { display: none; }
.cv-tabs i:not(.on) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.cv-edges .live, .cv-st.dep { animation: none; }
}