The blame view now looks similar to the blob so a bit easier on the eyes.
[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}
9c96c235 190#blame tbody td.data {
76eeff61 191 padding-left: 5px;
9c96c235 192 background-color: #333;
193 color: #ddd;
76eeff61 194}
6d4fe0d7 195
f5da8e7a 196/* /blob */
197pre.blob {
b4b4d0fd 198 background-color: #333;
199 color: #ddd;
200 border-left: solid 3px #c33;
201 padding: 5px;
202 padding-left: 15px;
203 margin: 10px 15px;
f5da8e7a 204}
7a88ffa4 205
206/* /blobdiff etc */
207
208.diff-head, .diff-index {
209 font-family: monospace;
210}
211.diff-head {
212 border-top: solid 1px red;
213}
214.diff-index {
215 border-bottom: solid 1px green;
216}
217
f78e75d8 218/* /commitdiff */
219.diff-patch {
220 font-size: 0.8em;
221}
222
7a88ffa4 223/* /log */
224#log .entry {
225 border: solid 1px grey;
226 margin: 5px 0;
227 padding: 5px;
228}
229#log .meta {
230 border-top: dotted 1px #ddd;
f78e75d8 231 color: #311;
7a88ffa4 232}
233#log table.summary {
234 width: 33%;
235 font-size: 0.9em;
236}
237#log .message {
238 font-family: monospace;
239 font-size: 1.15em;
f78e75d8 240 /* XXX Need to enforce find the CSS switch to force the chroma-hash below the message box */
7a88ffa4 241}
242#log .age {
243 float: right;
244 font-size: 0.85em;
245 font-style: italic;
246}
7a88ffa4 247
c8a42dd5 248/* /summary */
249#stats {
250 float: right;
251}
252
f78e75d8 253/* /tree */
254table.tree {
255 width: 65%;
256}
257
258/* Formerly of gitweb.css */
7a88ffa4 259
260span.refs span {
1fd8159c 261 padding: 0px 4px;
262 font-size: 80%;
263 /* XXX needs more families */
264 font-family: Verdana;
265 letter-spacing: -1px;
266 border: 1px solid;
267 background-color: #ffaaff;
268 border-color: #ffccff #ff00ee #ff00ee #ffccff;
7a88ffa4 269}
270
271span.refs span.ref {
1fd8159c 272 background-color: #aaaaff;
273 border-color: #ccccff #0033cc #0033cc #ccccff;
7a88ffa4 274}
275
276span.refs span.tag {
1fd8159c 277 background-color: #ffffaa;
278 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
7a88ffa4 279}
280
281span.refs span.head {
1fd8159c 282 background-color: #aaffaa;
283 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
7a88ffa4 284}
285span.refs a {
286 text-decoration: none;
287}
da8f4f82 288
289a.rss_logo {
77730637 290 float: right;
291 padding: 3px 0px;
292 width: 35px;
293 line-height: 10px;
294 border: 1px solid;
295 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
296 color: #ffffff;
297 background-color: #ff6600;
298 font-weight: bold;
299 font-family: sans-serif;
300 font-size: 70%;
301 font-style: normal;
302 text-align: center;
303 text-decoration: none;
da8f4f82 304}
305
306a.rss_logo:hover {
77730637 307 background-color: #ee5500;
da8f4f82 308}