repos / pgit

static site generator for git
git clone https://github.com/picosh/pgit.git

pgit / static
Eric Bower  ·  2024-12-18

main.css

 1pre {
 2  border: 1px solid var(--border);
 3  padding: var(--grid-height);
 4}
 5
 6body {
 7  max-width: 900px;
 8}
 9
10.border-b {
11  border-bottom: 1px solid var(--border);
12}
13
14.border-b:last-child {
15  border-bottom: 0;
16}
17
18.box {
19  margin: 1rem 0;
20  padding: var(--grid-height);
21  border: 1px solid var(--border);
22}
23
24.tree-size {
25  width: 60px;
26  text-align: right;
27}
28
29.tree-path {
30  text-wrap: wrap;
31}
32
33.diff-file {
34  position: sticky;
35  top: 0;
36  left: 0;
37  background-color: var(--bg-color);
38}
39
40@media only screen and (max-width: 900px) {
41  .tree-commit {
42    display: none;
43  }
44}