summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <larsh@slaptop.hjemli.net>2007-01-27 23:39:26 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-01-27 23:52:41 (UTC)
commit777faf7e509e1de2b795b2a326ff00c9bd799104 (patch) (unidiff)
treeccb440445caf46cbfa3d4bd21d743697f37a9876 /cgit.css
parent447025f62ccbbb6e038d42009368e28f3e162460 (diff)
downloadcgit-777faf7e509e1de2b795b2a326ff00c9bd799104.zip
cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.tar.gz
cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.tar.bz2
Cleanup table listings
Make the output for <table class='list'> a bit nicer Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css10
1 files changed, 3 insertions, 7 deletions
diff --git a/cgit.css b/cgit.css
index d94b1b7..d2c0d0b 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,103 +1,99 @@
1body { 1body {
2 font-family: arial; 2 font-family: arial;
3 font-size: normal; 3 font-size: normal;
4 background: white; 4 background: white;
5 padding: 0em; 5 padding: 0em;
6 margin: 0.5em 1em; 6 margin: 0.5em 1em;
7} 7}
8 8
9 9
10h2 { 10h2 {
11 font-size: 120%; 11 font-size: 120%;
12 font-weight: bold; 12 font-weight: bold;
13 margin-bottom: 0.5em; 13 margin-bottom: 0.5em;
14} 14}
15 15
16a { 16a {
17 color: blue; 17 color: blue;
18 text-decoration: none; 18 text-decoration: none;
19} 19}
20 20
21a:hover { 21a:hover {
22 text-decoration: underline; 22 text-decoration: underline;
23} 23}
24 24
25table.list { 25table.list {
26 border: solid 1px black; 26 border: none;
27 border-collapse: collapse; 27 border-collapse: collapse;
28 border: solid 1px #aaa;
29} 28}
30table.list tr { 29table.list tr {
31 background: white; 30 background: white;
32} 31}
33table.list tr:hover { 32table.list tr:hover {
34 background: #eeb; 33 background: #eee;
35} 34}
36table.list tr.nohover:hover { 35table.list tr.nohover:hover {
37 background: white; 36 background: white;
38} 37}
39table.list th { 38table.list th {
40 font-weight: normal; 39 font-weight: normal;
41 background: #ddd; 40 border-bottom: solid 1px #777;
42 border-top: solid 1px #aaa;
43 border-bottom: solid 1px #aaa;
44 padding: 0.1em 0.5em 0.1em 0.5em; 41 padding: 0.1em 0.5em 0.1em 0.5em;
45 vertical-align: baseline; 42 vertical-align: baseline;
46} 43}
47table.list td { 44table.list td {
48 border: none; 45 border: none;
49 padding: 0.1em 0.5em 0.1em 0.5em; 46 padding: 0.1em 0.5em 0.1em 0.5em;
50} 47}
51img { 48img {
52 border: none; 49 border: none;
53} 50}
54 51
55
56div#header { 52div#header {
57 background-color: #ddd; 53 background-color: #ddd;
58 padding: 0.25em 0.25em 0.25em 0.5em; 54 padding: 0.25em 0.25em 0.25em 0.5em;
59 font-size: 150%; 55 font-size: 150%;
60 font-weight: bold; 56 font-weight: bold;
61 border: solid 1px #aaa; 57 border: solid 1px #aaa;
62 vertical-align: middle; 58 vertical-align: middle;
63 margin-bottom: 2em; 59 margin-bottom: 2em;
64} 60}
65div#header img#logo { 61div#header img#logo {
66 float: right; 62 float: right;
67} 63}
68 64
69div#header input { 65div#header input {
70 float: right; 66 float: right;
71 margin: 0.25em 1em; 67 margin: 0.25em 1em;
72} 68}
73div#header a { 69div#header a {
74 color: black; 70 color: black;
75} 71}
76 72
77div#content { 73div#content {
78 margin: 0.5em 0.5em; 74 margin: 0.5em 0.5em;
79} 75}
80 76
81div#blob { 77div#blob {
82 border: solid 1px black; 78 border: solid 1px black;
83} 79}
84 80
85div.error { 81div.error {
86 color: red; 82 color: red;
87 font-weight: bold; 83 font-weight: bold;
88 margin: 1em 2em; 84 margin: 1em 2em;
89} 85}
90div.ls-blob, div.ls-dir { 86div.ls-blob, div.ls-dir {
91 font-family: monospace; 87 font-family: monospace;
92} 88}
93div.ls-dir a { 89div.ls-dir a {
94 font-weight: bold; 90 font-weight: bold;
95} 91}
96th.filesize, td.filesize { 92th.filesize, td.filesize {
97 text-align: right; 93 text-align: right;
98} 94}
99td.filesize { 95td.filesize {
100 font-family: monospace; 96 font-family: monospace;
101} 97}
102td.filemode { 98td.filemode {
103 font-family: monospace; 99 font-family: monospace;