Migration This is my new public git source viewer. Source coming soon. Please contact with concerns/bugs. Contact me

static/css/repo.css

d658fcc4ea9f3bb562fd00dce8f863934560c56c · 941 B · 46 lines raw

1 /* Repo homepage — owned by views/repo.html */
2
3 /* Latest commit — one plain bordered row */
4 .latest-commit {
5 display: grid;
6 grid-template-columns: auto 1fr auto;
7 gap: .85rem;
8 align-items: center;
9 padding: .6rem .8rem;
10 border: 1px solid var(--line);
11 border-radius: var(--r-sm);
12 margin-bottom: 1rem;
13 }
14 .latest-commit:hover { border-color: var(--accent); }
15 .commit-hash {
16 color: var(--accent);
17 font-family: var(--mono);
18 font-size: .78rem;
19 font-weight: 600;
20 user-select: all;
21 }
22 .commit-msg {
23 min-width: 0;
24 overflow: hidden;
25 text-overflow: ellipsis;
26 white-space: nowrap;
27 font-weight: 500;
28 color: var(--fg);
29 }
30 .commit-meta {
31 color: var(--fg-muted);
32 font-size: .78rem;
33 white-space: nowrap;
34 }
35
36 @media (max-width: 640px) {
37 .latest-commit {
38 grid-template-columns: 1fr;
39 gap: 0.5rem;
40 text-align: center;
41 }
42 .latest-commit .commit-meta {
43 display: block;
44 margin-top: .25rem;
45 }
46 }