all repos — cgit @ 68cb84839f8fbc20688b22202489f4c2a54d3f55

a hyperfast web frontend for git written in c

cgit.css (view raw)

  1body, table {
  2	padding: 0em;
  3	margin: 0em;
  4}
  5
  6body {
  7	font-family: sans;
  8	font-size: 10pt;
  9	color: #333;
 10	background: white;
 11	padding: 4px;
 12}
 13
 14a {
 15	color: blue;
 16	text-decoration: none;
 17}
 18
 19a:hover {
 20	text-decoration: underline;
 21}
 22
 23table {
 24      border-collapse: collapse;
 25}
 26
 27table#header {
 28	width: 100%;
 29	margin-bottom: 1em;
 30}
 31
 32table#header td.logo {
 33	width: 96px;
 34}
 35
 36table#header td.main {
 37	font-size: 200%;
 38}
 39
 40table#header td.sub {
 41	color: #777;
 42	border-top: solid 1px #ccc;
 43}
 44
 45table.tabs {
 46	border-bottom: solid 2px #ccc;
 47	border-collapse: collapse;
 48	margin-top: 2em;
 49	margin-bottom: 1em;
 50	width: 100%;
 51}
 52
 53table.tabs td {
 54	padding: 0px 0.5em;
 55	vertical-align: bottom;
 56}
 57
 58table.tabs td a {
 59	padding: 2px 1em;
 60	color: #007;
 61}
 62
 63table.tabs td a.active {
 64	color: #000;
 65	background-color: #ccc;
 66}
 67
 68table.tabs td.branch {
 69	text-align: right;
 70}
 71
 72table.tabs td.branch form {
 73	padding-bottom: 2px;
 74	font-size: 90%;
 75}
 76
 77div.content {
 78	margin: 0px;
 79	padding: 1em;
 80}
 81
 82
 83table.list {
 84	width: 100%;
 85	border: none;
 86	border-collapse: collapse;
 87}
 88
 89table.list tr {
 90	background: white;
 91}
 92
 93table.list tr:hover {
 94	background: #eee;
 95}
 96
 97table.list tr.nohover:hover {
 98	background: white;
 99}
