summaryrefslogtreecommitdiff
path: root/site_root/cgit.css
blob: 92424997080b4c622eef076740a6f86096ff5f6b (plain)
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
:root {
    --light: #eee;
    --dark: #1c1c1c;
    --highlight: #f5ae2e;
}

body {
    color: var(--light);
    background: var(--dark);
    font-family: monospace;
    font-size: 14px;
}

#navigation {
    text-align: center;
}

.centered {
    text-align: center;
}

#content {
    width: 600px;
    max-width: 100%;
    margin: auto;
}

a {
    color: var(--highlight);
}

a:hover {
    color: var(--dark);
    background: var(--highlight);
    text-decoration: none;
}

ul {
    list-style: none;
}

li:before {
    content: '* ';
}

code {
    background: black;
    padding: 0 6px;
    border-radius: 4px;
}

pre code {
	padding: 0;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *
 * cgit-specific css
 *
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */

div#cgit {
    width: 700px;
    max-width: 100%;
    margin: auto;
}

div#cgit table#header {
	width: 100%;
	margin-bottom: 1em;
}

div#cgit table#header tbody tr td.logo a {
    display: none;
}

div#cgit table#header td.form {
	text-align: right;
	vertical-align: bottom;
	padding-right: 1em;
	padding-bottom: 2px;
	white-space: nowrap;
}

div#cgit table.tabs {
    border-bottom: solid 3px var(--highlight);
    border-collapse: collapse;
    margin-top: 2em;
    margin-bottom: 0;
    width: 100%;
}

div#cgit table.tabs td {
    padding: 0px 1em;
    vertical-align: bottom;
}

div#cgit table.tabs td a {
    padding: 2px 0.75em;
    text-decoration: none;
}

div#cgit table.tabs td a.active {
    color: var(--dark);
    background-color: var(--highlight);
}


div#cgit table.tabs td.form {
    text-align: right;
}

div#cgit table.tabs td.form form {
    padding-bottom: 2px;
    white-space: nowrap;
}


div#cgit div.content {
    margin: 0px;
    padding: 2em 0;
    border-bottom: solid 3px var(--light);
}

div#cgit select, input {
    font-family: monospace;
}


div#cgit table.list {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

div#cgit table.list tr {
    background: white;
}

div#cgit table.list tr.logheader {
    background: #eee;
}

div#cgit table.list tr:nth-child(even) {
    background: #151515;
}

div#cgit table.list tr:nth-child(odd) {
    background: var(--dark);
}


div#cgit table.blob td.hashes,
div#cgit table.blob td.lines {
    margin: 0; padding: 0 0 0 0.5em;
    vertical-align: top;
    background-color: #151515;
}

div#cgit table.blob td.lines code {
    background-color: #151515;
}

div#cgit span.decoration {
    margin: 0 1em;
}

div#cgit span.decoration a::before {
    content: "[";
}

div#cgit span.decoration a::after {
    content: "]";
}