]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
Layout update
[ps-cgit] / cgit.css
1 body {
2         font-family: arial;
3         font-size: 11pt;
4         background: white;
5         padding: 0em;
6         margin: 0em;
7 }
8
9
10 h2 {
11         font-size: 120%;
12         font-weight: bold;
13         margin-bottom: 0.25em;
14 }
15
16 h3 {
17         margin-top: 0em;
18         font-size: 100%;
19         font-weight: normal;
20 }
21
22 a {
23         color: blue;
24         text-decoration: none;
25 }
26
27 a:hover {
28         text-decoration: underline;
29 }
30
31 table.list {
32         border: none;
33         border-collapse: collapse;
34 }
35
36 table.list tr {
37         background: white;
38 }
39
40 table.list tr:hover {
41         background: #eee;
42 }
43
44 table.list tr.nohover:hover {
45         background: white;
46 }
47
48 table.list th {
49         font-weight: normal;
50         border-bottom: solid 1px #777;
51         padding: 0.1em 0.5em 0.1em 0.5em;
52         vertical-align: baseline;
53 }
54
55 table.list td {
56         border: none;
57         padding: 0.1em 0.5em 0.1em 0.5em;
58 }
59
60 img {
61         border: none;
62 }
63
64 table#layout {
65         width: 100%;
66         border-collapse: separate;
67         border-spacing: 0px;
68         margin: 0px;
69 }
70
71 td#header, td#logo {
72         color: #666;
73         background-color: #ddd;
74         border-bottom: solid 1px #000;
75 }
76
77 td#header {
78         font-size: 150%;
79         font-weight: bold;
80         padding: 0.2em 0.5em;
81         vertical-align: text-bottom;
82 }
83
84 td#logo {
85         text-align: right;
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;
104 }
105
106 td#crumb a:hover {
107         color: #eee;
108 }
109
110 td#search {
111         text-align: right;
112         vertical-align: center;
113         padding-right: 0.5em;
114 }
115
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;
128 }
129
130 td#content {
131         padding: 1em 0.5em;
132 }
133
134 div#blob {
135         border: solid 1px black;
136 }
137
138 div.error {
139         color: red;
140         font-weight: bold;
141         margin: 1em 2em;
142 }
143
144 div.ls-blob, div.ls-dir {
145         font-family: monospace;
146 }
147
148 div.ls-dir a {
149         font-weight: bold;
150 }
151
152 th.filesize, td.filesize {
153         text-align: right;
154 }
155
156 td.filesize {
157         font-family: monospace;
158 }
159
160 td.filemode {
161         font-family: monospace;
162 }
163
164 td.blob {
165         white-space: pre;
166         font-family: monospace;
167         background-color: white;
168 }
169
170 table.nowrap td {
171         white-space: nowrap;
172 }
173
174 table.commit-info {
175         border-collapse: collapse;
176         margin-top: 1.5em;
177 }
178
179 table.commit-info th {
180         text-align: left;
181         font-weight: normal;
182         padding: 0.1em 1em 0.1em 0.1em;
183 }
184
185 table.commit-info td {
186         font-weight: normal;
187         padding: 0.1em 1em 0.1em 0.1em;
188 }
189
190 div.commit-subject {
191         font-weight: bold;
192         font-size: 125%;
193         margin: 1.5em 0em 0.5em 0em;
194         padding: 0em;
195 }
196
197 div.commit-msg {
198         white-space: pre;
199         font-family: monospace;
200 }
201
202 table.diffstat {
203         border-collapse: collapse;
204         margin-top: 1.5em;
205 }
206
207 table.diffstat th {
208         font-weight: normal;
209         text-align: left;
210         text-decoration: underline;
211         padding: 0.1em 1em 0.1em 0.1em;
212         font-size: 100%;
213 }
214
215 table.diffstat td {
216         padding: 0.1em 1em 0.1em 0.1em;
217         font-size: 100%;
218 }
219
220 table.diffstat td span.modechange {
221         padding-left: 1em;
222         color: red;
223 }
224
225 table.diffstat td.add a {
226         color: green;
227 }
228
229 table.diffstat td.del a {
230         color: red;
231 }
232
233 table.diffstat td.upd a {
234         color: blue;
235 }
236
237 table.diffstat td.summary {
238         color: #888;
239         padding-top: 0.5em;
240 }
241
242 table.diff td {
243         border: solid 1px black;
244         font-family: monospace;
245         white-space: pre;
246 }
247
248 table.diff td div.hunk {
249         background: #ccc;
250 }
251
252 table.diff td div.add {
253         color: green;
254 }
255
256 table.diff td div.del {
257         color: red;
258 }
259
260 .sha1 {
261         font-family: courier;
262         font-size: 90%;
263 }
264
265 .left {
266         text-align: left;
267 }
268
269 .right {
270         text-align: right;
271 }