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