aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorGravatar Ferry Huberts <ferry.huberts@pelagic.nl>2012-03-18 19:44:03 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2012-03-19 05:22:02 (JST)
commitadd1ccb1d805e9472483e49c3ce55a2e30bf5aae (patch)
tree7a14a6ecc6a1270d7dc524f83e0925ea9bf51f9d /cgit.css
parent7996157f14d99ee6d26c042816e12bd9089c1efb (diff)
downloadcgit-add1ccb1d805e9472483e49c3ce55a2e30bf5aae.zip
cgit-add1ccb1d805e9472483e49c3ce55a2e30bf5aae.tar.gz
css: prefix all styles with div#cgit
to facilitate easier embedding Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css338
1 files changed, 169 insertions, 169 deletions
diff --git a/cgit.css b/cgit.css
index 3734ca7..37872e5 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,4 +1,4 @@
1body, table, form { 1body, div#cgit table, div#cgit form {
2 padding: 0em; 2 padding: 0em;
3 margin: 0em; 3 margin: 0em;
4} 4}
@@ -11,39 +11,39 @@ body {
11 padding: 4px; 11 padding: 4px;
12} 12}
13 13
14a { 14div#cgit a {
15 color: blue; 15 color: blue;
16 text-decoration: none; 16 text-decoration: none;
17} 17}
18 18
19a:hover { 19div#cgit a:hover {
20 text-decoration: underline; 20 text-decoration: underline;
21} 21}
22 22
23table { 23div#cgit table {
24 border-collapse: collapse; 24 border-collapse: collapse;
25} 25}
26 26
27table#header { 27div#cgit table#header {
28 width: 100%; 28 width: 100%;
29 margin-bottom: 1em; 29 margin-bottom: 1em;
30} 30}
31 31
32table#header td.logo { 32div#cgit table#header td.logo {
33 width: 96px; 33 width: 96px;
34} 34}
35 35
36table#header td.main { 36div#cgit table#header td.main {
37 font-size: 250%; 37 font-size: 250%;
38 padding-left: 10px; 38 padding-left: 10px;
39 white-space: nowrap; 39 white-space: nowrap;
40} 40}
41 41
42table#header td.main a { 42div#cgit table#header td.main a {
43 color: #000; 43 color: #000;
44} 44}
45 45
46table#header td.form { 46div#cgit table#header td.form {
47 text-align: right; 47 text-align: right;
48 vertical-align: bottom; 48 vertical-align: bottom;
49 padding-right: 1em; 49 padding-right: 1em;
@@ -51,19 +51,19 @@ table#header td.form {
51 white-space: nowrap; 51 white-space: nowrap;
52} 52}
53 53
54table#header td.form form, 54div#cgit table#header td.form form,
55table#header td.form input, 55div#cgit table#header td.form input,
56table#header td.form select { 56div#cgit table#header td.form select {
57 font-size: 90%; 57 font-size: 90%;
58} 58}
59 59
60table#header td.sub { 60div#cgit table#header td.sub {
61 color: #777; 61 color: #777;
62 border-top: solid 1px #ccc; 62 border-top: solid 1px #ccc;
63 padding-left: 10px; 63 padding-left: 10px;
64} 64}
65 65
66table.tabs { 66div#cgit table.tabs {
67 border-bottom: solid 3px #ccc; 67 border-bottom: solid 3px #ccc;
68 border-collapse: collapse; 68 border-collapse: collapse;
69 margin-top: 2em; 69 margin-top: 2em;
@@ -71,74 +71,74 @@ table.tabs {
71 width: 100%; 71 width: 100%;
72} 72}
73 73
74table.tabs td { 74div#cgit table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79div#cgit table.tabs td a {
80 padding: 2px 0.75em; 80 padding: 2px 0.75em;
81 color: #777; 81 color: #777;
82 font-size: 110%; 82 font-size: 110%;
83} 83}
84 84
85table.tabs td a.active { 85div#cgit table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90div#cgit table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94div#cgit table.tabs td.form form {
95 padding-bottom: 2px; 95 padding-bottom: 2px;
96 font-size: 90%; 96 font-size: 90%;
97 white-space: nowrap; 97 white-space: nowrap;
98} 98}
99 99
100table.tabs td.form input, 100div#cgit table.tabs td.form input,
101table.tabs td.form select { 101div#cgit table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.path { 105div#cgit div.path {
106 margin: 0px; 106 margin: 0px;
107 padding: 5px 2em 2px 2em; 107 padding: 5px 2em 2px 2em;
108 color: #000; 108 color: #000;
109 background-color: #eee; 109 background-color: #eee;
110} 110}
111 111
112div.content { 112div#cgit div.content {
113 margin: 0px; 113 margin: 0px;
114 padding: 2em; 114 padding: 2em;
115 border-bottom: solid 3px #ccc; 115 border-bottom: solid 3px #ccc;
116} 116}
117 117
118 118
119table.list { 119div#cgit table.list {
120 width: 100%; 120 width: 100%;
121 border: none; 121 border: none;
122 border-collapse: collapse; 122 border-collapse: collapse;
123} 123}
124 124
125table.list tr { 125div#cgit table.list tr {
126 background: white; 126 background: white;
127} 127}
128 128
129table.list tr.logheader { 129div#cgit table.list tr.logheader {
130 background: #eee; 130 background: #eee;
131} 131}
132 132
133table.list tr:hover { 133div#cgit table.list tr:hover {
134 background: #eee; 134 background: #eee;
135} 135}
136 136
137table.list tr.nohover:hover { 137div#cgit table.list tr.nohover:hover {
138 background: white; 138 background: white;
139} 139}
140 140
141table.list th { 141div#cgit table.list th {
142 font-weight: bold; 142 font-weight: bold;
143 /* color: #888; 143 /* color: #888;
144 border-top: dashed 1px #888; 144 border-top: dashed 1px #888;
@@ -148,93 +148,93 @@ table.list th {
148 vertical-align: baseline; 148 vertical-align: baseline;
149} 149}
150 150
151table.list td { 151div#cgit table.list td {
152 border: none; 152 border: none;
153 padding: 0.1em 0.5em 0.1em 0.5em; 153 padding: 0.1em 0.5em 0.1em 0.5em;
154} 154}
155 155
156table.list td.commitgraph { 156div#cgit table.list td.commitgraph {
157 font-family: monospace; 157 font-family: monospace;
158 white-space: pre; 158 white-space: pre;
159} 159}
160 160
161table.list td.commitgraph .column1 { 161div#cgit table.list td.commitgraph .column1 {
162 color: #a00; 162 color: #a00;
163} 163}
164 164
165table.list td.commitgraph .column2 { 165div#cgit table.list td.commitgraph .column2 {
166 color: #0a0; 166 color: #0a0;
167} 167}
168 168
169table.list td.commitgraph .column3 { 169div#cgit table.list td.commitgraph .column3 {
170 color: #aa0; 170 color: #aa0;
171} 171}
172 172
173table.list td.commitgraph .column4 { 173div#cgit table.list td.commitgraph .column4 {
174 color: #00a; 174 color: #00a;
175} 175}
176 176
177table.list td.commitgraph .column5 { 177div#cgit table.list td.commitgraph .column5 {
178 color: #a0a; 178 color: #a0a;
179} 179}
180 180
181table.list td.commitgraph .column6 { 181div#cgit table.list td.commitgraph .column6 {
182 color: #0aa; 182 color: #0aa;
183} 183}
184 184
185table.list td.logsubject { 185div#cgit table.list td.logsubject {
186 font-family: monospace; 186 font-family: monospace;
187 font-weight: bold; 187 font-weight: bold;
188} 188}
189 189
190table.list td.logmsg { 190div#cgit table.list td.logmsg {
191 font-family: monospace; 191 font-family: monospace;
192 white-space: pre; 192 white-space: pre;
193 padding: 0 0.5em; 193 padding: 0 0.5em;
194} 194}
195 195
196table.list td a { 196div#cgit table.list td a {
197 color: black; 197 color: black;
198} 198}
199 199
200table.list td a.ls-dir { 200div#cgit table.list td a.ls-dir {
201 font-weight: bold; 201 font-weight: bold;
202 color: #00f; 202 color: #00f;
203} 203}
204 204
205table.list td a:hover { 205div#cgit table.list td a:hover {
206 color: #00f; 206 color: #00f;
207} 207}
208 208
209img { 209div#cgit img {
210 border: none; 210 border: none;
211} 211}
212 212
213input#switch-btn { 213div#cgit input#switch-btn {
214 margin: 2px 0px 0px 0px; 214 margin: 2px 0px 0px 0px;
215} 215}
216 216
217td#sidebar input.txt { 217div#cgit td#sidebar input.txt {
218 width: 100%; 218 width: 100%;
219 margin: 2px 0px 0px 0px; 219 margin: 2px 0px 0px 0px;
220} 220}
221 221
222table#grid { 222div#cgit table#grid {
223 margin: 0px; 223 margin: 0px;
224} 224}
225 225
226td#content { 226div#cgit td#content {
227 vertical-align: top; 227 vertical-align: top;
228 padding: 1em 2em 1em 1em; 228 padding: 1em 2em 1em 1em;
229 border: none; 229 border: none;
230} 230}
231 231
232div#summary { 232div#cgit div#summary {
233 vertical-align: top; 233 vertical-align: top;
234 margin-bottom: 1em; 234 margin-bottom: 1em;
235} 235}
236 236
237table#downloads { 237div#cgit table#downloads {
238 float: right; 238 float: right;
239 border-collapse: collapse; 239 border-collapse: collapse;
240 border: solid 1px #777; 240 border: solid 1px #777;
@@ -242,152 +242,152 @@ table#downloads {
242 margin-bottom: 0.5em; 242 margin-bottom: 0.5em;
243} 243}
244 244
245table#downloads th { 245div#cgit table#downloads th {
246 background-color: #ccc; 246 background-color: #ccc;
247} 247}
248 248