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