100
101table.list th {
102	font-weight: normal;
103	border-bottom: solid 1px #ccc;
104	padding: 0.1em 0.5em 0.1em 0.5em;
105	vertical-align: baseline;
106}
107
108table.list td {
109	border: none;
110	padding: 0.1em 0.5em 0.1em 0.5em;
111}
112
113table.list td a {
114	color: black;
115}
116
117img {
118	border: none;
119}
120
121input#switch-btn {
122	margin: 2px 0px 0px 0px;
123}
124
125td#sidebar input.txt {
126	width: 100%;
127	margin: 2px 0px 0px 0px;
128}
129
130table#grid {
131	margin: 0px;
132}
133
134td#content {
135	vertical-align: top;
136	padding: 1em 2em 1em 1em;
137	border: none;
138}
139
140div#summary {
141	vertical-align: top;
142	margin-bottom: 1em;
143}
144
145table#downloads {
146	float: right;
147	border-collapse: collapse;
148	border: solid 1px #777;
149	margin-left: 0.5em;
150	margin-bottom: 0.5em;
151}
152
153table#downloads th {
154	background-color: #ccc;
155}
156
157div#blob {
158	border: solid 1px black;
159}
160
161div.error {
162	color: red;
163	font-weight: bold;
164	margin: 1em 2em;
165}
166
167a.ls-blob, a.ls-dir, a.ls-mod {
168	font-family: monospace;
169}
170
171td.ls-size {
172	text-align: right;
173}
174
175td.ls-size {
176	font-family: monospace;
177}
178
179td.ls-mode {
180	font-family: monospace;
181}
182
183table.blob {
184	margin-top: 0.5em;
185	border-top: solid 1px black;
186}
187
188table.blob td.no {
189	border-right: solid 1px black;
190	color: black;
191	background-color: #eee;
192	text-align: right;
193}
194
195table.blob td.no a {
196	color: black;
197}
198
199table.blob td.no a:hover {
200	color: black;
201	text-decoration: none;
202}
203
204table.blob td.txt {
205	white-space: pre;
206	font-family: monospace;
207	padding-left: 0.5em;
208}
209
210table.nowrap td {
211	white-space: nowrap;
212}
213
214table.commit-info {
215	border-collapse: collapse;
216	margin-top: 1.5em;
217}
218
219table.commit-info th {
220	text-align: left;
221	font-weight: normal;
222	padding: 0.1em 1em 0.1em 0.1em;
223	vertical-align: top;
224}
225
226table.commit-info td {
227	font-weight: normal;
228	padding: 0.1em 1em 0.1em 0.1em;
229}
230
231div.commit-subject {
232	font-weight: bold;
233	font-size: 125%;
234	margin: 1.5em 0em 0.5em 0em;
235	padding: 0em;
236}
237
238div.commit-msg {
239	white-space: pre;
240	font-family: monospace;
241}
242
243div.diffstat-header {
244	font-weight: bold;
245	padding-top: 1.5em;
246}
247
248table.diffstat {
249	border-collapse: collapse;
250	border: solid 1px #aaa;
251	background-color: #eee;
252}
253
254table.diffstat th {
255	font-weight: normal;
256	text-align: left;
257	text-decoration: underline;
258	padding: 0.1em 1em 0.1em 0.1em;
259	font-size: 100%;
260}
261
262table.diffstat td {
263	padding: 0.2em 0.2em 0.1em 0.1em;
264	font-size: 100%;
265	border: none;
266}
267
268table.diffstat td.mode {
269	white-space: nowrap;
270}
271
272table.diffstat td span.modechange {
273	padding-left: 1em;
274	color: red;
275}
276
277table.diffstat td.add a {
278	color: green;
279}
280
281table.diffstat td.del a {
282	color: red;
283}
284
285table.diffstat td.upd a {
286	color: blue;
287}
288
289table.diffstat td.graph {
290	width: 500px;
291	vertical-align: middle;
292}
293
294table.diffstat td.graph table {
295	border: none;
296}
297
298table.diffstat td.graph td {
299	padding: 0px;
300	border: 0px;
301	height: 7pt;
302}
303
304table.diffstat td.graph td.add {
305	background-color: #5c5;
306}
307
308table.diffstat td.graph td.rem {
309	background-color: #c55;
310}
311
312div.diffstat-summary {
313	color: #888;
314	padding-top: 0.5em;
315}
316
317table.diff {
318	width: 100%;
319}
320
321table.diff td {
322	font-family: monospace;
323	white-space: pre;
324}
325
326table.diff td div.head {
327	font-weight: bold;
328	margin-top: 1em;
329	color: black;
330}
331
332table.diff td div.hunk {
333	color: #009;
334}
335
336table.diff td div.add {
337	color: green;
338}
339
340table.diff td div.del {
341	color: red;
342}
343
344.sha1 {
345	font-family: monospace;
346	font-size: 90%;
347}
348
349.left {
350	text-align: left;
351}
352
353.right {
354	text-align: right;
355}
356
357table.list td.repogroup {
358	font-style: italic;
359	color: #888;
360}
361
362a.button {
363	font-size: 80%;
364	color: #aaa;
365	background-color: #eee;
366	border: solid 1px #aaa;
367	padding: 0em 0.5em;
368	margin: 0.1em 0.25em;
369}
370
371a.button:hover {
372	text-decoration: none;
373	color: #333;
374	background-color: #ccc;
375}
376
377a.primary {
378	font-size: 100%;
379}
380
381a.secondary {
382	font-size: 90%;
383}
384
385td.toplevel-repo {
386
387}
388
389table.list td.sublevel-repo {
390	padding-left: 1.5em;
391}
392
393span.age-mins {
394	font-weight: bold;
395	color: #080;
396}
397
398span.age-hours {
399	color: #080;
400}
401
402span.age-days {
403	color: #040;
404}
405
406span.age-weeks {
407	color: #444;
408}
409
410span.age-months {
411	color: #888;
412}
413
414span.age-years {
415	color: #bbb;
416}