diff options
author | Lars Hjemli <hjemli@gmail.com> | 2006-12-22 09:44:32 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-22 09:44:32 (JST) |
commit | c43f1246cb759eb811ab0ebef0613b86dda99581 (patch) | |
tree | 1c237eb024ff7c2b669aa0ee1a00247d78dd9591 | |
parent | 2efee09abe28ecd2719201da6cd9915f14d93a56 (diff) | |
download | cgit-c43f1246cb759eb811ab0ebef0613b86dda99581.zip cgit-c43f1246cb759eb811ab0ebef0613b86dda99581.tar.gz |
Minor style fixes
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 14 | ||||
-rw-r--r-- | ui-repolist.c | 7 |
2 files changed, 12 insertions, 9 deletions
@@ -8,7 +8,7 @@ body { | |||
8 | 8 | ||
9 | 9 | ||
10 | h2 { | 10 | h2 { |
11 | font-size: normal; | 11 | font-size: 100%; |
12 | font-weight: bold; | 12 | font-weight: bold; |
13 | margin-bottom: 0.1em; | 13 | margin-bottom: 0.1em; |
14 | } | 14 | } |
@@ -31,10 +31,10 @@ table.list tr { | |||
31 | background: white; | 31 | background: white; |
32 | } | 32 | } |
33 | table.list tr:hover { | 33 | table.list tr:hover { |
34 | background: #eee; | 34 | background: #eeb; |
35 | } | 35 | } |
36 | table.list th { | 36 | table.list th { |
37 | font-weight: bold; | 37 | font-weight: normal; |
38 | background: #ddd; | 38 | background: #ddd; |
39 | border-bottom: solid 1px #aaa; | 39 | border-bottom: solid 1px #aaa; |
40 | padding: 0.1em 0.5em 0.1em 0.5em; | 40 | padding: 0.1em 0.5em 0.1em 0.5em; |
@@ -50,12 +50,13 @@ img { | |||
50 | 50 | ||
51 | 51 | ||
52 | div#header { | 52 | div#header { |
53 | background-color: #eee; | 53 | background-color: #ddd; |
54 | padding: 0.25em 0.25em 0.25em 0.5em; | 54 | padding: 0.25em 0.25em 0.25em 0.5em; |
55 | font-size: 150%; | 55 | font-size: 150%; |
56 | font-weight: bold; | 56 | font-weight: bold; |
57 | border: solid 1px #ccc; | 57 | border: solid 1px #aaa; |
58 | vertical-align: middle; | 58 | vertical-align: middle; |
59 | margin-bottom: 2em; | ||
59 | } | 60 | } |
60 | div#header img#logo { | 61 | div#header img#logo { |
61 | float: right; | 62 | float: right; |
@@ -95,8 +96,7 @@ td.filemode { | |||
95 | 96 | ||
96 | td.blob { | 97 | td.blob { |
97 | white-space: pre; | 98 | white-space: pre; |
98 | font-family: courier; | 99 | font-family: monospace; |
99 | font-size: 100%; | ||
100 | background-color: white; | 100 | background-color: white; |
101 | } | 101 | } |
102 | 102 | ||
diff --git a/ui-repolist.c b/ui-repolist.c index 1fe7059..7090c12 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -27,8 +27,11 @@ void cgit_print_repolist(struct cacheitem *item) | |||
27 | } | 27 | } |
28 | 28 | ||
29 | html("<h2>Repositories</h2>\n"); | 29 | html("<h2>Repositories</h2>\n"); |
30 | html("<table class='list'>"); | 30 | html("<table class='list nowrap'>"); |
31 | html("<tr><th>Name</th><th>Description</th><th>Owner</th></tr>\n"); | 31 | html("<tr>" |
32 | "<th class='left'>Name</th>" | ||
33 | "<th class='left'>Description</th>" | ||
34 | "<th class='left'>Owner</th></tr>\n"); | ||
32 | while ((de = readdir(d)) != NULL) { | 35 | while ((de = readdir(d)) != NULL) { |
33 | if (de->d_name[0] == '.') | 36 | if (de->d_name[0] == '.') |
34 | continue; | 37 | continue; |