]> git.cameronkatri.com Git - cgit.git/blob - cgit.css
Add generic support for search box in page header
[cgit.git] / 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: 100%;
12 font-weight: bold;
13 margin-bottom: 0.1em;
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: solid 1px black;
27 border-collapse: collapse;
28 border: solid 1px #aaa;
29 }
30 table.list tr {
31 background: white;
32 }
33 table.list tr:hover {
34 background: #eeb;
35 }
36 table.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 }
43 table.list td {
44 border: none;
45 padding: 0.1em 0.5em 0.1em 0.5em;
46 }
47 img {
48 border: none;
49 }
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 }