the repository which powers this website
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
@import "tailwindcss";

@theme {
	--font-sans: "Noto Sans", Helvetica, Arial, sans-serif;
}

:root {
	font-size: 11pt;
}

.rendered-file {
	a {
		@apply hover:underline;
	}
	:not(h1, h2, h3, h4, h5, h6) > a {
		@apply text-blue-500 hover:text-blue-600;
	}
	ul {
		@apply list-disc;
	}
}

.diff-panel {
	a {
		@apply text-blue-500 hover:text-blue-600 hover:underline;
	}
	
	/* From cgit.css */
	
	div.diffstat-header {
		font-weight: bold;
	}
	
	table.diffstat {
		border-collapse: collapse;
		border: solid 1px #aaa;
		background-color: #eee;
	}
	
	table.diffstat th {
		font-weight: normal;
		text-align: left;
		text-decoration: underline;
		padding: 0.1em 1em 0.1em 0.1em;
		font-size: 100%;
	}
	
	table.diffstat td {
		padding: 0.2em 0.2em 0.1em 0.1em;
		font-size: 100%;
		border: none;
	}
	
	table.diffstat td.mode {
		white-space: nowrap;
	}
	
	table.diffstat td span.modechange {
		padding-left: 1em;
		color: red;
	}
	
	table.diffstat td.add a {
		color: green;
	}
	
	table.diffstat td.del a {
		color: red;
	}
	
	table.diffstat td.upd a {
		color: blue;
	}
	
	table.diffstat td.graph {
		width: 500px;
		vertical-align: middle;
	}
	
	table.diffstat td.graph table {
		border: none;
	}
	
	table.diffstat td.graph td {
		padding: 0px;
		border: 0px;
		height: 7pt;
	}
	
	table.diffstat td.graph td.add {
		background-color: #5c5;
	}
	
	table.diffstat td.graph td.rem {
		background-color: #c55;
	}
	
	div.diffstat-summary {
		color: #888;
		padding-top: 0.5em;
	}
	
	table.diff {
		width: 100%;
	}
	
	table.diff td {
		@apply font-mono;
		white-space: pre;
	}
	
	table.diff td div.head {
		font-weight: bold;
		margin-top: 1em;
		color: black;
	}
	
	table.diff td div.hunk {
		color: #009;
	}
	
	table.diff td div.add {
		color: green;
	}
	
	table.diff td div.del {
		color: red;
	}
}