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