Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/swarm-ui/src/pages/StartPage.css
iris 0e840bd34b swarm ui: the start page ends with the slug, its gradients animated
hyperhive / we are the wired between two shaded gradients that pulse in a
wave, still under reduced motion. It sits under 2em from the bottom edge,
clear of the setup assistant.
2026-11-01 13:35:35 +01:00

31 lines
863 B
CSS

/* The page fills the full-bleed body; the rain canvas fills the page and the
* name sits centred over it. */
.start-page {
position: relative;
flex: 1;
min-height: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.start-page-name {
position: relative;
margin: 0;
padding: 0 1em;
text-align: center;
font-size: clamp(2em, 8vw, 5em);
font-weight: 600;
color: var(--purple);
text-shadow:
0 0 0.4em color-mix(in srgb, var(--purple) 55%, transparent),
0 0 1.2em var(--bg);
}
/* The slug sits at the foot of the page, over the rain. It stays under 2em
* from the bottom edge, where the setup assistant starts (bottom-right,
* `SetupAssistant.css`), so the two never overlap, however narrow the window. */
.start-page .ui-slug {
position: absolute;
inset: auto 0 0;
margin: 0 0 0.4em;
}