Merge
[catagits/Gitalist.git] / root / static / css / site.css
CommitLineData
2cf1e781 1#the-container {
2 margin: 1em 100px;
3 text-align: center;
4 background-color: white;
5}
6#body {
7 text-align: justify;
8}
9div.content {
10 padding: 0 7px;
11}
12
76eeff61 13/*
1414d2f2ca3732551d1585e7590e60b82492f3
15^^ A rather nice chroma hash
16*/
7a88ffa4 17body {
2cf1e781 18 background-color: #555;
b3ad9e63 19}
20
b4b4d0fd 21thead, tfoot {
1fd8159c 22 /* FTR all table columns should be sortable hence the colour to indicate clickableness. */
7a88ffa4 23 color: navy;
b4b4d0fd 24 font-size: small;
7a88ffa4 25 font-weight: bold !important;
1fd8159c 26}
27thead th {
28 border-bottom: solid 1px #777;
29}
30tfoot td {
31 border-top: solid 1px #777;
32}
33
f78e75d8 34.listing tbody tr:nth-child(even) {
35 background-color: #f7f7f7;
36}
37.listing tbody tr:hover {
38 background-color: #fefeaa;
39}
40
da29fb44 41.chroma-hash {
1fd8159c 42 font-family: monospace;
43 font-size: 1em;
44 font-style: normal;
45}
46div.chroma-hash {
47 float: right;
48}
49
50.time-since {
51 font-style: italic;
52}
53.author, .head {
54 font-weight: bold;
55 font-family: "Trebuchet MS", "Lucida Grande", serif;
7a88ffa4 56}
57
f78e75d8 58.file-name, .file-mode {
59 font-family: monospace;
60}
61.action-list {
62 font-size: smaller;
63}
64
65.path {
66 border-bottom: solid 1px #ddd;
67 padding: 3px 0;
68 font-weight: bold;
69}
70
71
06281e11 72/* header */
73#page-header {
74 height: 25px;
75 padding: 8px;
76 font-size: 1.5em;
77 font-weight: bold;
2cf1e781 78 border-bottom: solid 1px #777;
79 text-align: justify;
06281e11 80}
81
82img.logo {
83 float: right;
84 border-width: 0px;
c8a42dd5 85 margin-top: 4px;
06281e11 86}
87
88/* footer */
89#page-footer {
90 height: 20px;
91 padding: 8px;
92 margin-top: 10px;
93 font-style: italic;
94 background-color: #d9d8d1;
95 border-top: solid 1px #777;
96}
97
1fd8159c 98/* actions include */
99.actions {
100 padding-bottom: 4px 0;
101 font-style: italic;
1fd8159c 102 border-bottom: solid 1px #777;
103 margin-bottom: 10px;
2cf1e781 104 padding: 5px 7px;
1fd8159c 105}
106
107/* pager include */
108.pager {
109 text-align: center;
110}
111
112/* search include */
113#page-search {
114 text-align: right;
115 float: right;
116 font-size: 0.7em;
117 padding-right: 20px;
118}
119
120/* shortlog include */
121table.shortlog tbody tr {
7a88ffa4 122 padding: 1px 0px;
123}
1fd8159c 124table.shortlog tbody td {
7a88ffa4 125 padding: 0 1px;
109ce668 126}
b3ad9e63 127
128/* /commit page */
129.commit-message {
b4b4d0fd 130 font-family: monospace;
f78e75d8 131 font-size: 1.2em;
47495599 132}
133div.commit-message {
1fd8159c 134 margin-bottom: 10px;
135}
136pre.commit-message {
4621ecf0 137 border-top: solid 2px red;
138 border-bottom: solid 2px green;
b4b4d0fd 139 padding: 5px;
b3ad9e63 140}
141.commit-info dt {
b4b4d0fd 142 font-weight: bold;
b3ad9e63 143}
144.commit-info dd {
b4b4d0fd 145 font-family: monospace;
b3ad9e63 146}
147
0ee97fec 148/* /heads */
149.heads .head {
b4b4d0fd 150 font-weight: bold;
0ee97fec 151}
152.heads .current {
b4b4d0fd 153 text-decoration: underline;
0ee97fec 154}
4cb0a92e 155table.heads {
4621ecf0 156 width: 75%;
4cb0a92e 157}
f5da8e7a 158
6d4fe0d7 159/* /blame */
592b68ef 160#blame pre, #blame tt {
6d4fe0d7 161 margin: 0;
592b68ef 162 font-size: 0.9em;
163}
164#blame .commit-info {
165}
166#blame .lineno {
167 text-align: right;
168 padding: 0 8px;
169}
170#blame a {
171 text-decoration: none;
172}
2cf1e781 173#blame {
174 overflow-x: scroll;
175}
592b68ef 176#blame tr.alt {
177 background-color: #f7f7f7;
178}
179#blame tbody tr:hover {
180 background-color: #fefeaa;
6d4fe0d7 181}
2cf1e781 182#blame td {
183 padding: 0 0.2em;
184}
76eeff61 185#blame td.lineno {
da29fb44 186 background-color: #eee;
76eeff61 187}
2cf1e781 188#blame td.date, #blame td.author, #blame td.commit-info {
76eeff61 189}
190#blame .data {
191 padding-left: 5px;
192}
6d4fe0d7 193
f5da8e7a 194/* /blob */
195pre.blob {
b4b4d0fd 196 background-color: #333;
197 color: #ddd;
198 border-left: solid 3px #c33;
199 padding: 5px;
200 padding-left: 15px;
201 margin: 10px 15px;
f5da8e7a 202}
7a88ffa4 203
204/* /blobdiff etc */
205
206.diff-head, .diff-index {
207 font-family: monospace;
208}
209.diff-head {
210 border-top: solid 1px red;
211}
212.diff-index {
213 border-bottom: solid 1px green;
214}
215
f78e75d8 216/* /commitdiff */
217.diff-patch {
218 font-size: 0.8em;
219}
220
7a88ffa4 221/* /log */
222#log .entry {
223 border: solid 1px grey;
224 margin: 5px 0;
225 padding: 5px;
226}
227#log .meta {
228 border-top: dotted 1px #ddd;
f78e75d8 229 color: #311;
7a88ffa4 230}
231#log table.summary {
232 width: 33%;
233 font-size: 0.9em;
234}
235#log .message {
236 font-family: monospace;
237 font-size: 1.15em;
f78e75d8 238 /* XXX Need to enforce find the CSS switch to force the chroma-hash below the message box */
7a88ffa4 239}
240#log .age {
241 float: right;
242 font-size: 0.85em;
243 font-style: italic;
244}
7a88ffa4 245
c8a42dd5 246/* /summary */
247#stats {
248 float: right;
249}
250
f78e75d8 251/* /tree */
252table.tree {
253 width: 65%;
254}
255
256/* Formerly of gitweb.css */
7a88ffa4 257
258span.refs span {
1fd8159c 259 padding: 0px 4px;
260 font-size: 80%;
261 /* XXX needs more families */
262 font-family: Verdana;
263 letter-spacing: -1px;
264 border: 1px solid;
265 background-color: #ffaaff;
266 border-color: #ffccff #ff00ee #ff00ee #ffccff;
7a88ffa4 267}
268
269span.refs span.ref {
1fd8159c 270 background-color: #aaaaff;
271 border-color: #ccccff #0033cc #0033cc #ccccff;
7a88ffa4 272}
273
274span.refs span.tag {
1fd8159c 275 background-color: #ffffaa;
276 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
7a88ffa4 277}
278
279span.refs span.head {
1fd8159c 280 background-color: #aaffaa;
281 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
7a88ffa4 282}
283span.refs a {
284 text-decoration: none;
285}
da8f4f82 286
287a.rss_logo {
77730637 288 float: right;
289 padding: 3px 0px;
290 width: 35px;
291 line-height: 10px;
292 border: 1px solid;
293 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
294 color: #ffffff;
295 background-color: #ff6600;
296 font-weight: bold;
297 font-family: sans-serif;
298 font-size: 70%;
299 font-style: normal;
300 text-align: center;
301 text-decoration: none;
da8f4f82 302}
303
304a.rss_logo:hover {
77730637 305 background-color: #ee5500;
da8f4f82 306}