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