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
@@ -18,22 +18,21 @@ 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 | } |
@@ -53,12 +52,16 @@ div#header img#logo { | |||
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 { |
@@ -72,7 +75,46 @@ th.filemode, td.filemode { | |||
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 | } | ||