]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
Use html_filemode in ui-tree.c
[ps-cgit] / cgit.css
1 body {
2         font-family: arial;
3         font-size: normal;
4         background: white;
5         padding: 0em;
6         margin: 0.5em 1em;
7 }
8
9
10 h2 {
11         font-size: normal;
12         font-weight: bold;
13         margin-bottom: 0.1em;
14 }
15
16 a {
17         color: blue;
18         text-decoration: none;
19 }
20
21 a:hover {
22         text-decoration: underline;
23 }
24
25 table.list {
26         border: solid 1px black;
27         border-collapse: collapse;
28         border: solid 1px #aaa;
29 }
30 table.list tr {
31         background: white;
32 }
33 table.list tr:hover {
34         background: #eee;
35 }
36 table.list th {
37         font-weight: bold;
38         background: #ddd;
39         border-bottom: solid 1px #aaa;
40         padding: 0.1em 0.5em 0.1em 0.5em;
41         vertical-align: baseline;
42 }
43 table.list td {
44         border: none;
45         padding: 0.1em 0.5em 0.1em 0.5em;
46 }
47 img {
48         border: none;
49 }
50
51
52 div#header {
53         background-color: #eee;
54         padding: 0.25em 0.25em 0.25em 0.5em;
55         font-size: 150%;
56         font-weight: bold;
57         border: solid 1px #ccc;
58         vertical-align: middle;
59 }
60 div#header img#logo {
61         float: right;
62 }
63 div#header a {
64         color: black;
65 }
66
67 div#content {
68         margin: 0.5em 0.5em;
69 }
70
71 div#blob {
72         border: solid 1px black;
73 }
74
75 div.error {
76         color: red;
77         font-weight: bold;
78         margin: 1em 2em;
79 }
80 div.ls-dir a {
81         font-weight: bold;
82 }
83 th.filesize, td.filesize {
84         text-align: right;
85 }
86 td.filemode {
87         font-family: monospace;
88 }
89
90 td.blob {
91         white-space: pre;
92         font-family: courier;
93         font-size: 100%;
94         background-color: white;
95 }
96
97 table.log td {
98         white-space: nowrap;
99 }
100
101 table.commit-info {
102         border-collapse: collapse;
103         margin-top: 1.5em;
104 }
105 table.commit-info th {
106         text-align: left;
107         font-weight: normal;
108         padding: 0.1em 1em 0.1em 0.1em;
109 }
110 table.commit-info td {
111         font-weight: normal;
112         padding: 0.1em 1em 0.1em 0.1em;
113 }
114 div.commit-subject {
115         font-weight: bold;
116         font-size: 125%;
117         margin: 1.5em 0em 0.5em 0em;
118         padding: 0em;
119 }
120 div.commit-msg {
121         white-space: pre;
122         font-family: monospace;
123 }
124 table.diffstat {
125         border-collapse: collapse;
126         margin-top: 1.5em;
127 }
128 table.diffstat th {
129         font-weight: normal;
130         text-align: left;
131         text-decoration: underline;
132         padding: 0.1em 1em 0.1em 0.1em;
133         font-size: 100%;
134 }
135 table.diffstat td {
136         padding: 0.1em 1em 0.1em 0.1em;
137         font-size: 100%;
138 }
139 table.diffstat td span.modechange {
140         padding-left: 1em;
141         color: red;
142 }
143 table.diffstat td.add a {
144         color: green;
145 }
146 table.diffstat td.del a {
147         color: red;
148 }
149 table.diffstat td.upd a {
150         color: blue;
151 }
152 table.diffstat td.summary {
153         /* border-top: solid 1px black; */
154         color: #888;
155         padding-top: 0.5em;
156 }
157 .sha1 {
158         font-family: courier;
159         font-size: 90%;
160 }
161 .left {
162         text-align: left;
163 }
164 .right {
165         text-align: right;
166 }