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