all repos — cgit @ f596d10d7391ed72b73019e037a7f7eec7a50d02

a hyperfast web frontend for git written in c

cgit.css (view raw)

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