website: the relaunched landing page
This has been serving on opengym.duarte-santos.ch for a while without ever being committed, so the repository and the live site had drifted apart — a deploy from a clean checkout would have rolled the site back to the old page. This commits what is actually running. The page is rebuilt around a bento layout with real device frames, a mobile nav that opens a proper menu instead of hiding the links, and a scroll reveal that checks prefers-reduced-motion before animating anything. New "Elsewhere" section collecting where the project actually lives: GitLab for code, issues and releases, Discord, and Buy Me a Coffee. The download line still reads v1.2.9 and the APK next to it is still the 1.2.9 build; both are corrected in the release commit, where the new APK exists.
This commit is contained in:
1 parent
9bec4bb785
commit
af4de8b8ff
6 files changed
+1201
-504
No files matched your search
+667
-223
@@ -1,264 +1,708 @@
|
||||
/* openGym project site — matches the app: dark, lime accent, cards, system font. */
|
||||
/* openGym project site.
|
||||
Dark on purpose: the app is pure black with a green accent, and a light site in
|
||||
front of it would be a different product. Everything here is hand-written — no
|
||||
framework, no build step, one stylesheet for all three pages. */
|
||||
|
||||
:root {
|
||||
--bg: #0c0e12; --card: #16181d; --card2: #1c1f26; --line: #23262d;
|
||||
--fg: #f2f2f7; --dim: #8e8e93; --faint: #6e6e73;
|
||||
--acc: #30d158; --acc-dim: rgba(48, 209, 88, .12);
|
||||
--bg: #000;
|
||||
--surface: #0e0f11;
|
||||
--surface-2: #17181b;
|
||||
--hair: rgba(255, 255, 255, .11);
|
||||
--hair-soft: rgba(255, 255, 255, .06);
|
||||
|
||||
--fg: #f5f5f7;
|
||||
--fg-2: #a1a1a6;
|
||||
--fg-3: #6e6e73;
|
||||
|
||||
--acc: #32d74b;
|
||||
--acc-ink: #04150a;
|
||||
--acc-soft: rgba(50, 215, 75, .13);
|
||||
--blurple: #5865f2;
|
||||
--amber: #ff9f0a;
|
||||
|
||||
--r-s: 12px;
|
||||
--r-m: 20px;
|
||||
--r-l: 28px;
|
||||
|
||||
--max: 1120px;
|
||||
--pad: clamp(20px, 5vw, 34px);
|
||||
--sec: clamp(76px, 11vw, 136px);
|
||||
--ease: cubic-bezier(.16, 1, .3, 1);
|
||||
|
||||
color-scheme: dark;
|
||||
}
|
||||
* { margin: 0; box-sizing: border-box; }
|
||||
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
|
||||
body {
|
||||
background: var(--bg); color: var(--fg);
|
||||
font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
* { margin: 0; }
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
scroll-padding-top: 72px;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
|
||||
Helvetica, Arial, sans-serif;
|
||||
font-size: 17px;
|
||||
line-height: 1.55;
|
||||
letter-spacing: -.01em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
overflow-x: hidden;
|
||||
/* Notched phones: the sticky bar and full-bleed rows must not sit under the cutout. */
|
||||
padding-left: env(safe-area-inset-left);
|
||||
padding-right: env(safe-area-inset-right);
|
||||
}
|
||||
|
||||
a { color: var(--acc); text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
img { max-width: 100%; }
|
||||
img, svg, iframe { display: block; max-width: 100%; }
|
||||
img { height: auto; }
|
||||
button { font: inherit; color: inherit; background: none; border: 0; }
|
||||
|
||||
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
|
||||
::selection { background: rgba(50, 215, 75, .3); }
|
||||
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
|
||||
|
||||
/* ---------- nav ---------- */
|
||||
nav {
|
||||
position: sticky; top: 0; z-index: 10;
|
||||
background: rgba(12, 14, 18, .82); backdrop-filter: blur(14px);
|
||||
border-bottom: 1px solid var(--line);
|
||||
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
|
||||
|
||||
/* ---------------------------------------------------------------- type scale */
|
||||
|
||||
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.07; }
|
||||
h1 { font-size: clamp(42px, 8.4vw, 82px); letter-spacing: -.04em; line-height: 1.02; }
|
||||
h2 { font-size: clamp(30px, 5.4vw, 50px); }
|
||||
h3 { font-size: clamp(19px, 2.3vw, 21px); letter-spacing: -.02em; line-height: 1.25; }
|
||||
|
||||
.eyebrow {
|
||||
color: var(--acc);
|
||||
font-size: 14px; font-weight: 600; letter-spacing: .01em;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.nav-in { display: flex; align-items: center; gap: 20px; height: 58px; }
|
||||
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--fg); }
|
||||
.brand:hover { text-decoration: none; }
|
||||
.brand svg { width: 26px; height: 26px; }
|
||||
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; flex-wrap: wrap; }
|
||||
.nav-links a { color: var(--dim); font-size: 14.5px; font-weight: 500; }
|
||||
.nav-links a:hover { color: var(--fg); text-decoration: none; }
|
||||
.nav-links a.cta { color: #0c0e12; background: var(--acc); padding: 7px 14px; border-radius: 10px; font-weight: 600; }
|
||||
.icn { fill: none; stroke: var(--acc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
|
||||
|
||||
/* ---------- hero ---------- */
|
||||
header.hero { text-align: center; padding: 74px 0 30px; }
|
||||
.hero .logo {
|
||||
width: 108px; height: 108px; margin: 0 auto 22px; border-radius: 26px;
|
||||
background: var(--card); display: flex; align-items: center; justify-content: center;
|
||||
box-shadow: 0 0 90px rgba(48, 209, 88, .14);
|
||||
.lead {
|
||||
color: var(--fg-2);
|
||||
font-size: clamp(17px, 2.1vw, 21px);
|
||||
line-height: 1.5;
|
||||
letter-spacing: -.015em;
|
||||
max-width: 44ch;
|
||||
margin-top: 18px;
|
||||
}
|
||||
.hero .logo svg { width: 66px; height: 66px; }
|
||||
.hero h1 { font-size: clamp(38px, 7vw, 56px); letter-spacing: -.03em; }
|
||||
.hero .tag { font-size: clamp(17px, 3vw, 21px); color: var(--dim); margin: 10px auto 6px; max-width: 640px; }
|
||||
.hero .sub { color: var(--faint); font-size: 15px; max-width: 560px; margin: 0 auto; }
|
||||
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
|
||||
|
||||
/* ------------------------------------------------------------------ buttons */
|
||||
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 13px;
|
||||
background: var(--acc); color: #0c0e12; font-weight: 600; font-size: 16px;
|
||||
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
|
||||
min-height: 46px; padding: 12px 24px; border-radius: 999px;
|
||||
background: var(--acc); color: var(--acc-ink);
|
||||
font-size: 16px; font-weight: 600; letter-spacing: -.01em;
|
||||
border: 1px solid transparent;
|
||||
transition: transform .25s var(--ease), background-color .25s var(--ease),
|
||||
border-color .25s var(--ease);
|
||||
}
|
||||
.btn:hover { text-decoration: none; filter: brightness(1.08); }
|
||||
.btn.ghost { background: var(--card2); color: var(--fg); }
|
||||
.btn .ct { background: rgba(0, 0, 0, .18); border-radius: 7px; padding: 1px 8px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
|
||||
.btn.ghost .ct { background: rgba(255, 255, 255, .08); }
|
||||
|
||||
/* ---------- sections ---------- */
|
||||
section { padding: 54px 0 10px; }
|
||||
.kicker { color: var(--acc); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
|
||||
h2 { font-size: clamp(26px, 4.5vw, 34px); letter-spacing: -.02em; margin: 6px 0 10px; }
|
||||
.lead { color: var(--dim); max-width: 680px; margin-bottom: 30px; }
|
||||
|
||||
/* ---------- feature grid ---------- */
|
||||
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
|
||||
.feat { background: var(--card); border-radius: 16px; padding: 18px; }
|
||||
.feat .ic {
|
||||
width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center;
|
||||
justify-content: center; font-size: 19px; margin-bottom: 12px; background: var(--acc-dim);
|
||||
.btn:hover { text-decoration: none; background: #4ade63; }
|
||||
.btn:active { transform: scale(.975); }
|
||||
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--hair); }
|
||||
.btn.ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
|
||||
.btn .ct {
|
||||
font-variant-numeric: tabular-nums; font-weight: 500;
|
||||
padding: 1px 8px; border-radius: 999px; font-size: 13.5px;
|
||||
background: rgba(0, 0, 0, .16);
|
||||
}
|
||||
.feat h3 { font-size: 16px; margin-bottom: 4px; }
|
||||
.feat p { font-size: 13.5px; color: var(--dim); }
|
||||
.btn.ghost .ct { background: rgba(255, 255, 255, .09); }
|
||||
|
||||
/* ---------- screenshots ---------- */
|
||||
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; }
|
||||
.shots figure { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
|
||||
.shots img {
|
||||
width: min(240px, 62vw); height: auto; border-radius: 22px;
|
||||
border: 1px solid var(--line); display: block; background: var(--card);
|
||||
/* Text link with a chevron — the quieter half of a button pair. */
|
||||
.link {
|
||||
display: inline-flex; align-items: center; gap: 5px;
|
||||
font-size: 16.5px; font-weight: 500; color: var(--acc);
|
||||
min-height: 46px;
|
||||
}
|
||||
.shots figcaption { color: var(--faint); font-size: 13px; margin-top: 8px; }
|
||||
|
||||
/* ---------- embedded live demo ---------- */
|
||||
.demo-wrap { display: flex; justify-content: center; padding: 10px 0 6px; }
|
||||
.phone {
|
||||
width: 384px; max-width: 92vw; height: min(720px, 78vh); border-radius: 42px;
|
||||
border: 10px solid #1c1f26; overflow: hidden; background: #000;
|
||||
box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
|
||||
.link:hover { text-decoration: none; }
|
||||
.link::after {
|
||||
content: ""; width: 6px; height: 6px; margin-top: -1px;
|
||||
border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
|
||||
transform: rotate(-45deg);
|
||||
transition: transform .25s var(--ease);
|
||||
}
|
||||
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
|
||||
.demo-note { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 14px; }
|
||||
.link:hover::after { transform: rotate(-45deg) translate(2px, 2px); }
|
||||
|
||||
/* ---------- flavors ---------- */
|
||||
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
|
||||
.actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
|
||||
|
||||
/* ----------------------------------------------------------------- nav bar */
|
||||
|
||||
nav {
|
||||
position: sticky; top: 0; z-index: 60;
|
||||
background: rgba(0, 0, 0, .68);
|
||||
backdrop-filter: saturate(180%) blur(20px);
|
||||
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
||||
border-bottom: 1px solid var(--hair-soft);
|
||||
}
|
||||
.nav-in { display: flex; align-items: center; height: 54px; gap: 16px; }
|
||||
.brand {
|
||||
display: flex; align-items: center; gap: 9px;
|
||||
align-self: stretch; /* the whole bar height is the tap target */
|
||||
font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--fg);
|
||||
margin-right: auto;
|
||||
}
|
||||
.brand:hover { text-decoration: none; }
|
||||
.brand img { width: 24px; height: 24px; border-radius: 6px; }
|
||||
|
||||
.nav-links { display: flex; align-items: center; gap: 26px; }
|
||||
.nav-links a {
|
||||
color: var(--fg-2); font-size: 14px; font-weight: 400; letter-spacing: 0;
|
||||
transition: color .2s var(--ease);
|
||||
}
|
||||
.nav-links a:hover { color: var(--fg); text-decoration: none; }
|
||||
.nav-links a [data-gh] { font-variant-numeric: tabular-nums; color: var(--fg-3); }
|
||||
.nav-links a:hover [data-gh] { color: var(--fg-2); }
|
||||
.nav-links a.cta {
|
||||
color: var(--acc-ink); background: var(--acc); font-weight: 600;
|
||||
padding: 7px 15px; border-radius: 999px;
|
||||
}
|
||||
.nav-links a.cta:hover { background: #4ade63; }
|
||||
|
||||
.nav-toggle {
|
||||
display: none;
|
||||
position: relative;
|
||||
width: 42px; height: 42px; margin-right: -9px;
|
||||
align-items: center; justify-content: center;
|
||||
border-radius: 10px; cursor: pointer;
|
||||
}
|
||||
.nav-toggle span {
|
||||
position: absolute; width: 18px; height: 1.5px; border-radius: 2px; background: var(--fg);
|
||||
transition: transform .3s var(--ease);
|
||||
}
|
||||
.nav-toggle span:first-child { transform: translateY(-3.5px); }
|
||||
.nav-toggle span:last-child { transform: translateY(3.5px); }
|
||||
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
|
||||
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
|
||||
|
||||
@media (max-width: 780px) {
|
||||
.nav-toggle { display: flex; }
|
||||
.nav-links {
|
||||
position: fixed; left: 0; right: 0; top: 54px;
|
||||
flex-direction: column; align-items: stretch; gap: 0;
|
||||
padding: 6px var(--pad) calc(22px + env(safe-area-inset-bottom));
|
||||
background: #000;
|
||||
border-bottom: 1px solid var(--hair-soft);
|
||||
box-shadow: 0 30px 60px rgba(0, 0, 0, .8);
|
||||
max-height: calc(100dvh - 54px); overflow-y: auto;
|
||||
transform: translateY(-8px); opacity: 0; pointer-events: none;
|
||||
transition: opacity .28s var(--ease), transform .28s var(--ease);
|
||||
}
|
||||
.nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
|
||||
.nav-links a {
|
||||
font-size: 19px; letter-spacing: -.02em; color: var(--fg);
|
||||
padding: 15px 2px; border-bottom: 1px solid var(--hair-soft);
|
||||
/* Each row drops in just behind the one above it, so the sheet unfolds instead
|
||||
of appearing. Closing runs with no delay at all, so it leaves in one piece —
|
||||
a staggered exit reads as sluggish. */
|
||||
opacity: 0; transform: translateY(-10px);
|
||||
transition: opacity .3s var(--ease), transform .3s var(--ease);
|
||||
}
|
||||
.nav-links.open a { opacity: 1; transform: none; }
|
||||
.nav-links.open a:nth-child(1) { transition-delay: .03s; }
|
||||
.nav-links.open a:nth-child(2) { transition-delay: .06s; }
|
||||
.nav-links.open a:nth-child(3) { transition-delay: .09s; }
|
||||
.nav-links.open a:nth-child(4) { transition-delay: .12s; }
|
||||
.nav-links.open a:nth-child(5) { transition-delay: .15s; }
|
||||
.nav-links.open a:nth-child(6) { transition-delay: .18s; }
|
||||
.nav-links.open a:nth-child(7) { transition-delay: .21s; }
|
||||
.nav-links.open a:nth-child(8) { transition-delay: .24s; }
|
||||
.nav-links a.cta {
|
||||
margin-top: 18px; border-bottom: 0; text-align: center;
|
||||
padding: 14px 20px; font-size: 17px;
|
||||
}
|
||||
|
||||
/* Whatever the sheet does not cover is dimmed, so the page behind it stops
|
||||
competing for attention and a tap out there reads as "close". */
|
||||
body::after {
|
||||
content: ""; position: fixed; inset: 0; z-index: 50;
|
||||
background: rgba(0, 0, 0, .55);
|
||||
backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
|
||||
opacity: 0; pointer-events: none;
|
||||
transition: opacity .3s var(--ease);
|
||||
}
|
||||
body.menu-open::after { opacity: 1; pointer-events: auto; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.nav-links, .nav-links a, body::after { transition-duration: .01ms !important; }
|
||||
.nav-links.open a { transition-delay: 0s !important; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------- notice
|
||||
The GitHub account suspension. Deliberately a contained card, not a full-bleed
|
||||
banner: it has to be impossible to miss and still not be the first thing the
|
||||
page shouts. Remove the whole block once the account is restored. */
|
||||
|
||||
.notice-wrap { padding: 22px 0 0; }
|
||||
.notice {
|
||||
position: relative;
|
||||
background: linear-gradient(180deg, rgba(255, 159, 10, .07), rgba(255, 159, 10, .02));
|
||||
border: 1px solid rgba(255, 159, 10, .26);
|
||||
border-radius: var(--r-m);
|
||||
padding: clamp(20px, 3.4vw, 28px);
|
||||
}
|
||||
.notice-tag {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
color: #ffb340; font-size: 13px; font-weight: 600;
|
||||
text-transform: uppercase; letter-spacing: .07em;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.notice-tag::before {
|
||||
content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
|
||||
box-shadow: 0 0 0 4px rgba(255, 159, 10, .16);
|
||||
}
|
||||
.notice h2 {
|
||||
font-size: clamp(20px, 3vw, 26px); letter-spacing: -.025em; color: #ffdcae;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.notice p { color: #cbbba6; font-size: 15.5px; max-width: 68ch; margin-bottom: 10px; }
|
||||
.notice p b { color: #fff8ee; font-weight: 600; }
|
||||
.notice .actions { margin-top: 18px; }
|
||||
.notice .btn { background: var(--amber); color: #1a1206; }
|
||||
.notice .btn:hover { background: #ffb340; }
|
||||
/* Named dc-btn, not dc: the `.dc` Discord card below owns that class, and a button
|
||||
carrying both picked up the card's 30px padding and 44px top margin. */
|
||||
.notice .btn.dc-btn { background: var(--blurple); color: #fff; }
|
||||
.notice .btn.dc-btn:hover { background: #6b76f5; }
|
||||
/* Two half-width buttons stacked with a ragged right edge look accidental; on a phone
|
||||
they read as one decision with two answers. */
|
||||
@media (max-width: 560px) {
|
||||
.notice .actions { display: grid; gap: 10px; }
|
||||
.notice .btn { width: 100%; }
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------- hero */
|
||||
|
||||
.hero { padding: clamp(52px, 9vw, 96px) 0 0; text-align: center; overflow: hidden; }
|
||||
.hero .eyebrow { color: var(--fg-2); font-weight: 500; letter-spacing: -.01em; }
|
||||
.hero h1 { margin: 0 auto; max-width: 13ch; }
|
||||
.hero h1 span { display: block; color: var(--fg-3); }
|
||||
.hero .lead { margin: 22px auto 0; max-width: 50ch; text-wrap: balance; }
|
||||
.hero .actions { justify-content: center; margin-top: 30px; }
|
||||
|
||||
/* The screenshot is cut off at the bottom and dissolved into the page, rather than
|
||||
sitting in a box: it reads as the app continuing past the fold, and it keeps the
|
||||
fold itself short enough that the first section is one flick away. */
|
||||
.hero-stage {
|
||||
position: relative;
|
||||
margin: clamp(34px, 6vw, 56px) auto 0;
|
||||
width: min(300px, 68vw);
|
||||
}
|
||||
.hero-stage::before {
|
||||
content: ""; position: absolute; inset: -12% -46% 14%;
|
||||
background: radial-gradient(closest-side, rgba(50, 215, 75, .2), transparent 72%);
|
||||
filter: blur(10px); pointer-events: none;
|
||||
}
|
||||
.hero-stage .device {
|
||||
position: relative;
|
||||
padding-bottom: 0; border-radius: 42px 42px 0 0;
|
||||
}
|
||||
.hero-stage .device > img {
|
||||
height: clamp(300px, 44vh, 500px);
|
||||
object-fit: cover; object-position: top center;
|
||||
border-radius: 34px 34px 0 0;
|
||||
}
|
||||
.hero-fade {
|
||||
position: relative; z-index: 2;
|
||||
height: clamp(80px, 12vw, 130px);
|
||||
margin-top: clamp(-130px, -12vw, -80px);
|
||||
background: linear-gradient(180deg, transparent, var(--bg) 78%);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ device frame */
|
||||
|
||||
.device {
|
||||
padding: 9px; border-radius: 42px;
|
||||
background: linear-gradient(155deg, #34363b, #17181b 42%, #0a0b0c 100%);
|
||||
box-shadow: 0 40px 90px -28px rgba(0, 0, 0, .95),
|
||||
inset 0 0 0 1px rgba(255, 255, 255, .07);
|
||||
}
|
||||
.device > img, .device > iframe, .device > .device-slot {
|
||||
width: 100%; border: 0; border-radius: 34px; background: #000; display: block;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------- sections */
|
||||
|
||||
section { padding: var(--sec) 0 0; }
|
||||
.sec-head { max-width: 46ch; }
|
||||
.sec-head h2 { text-wrap: balance; }
|
||||
|
||||
/* ------------------------------------------------------- feature bento grid */
|
||||
|
||||
.bento {
|
||||
display: grid; gap: 12px; margin-top: clamp(34px, 5vw, 52px);
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
}
|
||||
.tile {
|
||||
grid-column: span 2;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hair-soft);
|
||||
border-radius: var(--r-m);
|
||||
padding: clamp(22px, 2.6vw, 30px);
|
||||
transition: border-color .3s var(--ease), background-color .3s var(--ease);
|
||||
}
|
||||
.tile:hover { border-color: var(--hair); background: #121316; }
|
||||
.tile.wide { grid-column: span 3; }
|
||||
.tile.full { grid-column: span 6; }
|
||||
.tile .ic {
|
||||
width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
background: var(--acc-soft); color: var(--acc);
|
||||
}
|
||||
.tile .ic svg { width: 21px; height: 21px; }
|
||||
.tile h3 { margin-bottom: 7px; }
|
||||
.tile p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
|
||||
.tile p b { color: var(--fg); font-weight: 600; }
|
||||
|
||||
/* The three muscle-map readings, inside the wide tile. */
|
||||
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
|
||||
.trio div {
|
||||
background: rgba(255, 255, 255, .035); border-radius: var(--r-s);
|
||||
padding: 12px 13px; font-size: 13.5px; color: var(--fg-2); line-height: 1.4;
|
||||
}
|
||||
.trio b { display: block; color: var(--fg); font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.bento { grid-template-columns: repeat(4, 1fr); }
|
||||
.tile, .tile.wide { grid-column: span 2; }
|
||||
.tile.full { grid-column: span 4; }
|
||||
}
|
||||
@media (max-width: 620px) {
|
||||
.bento { grid-template-columns: 1fr; gap: 10px; }
|
||||
.tile, .tile.wide, .tile.full { grid-column: auto; }
|
||||
.trio { grid-template-columns: 1fr; gap: 8px; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------ the rest, as a plain list */
|
||||
|
||||
.more { margin-top: clamp(46px, 6vw, 70px); }
|
||||
.more > h3 {
|
||||
font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
|
||||
color: var(--fg-3); padding-bottom: 14px; border-bottom: 1px solid var(--hair-soft);
|
||||
}
|
||||
.more dl {
|
||||
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
column-gap: clamp(28px, 5vw, 68px);
|
||||
}
|
||||
.more dl > div { padding: 20px 0; border-bottom: 1px solid var(--hair-soft); }
|
||||
.more dt { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 5px; }
|
||||
.more dd { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.5; }
|
||||
@media (max-width: 720px) { .more dl { grid-template-columns: 1fr; } }
|
||||
|
||||
/* -------------------------------------------------------- screenshot rail */
|
||||
|
||||
.bleed { margin-top: clamp(30px, 4.5vw, 46px); }
|
||||
.rail {
|
||||
display: flex; gap: clamp(12px, 2.4vw, 22px);
|
||||
overflow-x: auto; scroll-snap-type: x mandatory;
|
||||
padding: 4px max(var(--pad), calc((100vw - var(--max)) / 2)) 6px;
|
||||
scrollbar-width: none;
|
||||
overscroll-behavior-x: contain;
|
||||
}
|
||||
.rail::-webkit-scrollbar { display: none; }
|
||||
.rail figure { flex: 0 0 auto; width: clamp(200px, 56vw, 250px); scroll-snap-align: center; }
|
||||
.rail .device { padding: 7px; border-radius: 34px; }
|
||||
.rail .device > img { border-radius: 27px; }
|
||||
.rail figcaption {
|
||||
color: var(--fg-3); font-size: 13.5px; text-align: center; margin-top: 12px;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.rail-hint { color: var(--fg-3); font-size: 13.5px; margin-top: 14px; }
|
||||
|
||||
/* ---------------------------------------------------------------- the demo */
|
||||
|
||||
.demo-stage { display: flex; justify-content: center; margin-top: clamp(30px, 5vw, 46px); }
|
||||
.demo-stage .device { width: 392px; max-width: 100%; }
|
||||
.demo-stage .device-slot { height: min(720px, 74vh); }
|
||||
.demo-note { text-align: center; color: var(--fg-3); font-size: 14px; margin-top: 18px; }
|
||||
|
||||
/* Below this width the framed iframe is a phone inside a phone: not worth the
|
||||
megabytes. site.js only injects the iframe when the frame is actually shown. */
|
||||
.demo-card {
|
||||
display: none;
|
||||
background: var(--surface); border: 1px solid var(--hair-soft);
|
||||
border-radius: var(--r-m); padding: 26px 22px; text-align: center;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.demo-card p { color: var(--fg-2); font-size: 15px; margin-bottom: 20px; }
|
||||
.demo-card .btn { width: 100%; }
|
||||
@media (max-width: 700px) {
|
||||
/* The note belongs to the framed demo; the card below repeats what it needs to say. */
|
||||
.demo-stage, .demo-note { display: none; }
|
||||
.demo-card { display: block; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ two flavours */
|
||||
|
||||
.duo {
|
||||
display: grid; gap: 12px; margin-top: clamp(34px, 5vw, 50px);
|
||||
grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
|
||||
}
|
||||
.card {
|
||||
background: var(--card); border-radius: 18px; padding: 24px; border: 1px solid transparent;
|
||||
display: flex; flex-direction: column;
|
||||
background: var(--surface); border: 1px solid var(--hair-soft);
|
||||
border-radius: var(--r-l); padding: clamp(24px, 3.2vw, 34px);
|
||||
}
|
||||
.card.hl { border-color: rgba(48, 209, 88, .35); }
|
||||
.card h3 { font-size: 20px; margin-bottom: 4px; display: flex; gap: 9px; align-items: center; }
|
||||
.card .for { color: var(--faint); font-size: 13.5px; margin-bottom: 14px; }
|
||||
.card ul { list-style: none; padding: 0; margin: 0 0 18px; }
|
||||
.card li { padding: 6px 0 6px 26px; position: relative; font-size: 14.5px; color: var(--dim); }
|
||||
.card li::before { content: "✓"; position: absolute; left: 2px; color: var(--acc); font-weight: 700; }
|
||||
.card li.no::before { content: "—"; color: var(--faint); }
|
||||
.card .btn { width: 100%; justify-content: center; }
|
||||
.meta { font-size: 12.5px; color: var(--faint); margin-top: 10px; text-align: center; }
|
||||
|
||||
/* ---------- story / quote ---------- */
|
||||
.story {
|
||||
background: linear-gradient(160deg, var(--card) 0%, #12161c 100%);
|
||||
border-radius: 20px; padding: clamp(24px, 5vw, 44px); margin-top: 6px;
|
||||
.card.hl { border-color: rgba(50, 215, 75, .32); background: linear-gradient(180deg, rgba(50, 215, 75, .05), transparent 55%), var(--surface); }
|
||||
.card .ic { width: 38px; height: 38px; color: var(--acc); margin-bottom: 16px; }
|
||||
.card .ic svg { width: 100%; height: 100%; }
|
||||
.card h3 { font-size: clamp(21px, 2.6vw, 25px); }
|
||||
.card .for { color: var(--fg-3); font-size: 14.5px; margin: 6px 0 20px; }
|
||||
.card ul { list-style: none; padding: 0; margin: 0 0 24px; }
|
||||
.card li {
|
||||
position: relative; padding: 7px 0 7px 27px;
|
||||
font-size: 15px; color: var(--fg-2); line-height: 1.45;
|
||||
}
|
||||
.story blockquote { font-size: clamp(18px, 3vw, 23px); line-height: 1.5; letter-spacing: -.01em; max-width: 760px; }
|
||||
.story blockquote strong { color: var(--acc); font-weight: 600; }
|
||||
.story .who { color: var(--faint); margin-top: 16px; font-size: 14.5px; }
|
||||
.card li::before {
|
||||
content: ""; position: absolute; left: 2px; top: 13px;
|
||||
width: 10px; height: 5.5px; border-left: 1.8px solid var(--acc); border-bottom: 1.8px solid var(--acc);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
.card li.no::before {
|
||||
border: 0; border-top: 1.6px solid var(--fg-3); width: 11px; height: 0;
|
||||
transform: none; top: 16px;
|
||||
}
|
||||
.card .btn { width: 100%; }
|
||||
.card .meta { font-size: 13px; color: var(--fg-3); line-height: 1.5; margin-top: 14px; }
|
||||
.card .meta a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; }
|
||||
.card .meta + .meta { margin-top: 8px; }
|
||||
.card .push { margin-top: auto; }
|
||||
|
||||
/* ---------- open source strip ---------- */
|
||||
.os { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
|
||||
.stat { background: var(--card); border-radius: 14px; padding: 16px 22px; min-width: 130px; }
|
||||
.stat b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
|
||||
.stat span { color: var(--faint); font-size: 13px; }
|
||||
/* ---------------------------------------------------------------- the story */
|
||||
|
||||
.story { max-width: 900px; }
|
||||
.story blockquote {
|
||||
font-size: clamp(24px, 4vw, 40px); font-weight: 500;
|
||||
line-height: 1.22; letter-spacing: -.03em; text-wrap: balance;
|
||||
color: var(--fg-2);
|
||||
}
|
||||
.story blockquote b { color: var(--fg); font-weight: 500; }
|
||||
.story .who { color: var(--fg-3); font-size: 15px; margin-top: 26px; }
|
||||
.story .who a { color: var(--acc); display: inline-block; padding: 8px 0; }
|
||||
|
||||
/* --------------------------------------------------------- open source rail */
|
||||
|
||||
.specs {
|
||||
margin-top: clamp(34px, 5vw, 48px);
|
||||
border: 1px solid var(--hair-soft); border-radius: var(--r-m);
|
||||
background: var(--surface); overflow: hidden;
|
||||
}
|
||||
.spec-head {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
padding: 15px clamp(18px, 2.4vw, 24px);
|
||||
border-bottom: 1px solid var(--hair-soft);
|
||||
font-size: 13.5px; color: var(--fg-2); letter-spacing: 0;
|
||||
}
|
||||
.spec-head .live {
|
||||
display: inline-flex; align-items: center; gap: 7px;
|
||||
margin-left: auto; color: var(--fg-3); font-size: 12.5px;
|
||||
}
|
||||
.spec-head .live::before {
|
||||
content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc);
|
||||
box-shadow: 0 0 0 3px var(--acc-soft);
|
||||
}
|
||||
/* The 1px gap is the divider: the panel background shows through between cells, so
|
||||
the rules land correctly however many columns the grid resolves to. */
|
||||
.spec-cells {
|
||||
display: grid; grid-template-columns: repeat(5, 1fr);
|
||||
gap: 1px; background: var(--hair-soft);
|
||||
}
|
||||
.spec-cells > div {
|
||||
background: var(--surface);
|
||||
padding: clamp(18px, 2.4vw, 24px);
|
||||
}
|
||||
.spec-cells b {
|
||||
display: block; font-size: clamp(26px, 3.4vw, 36px); font-weight: 600;
|
||||
letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.1;
|
||||
}
|
||||
.spec-cells span { color: var(--fg-3); font-size: 13.5px; }
|
||||
@media (max-width: 760px) {
|
||||
.spec-cells { grid-template-columns: repeat(2, 1fr); }
|
||||
/* Five cells over two columns leaves a hole; the last one takes the whole row. */
|
||||
.spec-cells > div:last-child { grid-column: 1 / -1; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------- the link quad
|
||||
Four places openGym lives, as one block of four. Each pad is the whole link, so
|
||||
the target is the card and not the words in it. */
|
||||
|
||||
.quad {
|
||||
display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
|
||||
margin-top: clamp(32px, 4.5vw, 46px);
|
||||
}
|
||||
.pad {
|
||||
--brand: var(--acc);
|
||||
display: flex; flex-direction: column;
|
||||
padding: clamp(20px, 2.6vw, 28px);
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hair-soft); border-radius: var(--r-m);
|
||||
color: var(--fg);
|
||||
transition: border-color .3s var(--ease), background-color .3s var(--ease),
|
||||
transform .3s var(--ease);
|
||||
}
|
||||
.pad:hover {
|
||||
text-decoration: none; transform: translateY(-2px);
|
||||
border-color: color-mix(in srgb, var(--brand) 55%, transparent);
|
||||
background: color-mix(in srgb, var(--brand) 7%, var(--surface));
|
||||
}
|
||||
.pad:active { transform: none; }
|
||||
.pad-ic {
|
||||
width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
background: color-mix(in srgb, var(--brand) 16%, transparent);
|
||||
}
|
||||
.pad-ic svg { width: 22px; height: 22px; fill: var(--brand); }
|
||||
.pad.discord .pad-ic svg { width: 24px; height: 19px; }
|
||||
.pad-body { display: block; flex: 1 1 auto; }
|
||||
.pad-body b {
|
||||
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
|
||||
font-size: clamp(17px, 2.1vw, 19px); font-weight: 600; letter-spacing: -.02em;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.pad-body > span { display: block; color: var(--fg-2); font-size: 14.5px; line-height: 1.5; }
|
||||
.pad-body > span + span { margin-top: 7px; }
|
||||
.pad-go {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
margin-top: 18px; color: var(--brand);
|
||||
font-size: 14.5px; font-weight: 500;
|
||||
}
|
||||
.pad-go::after {
|
||||
content: ""; width: 5px; height: 5px;
|
||||
border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
|
||||
transform: rotate(-45deg); transition: transform .25s var(--ease);
|
||||
}
|
||||
.pad:hover .pad-go::after { transform: rotate(-45deg) translate(2px, 2px); }
|
||||
|
||||
.pad.gitlab { --brand: #fc6d26; }
|
||||
.pad.bmc { --brand: #ffdd00; }
|
||||
.pad.discord { --brand: #5865f2; }
|
||||
|
||||
/* The suspended repo. It stays linked because half the internet still points at it,
|
||||
but nothing about this pad should promise that the link works. */
|
||||
.pad.dead { --brand: #8e8e93; }
|
||||
.pad.dead .pad-body b, .pad.dead .pad-ic svg { opacity: .8; }
|
||||
.pad.dead .pad-go { color: var(--fg-3); }
|
||||
.pad.dead .pad-go::after { display: none; }
|
||||
.pad-body .tag {
|
||||
display: inline-block; padding: 2px 7px; border-radius: 6px;
|
||||
background: rgba(255, 159, 10, .14); color: #ffb340;
|
||||
border: 1px solid rgba(255, 159, 10, .28);
|
||||
font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.quad { gap: 10px; }
|
||||
.pad { padding: 18px; }
|
||||
.pad-ic { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 13px; }
|
||||
.pad-ic svg { width: 19px; height: 19px; }
|
||||
.pad.discord .pad-ic svg { width: 21px; height: 16px; }
|
||||
.pad-body > span { font-size: 13px; }
|
||||
/* Two cards to a row leaves ~160px of column: the second sentence would run to
|
||||
seven lines. The identity and the destination survive; the detail does not. */
|
||||
.pad .rest { display: none; }
|
||||
.pad-go { font-size: 13px; margin-top: 14px; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ footer */
|
||||
|
||||
footer {
|
||||
border-top: 1px solid var(--hair-soft);
|
||||
margin-top: var(--sec);
|
||||
padding: 34px 0 calc(46px + env(safe-area-inset-bottom));
|
||||
}
|
||||
.foot { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
|
||||
.foot .c { color: var(--fg-3); font-size: 13.5px; }
|
||||
.foot .c a { color: var(--fg-2); }
|
||||
.foot .links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
|
||||
.foot .links a { color: var(--fg-2); font-size: 13.5px; }
|
||||
.foot .links a:hover { color: var(--fg); text-decoration: none; }
|
||||
@media (max-width: 600px) { .foot .links { margin-left: 0; } }
|
||||
|
||||
/* ------------------------------------------------------------ prose pages */
|
||||
|
||||
.prose { max-width: 720px; padding: clamp(44px, 7vw, 72px) 0 0; }
|
||||
.prose h1 { font-size: clamp(36px, 6.5vw, 60px); }
|
||||
.prose > .lead { max-width: 42ch; margin-bottom: clamp(34px, 5vw, 48px); }
|
||||
.prose h2 {
|
||||
font-size: clamp(24px, 3.4vw, 32px); margin: clamp(48px, 6vw, 68px) 0 14px;
|
||||
scroll-margin-top: 76px;
|
||||
}
|
||||
.prose h3 { font-size: 18.5px; margin: 32px 0 8px; }
|
||||
.prose p, .prose li { color: #c9c9ce; font-size: 16.5px; line-height: 1.62; }
|
||||
.prose p { margin: 12px 0; }
|
||||
.prose ul, .prose ol { padding-left: 20px; margin: 14px 0; }
|
||||
.prose li { margin: 8px 0; }
|
||||
.prose li::marker { color: var(--fg-3); }
|
||||
.prose b { color: var(--fg); font-weight: 600; }
|
||||
.prose .who { color: var(--fg-3); margin-top: 26px; }
|
||||
|
||||
/* ---------- docs / prose pages ---------- */
|
||||
.prose { max-width: 760px; padding: 46px 0 20px; }
|
||||
.prose h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -.02em; margin-bottom: 8px; }
|
||||
.prose > p.lead { margin-bottom: 34px; }
|
||||
.prose h2 { font-size: 24px; margin: 44px 0 10px; }
|
||||
.prose h3 { font-size: 17.5px; margin: 26px 0 8px; }
|
||||
.prose p, .prose li { color: #c7c7cc; font-size: 15.5px; }
|
||||
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
|
||||
.prose li { margin: 5px 0; }
|
||||
.note {
|
||||
background: var(--acc-dim); border-left: 3px solid var(--acc);
|
||||
border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0; font-size: 14.5px;
|
||||
background: var(--acc-soft); border: 1px solid rgba(50, 215, 75, .2);
|
||||
border-radius: var(--r-s); padding: 15px 18px; margin: 20px 0;
|
||||
}
|
||||
.note p, .note { color: #cfe9d5; font-size: 15.5px; line-height: 1.55; }
|
||||
|
||||
pre {
|
||||
background: #0a0c10; border: 1px solid var(--line); border-radius: 12px;
|
||||
padding: 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; margin: 14px 0;
|
||||
background: #0b0c0e; border: 1px solid var(--hair-soft); border-radius: var(--r-s);
|
||||
padding: 18px; overflow-x: auto; margin: 18px 0;
|
||||
font-size: 13.5px; line-height: 1.6; -webkit-overflow-scrolling: touch;
|
||||
}
|
||||
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
|
||||
p code, li code { background: var(--card2); border-radius: 6px; padding: 1.5px 6px; font-size: 13.5px; }
|
||||
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; }
|
||||
.toc a { background: var(--card); border-radius: 999px; padding: 7px 15px; font-size: 13.5px; color: var(--dim); }
|
||||
.toc a:hover { color: var(--fg); text-decoration: none; }
|
||||
|
||||
/* ---------- timeline ---------- */
|
||||
.tl { list-style: none; padding: 0; margin: 26px 0; position: relative; }
|
||||
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
|
||||
.tl li { position: relative; padding: 0 0 26px 34px; }
|
||||
.tl li::before {
|
||||
content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px;
|
||||
border-radius: 50%; background: var(--bg); border: 3px solid var(--acc);
|
||||
code { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }
|
||||
p code, li code, td code {
|
||||
background: var(--surface-2); border-radius: 6px; padding: 2px 6px;
|
||||
font-size: .88em; color: #e4e4e8;
|
||||
}
|
||||
.tl b { display: block; font-size: 16.5px; color: var(--fg); }
|
||||
.tl .when { color: var(--faint); font-size: 13px; }
|
||||
.tl p { margin-top: 4px; }
|
||||
|
||||
/* ---------- footer ---------- */
|
||||
footer { border-top: 1px solid var(--line); margin-top: 70px; padding: 30px 0 46px; }
|
||||
.foot { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: var(--faint); font-size: 14px; }
|
||||
.foot .links { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
|
||||
.foot a { color: var(--dim); }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.nav-links { gap: 12px; }
|
||||
.nav-links a.hide-s { display: none; }
|
||||
.nav-in { gap: 12px; }
|
||||
header.hero { padding-top: 52px; }
|
||||
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 4px; }
|
||||
.toc a {
|
||||
background: var(--surface); border: 1px solid var(--hair-soft);
|
||||
border-radius: 999px; padding: 8px 15px; font-size: 14px; color: var(--fg-2);
|
||||
transition: border-color .25s var(--ease), color .25s var(--ease);
|
||||
}
|
||||
.toc a:hover { color: var(--fg); border-color: var(--hair); text-decoration: none; }
|
||||
|
||||
/* config table on the docs page */
|
||||
table.cfg { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .95rem; }
|
||||
table.cfg td { padding: .55rem .7rem; border-top: 1px solid var(--line, #24303f); vertical-align: top; }
|
||||
table.cfg { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15.5px; }
|
||||
table.cfg td { padding: 14px 14px 14px 0; border-top: 1px solid var(--hair-soft); vertical-align: top; color: #c9c9ce; }
|
||||
table.cfg tr:first-child td { border-top: 0; }
|
||||
table.cfg td:first-child { white-space: nowrap; width: 1%; padding-right: 1.2rem; }
|
||||
@media (max-width: 620px) {
|
||||
table.cfg td { display: block; border-top: 0; padding: .15rem .7rem; }
|
||||
table.cfg td:first-child { white-space: normal; width: auto; padding-top: .7rem; border-top: 1px solid var(--line, #24303f); }
|
||||
table.cfg tr:first-child td:first-child { border-top: 0; }
|
||||
table.cfg td:first-child { white-space: nowrap; width: 1%; padding-right: 26px; }
|
||||
@media (max-width: 640px) {
|
||||
table.cfg td { display: block; border-top: 0; padding: 2px 0; }
|
||||
table.cfg td:first-child {
|
||||
white-space: normal; width: auto; padding: 16px 0 4px;
|
||||
border-top: 1px solid var(--hair-soft);
|
||||
}
|
||||
table.cfg tr:first-child td:first-child { border-top: 0; padding-top: 0; }
|
||||
}
|
||||
|
||||
/* ---------- suspension notice (GitHub account suspended → gitlab.com) ----------
|
||||
Temporary: remove this block together with the .alert markup once the account is back. */
|
||||
.alert {
|
||||
background:
|
||||
radial-gradient(1200px 260px at 50% -40px, rgba(255, 159, 10, .18), transparent 70%),
|
||||
linear-gradient(180deg, #241a10, #1a1410);
|
||||
border-bottom: 1px solid rgba(255, 159, 10, .38);
|
||||
border-top: 3px solid #ff9f0a;
|
||||
padding: 40px 0 44px;
|
||||
text-align: center;
|
||||
}
|
||||
.alert-tag {
|
||||
display: inline-block; margin-bottom: 16px;
|
||||
background: rgba(255, 159, 10, .16); color: #ffb340;
|
||||
border: 1px solid rgba(255, 159, 10, .35); border-radius: 999px;
|
||||
padding: 6px 15px; font-size: 13px; font-weight: 700;
|
||||
text-transform: uppercase; letter-spacing: .09em;
|
||||
}
|
||||
.alert h2 {
|
||||
font-size: clamp(27px, 5.4vw, 46px); line-height: 1.15; letter-spacing: -.03em;
|
||||
color: #ffd8a3; max-width: 900px; margin: 0 auto;
|
||||
}
|
||||
.alert p { color: #e3d5c4; font-size: clamp(15px, 2vw, 17.5px); max-width: 720px; margin: 16px auto 0; }
|
||||
.alert p b { color: #fff; }
|
||||
.alert .alert-btn {
|
||||
margin-top: 20px; background: #ff9f0a; color: #1a1206;
|
||||
font-size: clamp(15px, 2.4vw, 19px); font-weight: 700; padding: 15px 26px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.alert .alert-note { color: #a9977f; font-size: 14px; margin-top: 18px; }
|
||||
.alert code { background: rgba(255, 159, 10, .12); color: #ffc978; }
|
||||
/* ---------------------------------------------------------------- timeline */
|
||||
|
||||
/* offline live demo */
|
||||
.offline {
|
||||
background: var(--card); border: 1px dashed var(--line); border-radius: 18px;
|
||||
padding: 34px 26px; text-align: center; margin-top: 22px;
|
||||
.tl { list-style: none; padding: 0; margin: 30px 0 0; position: relative; }
|
||||
.tl::before {
|
||||
content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px;
|
||||
width: 1px; background: var(--hair);
|
||||
}
|
||||
.offline .big { font-size: 34px; display: block; margin-bottom: 10px; }
|
||||
.offline p { color: var(--dim); max-width: 620px; margin: 0 auto 6px; }
|
||||
.tl li { position: relative; padding: 0 0 30px 30px; }
|
||||
.tl li::before {
|
||||
content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 11px;
|
||||
border-radius: 50%; background: var(--bg); border: 2px solid var(--fg-3);
|
||||
}
|
||||
.tl li:last-child::before { border-color: var(--acc); }
|
||||
.tl b { display: block; font-size: 17px; letter-spacing: -.015em; color: var(--fg); }
|
||||
.tl .when { display: block; color: var(--fg-3); font-size: 13.5px; margin-top: 2px; }
|
||||
.tl p { margin-top: 6px; font-size: 15.5px; }
|
||||
|
||||
/* ---------- Discord call-to-action ----------
|
||||
Blurple rather than the lime accent on purpose: this block has to read as a
|
||||
different kind of thing from the download/demo buttons around it. */
|
||||
.dc-wrap { padding: 8px 0 46px; }
|
||||
.dc {
|
||||
display: flex; align-items: center; gap: 26px;
|
||||
max-width: 720px; margin: 0 auto; text-align: left;
|
||||
background:
|
||||
radial-gradient(700px 200px at 12% -30px, rgba(88, 101, 242, .22), transparent 70%),
|
||||
linear-gradient(180deg, #1a1c2e, #15161f);
|
||||
border: 1px solid rgba(88, 101, 242, .42);
|
||||
border-radius: 20px; padding: 28px 30px;
|
||||
}
|
||||
.dc:hover { border-color: rgba(88, 101, 242, .72); }
|
||||
.dc-icon {
|
||||
flex: 0 0 76px; width: 76px; height: 76px; border-radius: 20px;
|
||||
background: #5865f2; display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
/* The Discord mark is 71:55, not square — forcing it into a square box
|
||||
letterboxes it and it reads as vertically off-centre. */
|
||||
.dc-icon svg { width: 44px; height: 34px; fill: #fff; display: block; }
|
||||
.dc-body { flex: 1 1 auto; min-width: 0; }
|
||||
.dc h3 { font-size: clamp(19px, 3vw, 23px); letter-spacing: -.02em; margin-bottom: 6px; }
|
||||
.dc p { color: var(--dim); font-size: 14.5px; }
|
||||
.dc .btn {
|
||||
background: #5865f2; color: #fff; white-space: nowrap;
|
||||
flex: 0 0 auto; align-self: center;
|
||||
}
|
||||
.dc .btn:hover { filter: brightness(1.12); }
|
||||
@media (max-width: 620px) {
|
||||
.dc { flex-direction: column; text-align: center; gap: 18px; padding: 26px 22px; }
|
||||
.dc .btn { width: 100%; text-align: center; }
|
||||
}
|
||||
/* ------------------------------------------------------------- scroll reveal
|
||||
Only armed when JS is running, so the page is fully visible without it. */
|
||||
|
||||
/* Discord button inside the suspended-account banner */
|
||||
.alert .alert-actions {
|
||||
display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: stretch;
|
||||
.js .rv {
|
||||
opacity: 0; transform: translateY(16px);
|
||||
transition: opacity .8s var(--ease), transform .8s var(--ease);
|
||||
}
|
||||
.alert .alert-actions .btn { margin-top: 20px; }
|
||||
.alert .dc-btn {
|
||||
background: #5865f2; color: #fff;
|
||||
font-size: clamp(15px, 2.4vw, 19px); font-weight: 700; padding: 15px 26px;
|
||||
.js .rv.in { opacity: 1; transform: none; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.js .rv { opacity: 1; transform: none; transition: none; }
|
||||
}
|
||||
Reference in new issue
Block a user