author | Lars Hjemli <hjemli@gmail.com> | 2007-11-09 12:19:56 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-11-09 12:19:56 (UTC) |
commit | 86d6dfa9b7bd3e1b38618992061cc43ab89993ae (patch) (unidiff) | |
tree | 35faf8c2dc52e2dd60be6613946d89a344eb747a | |
parent | 6e54bd009c24ba353314a09257eb1e1a52fb139d (diff) | |
download | cgit-86d6dfa9b7bd3e1b38618992061cc43ab89993ae.zip cgit-86d6dfa9b7bd3e1b38618992061cc43ab89993ae.tar.gz cgit-86d6dfa9b7bd3e1b38618992061cc43ab89993ae.tar.bz2 |
Minor css tweaks
Don't specify border and background color for input controls, reduce font-
size of heading in sidebar.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -48,171 +48,162 @@ a:hover { | |||
48 | table.list { | 48 | table.list { |
49 | border: none; | 49 | border: none; |
50 | border-collapse: collapse; | 50 | border-collapse: collapse; |
51 | } | 51 | } |
52 | 52 | ||
53 | table.list tr { | 53 | table.list tr { |
54 | background: white; | 54 | background: white; |
55 | } | 55 | } |
56 | 56 | ||
57 | table.list tr:hover { | 57 | table.list tr:hover { |
58 | background: #f8f8f8; | 58 | background: #f8f8f8; |
59 | } | 59 | } |
60 | 60 | ||
61 | table.list tr.nohover:hover { | 61 | table.list tr.nohover:hover { |
62 | background: white; | 62 | background: white; |
63 | } | 63 | } |
64 | 64 | ||
65 | table.list th { | 65 | table.list th { |
66 | font-weight: bold; | 66 | font-weight: bold; |
67 | border-bottom: solid 1px #777; | 67 | border-bottom: solid 1px #777; |
68 | padding: 0.1em 0.5em 0.1em 0.5em; | 68 | padding: 0.1em 0.5em 0.1em 0.5em; |
69 | vertical-align: baseline; | 69 | vertical-align: baseline; |
70 | } | 70 | } |
71 | 71 | ||
72 | table.list td { | 72 | table.list td { |
73 | border: none; | 73 | border: none; |
74 | padding: 0.1em 0.5em 0.1em 0.5em; | 74 | padding: 0.1em 0.5em 0.1em 0.5em; |
75 | } | 75 | } |
76 | 76 | ||
77 | img { | 77 | img { |
78 | border: none; | 78 | border: none; |
79 | } | 79 | } |
80 | 80 | ||
81 | div#sidebar { | 81 | div#sidebar { |
82 | vertical-align: top; | 82 | vertical-align: top; |
83 | width: 162px; | 83 | width: 162px; |
84 | padding: 0px 0px 0px 0px; | 84 | padding: 0px 0px 0px 0px; |
85 | margin: 4px; | 85 | margin: 4px; |
86 | float: left; | 86 | float: left; |
87 | } | 87 | } |
88 | 88 | ||
89 | div#logo { | 89 | div#logo { |
90 | margin: 0px; | 90 | margin: 0px; |
91 | padding: 4px 0px 4px 0px; | 91 | padding: 4px 0px 4px 0px; |
92 | text-align: center; | 92 | text-align: center; |
93 | background-color: #ccc; | 93 | background-color: #ccc; |
94 | border-top: solid 1px #eee; | 94 | border-top: solid 1px #eee; |
95 | border-left: solid 1px #eee; | 95 | border-left: solid 1px #eee; |
96 | border-right: solid 1px #aaa; | 96 | border-right: solid 1px #aaa; |
97 | border-bottom: solid 1px #aaa; | 97 | border-bottom: solid 1px #aaa; |
98 | } | 98 | } |
99 | 99 | ||
100 | div#sidebar div.infobox { | 100 | div#sidebar div.infobox { |
101 | margin: 0px 0px 0px 0px; | 101 | margin: 0px 0px 0px 0px; |
102 | padding: 0.5em; | 102 | padding: 0.5em; |
103 | text-align: left; | 103 | text-align: left; |
104 | background-color: #ccc; | 104 | background-color: #ccc; |
105 | border-top: solid 1px #eee; | 105 | border-top: solid 1px #eee; |
106 | border-left: solid 1px #eee; | 106 | border-left: solid 1px #eee; |
107 | border-right: solid 1px #aaa; | 107 | border-right: solid 1px #aaa; |
108 | border-bottom: solid 1px #aaa; | 108 | border-bottom: solid 1px #aaa; |
109 | } | 109 | } |
110 | 110 | ||
111 | div#sidebar div.infobox h1 { | 111 | div#sidebar div.infobox h1 { |
112 | font-size: 11pt; | 112 | font-size: 10pt; |
113 | font-weight: bold; | 113 | font-weight: bold; |
114 | margin: 0px; | 114 | margin: 0px; |
115 | } | 115 | } |
116 | 116 | ||
117 | div#sidebar div.infobox a.menu { | 117 | div#sidebar div.infobox a.menu { |
118 | display: block; | 118 | display: block; |
119 | background-color: #ccc; | 119 | background-color: #ccc; |
120 | padding: 0.1em 0.5em; | 120 | padding: 0.1em 0.5em; |
121 | text-decoration: none; | 121 | text-decoration: none; |
122 | } | 122 | } |
123 | 123 | ||
124 | div#sidebar div.infobox a.menu:hover { | 124 | div#sidebar div.infobox a.menu:hover { |
125 | background-color: #bbb; | 125 | background-color: #bbb; |
126 | text-decoration: none; | 126 | text-decoration: none; |
127 | } | 127 | } |
128 | 128 | ||
129 | div#sidebar div.infobox select { | 129 | div#sidebar div.infobox select { |
130 | width: 100%; | 130 | width: 100%; |
131 | border: solid 1px #aaa; | ||
132 | background-color: #bbb; | ||
133 | margin: 2px 0px 0px 0px; | 131 | margin: 2px 0px 0px 0px; |
134 | padding: 0px; | ||
135 | } | 132 | } |
136 | 133 | ||
137 | td#branch-dropdown-cell { | 134 | td#branch-dropdown-cell { |
138 | width: 99%; | 135 | width: 99%; |
139 | } | 136 | } |
140 | 137 | ||
141 | input#switch-btn { | 138 | input#switch-btn { |
142 | width: 20px; | 139 | width: 20px; |
143 | border: solid 1px #aaa; | ||
144 | background-color: #bbb; | ||
145 | margin: 2px 0px 0px 0px; | 140 | margin: 2px 0px 0px 0px; |
146 | padding: 0px; | ||
147 | } | 141 | } |
148 | 142 | ||
149 | div#sidebar div.infobox input.txt { | 143 | div#sidebar div.infobox input.txt { |
150 | width: 100%; | 144 | width: 100%; |
151 | border: solid 1px #aaa; | ||
152 | background-color: #bbb; | ||
153 | margin: 2px 0px 0px 0px; | 145 | margin: 2px 0px 0px 0px; |
154 | padding: 0; | ||
155 | } | 146 | } |
156 | 147 | ||
157 | table#grid { | 148 | table#grid { |
158 | margin: 0px; | 149 | margin: 0px; |
159 | } | 150 | } |
160 | 151 | ||
161 | td#content { | 152 | td#content { |
162 | vertical-align: top; | 153 | vertical-align: top; |
163 | padding: 1em 2em 1em 1em; | 154 | padding: 1em 2em 1em 1em; |
164 | border: none; | 155 | border: none; |
165 | } | 156 | } |
166 | 157 | ||
167 | div#summary { | 158 | div#summary { |
168 | vertical-align: top; | 159 | vertical-align: top; |
169 | margin-bottom: 1em; | 160 | margin-bottom: 1em; |
170 | } | 161 | } |
171 | 162 | ||
172 | table#downloads { | 163 | table#downloads { |
173 | float: right; | 164 | float: right; |
174 | border-collapse: collapse; | 165 | border-collapse: collapse; |
175 | border: solid 1px #777; | 166 | border: solid 1px #777; |
176 | margin-left: 0.5em; | 167 | margin-left: 0.5em; |
177 | margin-bottom: 0.5em; | 168 | margin-bottom: 0.5em; |
178 | } | 169 | } |
179 | 170 | ||
180 | table#downloads th { | 171 | table#downloads th { |
181 | background-color: #ccc; | 172 | background-color: #ccc; |
182 | } | 173 | } |
183 | 174 | ||
184 | div#blob { | 175 | div#blob { |
185 | border: solid 1px black; | 176 | border: solid 1px black; |
186 | } | 177 | } |
187 | 178 | ||
188 | div.error { | 179 | div.error { |
189 | color: red; | 180 | color: red; |
190 | font-weight: bold; | 181 | font-weight: bold; |
191 | margin: 1em 2em; | 182 | margin: 1em 2em; |
192 | } | 183 | } |
193 | 184 | ||
194 | a.ls-blob, a.ls-dir, a.ls-mod { | 185 | a.ls-blob, a.ls-dir, a.ls-mod { |
195 | font-family: monospace; | 186 | font-family: monospace; |
196 | } | 187 | } |
197 | 188 | ||
198 | td.ls-size { | 189 | td.ls-size { |
199 | text-align: right; | 190 | text-align: right; |
200 | } | 191 | } |
201 | 192 | ||
202 | td.ls-size { | 193 | td.ls-size { |
203 | font-family: monospace; | 194 | font-family: monospace; |
204 | } | 195 | } |
205 | 196 | ||
206 | td.ls-mode { | 197 | td.ls-mode { |
207 | font-family: monospace; | 198 | font-family: monospace; |
208 | } | 199 | } |
209 | 200 | ||
210 | table.blob { | 201 | table.blob { |
211 | margin-top: 0.5em; | 202 | margin-top: 0.5em; |
212 | border-top: solid 1px black; | 203 | border-top: solid 1px black; |
213 | } | 204 | } |
214 | 205 | ||
215 | table.blob td.no { | 206 | table.blob td.no { |
216 | border-right: solid 1px black; | 207 | border-right: solid 1px black; |
217 | color: black; | 208 | color: black; |
218 | background-color: #eee; | 209 | background-color: #eee; |