spgit

A static page generator for git repositories

git clone git://git.janzachar.dev/spgit.git


0:root {
1	--primary: #0099e0;
2	--gray: #888;
3	--fg: #333;
4	--bg: #fff;
5}
6
7body {
8	width: 98%;
9	min-height: 100vh;
10	margin-inline: auto;
11	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
12	/* font-size: clamp(1rem, 3vw, 1.75rem); */
13	line-height: 1.5;
14
15	background-color: var(--bg);
16}
17
18* { color: var(--fg); }
19hr { border: 1px solid var(--gray); }
20
21/* Page header */
22/* src/temp/__init__.py */
23.title, .description, .second { margin: 0; }
24.second { color: var(--gray); }
25
26/* General stuff */
27p, ul {
28	margin: 0;
29	margin-bottom: 1ch;
30}
31h2 {
32	margin-top: 0.7rem;
33	margin-bottom: 0.2rem;
34}
35
36/* index.py */
37.repo_link {
38	h3, p { margin: 0; }
39	p { margin-left: 2ch; }
40
41	margin-bottom: 1ch;
42}
43
44
45#commits {
46	td { padding-right: 2ch; }
47	td:first-child {
48		vertical-align: top;
49		white-space: nowrap;
50		color: var(--gray);
51	}
52}
53
54/* Links */
55a {
56	color: var(--primary);
57	text-decoration: none;
58}
59
60pre code a {
61	padding-left: 4ch;
62	padding-right: 1ch;
63}
64
65:target a {
66	background-color: var(--primary);
67	color: var(--bg);
68}
69
70#readme {
71	width: min(100%, 80ch);
72}
73