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 /cgit.css | |
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
@@ -80,107 +80,98 @@ img { | |||
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 | } |