all repos — cgit @ 9d8d9b61238df3a855504825e5f735d00289f12b

a hyperfast web frontend for git written in c

cgit.css (view raw)

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