all repos — cgit @ 72a69b77e7bf10cc3674e61e1ddd4d81618ee533

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	font-family: monospace;
174	width: 10em;
175}
176
177td.ls-mode {
178	font-family: monospace;
179	width: 10em;
180}
181
182table.blob {
183	margin-top: 0.5em;
184	border-top: solid 1px black;
185}
186
187table.blob td.no {
188	border-right: solid 1px black;
189	color: black;
190	background-color: #eee;
191	text-align: right;
192}
193
194table.blob td.no a {
195	color: black;
196}
197
198table.blob td.no a:hover {
199	color: black;
200	text-decoration: none;
201}
202
203table.blob td.txt {
204	white-space: pre;
205	font-family: monospace;
206	padding-left: 0.5em;
207}
208
209table.nowrap td {
210	white-space: nowrap;
211}
212
213table.commit-info {
214	border-collapse: collapse;
215	margin-top: 1.5em;
216}
217
218table.commit-info th {
219	text-align: left;
220	font-weight: normal;
221	padding: 0.1em 1em 0.1em 0.1em;
222	vertical-align: top;
223}
224
225table.commit-info td {
226	font-weight: normal;
227	padding: 0.1em 1em 0.1em 0.1em;
228}
229
230div.commit-subject {
231	font-weight: bold;
232	font-size: 125%;
233	margin: 1.5em 0em 0.5em 0em;
234	padding: 0em;
235}
236
237div.commit-msg {
238	white-space: pre;
239	font-family: monospace;
240}
241
242div.diffstat-header {
243	font-weight: bold;
244	padding-top: 1.5em;
245}
246
247table.diffstat {
248	border-collapse: collapse;
249	border: solid 1px #aaa;
250	background-color: #eee;
251}
252
253table.diffstat th {
254	font-weight: normal;
255	text-align: left;
256	text-decoration: underline;
257	padding: 0.1em 1em 0.1em 0.1em;
258	font-size: 100%;
259}
260
261table.diffstat td {
262	padding: 0.2em 0.2em 0.1em 0.1em;
263	font-size: 100%;
264	border: none;
265}
266
267table.diffstat td.mode {
268	white-space: nowrap;
269}
270
271table.diffstat td span.modechange {
272	padding-left: 1em;
273	color: red;
274}
275
276table.diffstat td.add a {
277	color: green;
278}
279
280table.diffstat td.del a {
281	color: red;
282}
283
284table.diffstat td.upd a {
285	color: blue;
286}
287
288table.diffstat td.graph {
289	width: 500px;
290	vertical-align: middle;
291}
292
293table.diffstat td.graph table {
294	border: none;
295}
296
297table.diffstat td.graph td {
298	padding: 0px;
299	border: 0px;
300	height: 7pt;
301}
302
303table.diffstat td.graph td.add {
304	background-color: #5c5;
305}
306
307table.diffstat td.graph td.rem {
308	background-color: #c55;
309}
310
311div.diffstat-summary {
312	color: #888;
313	padding-top: 0.5em;
314}
315
316table.diff {
317	width: 100%;
318}
319
320table.diff td {
321	font-family: monospace;
322	white-space: pre;
323}
324
325table.diff td div.head {
326	font-weight: bold;
327	margin-top: 1em;
328	color: black;
329}
330
331table.diff td div.hunk {
332	color: #009;
333}
334
335table.diff td div.add {
336	color: green;
337}
338
339table.diff td div.del {
340	color: red;
341}
342
343.sha1 {
344	font-family: monospace;
345	font-size: 90%;
346}
347
348.left {
349	text-align: left;
350}
351
352.right {
353	text-align: right;
354}
355
356table.list td.repogroup {
357	font-style: italic;
358	color: #888;
359}
360
361a.button {
362	font-size: 80%;
363	color: #aaa;
364	background-color: #eee;
365	border: solid 1px #aaa;
366	padding: 0em 0.5em;
367	margin: 0.1em 0.25em;
368}
369
370a.button:hover {
371	text-decoration: none;
372	color: #333;
373	background-color: #ccc;
374}
375
376a.primary {
377	font-size: 100%;
378}
379
380a.secondary {
381	font-size: 90%;
382}
383
384td.toplevel-repo {
385
386}
387
388table.list td.sublevel-repo {
389	padding-left: 1.5em;
390}
391
392span.age-mins {
393	font-weight: bold;
394	color: #080;
395}
396
397span.age-hours {
398	color: #080;
399}
400
401span.age-days {
402	color: #040;
403}
404
405span.age-weeks {
406	color: #444;
407}
408
409span.age-months {
410	color: #888;
411}
412
413span.age-years {
414	color: #bbb;
415}