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