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