forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

_link.scss37 lines, 923 bytesHistoryRawDownload
1// The restart bar (shown while the server is down, nav.js) and the offline page (service worker).
2// Colours come from the tokens, so light and dark follow the theme.
3
4// A small pill at the bottom centre: it covers no part of the header or the page's top.
5.link-bar {
6 position: fixed;
7 bottom: 16px;
8 left: 50%;
9 z-index: 1000;
10 box-sizing: border-box;
11 transform: translateX(-50%);
12 max-width: calc(100% - 32px);
13 padding: 6px 14px;
14 border: 1px solid var(--border-strong);
15 border-radius: 999px;
16 text-align: center;
17 font-size: 0.8125rem;
18 line-height: 1.4;
19 color: var(--text);
20 background: var(--surface-2);
21 overflow-wrap: anywhere;
22}
23
24.link-offline {
25 box-sizing: border-box;
26 min-height: 100vh;
27 display: flex;
28 flex-direction: column;
29 align-items: center;
30 justify-content: center;
31 gap: 8px;
32 padding: 24px 16px;
33 text-align: center;
34 color: var(--text);
35 background: var(--bg);
36}
37