author | Lars Hjemli <hjemli@gmail.com> | 2006-12-15 23:19:56 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-15 23:19:56 (UTC) |
commit | 9a8f88658d51aeb86a79ac1121de13562ad2601f (patch) (unidiff) | |
tree | 8724d9477efe887e0b851b567e74554e75761cc7 /cgit.css | |
parent | 2101e26fd68f816e77de62b93df4c32fd1110d0c (diff) | |
download | cgit-9a8f88658d51aeb86a79ac1121de13562ad2601f.zip cgit-9a8f88658d51aeb86a79ac1121de13562ad2601f.tar.gz cgit-9a8f88658d51aeb86a79ac1121de13562ad2601f.tar.bz2 |
Add ui-commit.c + misc ui cleanups
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 50 |
1 files changed, 46 insertions, 4 deletions
@@ -1,78 +1,120 @@ | |||
1 | body { | 1 | body { |
2 | font-family: arial; | 2 | font-family: arial; |
3 | font-size: normal; | 3 | font-size: normal; |
4 | background: white; | 4 | background: white; |
5 | padding: 0em; | 5 | padding: 0em; |
6 | margin: 0.5em; | 6 | margin: 0.5em; |
7 | } | 7 | } |
8 | 8 | ||
9 | 9 | ||
10 | h2 { | 10 | h2 { |
11 | font-size: normal; | 11 | font-size: normal; |
12 | font-weight: bold; | 12 | font-weight: bold; |
13 | margin-bottom: 0.1em; | 13 | margin-bottom: 0.1em; |
14 | } | 14 | } |
15 | 15 | ||
16 | 16 | ||
17 | table.list { | 17 | table.list { |
18 | border: solid 1px black; | 18 | border: solid 1px black; |
19 | border-collapse: collapse; | 19 | border-collapse: collapse; |
20 | border: solid 1px #aaa; | 20 | border: solid 1px #aaa; |
21 | } | 21 | } |
22 | 22 | ||
23 | table.list th { | 23 | table.list th { |
24 | text-align: left; | ||
25 | font-weight: bold; | 24 | font-weight: bold; |
26 | background: #ddd; | 25 | background: #ddd; |
27 | border-bottom: solid 1px #aaa; | 26 | border-bottom: solid 1px #aaa; |
28 | padding: 0.1em 0.5em 0.1em; | 27 | padding: 0.1em 0.5em 0.1em 0.5em; |
29 | vertical-align: baseline; | 28 | vertical-align: baseline; |
30 | } | 29 | } |
31 | table.list td { | 30 | table.list td { |
32 | border: none; | 31 | border: none; |
33 | padding: 0.1em 1em 0.1em 0.5em; | 32 | padding: 0.1em 0.5em 0.1em 0.5em; |
34 | background: white; | 33 | background: white; |
35 | } | 34 | } |
36 | 35 | ||
37 | img { | 36 | img { |
38 | border: none; | 37 | border: none; |
39 | } | 38 | } |
40 | 39 | ||
41 | 40 | ||
42 | div#header { | 41 | div#header { |
43 | background-color: #ddd; | 42 | background-color: #ddd; |
44 | padding: 0.25em 0.25em 0.25em 0.5em; | 43 | padding: 0.25em 0.25em 0.25em 0.5em; |
45 | font-size: 150%; | 44 | font-size: 150%; |
46 | font-weight: bold; | 45 | font-weight: bold; |
47 | border: solid 1px #aaa; | 46 | border: solid 1px #aaa; |
48 | vertical-align: middle; | 47 | vertical-align: middle; |
49 | } | 48 | } |
50 | 49 | ||
51 | div#header img#logo { | 50 | div#header img#logo { |
52 | float: right; | 51 | float: right; |
53 | } | 52 | } |
54 | 53 | ||
55 | div#content { | 54 | div#content { |
56 | margin: 0.5em 0.5em; | 55 | margin: 0.5em 0.5em; |
57 | } | 56 | } |
58 | 57 | ||
58 | div#blob { | ||
59 | border: solid 1px black; | ||
60 | } | ||
61 | |||
59 | div.error { | 62 | div.error { |
60 | color: red; | 63 | color: red; |
61 | font-weight: bold; | 64 | font-weight: bold; |
62 | margin: 1em 2em; | 65 | margin: 1em 2em; |
63 | } | 66 | } |
64 | div.ls-dir a { | 67 | div.ls-dir a { |
65 | font-weight: bold; | 68 | font-weight: bold; |
66 | } | 69 | } |
67 | th.filesize, td.filesize { | 70 | th.filesize, td.filesize { |
68 | text-align: right; | 71 | text-align: right; |
69 | } | 72 | } |
70 | th.filemode, td.filemode { | 73 | th.filemode, td.filemode { |
71 | text-align: center; | 74 | text-align: center; |
72 | } | 75 | } |
73 | 76 | ||
74 | td.blob { | 77 | td.blob { |
75 | white-space: pre; | 78 | white-space: pre; |
76 | font-family: courier; | 79 | font-family: courier; |
77 | font-size: 100%; | 80 | font-size: 100%; |
78 | } \ No newline at end of file | 81 | } |
82 | |||
83 | table.log td { | ||
84 | white-space: nowrap; | ||
85 | } | ||
86 | |||
87 | table.commit-info { | ||
88 | border-collapse: collapse; | ||
89 | margin-top: 1em; | ||
90 | |||
91 | } | ||
92 | table.commit-info th { | ||
93 | text-align: left; | ||
94 | font-weight: normal; | ||
95 | padding: 0.1em 1em 0.1em 0.1em; | ||
96 | } | ||
97 | table.commit-info td { | ||
98 | font-weight: normal; | ||
99 | padding: 0.1em 1em 0.1em 0.1em; | ||
100 | } | ||
101 | div.commit-subject { | ||
102 | font-weight: bold; | ||
103 | font-size: 110%; | ||
104 | margin: 1em 0em 1em; | ||
105 | } | ||
106 | div.commit-msg { | ||
107 | white-space: pre; | ||
108 | font-family: courier; | ||
109 | font-size: 100%; | ||
110 | } | ||
111 | .sha1 { | ||
112 | font-family: courier; | ||
113 | font-size: 90%; | ||
114 | } | ||
115 | .left { | ||
116 | text-align: left; | ||
117 | } | ||
118 | .right { | ||
119 | text-align: right; | ||
120 | } | ||