all repos — cgit @ 2c2047ff67a1e0053f95776e5079e432f69cea54

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: 100%;
 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: #eeb;
 35}
 36table.list th {
 37	font-weight: normal;
 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: #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}
 61div#header img#logo {
 62	float: right;
 63}
 64
 65div#header input {
 66	float: right;
 67	margin: 0.25em 1em;
 68}
 69div#header a {
 70	color: black;
 71}
 72
 73div#content {
 74	margin: 0.5em 0.5em;
 75}
 76
 77div#blob {
 78	border: solid 1px black;
 79}
 80
 81div.error {
 82	color: red;
 83	font-weight: bold;
 84	margin: 1em 2em;
 85}
 86div.ls-blob, div.ls-dir {
 87	font-family: monospace;
 88}
 89div.ls-dir a {
 90	font-weight: bold;
 91}
 92th.filesize, td.filesize {
 93	text-align: right;
 94}
 95td.filesize {
 96	font-family: monospace;
 97}
 98td.filemode {
 99	font-family: monospace;
100}
101
102td.blob {
103	white-space: pre;
104	font-family: monospace;
105	background-color: white;
106}
107
108table.nowrap td {
109	white-space: nowrap;
110}
111
112table.commit-info {
113	border-collapse: collapse;
114	margin-top: 1.5em;
115}
116table.commit-info th {
117	text-align: left;
118	font-weight: normal;
119	padding: 0.1em 1em 0.1em 0.1em;
120}
121table.commit-info td {
122	font-weight: normal;
123	padding: 0.1em 1em 0.1em 0.1em;
124}
125div.commit-subject {
126	font-weight: bold;
127	font-size: 125%;
128	margin: 1.5em 0em 0.5em 0em;
129	padding: 0em;
130}
131div.commit-msg {
132	white-space: pre;
133	font-family: monospace;
134}
135table.diffstat {
136	border-collapse: collapse;
137	margin-top: 1.5em;
138}
139table.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}
146table.diffstat td {
147	padding: 0.1em 1em 0.1em 0.1em;
148	font-size: 100%;
149}
150table.diffstat td span.modechange {
151	padding-left: 1em;
152	color: red;
153}
154table.diffstat td.add a {
155	color: green;
156}
157table.diffstat td.del a {
158	color: red;
159}
160table.diffstat td.upd a {
161	color: blue;
162}
163table.diffstat td.summary {
164	/* border-top: solid 1px black; */
165	color: #888;
166	padding-top: 0.5em;
167}
168
169table.diff td {
170	border: solid 1px black;
171	font-family: monospace;
172	white-space: pre;
173}
174
175table.diff td div.hunk {
176	background: #ccc;
177}
178
179table.diff td div.add {
180	color: green;
181}
182
183table.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}