viewblob: convert to utf-8 if needed.
[viewgit.git] / light.css
blobb1b279ca022f91e7e1bf3dbcd70dc7db7974a5aa
1 /**
2 * A lightweight style for ViewGit
4 * @author Heikki Hokkanen <hoxu@users.sf.net>
5 */
6 body {
7 color: black;
8 background-color: white;
11 h1 {
12 font-size: 130%;
15 h1 a {
16 text-decoration: none;
19 table {
20 width: 100%;
21 border-collapse: collapse;
22 font-size: 80%;
25 table tr td {
28 table tbody tr:hover {
29 background-color: #ccc;
32 table th {
33 text-align: left;
34 border-bottom: 1px solid black;
37 .notices {
38 font-size: 80%;
39 padding-left: 1em;
40 margin: 0;
43 .notices p {
44 margin: 0;
45 padding: 0;
48 .notices .error {
49 background-color: #f77;
52 .notices .info {
53 background-color: #ff7;
56 .notices .warning {
57 background-color: #fc7;
60 .nav {
61 font-size: 80%;
62 padding: 0.5em;
65 .nav a {
66 text-decoration: none;
69 .pagenav {
70 margin-top: 0.3em;
71 padding-top: 0.5em;
72 padding-bottom: 0.5em;
73 font-size: 80%;
74 border-top: 1px solid #333;
75 border-bottom: 1px solid #333;
78 .pagenav a {
79 text-decoration: none;
82 .pagenav a:hover {
83 text-decoration: underline;
86 .pagenav .cur {
87 font-weight: bold;
90 .search {
91 display: inline;
94 .ad {
95 font-size: 60%;
96 position: absolute;
97 top: 0;
98 right: 0;
101 span.label {
102 font-size: 80%;
103 padding-left: 0.5em;
104 padding-right: 0.5em;
105 margin-left: 0.5em;
106 font-weight: bold;
109 span.head {
110 background-color: #afa;
111 border-right: 1px solid #090;
112 border-bottom: 1px solid #090;
115 span.remote {
116 background-color: #faf;
117 border-right: 1px solid #909;
118 border-bottom: 1px solid #909;
121 span.tag {
122 background-color: #ffa;
123 border-right: 1px solid #990;
124 border-bottom: 1px solid #990;
127 /* index template */
128 .tree_link:before, .tar_link:before, .zip_link:before { content: '['; }
129 .tree_link:after, .tar_link:after, .zip_link:after { content: ']'; }
131 /* summary template */
133 table.shortlog th.date {
134 width: 15%;
135 white-space: pre;
138 table.shortlog th.author {
139 width: 15%;
142 table.heads th.date {
143 width: 15%;
146 .cdiff_link:before, .patch_link:before { content: '['; }
147 .cdiff_link:after, .patch_link:after { content: ']'; }
149 /* commitdiff template */
151 .commitmessage {
152 padding: 0.5em;
153 background-color: #999;
156 .diff .add {
157 color: green;
160 .diff .del {
161 color: red;
164 .diff .pos {
165 color: purple;
168 .diff .etc {
169 color: #999;
172 /* tree template */
173 table.tree th.perm {
174 width: 10%;
177 table.tree th.dl {
178 width: 10%;
181 table.tree .dir {
182 background-color: #ff9;
185 table.tree .dir:hover {
186 background-color: #ff0;
189 /* viewblob template */
190 .file {
191 background-color: #ddd;
192 padding: 0.5em;
193 margin: 0.5em;