Some CSS fixes; remove veritcal line separating tree and history
(It's impossible to have two floated columns have the same height in CSS)
Jonas Haag
9 years ago
0 | 0 | @charset "utf-8"; |
1 | ||
2 | body, header, #content { overflow: auto; } | |
1 | 3 | |
2 | 4 | /* Reset */ |
3 | 5 | body { margin: 0; padding: 0; font-family: sans-serif; } |
9 | 11 | h2 > span:last-of-type { font-size: 60%; } |
10 | 12 | h2 > code:last-of-type { |
11 | 13 | font-size: 60%; |
12 | border-bottom: 1px solid #E0E0E0; | |
13 | padding: 4px 5px; | |
14 | margin-left: 12px; | |
14 | margin-left: 2%; | |
15 | 15 | } |
16 | 16 | |
17 | 17 | .slash { color: #666; margin: 0 -0.2em; } |
24 | 24 | } |
25 | 25 | |
26 | 26 | /* Header */ |
27 | header { font-size: 90%; padding: 8px 10px; border-bottom: 3px solid #e0e0e0; } | |
28 | header > a { padding: 10px 0; } | |
27 | header { font-size: 90%; padding: 0.5%; border-bottom: 3px solid #e0e0e0; } | |
28 | header a { padding: 0.5% 0; } | |
29 | 29 | header .breadcrumbs > span:before { content: ' ยป '; color: #666; } |
30 | header .slash { margin: 0 -3px; } | |
30 | header .slash { margin: 0 -2px; } | |
31 | 31 | |
32 | 32 | |
33 | 33 | /* Branch/tag selector */ |
34 | 34 | .branch-selector { |
35 | 35 | position: absolute; |
36 | top: 5px; | |
37 | right: 4px; | |
36 | top: 2px; | |
37 | right: 2px; | |
38 | 38 | font-size: 90%; |
39 | 39 | background-color: #fefefe; |
40 | 40 | } |
89 | 89 | #content > div:nth-of-type(1), |
90 | 90 | #content > div:nth-of-type(2) { float: left; } |
91 | 91 | #content > div:nth-of-type(1) { width: 24%; } |
92 | #content > div:nth-of-type(2) { | |
93 | width: 72%; | |
94 | padding-left: 1.5%; | |
95 | margin-left: 1.5%; | |
96 | border-left: 1px dotted #ccc; | |
97 | } | |
92 | #content > div:nth-of-type(2) { width: 72%; margin-left: 1.5%; } | |
98 | 93 | |
99 | 94 | |
100 | 95 | /* Pagination */ |
153 | 148 | |
154 | 149 | .tree ul { font-family: monospace; border-top: 1px solid #e0e0e0; } |
155 | 150 | .tree li { background-color: #f9f9f9; border: 1px solid #e0e0e0; border-top: 0; } |
156 | .tree li a { padding: 5px 7px 6px 7px; display: block; color: #001533; } | |
151 | .tree li a { | |
152 | padding: 5px 7px 6px 7px; | |
153 | display: block; | |
154 | color: #001533; | |
155 | overflow: hidden; | |
156 | white-space: nowrap; | |
157 | text-overflow: ellipsis; | |
158 | } | |
157 | 159 | .tree li a:before, .diff .filename:before { |
158 | 160 | margin-right: 5px; |
159 | 161 | position: relative; |
208 | 210 | .diff table, .diff .binarydiff { |
209 | 211 | border: 1px solid #e0e0e0; |
210 | 212 | background-color: #fdfdfd; |
211 | width: 100%; | |
212 | 213 | } |
213 | 214 | .diff .binarydiff { |
214 | 215 | padding: 7px 10px; |