summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-05-20 22:14:28 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-20 22:14:28 (UTC)
commit0b8b6a317654dce2aa8c7ec5bf55717f624af14f (patch) (unidiff)
treeb70074d13e56ac8e1e9162e13be554802e46e8ba /cgit.css
parent271ac5a7e6b5b67f54fdd16e8542aa282f1c7140 (diff)
downloadcgit-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.zip
cgit-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.tar.gz
cgit-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.tar.bz2
Make frontpage friendlier
This is an attempt to make the index page more usable by changing how repo groups and repo links are displayed. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css34
1 files changed, 32 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 5dd43b0..b14f77e 100644
--- a/cgit.css
+++ b/cgit.css
@@ -262,99 +262,129 @@ table.diffstat th {
262 262
263table.diffstat td { 263table.diffstat td {
264 padding: 0.2em 0.2em 0.1em 0.1em; 264 padding: 0.2em 0.2em 0.1em 0.1em;
265 font-size: 100%; 265 font-size: 100%;
266 border: none; 266 border: none;
267} 267}
268 268
269table.diffstat td.mode { 269table.diffstat td.mode {
270 white-space: nowrap; 270 white-space: nowrap;
271} 271}
272 272
273table.diffstat td span.modechange { 273table.diffstat td span.modechange {
274 padding-left: 1em; 274 padding-left: 1em;
275 color: red; 275 color: red;
276} 276}
277 277
278table.diffstat td.add a { 278table.diffstat td.add a {
279 color: green; 279 color: green;
280} 280}
281 281
282table.diffstat td.del a { 282table.diffstat td.del a {
283 color: red; 283 color: red;
284} 284}
285 285
286table.diffstat td.upd a { 286table.diffstat td.upd a {
287 color: blue; 287 color: blue;
288} 288}
289 289
290table.diffstat td.graph { 290table.diffstat td.graph {
291 width: 75%; 291 width: 75%;
292 vertical-align: center; 292 vertical-align: center;
293} 293}
294 294
295table.diffstat td.graph table { 295table.diffstat td.graph table {
296 border: none; 296 border: none;
297} 297}
298 298
299table.diffstat td.graph td { 299table.diffstat td.graph td {
300 padding: 0px; 300 padding: 0px;
301 border: 0px; 301 border: 0px;
302 height: 7pt; 302 height: 7pt;
303} 303}
304 304
305table.diffstat td.graph td.add { 305table.diffstat td.graph td.add {
306 background-color: #5c5; 306 background-color: #5c5;
307} 307}
308 308
309table.diffstat td.graph td.rem { 309table.diffstat td.graph td.rem {
310 background-color: #c55; 310 background-color: #c55;
311} 311}
312 312
313table.diffstat td.graph td.none { 313table.diffstat td.graph td.none {
314 background-color: none; 314 background-color: none;
315} 315}
316 316
317div.diffstat-summary { 317div.diffstat-summary {
318 color: #888; 318 color: #888;
319 padding-top: 0.5em; 319 padding-top: 0.5em;
320} 320}
321 321
322table.diff td { 322table.diff td {
323 font-family: monospace; 323 font-family: monospace;
324 white-space: pre; 324 white-space: pre;
325} 325}
326 326
327table.diff td div.head { 327table.diff td div.head {
328 font-weight: bold; 328 font-weight: bold;
329 padding-top: 1em; 329 padding-top: 1em;
330} 330}
331 331
332table.diff td div.hunk { 332table.diff td div.hunk {
333 color: #009; 333 color: #009;
334} 334}
335 335
336table.diff td div.add { 336table.diff td div.add {
337 color: green; 337 color: green;
338} 338}
339 339
340table.diff td div.del { 340table.diff td div.del {
341 color: red; 341 color: red;
342} 342}
343 343
344.sha1 { 344.sha1 {
345 font-family: courier; 345 font-family: courier;
346 font-size: 90%; 346 font-size: 90%;
347} 347}
348 348
349.left { 349.left {
350 text-align: left; 350 text-align: left;
351} 351}
352 352
353.right { 353.right {
354 text-align: right; 354 text-align: right;
355} 355}
356 356
357table.list td.repogroup { 357table.list td.repogroup {
358 padding-top: 1em; 358 font-style: italic;
359 border-bottom: solid 1px #777; 359 color: #888;
360}
361
362a.button {
363 font-size: 80%;
364 color: #333;
365 background-color: #ccc;
366 border: solid 1px #999;
367 padding: 0em 0.5em;
368 margin: 0.1em 0.25em;
369}
370
371a.button:hover {
372 text-decoration: none;
373 background-color: #eee;
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;
360} 390}