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