2553cee6584c83380bb9e9b5b884d1589d1295a9
[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 }
69
70 /* footer */
71 #page-footer {
72   height: 20px;
73   padding: 8px;
74   margin-top: 10px;
75   font-style: italic;
76   background-color: #d9d8d1;
77   border-top: solid 1px #777;
78 }
79
80 /* actions include */
81 .actions {
82   padding-bottom: 4px 0;
83   font-style: italic;
84   border-top: solid 1px #777;
85   border-bottom: solid 1px #777;
86   margin-bottom: 10px;
87   padding: 5px 0;
88 }
89
90 /* pager include */
91 .pager {
92   text-align: center;
93 }
94
95 /* search include */
96 #page-search {
97   text-align: right;
98   float: right;
99   font-size: 0.7em;
100   padding-right: 20px;
101 }
102
103 /* shortlog include */
104 table.shortlog tbody tr {
105   padding: 1px 0px;
106 }
107 table.shortlog tbody td {
108   padding: 0 1px;
109 }
110
111 /* /commit page */
112 .commit-message {
113   font-family: monospace;
114   font-size: 1.2em;
115 }
116 div.commit-message {
117   margin-bottom: 10px;
118 }
119 pre.commit-message {
120   border-top:  solid 2px red;
121   border-bottom:  solid 2px green;
122   padding: 5px;
123 }
124 .commit-info dt {
125   font-weight: bold;
126 }
127 .commit-info dd {
128   font-family: monospace;
129 }
130
131 /* /heads */
132 .heads .head {
133   font-weight: bold;
134 }
135 .heads .current {
136   text-decoration: underline;
137 }
138 table.heads {
139   width: 75%;
140 }
141
142 /* /blob */
143 pre.blob {
144   background-color: #333;
145   color: #ddd;
146   border-left: solid 3px #c33;
147   padding: 5px;
148   padding-left: 15px;
149   margin: 10px 15px;
150 }
151
152 /* /blobdiff etc */
153
154 .diff-head, .diff-index {
155   font-family: monospace;
156 }
157 .diff-head {
158   border-top: solid 1px red;
159 }
160 .diff-index {
161   border-bottom: solid 1px green;
162 }
163
164 /* /commitdiff */
165 .diff-patch {
166   font-size: 0.8em;
167 }
168
169 /* /log */
170 #log .entry {
171   border: solid 1px grey;
172   margin: 5px 0;
173   padding: 5px;
174 }
175 #log .meta {
176   border-top: dotted 1px #ddd;
177   color: #311;
178 }
179 #log table.summary {
180   width: 33%;
181   font-size: 0.9em;
182 }
183 #log .message {
184   font-family: monospace;
185   font-size: 1.15em;
186   /* XXX Need to enforce find the CSS switch to force the chroma-hash below the message box */
187 }
188 #log .age {
189   float: right;
190   font-size: 0.85em;
191   font-style: italic;
192 }
193
194 /* /tree */
195 table.tree {
196   width: 65%;
197 }
198
199 /* Formerly of gitweb.css */
200
201 span.refs span {
202   padding: 0px 4px;
203   font-size: 80%;
204   /* XXX needs more families */
205   font-family: Verdana;
206   letter-spacing: -1px;
207   border: 1px solid;
208   background-color: #ffaaff;
209   border-color: #ffccff #ff00ee #ff00ee #ffccff;
210 }
211
212 span.refs span.ref {
213   background-color: #aaaaff;
214   border-color: #ccccff #0033cc #0033cc #ccccff;
215 }
216
217 span.refs span.tag {
218   background-color: #ffffaa;
219   border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
220 }
221
222 span.refs span.head {
223   background-color: #aaffaa;
224   border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
225 }
226 span.refs a {
227   text-decoration: none;
228 }