]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
Cleanup table listings
[ps-cgit] / cgit.css
1 body {
2         font-family: arial;
3         font-size: normal;
4         background: white;
5         padding: 0em;
6         margin: 0.5em 1em;
7 }
8
9
10 h2 {
11         font-size: 120%;
12         font-weight: bold;
13         margin-bottom: 0.5em;
14 }
15
16 a {
17         color: blue;
18         text-decoration: none;
19 }
20
21 a:hover {
22         text-decoration: underline;
23 }
24
25 table.list {
26         border: none;
27         border-collapse: collapse;
28 }
29 table.list tr {
30         background: white;
31 }
32 table.list tr:hover {
33         background: #eee;
34 }
35 table.list tr.nohover:hover {
36         background: white;
37 }
38 table.list th {
39         font-weight: normal;
40         border-bottom: solid 1px #777;
41         padding: 0.1em 0.5em 0.1em 0.5em;
42         vertical-align: baseline;
43 }
44 table.list td {
45         border: none;
46         padding: 0.1em 0.5em 0.1em 0.5em;
47 }
48 img {
49         border: none;
50 }
51
52 div#header {
53         background-color: #ddd;
54         padding: 0.25em 0.25em 0.25em 0.5em;
55         font-size: 150%;
56         font-weight: bold;
57         border: solid 1px #aaa;
58         vertical-align: middle;
59         margin-bottom: 2em;
60 }
61 div#header img#logo {
62         float: right;
63 }
64
65 div#header input {
66         float: right;
67         margin: 0.25em 1em;
68 }
69 div#header a {
70         color: black;
71 }
72
73 div#content {
74         margin: 0.5em 0.5em;
75 }
76
77 div#blob {
78         border: solid 1px black;
79 }
80
81 div.error {
82         color: red;
83         font-weight: bold;
84         margin: 1em 2em;
85 }
86 div.ls-blob, div.ls-dir {
87         font-family: monospace;
88 }
89 div.ls-dir a {
90         font-weight: bold;
91 }
92 th.filesize, td.filesize {
93         text-align: right;
94 }
95 td.filesize {
96         font-family: monospace;
97 }
98 td.filemode {
99         font-family: monospace;
100 }
101
102 td.blob {
103         white-space: pre;
104         font-family: monospace;
105         background-color: white;
106 }
107
108 table.nowrap td {
109         white-space: nowrap;
110 }
111
112 table.commit-info {
113         border-collapse: collapse;
114         margin-top: 1.5em;
115 }
116 table.commit-info th {
117         text-align: left;
118         font-weight: normal;
119         padding: 0.1em 1em 0.1em 0.1em;
120 }
121 table.commit-info td {
122         font-weight: normal;
123         padding: 0.1em 1em 0.1em 0.1em;
124 }
125 div.commit-subject {
126         font-weight: bold;
127         font-size: 125%;
128         margin: 1.5em 0em 0.5em 0em;
129         padding: 0em;
130 }
131 div.commit-msg {
132         white-space: pre;
133         font-family: monospace;
134 }
135 table.diffstat {
136         border-collapse: collapse;
137         margin-top: 1.5em;
138 }
139 table.diffstat th {
140         font-weight: normal;
141         text-align: left;
142         text-decoration: underline;
143         padding: 0.1em 1em 0.1em 0.1em;
144         font-size: 100%;
145 }
146 table.diffstat td {
147         padding: 0.1em 1em 0.1em 0.1em;
148         font-size: 100%;
149 }
150 table.diffstat td span.modechange {
151         padding-left: 1em;
152         color: red;
153 }
154 table.diffstat td.add a {
155         color: green;
156 }
157 table.diffstat td.del a {
158         color: red;
159 }
160 table.diffstat td.upd a {
161         color: blue;
162 }
163 table.diffstat td.summary {
164         /* border-top: solid 1px black; */
165         color: #888;
166         padding-top: 0.5em;
167 }
168
169 table.diff td {
170         border: solid 1px black;
171         font-family: monospace;
172         white-space: pre;
173 }
174
175 table.diff td div.hunk {
176         background: #ccc;
177 }
178
179 table.diff td div.add {
180         color: green;
181 }
182
183 table.diff td div.del {
184         color: red;
185 }
186
187 .sha1 {
188         font-family: courier;
189         font-size: 90%;
190 }
191 .left {
192         text-align: left;
193 }
194 .right {
195         text-align: right;
196 }