summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 49cf2d1..cded981 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,291 +1,296 @@
1body { 1body {
2 font-family: arial; 2 font-family: arial;
3 font-size: 11pt; 3 font-size: 11pt;
4 background: white; 4 background: white;
5}
6
7body, table {
5 padding: 0em; 8 padding: 0em;
6 margin: 0em; 9 margin: 0em;
7} 10}
8 11
12table {
13 border-collapse: collapse;
14}
9 15
10h2 { 16h2 {
11 font-size: 120%; 17 font-size: 120%;
12 font-weight: bold; 18 font-weight: bold;
13 margin-top: 0em; 19 margin-top: 0em;
14 margin-bottom: 0.25em; 20 margin-bottom: 0.25em;
15} 21}
16 22
17h3 { 23h3 {
18 margin-top: 0em; 24 margin-top: 0em;
19 font-size: 100%; 25 font-size: 100%;
20 font-weight: normal; 26 font-weight: normal;
21} 27}
22 28
23a { 29a {
24 color: blue; 30 color: blue;
25 text-decoration: none; 31 text-decoration: none;
26} 32}
27 33
28a:hover { 34a:hover {
29 text-decoration: underline; 35 text-decoration: underline;
30} 36}
31 37
32table.list { 38table.list {
33 border: none; 39 border: none;
34 border-collapse: collapse; 40 border-collapse: collapse;
35} 41}
36 42
37table.list tr { 43table.list tr {
38 background: white; 44 background: white;
39} 45}
40 46
41table.list tr:hover { 47table.list tr:hover {
42 background: #eee; 48 background: #eee;
43} 49}
44 50
45table.list tr.nohover:hover { 51table.list tr.nohover:hover {
46 background: white; 52 background: white;
47} 53}
48 54
49table.list th { 55table.list th {
50 font-weight: normal; 56 font-weight: normal;
51 border-bottom: solid 1px #777; 57 border-bottom: solid 1px #777;
52 padding: 0.1em 0.5em 0.1em 0.5em; 58 padding: 0.1em 0.5em 0.1em 0.5em;
53 vertical-align: baseline; 59 vertical-align: baseline;
54} 60}
55 61
56table.list td { 62table.list td {
57 border: none; 63 border: none;
58 padding: 0.1em 0.5em 0.1em 0.5em; 64 padding: 0.1em 0.5em 0.1em 0.5em;
59} 65}
60 66
61img { 67img {
62 border: none; 68 border: none;
63} 69}
64 70
65table#layout { 71table#layout {
66 width: 100%; 72 width: 100%;
67 border-collapse: separate; 73 border-collapse: collapse;
68 border-spacing: 0px;
69 margin: 0px; 74 margin: 0px;
70} 75}
71 76
72td#header, td#logo { 77td#header, td#logo {
73 color: #666; 78 color: #666;
74 background-color: #ddd; 79 background-color: #ddd;
75 border-bottom: solid 1px #000; 80 border-bottom: solid 1px #000;
76} 81}
77 82
78td#header { 83td#header {
79 font-size: 150%; 84 font-size: 150%;
80 font-weight: bold; 85 font-weight: bold;
81 padding: 0.2em 0.5em; 86 padding: 0.2em 0.5em;
82 vertical-align: text-bottom; 87 vertical-align: text-bottom;
83} 88}
84 89
85td#logo { 90td#logo {
86 text-align: right; 91 text-align: right;
87 vertical-align: middle; 92 vertical-align: middle;
88 padding-right: 0.5em; 93 padding-right: 0.5em;
89} 94}
90 95
91td#crumb, td#search { 96td#crumb, td#search {
92 color: #ccc; 97 color: #ccc;
93 border-top: solid 3px #555; 98 border-top: solid 3px #555;
94 background-color: #666; 99 background-color: #666;
95 border-bottom: solid 1px #333; 100 border-bottom: solid 1px #333;
96 padding: 2px 1em; 101 padding: 2px 1em;
97} 102}
98 103
99td#crumb { 104td#crumb {
100 font-weight: bold; 105 font-weight: bold;
101} 106}
102 107
103td#crumb a { 108td#crumb a {
104 color: #ccc; 109 color: #ccc;
105} 110}
106 111
107td#crumb a:hover { 112td#crumb a:hover {
108 color: #eee; 113 color: #eee;
109} 114}
110 115
111td#search { 116td#search {
112 text-align: right; 117 text-align: right;
113 vertical-align: center; 118 vertical-align: center;
114 padding-right: 0.5em; 119 padding-right: 0.5em;
115} 120}
116 121
117td#search form { 122td#search form {
118 margin: 0px; 123 margin: 0px;
119 padding: 0px; 124 padding: 0px;
120} 125}
121 126
122td#search input { 127td#search input {
123 font-size: 9pt; 128 font-size: 9pt;
124 padding: 0px; 129 padding: 0px;
125 width: 10em; 130 width: 10em;
126 border: solid 1px #333; 131 border: solid 1px #333;
127 color: #333; 132 color: #333;
128 background-color: #fff; 133 background-color: #fff;
129} 134}
130 135
131td#summary { 136td#summary {
132 vertical-align: top; 137 vertical-align: top;
133 padding-bottom: 1em; 138 padding-bottom: 1em;
134} 139}
135 140
136td#archivelist { 141td#archivelist {
137 padding-bottom: 1em; 142 padding-bottom: 1em;
138} 143}
139 144
140td#archivelist table { 145td#archivelist table {
141 float: right; 146 float: right;
142 border-collapse: collapse; 147 border-collapse: collapse;
143 border: solid 1px #777; 148 border: solid 1px #777;
144} 149}
145 150
146td#archivelist table th { 151td#archivelist table th {
147 background-color: #ccc; 152 background-color: #ccc;
148} 153}
149 154
150td#content { 155td#content {
151 padding: 1em 0.5em; 156 padding: 1em 0.5em;
152} 157}
153 158
154div#blob { 159div#blob {
155 border: solid 1px black; 160 border: solid 1px black;
156} 161}
157 162
158div.error { 163div.error {
159 color: red; 164 color: red;
160 font-weight: bold; 165 font-weight: bold;
161 margin: 1em 2em; 166 margin: 1em 2em;
162} 167}
163 168
164td.ls-blob, td.ls-dir, td.ls-mod { 169td.ls-blob, td.ls-dir, td.ls-mod {
165 font-family: monospace; 170 font-family: monospace;
166} 171}
167 172
168div.ls-dir a { 173div.ls-dir a {
169 font-weight: bold; 174 font-weight: bold;
170} 175}
171 176
172th.filesize, td.filesize { 177th.filesize, td.filesize {
173 text-align: right; 178 text-align: right;
174} 179}
175 180
176td.filesize { 181td.filesize {
177 font-family: monospace; 182 font-family: monospace;
178} 183}
179 184
180td.filemode { 185td.filemode {
181 font-family: monospace; 186 font-family: monospace;
182} 187}
183 188
184td.blob { 189td.blob {
185 white-space: pre; 190 white-space: pre;
186 font-family: monospace; 191 font-family: monospace;
187 background-color: white; 192 background-color: white;
188} 193}
189 194
190table.nowrap td { 195table.nowrap td {
191 white-space: nowrap; 196 white-space: nowrap;
192} 197}
193 198
194table.commit-info { 199table.commit-info {
195 border-collapse: collapse; 200 border-collapse: collapse;
196 margin-top: 1.5em; 201 margin-top: 1.5em;
197} 202}
198 203
199table.commit-info th { 204table.commit-info th {
200 text-align: left; 205 text-align: left;
201 font-weight: normal; 206 font-weight: normal;
202 padding: 0.1em 1em 0.1em 0.1em; 207 padding: 0.1em 1em 0.1em 0.1em;
203} 208}
204 209
205table.commit-info td { 210table.commit-info td {
206 font-weight: normal; 211 font-weight: normal;
207 padding: 0.1em 1em 0.1em 0.1em; 212 padding: 0.1em 1em 0.1em 0.1em;
208} 213}
209 214
210div.commit-subject { 215div.commit-subject {
211 font-weight: bold; 216 font-weight: bold;
212 font-size: 125%; 217 font-size: 125%;
213 margin: 1.5em 0em 0.5em 0em; 218 margin: 1.5em 0em 0.5em 0em;
214 padding: 0em; 219 padding: 0em;
215} 220}
216 221
217div.commit-msg { 222div.commit-msg {
218 white-space: pre; 223 white-space: pre;
219 font-family: monospace; 224 font-family: monospace;
220} 225}
221 226
222table.diffstat { 227table.diffstat {
223 border-collapse: collapse; 228 border-collapse: collapse;
224 margin-top: 1.5em; 229 margin-top: 1.5em;
225} 230}
226 231
227table.diffstat th { 232table.diffstat th {
228 font-weight: normal; 233 font-weight: normal;
229 text-align: left; 234 text-align: left;
230 text-decoration: underline; 235 text-decoration: underline;
231 padding: 0.1em 1em 0.1em 0.1em; 236 padding: 0.1em 1em 0.1em 0.1em;
232 font-size: 100%; 237 font-size: 100%;
233} 238}
234 239
235table.diffstat td { 240table.diffstat td {
236 padding: 0.1em 1em 0.1em 0.1em; 241 padding: 0.1em 1em 0.1em 0.1em;
237 font-size: 100%; 242 font-size: 100%;
238} 243}
239 244
240table.diffstat td span.modechange { 245table.diffstat td span.modechange {
241 padding-left: 1em; 246 padding-left: 1em;
242 color: red; 247 color: red;
243} 248}
244 249
245table.diffstat td.add a { 250table.diffstat td.add a {
246 color: green; 251 color: green;
247} 252}
248 253
249table.diffstat td.del a { 254table.diffstat td.del a {
250 color: red; 255 color: red;
251} 256}
252 257
253table.diffstat td.upd a { 258table.diffstat td.upd a {
254 color: blue; 259 color: blue;
255} 260}
256 261
257table.diffstat td.summary { 262table.diffstat td.summary {
258 color: #888; 263 color: #888;
259 padding-top: 0.5em; 264 padding-top: 0.5em;
260} 265}
261 266
262table.diff td { 267table.diff td {
263 border: solid 1px black; 268 border: solid 1px black;
264 font-family: monospace; 269 font-family: monospace;
265 white-space: pre; 270 white-space: pre;
266} 271}
267 272
268table.diff td div.hunk { 273table.diff td div.hunk {
269 background: #ccc; 274 background: #ccc;
270} 275}
271 276
272table.diff td div.add { 277table.diff td div.add {
273 color: green; 278 color: green;
274} 279}
275 280
276table.diff td div.del { 281table.diff td div.del {
277 color: red; 282 color: red;
278} 283}
279 284
280.sha1 { 285.sha1 {
281 font-family: courier; 286 font-family: courier;
282 font-size: 90%; 287 font-size: 90%;
283} 288}
284 289
285.left { 290.left {
286 text-align: left; 291 text-align: left;
287} 292}
288 293
289.right { 294.right {
290 text-align: right; 295 text-align: right;
291} 296}