mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 18:39:55 +02:00
180 lines
3.1 KiB
CSS
180 lines
3.1 KiB
CSS
:root {
|
|
--brand-700: #6f27e9;
|
|
--brand-600: #842fee;
|
|
--brand-500: #a855f7;
|
|
--brand-400: #c084fc;
|
|
--brand-300: #d8b4fe;
|
|
--ink: #171419;
|
|
--ink-soft: #4f4854;
|
|
--ink-muted: #786f7d;
|
|
--paper: #fbfafc;
|
|
--paper-warm: #f7f4f8;
|
|
--surface: #ffffff;
|
|
--line: #e5dfe8;
|
|
--line-strong: #d4cad8;
|
|
--dark-line: #362c3c;
|
|
--warning: #f59e0b;
|
|
--font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
--font-display: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, sans-serif;
|
|
--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
--shell: 1220px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
scroll-padding-top: 92px;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-family: var(--font-sans);
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--brand-300);
|
|
color: #28132f;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
button,
|
|
a {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button {
|
|
color: inherit;
|
|
}
|
|
|
|
svg {
|
|
display: block;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
font-family: var(--font-display);
|
|
text-wrap: balance;
|
|
}
|
|
|
|
p {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 3px solid rgba(168, 85, 247, 0.55);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.page-shell {
|
|
width: min(calc(100% - 48px), var(--shell));
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
top: 12px;
|
|
left: 12px;
|
|
transform: translateY(-140%);
|
|
padding: 10px 16px;
|
|
border-radius: 10px;
|
|
background: var(--ink);
|
|
color: white;
|
|
font-weight: 700;
|
|
transition: transform 180ms ease;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.button {
|
|
display: inline-flex;
|
|
min-height: 52px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 0 21px;
|
|
border: 1px solid transparent;
|
|
border-radius: 14px;
|
|
font-size: 14px;
|
|
font-weight: 730;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease,
|
|
border-color 180ms ease;
|
|
}
|
|
|
|
.button:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.button svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.button-primary {
|
|
background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
|
|
box-shadow: 0 12px 28px rgba(132, 47, 238, 0.24), inset 0 1px rgba(255, 255, 255, 0.35);
|
|
color: white;
|
|
}
|
|
|
|
.button-primary:hover {
|
|
box-shadow: 0 16px 34px rgba(132, 47, 238, 0.3), inset 0 1px rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.motion-ready .reveal {
|
|
opacity: 0;
|
|
transform: translateY(28px);
|
|
transition: opacity 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
|
|
transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
|
|
transition-delay: var(--reveal-delay, 0ms);
|
|
}
|
|
|
|
.motion-ready .reveal.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|