all repos — cgit @ 23734c5a2b607dca2d634cafdc63202a687f26d3

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