v0.8.0 eaf4295

40-summary.css RawHistoryFolder

1@layer components {
2  .lede { max-width: var(--measure); color: var(--ink-dim); font-size: 16px; }
3
4  /* key/value facts */
5  .facts {
6    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: var(--s5);
7    & > div { display: grid; grid-template-columns: 120px 1fr; min-width: 0; }
8    & dt { color: var(--ink-mute); }
9    & dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
10  }
11
12  .tagged { color: var(--ink); font-weight: 700; white-space: nowrap; }
13  .list.commits .c-subject { overflow: hidden; text-overflow: ellipsis; }
14
15  .readme .prose { padding: var(--s5) var(--s6) var(--s6); }
16
17  /* rendered Markdown */
18  .prose {
19    max-width: var(--measure); line-height: 1.65; overflow-wrap: break-word;
20    & h1, & h2, & h3, & h4 { margin: 1.6em 0 0; }
21    & h1 { font-size: 26px; line-height: 34px; padding-bottom: var(--s2); border-bottom: 1px solid var(--border); }
22    & h2 { font-size: 20px; line-height: 28px; padding-bottom: var(--s1); border-bottom: 1px solid var(--border); }
23    & h3 { font-size: 17px; }
24    & > :first-child { margin-top: 0; }
25    & p, & ul, & ol, & pre, & table, & blockquote { margin-top: var(--s4); }
26    & ul { list-style: disc; }
27    & ul, & ol { padding-left: var(--s5); }
28    & ol { list-style: decimal; }
29    & li + li { margin-top: var(--s1); }
30    & li::marker { color: var(--ink-mute); }
31    & li > ul, & li > ol, & li > p { margin-top: var(--s1); }
32    & pre {
33      padding: var(--s3) var(--s4); overflow-x: auto;
34      background: var(--bg-inset); border: 1px solid var(--border); border-radius: var(--r-s);
35      font-size: var(--fs-code); line-height: var(--lh-code);
36    }
37    & :not(pre) > code {
38      padding: 1px 5px; font-size: .88em; overflow-wrap: anywhere;
39      background: var(--bg-raised); border: 1px solid var(--border); border-radius: 4px;
40    }
41    & blockquote { padding-left: var(--s4); border-left: 3px solid var(--border-strong); color: var(--ink-dim); }
42    & table { display: block; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-s); font-size: var(--fs-s); line-height: 20px; }
43    & th, & td { padding: 6px var(--s3); white-space: nowrap; vertical-align: top; border-top: 1px solid var(--border); }
44    & th { background: var(--bg-raised); border-top: 0; font-weight: 700; }
45    & td code { white-space: nowrap; }
46    & hr { margin: var(--s5) 0; }
47    & .alt { color: var(--ink-mute); }
48    & img { display: none; }
49  }
50}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 4

Tags 45

↑↓ moveenter openesc close