forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

_keyboard.scss47 lines, 918 bytesHistoryRawDownload
1// Keyboard rows: the row j and k select (a raised surface and an accent bar on its left edge), and
2// the keys dialog that ? opens. Both are set by nav.js; the dialog reads its strings from nav.js too.
3
4[data-kb-row].kb-sel {
5 background: var(--surface-2);
6 box-shadow: inset 2px 0 0 var(--accent);
7}
8
9dialog.kb-help {
10 width: min(340px, calc(100vw - 32px));
11 padding: 18px 20px;
12 color: var(--text);
13 background: var(--surface);
14 border: 1px solid var(--border-strong);
15 border-radius: var(--radius-lg);
16 box-shadow: var(--shadow);
17
18 &::backdrop {
19 background: rgba(20, 24, 22, 0.45);
20 }
21
22 h2 {
23 margin: 0 0 12px;
24 font-size: 15px;
25 }
26
27 dl {
28 display: grid;
29 grid-template-columns: auto 1fr;
30 gap: 8px 16px;
31 margin: 0 0 16px;
32 font-size: 13px;
33 }
34
35 dt {
36 align-self: center;
37 }
38
39 dd {
40 margin: 0;
41 }
42
43 form {
44 display: flex;
45 justify-content: flex-end;
46 }
47}