summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-05-18 20:48:22 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-18 20:51:18 (UTC)
commit5877c49f68b1e1bef94b4867f22c336f0e1605b6 (patch) (unidiff)
tree4e628096d9f189b7ef5ff9dcda40a07a5f7b21d0 /cgit.css
parent08cc2e5f0e24773dad81d38bd6b689e36afe9dda (diff)
downloadcgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.zip
cgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.tar.gz
cgit-5877c49f68b1e1bef94b4867f22c336f0e1605b6.tar.bz2
Teach cgit how to group repositories by category
The new parameter 'repo.group' is used to set the repository group for the following repositores. Whenever this parameter changes value, a subheading is generated in the index page (printing the current value of repo.group). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
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 6c7f9c3..88a0a1d 100644
--- a/cgit.css
+++ b/cgit.css
@@ -228,128 +228,133 @@ div.commit-subject {
228 font-weight: bold; 228 font-weight: bold;
229 font-size: 125%; 229 font-size: 125%;
230 margin: 1.5em 0em 0.5em 0em; 230 margin: 1.5em 0em 0.5em 0em;
231 padding: 0em; 231 padding: 0em;
232} 232}
233 233
234div.commit-msg { 234div.commit-msg {
235 white-space: pre; 235 white-space: pre;
236 font-family: monospace; 236 font-family: monospace;
237} 237}
238 238
239div.diffstat-header { 239div.diffstat-header {
240 font-weight: bold; 240 font-weight: bold;
241 padding-top: 1.5em; 241 padding-top: 1.5em;
242} 242}
243 243
244table.diffstat { 244table.diffstat {
245 border-collapse: collapse; 245 border-collapse: collapse;
246 width: 100%; 246 width: 100%;
247 border: solid 1px #aaa; 247 border: solid 1px #aaa;
248 background-color: #eee; 248 background-color: #eee;
249} 249}
250 250
251table.diffstat tr:hover { 251table.diffstat tr:hover {
252 background-color: #ccc; 252 background-color: #ccc;
253} 253}
254 254
255table.diffstat th { 255table.diffstat th {
256 font-weight: normal; 256 font-weight: normal;
257 text-align: left; 257 text-align: left;
258 text-decoration: underline; 258 text-decoration: underline;
259 padding: 0.1em 1em 0.1em 0.1em; 259 padding: 0.1em 1em 0.1em 0.1em;
260 font-size: 100%; 260 font-size: 100%;
261} 261}
262 262
263table.diffstat td { 263table.diffstat td {
264 padding: 0.2em 0.2em 0.1em 0.1em; 264 padding: 0.2em 0.2em 0.1em 0.1em;
265 font-size: 100%; 265 font-size: 100%;
266 border: none; 266 border: none;
267} 267}
268 268
269table.diffstat td.mode { 269table.diffstat td.mode {
270 white-space: nowrap; 270 white-space: nowrap;
271} 271}
272 272
273table.diffstat td span.modechange { 273table.diffstat td span.modechange {
274 padding-left: 1em; 274 padding-left: 1em;
275 color: red; 275 color: red;
276} 276}
277 277
278table.diffstat td.add a { 278table.diffstat td.add a {
279 color: green; 279 color: green;
280} 280}
281 281
282table.diffstat td.del a { 282table.diffstat td.del a {
283 color: red; 283 color: red;
284} 284}
285 285
286table.diffstat td.upd a { 286table.diffstat td.upd a {
287 color: blue; 287 color: blue;
288} 288}
289 289
290table.diffstat td.graph { 290table.diffstat td.graph {
291 width: 75%; 291 width: 75%;
292 vertical-align: center; 292 vertical-align: center;
293} 293}
294 294
295table.diffstat td.graph table { 295table.diffstat td.graph table {
296 border: none; 296 border: none;
297} 297}
298 298
299table.diffstat td.graph td { 299table.diffstat td.graph td {
300 padding: 0px; 300 padding: 0px;
301 border: 0px; 301 border: 0px;
302 height: 7pt; 302 height: 7pt;
303} 303}
304 304
305table.diffstat td.graph td.add { 305table.diffstat td.graph td.add {
306 background-color: #5c5; 306 background-color: #5c5;
307} 307}
308 308
309table.diffstat td.graph td.rem { 309table.diffstat td.graph td.rem {
310 background-color: #c55; 310 background-color: #c55;
311} 311}
312 312
313table.diffstat td.graph td.none { 313table.diffstat td.graph td.none {
314 background-color: none; 314 background-color: none;
315} 315}
316 316
317div.diffstat-summary { 317div.diffstat-summary {
318 color: #888; 318 color: #888;
319 padding-top: 0.5em; 319 padding-top: 0.5em;
320} 320}
321 321
322table.diff td { 322table.diff td {
323 font-family: monospace; 323 font-family: monospace;
324 white-space: pre; 324 white-space: pre;
325} 325}
326 326
327table.diff td div.head { 327table.diff td div.head {
328 font-weight: bold; 328 font-weight: bold;
329 padding-top: 1em; 329 padding-top: 1em;
330} 330}
331 331
332table.diff td div.hunk { 332table.diff td div.hunk {
333 color: #009; 333 color: #009;
334} 334}
335 335
336table.diff td div.add { 336table.diff td div.add {
337 color: green; 337 color: green;
338} 338}
339 339
340table.diff td div.del { 340table.diff td div.del {
341 color: red; 341 color: red;
342} 342}
343 343
344.sha1 { 344.sha1 {
345 font-family: courier; 345 font-family: courier;
346 font-size: 90%; 346 font-size: 90%;
347} 347}
348 348
349.left { 349.left {
350 text-align: left; 350 text-align: left;
351} 351}
352 352
353.right { 353.right {
354 text-align: right; 354 text-align: right;
355} 355}
356
357table.list td.repogroup {
358 padding-top: 1em;
359 font-weight: bold;
360}