Merge lp:~muffinresearch/ubuntu-start-page/12.10-updates into lp:ubuntu-start-page
- 12.10-updates
- Merge into trunk
Proposed by
Stuart Colville
Status: | Merged |
---|---|
Merged at revision: | 139 |
Proposed branch: | lp:~muffinresearch/ubuntu-start-page/12.10-updates |
Merge into: | lp:ubuntu-start-page |
Diff against target: |
55737 lines (+21564/-22170) 172 files modified
.bzrignore (+2/-0) translate.sh (+1/-1) translation-scripts/translate-12.10.sh (+1/-1) translation-scripts/translation-functions.sh (+10/-3) www/12.10/Baidu/index.html.an (+126/-135) www/12.10/Baidu/index.html.ar (+126/-135) www/12.10/Baidu/index.html.ast (+126/-135) www/12.10/Baidu/index.html.bg (+126/-135) www/12.10/Baidu/index.html.bn (+126/-135) www/12.10/Baidu/index.html.ca (+126/-135) www/12.10/Baidu/index.html.crh (+126/-135) www/12.10/Baidu/index.html.cs (+126/-135) www/12.10/Baidu/index.html.cy (+126/-135) www/12.10/Baidu/index.html.da (+126/-135) www/12.10/Baidu/index.html.de (+126/-135) www/12.10/Baidu/index.html.el (+126/-135) www/12.10/Baidu/index.html.en (+126/-135) www/12.10/Baidu/index.html.en-au (+126/-135) www/12.10/Baidu/index.html.en-gb (+126/-135) www/12.10/Baidu/index.html.eo (+126/-135) www/12.10/Baidu/index.html.es (+126/-135) www/12.10/Baidu/index.html.et (+126/-135) www/12.10/Baidu/index.html.eu (+188/-0) www/12.10/Baidu/index.html.fi (+126/-135) www/12.10/Baidu/index.html.fo (+126/-135) www/12.10/Baidu/index.html.fr (+126/-135) www/12.10/Baidu/index.html.gl (+126/-135) www/12.10/Baidu/index.html.gv (+126/-135) www/12.10/Baidu/index.html.he (+126/-135) www/12.10/Baidu/index.html.hr (+126/-135) www/12.10/Baidu/index.html.hu (+126/-135) www/12.10/Baidu/index.html.id (+126/-135) www/12.10/Baidu/index.html.io (+126/-135) www/12.10/Baidu/index.html.is (+126/-135) www/12.10/Baidu/index.html.it (+126/-135) www/12.10/Baidu/index.html.ja (+126/-135) www/12.10/Baidu/index.html.ka (+126/-135) www/12.10/Baidu/index.html.km (+126/-135) www/12.10/Baidu/index.html.ko (+126/-135) www/12.10/Baidu/index.html.lv (+126/-135) www/12.10/Baidu/index.html.ml (+126/-135) www/12.10/Baidu/index.html.nds (+126/-135) www/12.10/Baidu/index.html.nl (+126/-135) www/12.10/Baidu/index.html.oc (+126/-135) www/12.10/Baidu/index.html.po (+126/-135) www/12.10/Baidu/index.html.pt (+126/-135) www/12.10/Baidu/index.html.pt-br (+126/-135) www/12.10/Baidu/index.html.ro (+126/-135) www/12.10/Baidu/index.html.ru (+126/-135) www/12.10/Baidu/index.html.sk (+126/-135) www/12.10/Baidu/index.html.sl (+126/-135) www/12.10/Baidu/index.html.sr (+126/-135) www/12.10/Baidu/index.html.sv (+126/-135) www/12.10/Baidu/index.html.te (+126/-135) www/12.10/Baidu/index.html.th (+126/-135) www/12.10/Baidu/index.html.tu (+126/-135) www/12.10/Baidu/index.html.uk (+126/-135) www/12.10/Baidu/index.html.vi (+126/-135) www/12.10/Baidu/index.html.zh-cn (+126/-135) www/12.10/Baidu/index.html.zh-tw (+126/-135) www/12.10/Yahoo/index.html.an (+122/-134) www/12.10/Yahoo/index.html.ar (+122/-134) www/12.10/Yahoo/index.html.ast (+122/-134) www/12.10/Yahoo/index.html.bg (+122/-134) www/12.10/Yahoo/index.html.bn (+122/-134) www/12.10/Yahoo/index.html.ca (+122/-134) www/12.10/Yahoo/index.html.crh (+122/-134) www/12.10/Yahoo/index.html.cs (+122/-134) www/12.10/Yahoo/index.html.cy (+122/-134) www/12.10/Yahoo/index.html.da (+122/-134) www/12.10/Yahoo/index.html.de (+122/-134) www/12.10/Yahoo/index.html.el (+122/-134) www/12.10/Yahoo/index.html.en (+122/-134) www/12.10/Yahoo/index.html.en-au (+122/-134) www/12.10/Yahoo/index.html.en-gb (+122/-134) www/12.10/Yahoo/index.html.eo (+122/-134) www/12.10/Yahoo/index.html.es (+122/-134) www/12.10/Yahoo/index.html.et (+122/-134) www/12.10/Yahoo/index.html.eu (+187/-0) www/12.10/Yahoo/index.html.fi (+122/-134) www/12.10/Yahoo/index.html.fo (+122/-134) www/12.10/Yahoo/index.html.fr (+122/-134) www/12.10/Yahoo/index.html.gl (+122/-134) www/12.10/Yahoo/index.html.gv (+122/-134) www/12.10/Yahoo/index.html.he (+122/-134) www/12.10/Yahoo/index.html.hr (+122/-134) www/12.10/Yahoo/index.html.hu (+122/-134) www/12.10/Yahoo/index.html.id (+122/-134) www/12.10/Yahoo/index.html.io (+122/-134) www/12.10/Yahoo/index.html.is (+122/-134) www/12.10/Yahoo/index.html.it (+122/-134) www/12.10/Yahoo/index.html.ja (+122/-134) www/12.10/Yahoo/index.html.ka (+122/-134) www/12.10/Yahoo/index.html.km (+122/-134) www/12.10/Yahoo/index.html.ko (+122/-134) www/12.10/Yahoo/index.html.lv (+122/-134) www/12.10/Yahoo/index.html.ml (+122/-134) www/12.10/Yahoo/index.html.nds (+122/-134) www/12.10/Yahoo/index.html.nl (+122/-134) www/12.10/Yahoo/index.html.oc (+122/-134) www/12.10/Yahoo/index.html.po (+122/-134) www/12.10/Yahoo/index.html.pt (+122/-134) www/12.10/Yahoo/index.html.pt-br (+122/-134) www/12.10/Yahoo/index.html.ro (+122/-134) www/12.10/Yahoo/index.html.ru (+122/-134) www/12.10/Yahoo/index.html.sk (+122/-134) www/12.10/Yahoo/index.html.sl (+122/-134) www/12.10/Yahoo/index.html.sr (+122/-134) www/12.10/Yahoo/index.html.sv (+122/-134) www/12.10/Yahoo/index.html.te (+122/-134) www/12.10/Yahoo/index.html.th (+122/-134) www/12.10/Yahoo/index.html.tu (+122/-134) www/12.10/Yahoo/index.html.uk (+122/-134) www/12.10/Yahoo/index.html.vi (+122/-134) www/12.10/Yahoo/index.html.zh-cn (+122/-134) www/12.10/Yahoo/index.html.zh-tw (+122/-134) www/12.10/index.html.an (+133/-134) www/12.10/index.html.ar (+133/-134) www/12.10/index.html.ast (+133/-134) www/12.10/index.html.bg (+133/-134) www/12.10/index.html.bn (+133/-134) www/12.10/index.html.ca (+133/-134) www/12.10/index.html.crh (+133/-134) www/12.10/index.html.cs (+133/-134) www/12.10/index.html.cy (+133/-134) www/12.10/index.html.da (+133/-134) www/12.10/index.html.de (+133/-134) www/12.10/index.html.el (+133/-134) www/12.10/index.html.en (+133/-134) www/12.10/index.html.en-au (+133/-134) www/12.10/index.html.en-gb (+133/-134) www/12.10/index.html.eo (+133/-134) www/12.10/index.html.es (+133/-134) www/12.10/index.html.et (+133/-134) www/12.10/index.html.eu (+220/-0) www/12.10/index.html.fi (+133/-134) www/12.10/index.html.fo (+133/-134) www/12.10/index.html.fr (+133/-134) www/12.10/index.html.gl (+133/-134) www/12.10/index.html.gv (+133/-134) www/12.10/index.html.he (+133/-134) www/12.10/index.html.hr (+133/-134) www/12.10/index.html.hu (+133/-134) www/12.10/index.html.id (+133/-134) www/12.10/index.html.io (+133/-134) www/12.10/index.html.is (+133/-134) www/12.10/index.html.it (+133/-134) www/12.10/index.html.ja (+133/-134) www/12.10/index.html.ka (+133/-134) www/12.10/index.html.km (+133/-134) www/12.10/index.html.ko (+133/-134) www/12.10/index.html.lv (+133/-134) www/12.10/index.html.ml (+133/-134) www/12.10/index.html.nds (+133/-134) www/12.10/index.html.nl (+133/-134) www/12.10/index.html.oc (+133/-134) www/12.10/index.html.po (+133/-134) www/12.10/index.html.pt (+133/-134) www/12.10/index.html.pt-br (+133/-134) www/12.10/index.html.ro (+133/-134) www/12.10/index.html.ru (+133/-134) www/12.10/index.html.sk (+133/-134) www/12.10/index.html.sl (+133/-134) www/12.10/index.html.sr (+133/-134) www/12.10/index.html.sv (+133/-134) www/12.10/index.html.te (+133/-134) www/12.10/index.html.th (+133/-134) www/12.10/index.html.tu (+133/-134) www/12.10/index.html.uk (+133/-134) www/12.10/index.html.vi (+133/-134) www/12.10/index.html.zh-cn (+133/-134) www/12.10/index.html.zh-tw (+133/-134) |
To merge this branch: | bzr merge lp:~muffinresearch/ubuntu-start-page/12.10-updates |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Albisetti (community) | Approve | ||
Review via email: mp+127036@code.launchpad.net |
Commit message
* Update markup + style for 12.10
* Use border radius over sprited backgrounds
* Move to list for external links
* Fix alignment
* Add type="submit" to buttons
* Fix RTL layout issues
* Update buttons and unify layouts
* Add symlinks
* Regenerate.
* Fix l10n issues with Test replacement in google page.
* Add text alternatives for Search engine links where missing.
Description of the change
* Update markup + style for 12.10
* Use border radius over sprited backgrounds
* Move to list for external links
* Fix alignment
* Add type="submit" to buttons
* Fix RTL layout issues
* Update buttons and unify layouts
* Add symlinks
* Regenerate.
* Fix l10n issues with Test replacement in google page.
* Add text alternatives for Search engine links where missing.
To post a comment you must log in.
Revision history for this message
Martin Albisetti (beuno) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.bzrignore' |
2 | --- .bzrignore 2010-06-23 20:03:59 +0000 |
3 | +++ .bzrignore 2012-09-28 17:49:21 +0000 |
4 | @@ -1,1 +1,3 @@ |
5 | tmp |
6 | +.DS_Store |
7 | +._.DS_Store |
8 | |
9 | === modified file 'translate.sh' |
10 | --- translate.sh 2012-04-23 22:01:58 +0000 |
11 | +++ translate.sh 2012-09-28 17:49:21 +0000 |
12 | @@ -1,4 +1,4 @@ |
13 | #!/bin/bash |
14 | pushd translation-scripts/ > /dev/null |
15 | -bash translate-12.04.sh |
16 | +bash translate-12.10.sh |
17 | popd > /dev/null |
18 | |
19 | === renamed file 'translation-scripts/translate-12.04.sh' => 'translation-scripts/translate-12.10.sh' |
20 | --- translation-scripts/translate-12.04.sh 2011-10-11 09:00:18 +0000 |
21 | +++ translation-scripts/translate-12.10.sh 2012-09-28 17:49:21 +0000 |
22 | @@ -1,6 +1,6 @@ |
23 | #!/bin/sh |
24 | |
25 | -RELEASE="12.04" |
26 | +RELEASE="12.10" |
27 | |
28 | #Bzr branch where translations are exported |
29 | L10N_BRANCH='lp:ubuntu-start-page/trunk-l10n' |
30 | |
31 | === modified file 'translation-scripts/translation-functions.sh' |
32 | --- translation-scripts/translation-functions.sh 2010-06-20 16:22:46 +0000 |
33 | +++ translation-scripts/translation-functions.sh 2012-09-28 17:49:21 +0000 |
34 | @@ -114,8 +114,15 @@ |
35 | search_po=`msggrep --no-wrap -K -e "$search_en" $po | \ |
36 | grep msgstr | grep -v "msgstr \"\"" | \ |
37 | sed -e 's/msgstr "\(.*\)"/\1/'` |
38 | - sed -i -e \ |
39 | - "s/<button>$search_en<\/button>/<button>$search_po<\/button>/" \ |
40 | + |
41 | + # Replace for Baidu and Yahoo Search button |
42 | + sed -i -e \ |
43 | + "s/<button type=\"submit\">$search_en<\/button>/<button type=\"submit\">$search_po<\/button>/" \ |
44 | + ${output_page} |
45 | + |
46 | + # Newer Google button layout |
47 | + sed -i -e \ |
48 | + "s/<span class=\"acchide\">$search_en<\/span>/<span class=\"acchide\">$search_po<\/span>/" \ |
49 | ${output_page} |
50 | |
51 | #translate help text |
52 | @@ -167,4 +174,4 @@ |
53 | |
54 | #Generate translated files |
55 | translate_release |
56 | -} |
57 | \ No newline at end of file |
58 | +} |
59 | |
60 | === modified symlink 'www/10.04' |
61 | === target changed u'12.04' => u'12.10' |
62 | === modified symlink 'www/10.10' |
63 | === target changed u'12.04' => u'12.10' |
64 | === modified symlink 'www/11.04' |
65 | === target changed u'12.04' => u'12.10' |
66 | === modified symlink 'www/11.10' |
67 | === target changed u'12.04' => u'12.10' |
68 | === added symlink 'www/12.04' |
69 | === target is u'12.10' |
70 | === renamed directory 'www/12.04' => 'www/12.10' |
71 | === modified file 'www/12.10/Baidu/index.html.an' |
72 | --- www/12.04/Baidu/index.html.an 2012-08-04 16:59:10 +0000 |
73 | +++ www/12.10/Baidu/index.html.an 2012-09-28 17:49:21 +0000 |
74 | @@ -3,21 +3,6 @@ |
75 | <head> |
76 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
77 | <title>Pachina d'inicio d'Ubuntu</title> |
78 | -<script type="text/javascript"> |
79 | -//<![CDATA[ |
80 | -function focus_search() { |
81 | - sbi = document.getElementById('kw'); |
82 | - sbi.focus(); |
83 | - search_select(sbi); |
84 | -} |
85 | -function search_select(e) { |
86 | - if(e.value.length > 0) { |
87 | - e.select(); |
88 | - } |
89 | - e.select(); |
90 | -} |
91 | -//]]> |
92 | -</script> |
93 | <style type="text/css"> |
94 | body { |
95 | background: white; |
96 | @@ -25,172 +10,178 @@ |
97 | font-size: 12px; |
98 | line-height: 14px; |
99 | margin: 0 auto; |
100 | - } |
101 | - |
102 | -ul#top-nav { |
103 | - margin-top: 5px; |
104 | - padding-bottom: 5px; |
105 | - border-bottom: 1px solid #eaeaea; |
106 | - } |
107 | - |
108 | -ul#top-nav li { |
109 | - display: inline; |
110 | - font-weight: bold; |
111 | - margin-right: 5px; |
112 | - } |
113 | - |
114 | -ul#top-nav li a { |
115 | - font-weight: normal; |
116 | - } |
117 | - |
118 | -#search-box { |
119 | +} |
120 | +button::-moz-focus-inner { |
121 | + /* fix buttons in FF */ |
122 | + border: 0; |
123 | + padding: 0; |
124 | +} |
125 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
126 | + /* Remove button margin in webkit */ |
127 | + button{ |
128 | + margin: 0; |
129 | + } |
130 | +} |
131 | +.search-box { |
132 | width: 595px; |
133 | margin: 0 auto; |
134 | margin-top: 63px; |
135 | - } |
136 | -#search-box #ubuntu-branding { |
137 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
138 | - background-position: 0px -251px; |
139 | +} |
140 | +.ubuntu-branding { |
141 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
142 | + background-position: 0 -251px; |
143 | background-color: #aea79f; |
144 | height: 40px; |
145 | - -moz-border-radius: 0 0 5px 5px; |
146 | - -webkit-border-radius: 0 0 5px 5px; |
147 | -} |
148 | -#search-box .top { |
149 | - width: 593px; |
150 | - height: 25px; |
151 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
152 | - background-position: -10px -10px; |
153 | - margin: 0; |
154 | - padding: 0; |
155 | - } |
156 | - |
157 | -#search-box .center { |
158 | - width: 595px; |
159 | - margin: 0; |
160 | - padding: 0; |
161 | - margin-right: -2px; |
162 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
163 | - } |
164 | - |
165 | -#search-box .center h1 { |
166 | - margin: 0; |
167 | - padding: 0; |
168 | - } |
169 | - |
170 | -#search-box .center .padding { |
171 | - padding-right: 44px; |
172 | - padding-left: 44px; |
173 | - } |
174 | - |
175 | -#search-box .center h1.logo a { |
176 | + border-radius: 5px 5px 0 0; |
177 | +} |
178 | +.wrapper { |
179 | + padding: 0; |
180 | + border: 1px solid #eee; |
181 | + border-top: 0; |
182 | + border-radius: 0 0 5px 5px; |
183 | + margin: 0 auto; |
184 | + text-align: center; |
185 | +} |
186 | +.wrapper h1 { |
187 | + margin: 0; |
188 | + padding: 0; |
189 | +} |
190 | +.logo a { |
191 | font-size: 1px; |
192 | display: block; |
193 | text-indent: -9999px; |
194 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
195 | - background-position: -10px -605px; |
196 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
197 | + background-position: -22px -605px; |
198 | margin: 0; |
199 | padding: 0; |
200 | height: 75px; |
201 | - width: 180px; |
202 | + width: 173px; |
203 | margin-bottom: 15px; |
204 | position: relative; |
205 | - } |
206 | - |
207 | -#search-box .center input { |
208 | +} |
209 | +.wrapper input { |
210 | + /* allows styling in webkit */ |
211 | + -webkit-appearance: textfield; |
212 | + display: inline-block; |
213 | + vertical-align: top; |
214 | width: 384px; |
215 | - height: 25px; |
216 | + height: 32px; |
217 | font-size: 18px; |
218 | padding-left: 5px; |
219 | padding-right: 5px; |
220 | - } |
221 | - |
222 | -#search-box .center button { |
223 | - font-size: 18px; |
224 | - padding: 2px; |
225 | - } |
226 | - |
227 | -#search-box .bottom { |
228 | - width: 593px; |
229 | - height: 98px; |
230 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
231 | - background-position: -10px -133px; |
232 | - } |
233 | -#external-links { |
234 | - overflow: auto; |
235 | - width: 605px; |
236 | + -webkit-box-sizing: border-box; |
237 | + -moz-box-sizing: border-box; |
238 | + -ms-box-sizing: border-box; |
239 | + -o-box-sizing: border-box; |
240 | + box-sizing: border-box; |
241 | + border: 1px solid #AEA79F; |
242 | +} |
243 | +.inner { |
244 | + display: inline-block; |
245 | + margin: 35px auto 100px auto; |
246 | +} |
247 | +.inner form { |
248 | + height: 32px; |
249 | +} |
250 | +.external-links { |
251 | text-align: center; |
252 | padding-top: 20px; |
253 | padding-left: 10px; |
254 | padding-right: 10px; |
255 | } |
256 | -.bottom-links { |
257 | +.external-links li { |
258 | height: 30px; |
259 | + display: inline-block; |
260 | text-align: left; |
261 | padding-top: 8px; |
262 | - display: inline-block; |
263 | - background: blue; |
264 | - margin-right: 20px; |
265 | + margin: 0 10px; |
266 | } |
267 | -.bottom-links a { |
268 | +.external-links a { |
269 | text-decoration: none; |
270 | color: gray; |
271 | padding: 10px 0 10px 40px; |
272 | } |
273 | -.bottom-links a:hover { |
274 | +.external-links a::after { |
275 | + content: " ›"; |
276 | + font-size: 16px; |
277 | +} |
278 | +.external-links a:hover { |
279 | color: #e24912; |
280 | } |
281 | -#help-link { |
282 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
283 | +.help-link, |
284 | +.shop-link, |
285 | +.community-link { |
286 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
287 | +} |
288 | +.help-link { |
289 | background-position: -10px -450px; |
290 | } |
291 | -#help-link:hover { |
292 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
293 | +.help-link:hover { |
294 | background-position: -10px -490px; |
295 | } |
296 | -#shop-link { |
297 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
298 | - background-position: -10px -365px; |
299 | -} |
300 | -#shop-link:hover { |
301 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
302 | - background-position: -10px -407px; |
303 | -} |
304 | -#community-link { |
305 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
306 | - background-position: -10px -530px; |
307 | -} |
308 | -#community-link:hover { |
309 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
310 | - background-position: -10px -570px; |
311 | -} |
312 | +.shop-link { |
313 | + background-position: -10px -368px; |
314 | +} |
315 | +.shop-link:hover { |
316 | + background-position: -10px -410px; |
317 | +} |
318 | +.community-link { |
319 | + background-position: -10px -528px; |
320 | +} |
321 | +.community-link:hover { |
322 | + background-position: -10px -568px; |
323 | +} |
324 | +button { |
325 | + margin: 0 3px; |
326 | + display: inline-block; |
327 | + vertical-align: top; |
328 | + cursor: default; |
329 | + height: 32px; |
330 | + padding: 0 8px; |
331 | + text-align: center; |
332 | + text-decoration: none; |
333 | + -webkit-box-sizing: border-box; |
334 | + -moz-box-sizing: border-box; |
335 | + -ms-box-sizing: border-box; |
336 | + -o-box-sizing: border-box; |
337 | + box-sizing: border-box; |
338 | +} |
339 | + |
340 | </style> |
341 | </head> |
342 | <body> |
343 | - <div id="search-box"> |
344 | - <div id="ubuntu-branding"></div> |
345 | - <div class="top"></div> |
346 | - <div class="center"> |
347 | - <div class="padding"> |
348 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
349 | + <div class="search-box"> |
350 | + <div class="ubuntu-branding"></div> |
351 | + <div class="wrapper"> |
352 | + <div class="inner"> |
353 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
354 | <form method="get" action="http://baidu.com/s" name="f"> |
355 | - <input type="hidden" name="cl" value="3" /> |
356 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
357 | - <input name="wd" value="" id="kw" /> |
358 | - <button>Buscar</button> |
359 | + <input type="hidden" name="cl" value="3" /> |
360 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
361 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
362 | + --><button type="submit">Buscar</button> |
363 | </form> |
364 | </div> |
365 | </div> |
366 | - <div class="bottom"></div> |
367 | - <div id="external-links"> |
368 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Aduya d'Ubuntu ›</a></div> |
369 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Botiga d'Ubuntu ›</a></div> |
370 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Comunidat d'Ubuntu ›</a></div> |
371 | - </div> |
372 | + <ul class="external-links"> |
373 | + <li class="help-link"><a href="https://help.ubuntu.com">Aduya d'Ubuntu</a></li> |
374 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Botiga d'Ubuntu</a></li> |
375 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Comunidat d'Ubuntu</a></li> |
376 | + </ul> |
377 | </div><!-- close search-box --> |
378 | <script type="text/javascript"> |
379 | //<![CDATA[ |
380 | -focus_search(); |
381 | +(function focus_search() { |
382 | + function search_select(e) { |
383 | + if(e.value.length > 0) { |
384 | + e.select(); |
385 | + } |
386 | + e.select(); |
387 | + } |
388 | + sbi = document.getElementById('kw'); |
389 | + sbi.focus(); |
390 | + search_select(sbi); |
391 | +})(); |
392 | //]]> |
393 | </script> |
394 | </body> |
395 | |
396 | === modified file 'www/12.10/Baidu/index.html.ar' |
397 | --- www/12.04/Baidu/index.html.ar 2012-08-04 16:59:10 +0000 |
398 | +++ www/12.10/Baidu/index.html.ar 2012-09-28 17:49:21 +0000 |
399 | @@ -3,21 +3,6 @@ |
400 | <head> |
401 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
402 | <title>صفحة بداية أوبونتو</title> |
403 | -<script type="text/javascript"> |
404 | -//<![CDATA[ |
405 | -function focus_search() { |
406 | - sbi = document.getElementById('kw'); |
407 | - sbi.focus(); |
408 | - search_select(sbi); |
409 | -} |
410 | -function search_select(e) { |
411 | - if(e.value.length > 0) { |
412 | - e.select(); |
413 | - } |
414 | - e.select(); |
415 | -} |
416 | -//]]> |
417 | -</script> |
418 | <style type="text/css"> |
419 | body { |
420 | background: white; |
421 | @@ -25,172 +10,178 @@ |
422 | font-size: 12px; |
423 | line-height: 14px; |
424 | margin: 0 auto; |
425 | - } |
426 | - |
427 | -ul#top-nav { |
428 | - margin-top: 5px; |
429 | - padding-bottom: 5px; |
430 | - border-bottom: 1px solid #eaeaea; |
431 | - } |
432 | - |
433 | -ul#top-nav li { |
434 | - display: inline; |
435 | - font-weight: bold; |
436 | - margin-right: 5px; |
437 | - } |
438 | - |
439 | -ul#top-nav li a { |
440 | - font-weight: normal; |
441 | - } |
442 | - |
443 | -#search-box { |
444 | +} |
445 | +button::-moz-focus-inner { |
446 | + /* fix buttons in FF */ |
447 | + border: 0; |
448 | + padding: 0; |
449 | +} |
450 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
451 | + /* Remove button margin in webkit */ |
452 | + button{ |
453 | + margin: 0; |
454 | + } |
455 | +} |
456 | +.search-box { |
457 | width: 595px; |
458 | margin: 0 auto; |
459 | margin-top: 63px; |
460 | - } |
461 | -#search-box #ubuntu-branding { |
462 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
463 | - background-position: 0px -251px; |
464 | +} |
465 | +.ubuntu-branding { |
466 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
467 | + background-position: 0 -251px; |
468 | background-color: #aea79f; |
469 | height: 40px; |
470 | - -moz-border-radius: 0 0 5px 5px; |
471 | - -webkit-border-radius: 0 0 5px 5px; |
472 | -} |
473 | -#search-box .top { |
474 | - width: 593px; |
475 | - height: 25px; |
476 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
477 | - background-position: -10px -10px; |
478 | - margin: 0; |
479 | - padding: 0; |
480 | - } |
481 | - |
482 | -#search-box .center { |
483 | - width: 595px; |
484 | - margin: 0; |
485 | - padding: 0; |
486 | - margin-right: -2px; |
487 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
488 | - } |
489 | - |
490 | -#search-box .center h1 { |
491 | - margin: 0; |
492 | - padding: 0; |
493 | - } |
494 | - |
495 | -#search-box .center .padding { |
496 | - padding-right: 44px; |
497 | - padding-left: 44px; |
498 | - } |
499 | - |
500 | -#search-box .center h1.logo a { |
501 | + border-radius: 5px 5px 0 0; |
502 | +} |
503 | +.wrapper { |
504 | + padding: 0; |
505 | + border: 1px solid #eee; |
506 | + border-top: 0; |
507 | + border-radius: 0 0 5px 5px; |
508 | + margin: 0 auto; |
509 | + text-align: center; |
510 | +} |
511 | +.wrapper h1 { |
512 | + margin: 0; |
513 | + padding: 0; |
514 | +} |
515 | +.logo a { |
516 | font-size: 1px; |
517 | display: block; |
518 | text-indent: -9999px; |
519 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
520 | - background-position: -10px -605px; |
521 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
522 | + background-position: -22px -605px; |
523 | margin: 0; |
524 | padding: 0; |
525 | height: 75px; |
526 | - width: 180px; |
527 | + width: 173px; |
528 | margin-bottom: 15px; |
529 | position: relative; |
530 | - } |
531 | - |
532 | -#search-box .center input { |
533 | +} |
534 | +.wrapper input { |
535 | + /* allows styling in webkit */ |
536 | + -webkit-appearance: textfield; |
537 | + display: inline-block; |
538 | + vertical-align: top; |
539 | width: 384px; |
540 | - height: 25px; |
541 | + height: 32px; |
542 | font-size: 18px; |
543 | padding-left: 5px; |
544 | padding-right: 5px; |
545 | - } |
546 | - |
547 | -#search-box .center button { |
548 | - font-size: 18px; |
549 | - padding: 2px; |
550 | - } |
551 | - |
552 | -#search-box .bottom { |
553 | - width: 593px; |
554 | - height: 98px; |
555 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
556 | - background-position: -10px -133px; |
557 | - } |
558 | -#external-links { |
559 | - overflow: auto; |
560 | - width: 605px; |
561 | + -webkit-box-sizing: border-box; |
562 | + -moz-box-sizing: border-box; |
563 | + -ms-box-sizing: border-box; |
564 | + -o-box-sizing: border-box; |
565 | + box-sizing: border-box; |
566 | + border: 1px solid #AEA79F; |
567 | +} |
568 | +.inner { |
569 | + display: inline-block; |
570 | + margin: 35px auto 100px auto; |
571 | +} |
572 | +.inner form { |
573 | + height: 32px; |
574 | +} |
575 | +.external-links { |
576 | text-align: center; |
577 | padding-top: 20px; |
578 | padding-left: 10px; |
579 | padding-right: 10px; |
580 | } |
581 | -.bottom-links { |
582 | +.external-links li { |
583 | height: 30px; |
584 | + display: inline-block; |
585 | text-align: left; |
586 | padding-top: 8px; |
587 | - display: inline-block; |
588 | - background: blue; |
589 | - margin-right: 20px; |
590 | + margin: 0 10px; |
591 | } |
592 | -.bottom-links a { |
593 | +.external-links a { |
594 | text-decoration: none; |
595 | color: gray; |
596 | padding: 10px 0 10px 40px; |
597 | } |
598 | -.bottom-links a:hover { |
599 | +.external-links a::after { |
600 | + content: " ›"; |
601 | + font-size: 16px; |
602 | +} |
603 | +.external-links a:hover { |
604 | color: #e24912; |
605 | } |
606 | -#help-link { |
607 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
608 | +.help-link, |
609 | +.shop-link, |
610 | +.community-link { |
611 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
612 | +} |
613 | +.help-link { |
614 | background-position: -10px -450px; |
615 | } |
616 | -#help-link:hover { |
617 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
618 | +.help-link:hover { |
619 | background-position: -10px -490px; |
620 | } |
621 | -#shop-link { |
622 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
623 | - background-position: -10px -365px; |
624 | -} |
625 | -#shop-link:hover { |
626 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
627 | - background-position: -10px -407px; |
628 | -} |
629 | -#community-link { |
630 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
631 | - background-position: -10px -530px; |
632 | -} |
633 | -#community-link:hover { |
634 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
635 | - background-position: -10px -570px; |
636 | -} |
637 | +.shop-link { |
638 | + background-position: -10px -368px; |
639 | +} |
640 | +.shop-link:hover { |
641 | + background-position: -10px -410px; |
642 | +} |
643 | +.community-link { |
644 | + background-position: -10px -528px; |
645 | +} |
646 | +.community-link:hover { |
647 | + background-position: -10px -568px; |
648 | +} |
649 | +button { |
650 | + margin: 0 3px; |
651 | + display: inline-block; |
652 | + vertical-align: top; |
653 | + cursor: default; |
654 | + height: 32px; |
655 | + padding: 0 8px; |
656 | + text-align: center; |
657 | + text-decoration: none; |
658 | + -webkit-box-sizing: border-box; |
659 | + -moz-box-sizing: border-box; |
660 | + -ms-box-sizing: border-box; |
661 | + -o-box-sizing: border-box; |
662 | + box-sizing: border-box; |
663 | +} |
664 | + |
665 | </style> |
666 | </head> |
667 | <body> |
668 | - <div id="search-box"> |
669 | - <div id="ubuntu-branding"></div> |
670 | - <div class="top"></div> |
671 | - <div class="center"> |
672 | - <div class="padding"> |
673 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
674 | + <div class="search-box"> |
675 | + <div class="ubuntu-branding"></div> |
676 | + <div class="wrapper"> |
677 | + <div class="inner"> |
678 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
679 | <form method="get" action="http://baidu.com/s" name="f"> |
680 | - <input type="hidden" name="cl" value="3" /> |
681 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
682 | - <input name="wd" value="" id="kw" /> |
683 | - <button>ابحث</button> |
684 | + <input type="hidden" name="cl" value="3" /> |
685 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
686 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
687 | + --><button type="submit">ابحث</button> |
688 | </form> |
689 | </div> |
690 | </div> |
691 | - <div class="bottom"></div> |
692 | - <div id="external-links"> |
693 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">مساعدة أوبونتو ›</a></div> |
694 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">متجر أوبونتو ›</a></div> |
695 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">مجتمع أوبونتو ›</a></div> |
696 | - </div> |
697 | + <ul class="external-links"> |
698 | + <li class="help-link"><a href="https://help.ubuntu.com">مساعدة أوبونتو</a></li> |
699 | + <li class="shop-link"><a href="http://shop.ubuntu.com">متجر أوبونتو</a></li> |
700 | + <li class="community-link"><a href="http://www.ubuntu.com/community">مجتمع أوبونتو</a></li> |
701 | + </ul> |
702 | </div><!-- close search-box --> |
703 | <script type="text/javascript"> |
704 | //<![CDATA[ |
705 | -focus_search(); |
706 | +(function focus_search() { |
707 | + function search_select(e) { |
708 | + if(e.value.length > 0) { |
709 | + e.select(); |
710 | + } |
711 | + e.select(); |
712 | + } |
713 | + sbi = document.getElementById('kw'); |
714 | + sbi.focus(); |
715 | + search_select(sbi); |
716 | +})(); |
717 | //]]> |
718 | </script> |
719 | </body> |
720 | |
721 | === modified file 'www/12.10/Baidu/index.html.ast' |
722 | --- www/12.04/Baidu/index.html.ast 2012-08-04 16:59:10 +0000 |
723 | +++ www/12.10/Baidu/index.html.ast 2012-09-28 17:49:21 +0000 |
724 | @@ -3,21 +3,6 @@ |
725 | <head> |
726 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
727 | <title>Páxina d'entamu d'Ubuntu</title> |
728 | -<script type="text/javascript"> |
729 | -//<![CDATA[ |
730 | -function focus_search() { |
731 | - sbi = document.getElementById('kw'); |
732 | - sbi.focus(); |
733 | - search_select(sbi); |
734 | -} |
735 | -function search_select(e) { |
736 | - if(e.value.length > 0) { |
737 | - e.select(); |
738 | - } |
739 | - e.select(); |
740 | -} |
741 | -//]]> |
742 | -</script> |
743 | <style type="text/css"> |
744 | body { |
745 | background: white; |
746 | @@ -25,172 +10,178 @@ |
747 | font-size: 12px; |
748 | line-height: 14px; |
749 | margin: 0 auto; |
750 | - } |
751 | - |
752 | -ul#top-nav { |
753 | - margin-top: 5px; |
754 | - padding-bottom: 5px; |
755 | - border-bottom: 1px solid #eaeaea; |
756 | - } |
757 | - |
758 | -ul#top-nav li { |
759 | - display: inline; |
760 | - font-weight: bold; |
761 | - margin-right: 5px; |
762 | - } |
763 | - |
764 | -ul#top-nav li a { |
765 | - font-weight: normal; |
766 | - } |
767 | - |
768 | -#search-box { |
769 | +} |
770 | +button::-moz-focus-inner { |
771 | + /* fix buttons in FF */ |
772 | + border: 0; |
773 | + padding: 0; |
774 | +} |
775 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
776 | + /* Remove button margin in webkit */ |
777 | + button{ |
778 | + margin: 0; |
779 | + } |
780 | +} |
781 | +.search-box { |
782 | width: 595px; |
783 | margin: 0 auto; |
784 | margin-top: 63px; |
785 | - } |
786 | -#search-box #ubuntu-branding { |
787 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
788 | - background-position: 0px -251px; |
789 | +} |
790 | +.ubuntu-branding { |
791 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
792 | + background-position: 0 -251px; |
793 | background-color: #aea79f; |
794 | height: 40px; |
795 | - -moz-border-radius: 0 0 5px 5px; |
796 | - -webkit-border-radius: 0 0 5px 5px; |
797 | -} |
798 | -#search-box .top { |
799 | - width: 593px; |
800 | - height: 25px; |
801 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
802 | - background-position: -10px -10px; |
803 | - margin: 0; |
804 | - padding: 0; |
805 | - } |
806 | - |
807 | -#search-box .center { |
808 | - width: 595px; |
809 | - margin: 0; |
810 | - padding: 0; |
811 | - margin-right: -2px; |
812 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
813 | - } |
814 | - |
815 | -#search-box .center h1 { |
816 | - margin: 0; |
817 | - padding: 0; |
818 | - } |
819 | - |
820 | -#search-box .center .padding { |
821 | - padding-right: 44px; |
822 | - padding-left: 44px; |
823 | - } |
824 | - |
825 | -#search-box .center h1.logo a { |
826 | + border-radius: 5px 5px 0 0; |
827 | +} |
828 | +.wrapper { |
829 | + padding: 0; |
830 | + border: 1px solid #eee; |
831 | + border-top: 0; |
832 | + border-radius: 0 0 5px 5px; |
833 | + margin: 0 auto; |
834 | + text-align: center; |
835 | +} |
836 | +.wrapper h1 { |
837 | + margin: 0; |
838 | + padding: 0; |
839 | +} |
840 | +.logo a { |
841 | font-size: 1px; |
842 | display: block; |
843 | text-indent: -9999px; |
844 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
845 | - background-position: -10px -605px; |
846 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
847 | + background-position: -22px -605px; |
848 | margin: 0; |
849 | padding: 0; |
850 | height: 75px; |
851 | - width: 180px; |
852 | + width: 173px; |
853 | margin-bottom: 15px; |
854 | position: relative; |
855 | - } |
856 | - |
857 | -#search-box .center input { |
858 | +} |
859 | +.wrapper input { |
860 | + /* allows styling in webkit */ |
861 | + -webkit-appearance: textfield; |
862 | + display: inline-block; |
863 | + vertical-align: top; |
864 | width: 384px; |
865 | - height: 25px; |
866 | + height: 32px; |
867 | font-size: 18px; |
868 | padding-left: 5px; |
869 | padding-right: 5px; |
870 | - } |
871 | - |
872 | -#search-box .center button { |
873 | - font-size: 18px; |
874 | - padding: 2px; |
875 | - } |
876 | - |
877 | -#search-box .bottom { |
878 | - width: 593px; |
879 | - height: 98px; |
880 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
881 | - background-position: -10px -133px; |
882 | - } |
883 | -#external-links { |
884 | - overflow: auto; |
885 | - width: 605px; |
886 | + -webkit-box-sizing: border-box; |
887 | + -moz-box-sizing: border-box; |
888 | + -ms-box-sizing: border-box; |
889 | + -o-box-sizing: border-box; |
890 | + box-sizing: border-box; |
891 | + border: 1px solid #AEA79F; |
892 | +} |
893 | +.inner { |
894 | + display: inline-block; |
895 | + margin: 35px auto 100px auto; |
896 | +} |
897 | +.inner form { |
898 | + height: 32px; |
899 | +} |
900 | +.external-links { |
901 | text-align: center; |
902 | padding-top: 20px; |
903 | padding-left: 10px; |
904 | padding-right: 10px; |
905 | } |
906 | -.bottom-links { |
907 | +.external-links li { |
908 | height: 30px; |
909 | + display: inline-block; |
910 | text-align: left; |
911 | padding-top: 8px; |
912 | - display: inline-block; |
913 | - background: blue; |
914 | - margin-right: 20px; |
915 | + margin: 0 10px; |
916 | } |
917 | -.bottom-links a { |
918 | +.external-links a { |
919 | text-decoration: none; |
920 | color: gray; |
921 | padding: 10px 0 10px 40px; |
922 | } |
923 | -.bottom-links a:hover { |
924 | +.external-links a::after { |
925 | + content: " ›"; |
926 | + font-size: 16px; |
927 | +} |
928 | +.external-links a:hover { |
929 | color: #e24912; |
930 | } |
931 | -#help-link { |
932 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
933 | +.help-link, |
934 | +.shop-link, |
935 | +.community-link { |
936 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
937 | +} |
938 | +.help-link { |
939 | background-position: -10px -450px; |
940 | } |
941 | -#help-link:hover { |
942 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
943 | +.help-link:hover { |
944 | background-position: -10px -490px; |
945 | } |
946 | -#shop-link { |
947 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
948 | - background-position: -10px -365px; |
949 | -} |
950 | -#shop-link:hover { |
951 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
952 | - background-position: -10px -407px; |
953 | -} |
954 | -#community-link { |
955 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
956 | - background-position: -10px -530px; |
957 | -} |
958 | -#community-link:hover { |
959 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
960 | - background-position: -10px -570px; |
961 | -} |
962 | +.shop-link { |
963 | + background-position: -10px -368px; |
964 | +} |
965 | +.shop-link:hover { |
966 | + background-position: -10px -410px; |
967 | +} |
968 | +.community-link { |
969 | + background-position: -10px -528px; |
970 | +} |
971 | +.community-link:hover { |
972 | + background-position: -10px -568px; |
973 | +} |
974 | +button { |
975 | + margin: 0 3px; |
976 | + display: inline-block; |
977 | + vertical-align: top; |
978 | + cursor: default; |
979 | + height: 32px; |
980 | + padding: 0 8px; |
981 | + text-align: center; |
982 | + text-decoration: none; |
983 | + -webkit-box-sizing: border-box; |
984 | + -moz-box-sizing: border-box; |
985 | + -ms-box-sizing: border-box; |
986 | + -o-box-sizing: border-box; |
987 | + box-sizing: border-box; |
988 | +} |
989 | + |
990 | </style> |
991 | </head> |
992 | <body> |
993 | - <div id="search-box"> |
994 | - <div id="ubuntu-branding"></div> |
995 | - <div class="top"></div> |
996 | - <div class="center"> |
997 | - <div class="padding"> |
998 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
999 | + <div class="search-box"> |
1000 | + <div class="ubuntu-branding"></div> |
1001 | + <div class="wrapper"> |
1002 | + <div class="inner"> |
1003 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
1004 | <form method="get" action="http://baidu.com/s" name="f"> |
1005 | - <input type="hidden" name="cl" value="3" /> |
1006 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1007 | - <input name="wd" value="" id="kw" /> |
1008 | - <button>Guetar</button> |
1009 | + <input type="hidden" name="cl" value="3" /> |
1010 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1011 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
1012 | + --><button type="submit">Guetar</button> |
1013 | </form> |
1014 | </div> |
1015 | </div> |
1016 | - <div class="bottom"></div> |
1017 | - <div id="external-links"> |
1018 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Aida d'Ubuntu ›</a></div> |
1019 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Tienda d'Ubuntu ›</a></div> |
1020 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Comunidá d'Ubuntu ›</a></div> |
1021 | - </div> |
1022 | + <ul class="external-links"> |
1023 | + <li class="help-link"><a href="https://help.ubuntu.com">Aida d'Ubuntu</a></li> |
1024 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Tienda d'Ubuntu</a></li> |
1025 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Comunidá d'Ubuntu</a></li> |
1026 | + </ul> |
1027 | </div><!-- close search-box --> |
1028 | <script type="text/javascript"> |
1029 | //<![CDATA[ |
1030 | -focus_search(); |
1031 | +(function focus_search() { |
1032 | + function search_select(e) { |
1033 | + if(e.value.length > 0) { |
1034 | + e.select(); |
1035 | + } |
1036 | + e.select(); |
1037 | + } |
1038 | + sbi = document.getElementById('kw'); |
1039 | + sbi.focus(); |
1040 | + search_select(sbi); |
1041 | +})(); |
1042 | //]]> |
1043 | </script> |
1044 | </body> |
1045 | |
1046 | === modified file 'www/12.10/Baidu/index.html.bg' |
1047 | --- www/12.04/Baidu/index.html.bg 2012-08-04 16:59:10 +0000 |
1048 | +++ www/12.10/Baidu/index.html.bg 2012-09-28 17:49:21 +0000 |
1049 | @@ -3,21 +3,6 @@ |
1050 | <head> |
1051 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
1052 | <title>Начална страница на Убунту</title> |
1053 | -<script type="text/javascript"> |
1054 | -//<![CDATA[ |
1055 | -function focus_search() { |
1056 | - sbi = document.getElementById('kw'); |
1057 | - sbi.focus(); |
1058 | - search_select(sbi); |
1059 | -} |
1060 | -function search_select(e) { |
1061 | - if(e.value.length > 0) { |
1062 | - e.select(); |
1063 | - } |
1064 | - e.select(); |
1065 | -} |
1066 | -//]]> |
1067 | -</script> |
1068 | <style type="text/css"> |
1069 | body { |
1070 | background: white; |
1071 | @@ -25,172 +10,178 @@ |
1072 | font-size: 12px; |
1073 | line-height: 14px; |
1074 | margin: 0 auto; |
1075 | - } |
1076 | - |
1077 | -ul#top-nav { |
1078 | - margin-top: 5px; |
1079 | - padding-bottom: 5px; |
1080 | - border-bottom: 1px solid #eaeaea; |
1081 | - } |
1082 | - |
1083 | -ul#top-nav li { |
1084 | - display: inline; |
1085 | - font-weight: bold; |
1086 | - margin-right: 5px; |
1087 | - } |
1088 | - |
1089 | -ul#top-nav li a { |
1090 | - font-weight: normal; |
1091 | - } |
1092 | - |
1093 | -#search-box { |
1094 | +} |
1095 | +button::-moz-focus-inner { |
1096 | + /* fix buttons in FF */ |
1097 | + border: 0; |
1098 | + padding: 0; |
1099 | +} |
1100 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
1101 | + /* Remove button margin in webkit */ |
1102 | + button{ |
1103 | + margin: 0; |
1104 | + } |
1105 | +} |
1106 | +.search-box { |
1107 | width: 595px; |
1108 | margin: 0 auto; |
1109 | margin-top: 63px; |
1110 | - } |
1111 | -#search-box #ubuntu-branding { |
1112 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1113 | - background-position: 0px -251px; |
1114 | +} |
1115 | +.ubuntu-branding { |
1116 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1117 | + background-position: 0 -251px; |
1118 | background-color: #aea79f; |
1119 | height: 40px; |
1120 | - -moz-border-radius: 0 0 5px 5px; |
1121 | - -webkit-border-radius: 0 0 5px 5px; |
1122 | -} |
1123 | -#search-box .top { |
1124 | - width: 593px; |
1125 | - height: 25px; |
1126 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1127 | - background-position: -10px -10px; |
1128 | - margin: 0; |
1129 | - padding: 0; |
1130 | - } |
1131 | - |
1132 | -#search-box .center { |
1133 | - width: 595px; |
1134 | - margin: 0; |
1135 | - padding: 0; |
1136 | - margin-right: -2px; |
1137 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
1138 | - } |
1139 | - |
1140 | -#search-box .center h1 { |
1141 | - margin: 0; |
1142 | - padding: 0; |
1143 | - } |
1144 | - |
1145 | -#search-box .center .padding { |
1146 | - padding-right: 44px; |
1147 | - padding-left: 44px; |
1148 | - } |
1149 | - |
1150 | -#search-box .center h1.logo a { |
1151 | + border-radius: 5px 5px 0 0; |
1152 | +} |
1153 | +.wrapper { |
1154 | + padding: 0; |
1155 | + border: 1px solid #eee; |
1156 | + border-top: 0; |
1157 | + border-radius: 0 0 5px 5px; |
1158 | + margin: 0 auto; |
1159 | + text-align: center; |
1160 | +} |
1161 | +.wrapper h1 { |
1162 | + margin: 0; |
1163 | + padding: 0; |
1164 | +} |
1165 | +.logo a { |
1166 | font-size: 1px; |
1167 | display: block; |
1168 | text-indent: -9999px; |
1169 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1170 | - background-position: -10px -605px; |
1171 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1172 | + background-position: -22px -605px; |
1173 | margin: 0; |
1174 | padding: 0; |
1175 | height: 75px; |
1176 | - width: 180px; |
1177 | + width: 173px; |
1178 | margin-bottom: 15px; |
1179 | position: relative; |
1180 | - } |
1181 | - |
1182 | -#search-box .center input { |
1183 | +} |
1184 | +.wrapper input { |
1185 | + /* allows styling in webkit */ |
1186 | + -webkit-appearance: textfield; |
1187 | + display: inline-block; |
1188 | + vertical-align: top; |
1189 | width: 384px; |
1190 | - height: 25px; |
1191 | + height: 32px; |
1192 | font-size: 18px; |
1193 | padding-left: 5px; |
1194 | padding-right: 5px; |
1195 | - } |
1196 | - |
1197 | -#search-box .center button { |
1198 | - font-size: 18px; |
1199 | - padding: 2px; |
1200 | - } |
1201 | - |
1202 | -#search-box .bottom { |
1203 | - width: 593px; |
1204 | - height: 98px; |
1205 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1206 | - background-position: -10px -133px; |
1207 | - } |
1208 | -#external-links { |
1209 | - overflow: auto; |
1210 | - width: 605px; |
1211 | + -webkit-box-sizing: border-box; |
1212 | + -moz-box-sizing: border-box; |
1213 | + -ms-box-sizing: border-box; |
1214 | + -o-box-sizing: border-box; |
1215 | + box-sizing: border-box; |
1216 | + border: 1px solid #AEA79F; |
1217 | +} |
1218 | +.inner { |
1219 | + display: inline-block; |
1220 | + margin: 35px auto 100px auto; |
1221 | +} |
1222 | +.inner form { |
1223 | + height: 32px; |
1224 | +} |
1225 | +.external-links { |
1226 | text-align: center; |
1227 | padding-top: 20px; |
1228 | padding-left: 10px; |
1229 | padding-right: 10px; |
1230 | } |
1231 | -.bottom-links { |
1232 | +.external-links li { |
1233 | height: 30px; |
1234 | + display: inline-block; |
1235 | text-align: left; |
1236 | padding-top: 8px; |
1237 | - display: inline-block; |
1238 | - background: blue; |
1239 | - margin-right: 20px; |
1240 | + margin: 0 10px; |
1241 | } |
1242 | -.bottom-links a { |
1243 | +.external-links a { |
1244 | text-decoration: none; |
1245 | color: gray; |
1246 | padding: 10px 0 10px 40px; |
1247 | } |
1248 | -.bottom-links a:hover { |
1249 | +.external-links a::after { |
1250 | + content: " ›"; |
1251 | + font-size: 16px; |
1252 | +} |
1253 | +.external-links a:hover { |
1254 | color: #e24912; |
1255 | } |
1256 | -#help-link { |
1257 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1258 | +.help-link, |
1259 | +.shop-link, |
1260 | +.community-link { |
1261 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1262 | +} |
1263 | +.help-link { |
1264 | background-position: -10px -450px; |
1265 | } |
1266 | -#help-link:hover { |
1267 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1268 | +.help-link:hover { |
1269 | background-position: -10px -490px; |
1270 | } |
1271 | -#shop-link { |
1272 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1273 | - background-position: -10px -365px; |
1274 | -} |
1275 | -#shop-link:hover { |
1276 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1277 | - background-position: -10px -407px; |
1278 | -} |
1279 | -#community-link { |
1280 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1281 | - background-position: -10px -530px; |
1282 | -} |
1283 | -#community-link:hover { |
1284 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1285 | - background-position: -10px -570px; |
1286 | -} |
1287 | +.shop-link { |
1288 | + background-position: -10px -368px; |
1289 | +} |
1290 | +.shop-link:hover { |
1291 | + background-position: -10px -410px; |
1292 | +} |
1293 | +.community-link { |
1294 | + background-position: -10px -528px; |
1295 | +} |
1296 | +.community-link:hover { |
1297 | + background-position: -10px -568px; |
1298 | +} |
1299 | +button { |
1300 | + margin: 0 3px; |
1301 | + display: inline-block; |
1302 | + vertical-align: top; |
1303 | + cursor: default; |
1304 | + height: 32px; |
1305 | + padding: 0 8px; |
1306 | + text-align: center; |
1307 | + text-decoration: none; |
1308 | + -webkit-box-sizing: border-box; |
1309 | + -moz-box-sizing: border-box; |
1310 | + -ms-box-sizing: border-box; |
1311 | + -o-box-sizing: border-box; |
1312 | + box-sizing: border-box; |
1313 | +} |
1314 | + |
1315 | </style> |
1316 | </head> |
1317 | <body> |
1318 | - <div id="search-box"> |
1319 | - <div id="ubuntu-branding"></div> |
1320 | - <div class="top"></div> |
1321 | - <div class="center"> |
1322 | - <div class="padding"> |
1323 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
1324 | + <div class="search-box"> |
1325 | + <div class="ubuntu-branding"></div> |
1326 | + <div class="wrapper"> |
1327 | + <div class="inner"> |
1328 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
1329 | <form method="get" action="http://baidu.com/s" name="f"> |
1330 | - <input type="hidden" name="cl" value="3" /> |
1331 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1332 | - <input name="wd" value="" id="kw" /> |
1333 | - <button>Търсене</button> |
1334 | + <input type="hidden" name="cl" value="3" /> |
1335 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1336 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
1337 | + --><button type="submit">Търсене</button> |
1338 | </form> |
1339 | </div> |
1340 | </div> |
1341 | - <div class="bottom"></div> |
1342 | - <div id="external-links"> |
1343 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Помощ за Убунту ›</a></div> |
1344 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Магазин на Убунту ›</a></div> |
1345 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Общество на Убунту ›</a></div> |
1346 | - </div> |
1347 | + <ul class="external-links"> |
1348 | + <li class="help-link"><a href="https://help.ubuntu.com">Помощ за Убунту</a></li> |
1349 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Магазин на Убунту</a></li> |
1350 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Общество на Убунту</a></li> |
1351 | + </ul> |
1352 | </div><!-- close search-box --> |
1353 | <script type="text/javascript"> |
1354 | //<![CDATA[ |
1355 | -focus_search(); |
1356 | +(function focus_search() { |
1357 | + function search_select(e) { |
1358 | + if(e.value.length > 0) { |
1359 | + e.select(); |
1360 | + } |
1361 | + e.select(); |
1362 | + } |
1363 | + sbi = document.getElementById('kw'); |
1364 | + sbi.focus(); |
1365 | + search_select(sbi); |
1366 | +})(); |
1367 | //]]> |
1368 | </script> |
1369 | </body> |
1370 | |
1371 | === modified file 'www/12.10/Baidu/index.html.bn' |
1372 | --- www/12.04/Baidu/index.html.bn 2012-08-04 16:59:10 +0000 |
1373 | +++ www/12.10/Baidu/index.html.bn 2012-09-28 17:49:21 +0000 |
1374 | @@ -3,21 +3,6 @@ |
1375 | <head> |
1376 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
1377 | <title>উবুন্টু আরম্ভ পাতা</title> |
1378 | -<script type="text/javascript"> |
1379 | -//<![CDATA[ |
1380 | -function focus_search() { |
1381 | - sbi = document.getElementById('kw'); |
1382 | - sbi.focus(); |
1383 | - search_select(sbi); |
1384 | -} |
1385 | -function search_select(e) { |
1386 | - if(e.value.length > 0) { |
1387 | - e.select(); |
1388 | - } |
1389 | - e.select(); |
1390 | -} |
1391 | -//]]> |
1392 | -</script> |
1393 | <style type="text/css"> |
1394 | body { |
1395 | background: white; |
1396 | @@ -25,172 +10,178 @@ |
1397 | font-size: 12px; |
1398 | line-height: 14px; |
1399 | margin: 0 auto; |
1400 | - } |
1401 | - |
1402 | -ul#top-nav { |
1403 | - margin-top: 5px; |
1404 | - padding-bottom: 5px; |
1405 | - border-bottom: 1px solid #eaeaea; |
1406 | - } |
1407 | - |
1408 | -ul#top-nav li { |
1409 | - display: inline; |
1410 | - font-weight: bold; |
1411 | - margin-right: 5px; |
1412 | - } |
1413 | - |
1414 | -ul#top-nav li a { |
1415 | - font-weight: normal; |
1416 | - } |
1417 | - |
1418 | -#search-box { |
1419 | +} |
1420 | +button::-moz-focus-inner { |
1421 | + /* fix buttons in FF */ |
1422 | + border: 0; |
1423 | + padding: 0; |
1424 | +} |
1425 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
1426 | + /* Remove button margin in webkit */ |
1427 | + button{ |
1428 | + margin: 0; |
1429 | + } |
1430 | +} |
1431 | +.search-box { |
1432 | width: 595px; |
1433 | margin: 0 auto; |
1434 | margin-top: 63px; |
1435 | - } |
1436 | -#search-box #ubuntu-branding { |
1437 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1438 | - background-position: 0px -251px; |
1439 | +} |
1440 | +.ubuntu-branding { |
1441 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1442 | + background-position: 0 -251px; |
1443 | background-color: #aea79f; |
1444 | height: 40px; |
1445 | - -moz-border-radius: 0 0 5px 5px; |
1446 | - -webkit-border-radius: 0 0 5px 5px; |
1447 | -} |
1448 | -#search-box .top { |
1449 | - width: 593px; |
1450 | - height: 25px; |
1451 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1452 | - background-position: -10px -10px; |
1453 | - margin: 0; |
1454 | - padding: 0; |
1455 | - } |
1456 | - |
1457 | -#search-box .center { |
1458 | - width: 595px; |
1459 | - margin: 0; |
1460 | - padding: 0; |
1461 | - margin-right: -2px; |
1462 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
1463 | - } |
1464 | - |
1465 | -#search-box .center h1 { |
1466 | - margin: 0; |
1467 | - padding: 0; |
1468 | - } |
1469 | - |
1470 | -#search-box .center .padding { |
1471 | - padding-right: 44px; |
1472 | - padding-left: 44px; |
1473 | - } |
1474 | - |
1475 | -#search-box .center h1.logo a { |
1476 | + border-radius: 5px 5px 0 0; |
1477 | +} |
1478 | +.wrapper { |
1479 | + padding: 0; |
1480 | + border: 1px solid #eee; |
1481 | + border-top: 0; |
1482 | + border-radius: 0 0 5px 5px; |
1483 | + margin: 0 auto; |
1484 | + text-align: center; |
1485 | +} |
1486 | +.wrapper h1 { |
1487 | + margin: 0; |
1488 | + padding: 0; |
1489 | +} |
1490 | +.logo a { |
1491 | font-size: 1px; |
1492 | display: block; |
1493 | text-indent: -9999px; |
1494 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1495 | - background-position: -10px -605px; |
1496 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1497 | + background-position: -22px -605px; |
1498 | margin: 0; |
1499 | padding: 0; |
1500 | height: 75px; |
1501 | - width: 180px; |
1502 | + width: 173px; |
1503 | margin-bottom: 15px; |
1504 | position: relative; |
1505 | - } |
1506 | - |
1507 | -#search-box .center input { |
1508 | +} |
1509 | +.wrapper input { |
1510 | + /* allows styling in webkit */ |
1511 | + -webkit-appearance: textfield; |
1512 | + display: inline-block; |
1513 | + vertical-align: top; |
1514 | width: 384px; |
1515 | - height: 25px; |
1516 | + height: 32px; |
1517 | font-size: 18px; |
1518 | padding-left: 5px; |
1519 | padding-right: 5px; |
1520 | - } |
1521 | - |
1522 | -#search-box .center button { |
1523 | - font-size: 18px; |
1524 | - padding: 2px; |
1525 | - } |
1526 | - |
1527 | -#search-box .bottom { |
1528 | - width: 593px; |
1529 | - height: 98px; |
1530 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1531 | - background-position: -10px -133px; |
1532 | - } |
1533 | -#external-links { |
1534 | - overflow: auto; |
1535 | - width: 605px; |
1536 | + -webkit-box-sizing: border-box; |
1537 | + -moz-box-sizing: border-box; |
1538 | + -ms-box-sizing: border-box; |
1539 | + -o-box-sizing: border-box; |
1540 | + box-sizing: border-box; |
1541 | + border: 1px solid #AEA79F; |
1542 | +} |
1543 | +.inner { |
1544 | + display: inline-block; |
1545 | + margin: 35px auto 100px auto; |
1546 | +} |
1547 | +.inner form { |
1548 | + height: 32px; |
1549 | +} |
1550 | +.external-links { |
1551 | text-align: center; |
1552 | padding-top: 20px; |
1553 | padding-left: 10px; |
1554 | padding-right: 10px; |
1555 | } |
1556 | -.bottom-links { |
1557 | +.external-links li { |
1558 | height: 30px; |
1559 | + display: inline-block; |
1560 | text-align: left; |
1561 | padding-top: 8px; |
1562 | - display: inline-block; |
1563 | - background: blue; |
1564 | - margin-right: 20px; |
1565 | + margin: 0 10px; |
1566 | } |
1567 | -.bottom-links a { |
1568 | +.external-links a { |
1569 | text-decoration: none; |
1570 | color: gray; |
1571 | padding: 10px 0 10px 40px; |
1572 | } |
1573 | -.bottom-links a:hover { |
1574 | +.external-links a::after { |
1575 | + content: " ›"; |
1576 | + font-size: 16px; |
1577 | +} |
1578 | +.external-links a:hover { |
1579 | color: #e24912; |
1580 | } |
1581 | -#help-link { |
1582 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1583 | +.help-link, |
1584 | +.shop-link, |
1585 | +.community-link { |
1586 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1587 | +} |
1588 | +.help-link { |
1589 | background-position: -10px -450px; |
1590 | } |
1591 | -#help-link:hover { |
1592 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1593 | +.help-link:hover { |
1594 | background-position: -10px -490px; |
1595 | } |
1596 | -#shop-link { |
1597 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1598 | - background-position: -10px -365px; |
1599 | -} |
1600 | -#shop-link:hover { |
1601 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1602 | - background-position: -10px -407px; |
1603 | -} |
1604 | -#community-link { |
1605 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1606 | - background-position: -10px -530px; |
1607 | -} |
1608 | -#community-link:hover { |
1609 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1610 | - background-position: -10px -570px; |
1611 | -} |
1612 | +.shop-link { |
1613 | + background-position: -10px -368px; |
1614 | +} |
1615 | +.shop-link:hover { |
1616 | + background-position: -10px -410px; |
1617 | +} |
1618 | +.community-link { |
1619 | + background-position: -10px -528px; |
1620 | +} |
1621 | +.community-link:hover { |
1622 | + background-position: -10px -568px; |
1623 | +} |
1624 | +button { |
1625 | + margin: 0 3px; |
1626 | + display: inline-block; |
1627 | + vertical-align: top; |
1628 | + cursor: default; |
1629 | + height: 32px; |
1630 | + padding: 0 8px; |
1631 | + text-align: center; |
1632 | + text-decoration: none; |
1633 | + -webkit-box-sizing: border-box; |
1634 | + -moz-box-sizing: border-box; |
1635 | + -ms-box-sizing: border-box; |
1636 | + -o-box-sizing: border-box; |
1637 | + box-sizing: border-box; |
1638 | +} |
1639 | + |
1640 | </style> |
1641 | </head> |
1642 | <body> |
1643 | - <div id="search-box"> |
1644 | - <div id="ubuntu-branding"></div> |
1645 | - <div class="top"></div> |
1646 | - <div class="center"> |
1647 | - <div class="padding"> |
1648 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
1649 | + <div class="search-box"> |
1650 | + <div class="ubuntu-branding"></div> |
1651 | + <div class="wrapper"> |
1652 | + <div class="inner"> |
1653 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
1654 | <form method="get" action="http://baidu.com/s" name="f"> |
1655 | - <input type="hidden" name="cl" value="3" /> |
1656 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1657 | - <input name="wd" value="" id="kw" /> |
1658 | - <button>অনুসন্ধান</button> |
1659 | + <input type="hidden" name="cl" value="3" /> |
1660 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1661 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
1662 | + --><button type="submit">অনুসন্ধান</button> |
1663 | </form> |
1664 | </div> |
1665 | </div> |
1666 | - <div class="bottom"></div> |
1667 | - <div id="external-links"> |
1668 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">উবুন্টু বিষয়ক সাহায্য ›</a></div> |
1669 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">উবুন্টু দোকান ›</a></div> |
1670 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">উবুন্টু সম্প্রদায় ›</a></div> |
1671 | - </div> |
1672 | + <ul class="external-links"> |
1673 | + <li class="help-link"><a href="https://help.ubuntu.com">উবুন্টু বিষয়ক সাহায্য</a></li> |
1674 | + <li class="shop-link"><a href="http://shop.ubuntu.com">উবুন্টু দোকান</a></li> |
1675 | + <li class="community-link"><a href="http://www.ubuntu.com/community">উবুন্টু সম্প্রদায়</a></li> |
1676 | + </ul> |
1677 | </div><!-- close search-box --> |
1678 | <script type="text/javascript"> |
1679 | //<![CDATA[ |
1680 | -focus_search(); |
1681 | +(function focus_search() { |
1682 | + function search_select(e) { |
1683 | + if(e.value.length > 0) { |
1684 | + e.select(); |
1685 | + } |
1686 | + e.select(); |
1687 | + } |
1688 | + sbi = document.getElementById('kw'); |
1689 | + sbi.focus(); |
1690 | + search_select(sbi); |
1691 | +})(); |
1692 | //]]> |
1693 | </script> |
1694 | </body> |
1695 | |
1696 | === modified file 'www/12.10/Baidu/index.html.ca' |
1697 | --- www/12.04/Baidu/index.html.ca 2012-08-04 16:59:10 +0000 |
1698 | +++ www/12.10/Baidu/index.html.ca 2012-09-28 17:49:21 +0000 |
1699 | @@ -3,21 +3,6 @@ |
1700 | <head> |
1701 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
1702 | <title>Pàgina d'inici de l'Ubuntu</title> |
1703 | -<script type="text/javascript"> |
1704 | -//<![CDATA[ |
1705 | -function focus_search() { |
1706 | - sbi = document.getElementById('kw'); |
1707 | - sbi.focus(); |
1708 | - search_select(sbi); |
1709 | -} |
1710 | -function search_select(e) { |
1711 | - if(e.value.length > 0) { |
1712 | - e.select(); |
1713 | - } |
1714 | - e.select(); |
1715 | -} |
1716 | -//]]> |
1717 | -</script> |
1718 | <style type="text/css"> |
1719 | body { |
1720 | background: white; |
1721 | @@ -25,172 +10,178 @@ |
1722 | font-size: 12px; |
1723 | line-height: 14px; |
1724 | margin: 0 auto; |
1725 | - } |
1726 | - |
1727 | -ul#top-nav { |
1728 | - margin-top: 5px; |
1729 | - padding-bottom: 5px; |
1730 | - border-bottom: 1px solid #eaeaea; |
1731 | - } |
1732 | - |
1733 | -ul#top-nav li { |
1734 | - display: inline; |
1735 | - font-weight: bold; |
1736 | - margin-right: 5px; |
1737 | - } |
1738 | - |
1739 | -ul#top-nav li a { |
1740 | - font-weight: normal; |
1741 | - } |
1742 | - |
1743 | -#search-box { |
1744 | +} |
1745 | +button::-moz-focus-inner { |
1746 | + /* fix buttons in FF */ |
1747 | + border: 0; |
1748 | + padding: 0; |
1749 | +} |
1750 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
1751 | + /* Remove button margin in webkit */ |
1752 | + button{ |
1753 | + margin: 0; |
1754 | + } |
1755 | +} |
1756 | +.search-box { |
1757 | width: 595px; |
1758 | margin: 0 auto; |
1759 | margin-top: 63px; |
1760 | - } |
1761 | -#search-box #ubuntu-branding { |
1762 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1763 | - background-position: 0px -251px; |
1764 | +} |
1765 | +.ubuntu-branding { |
1766 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1767 | + background-position: 0 -251px; |
1768 | background-color: #aea79f; |
1769 | height: 40px; |
1770 | - -moz-border-radius: 0 0 5px 5px; |
1771 | - -webkit-border-radius: 0 0 5px 5px; |
1772 | -} |
1773 | -#search-box .top { |
1774 | - width: 593px; |
1775 | - height: 25px; |
1776 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1777 | - background-position: -10px -10px; |
1778 | - margin: 0; |
1779 | - padding: 0; |
1780 | - } |
1781 | - |
1782 | -#search-box .center { |
1783 | - width: 595px; |
1784 | - margin: 0; |
1785 | - padding: 0; |
1786 | - margin-right: -2px; |
1787 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
1788 | - } |
1789 | - |
1790 | -#search-box .center h1 { |
1791 | - margin: 0; |
1792 | - padding: 0; |
1793 | - } |
1794 | - |
1795 | -#search-box .center .padding { |
1796 | - padding-right: 44px; |
1797 | - padding-left: 44px; |
1798 | - } |
1799 | - |
1800 | -#search-box .center h1.logo a { |
1801 | + border-radius: 5px 5px 0 0; |
1802 | +} |
1803 | +.wrapper { |
1804 | + padding: 0; |
1805 | + border: 1px solid #eee; |
1806 | + border-top: 0; |
1807 | + border-radius: 0 0 5px 5px; |
1808 | + margin: 0 auto; |
1809 | + text-align: center; |
1810 | +} |
1811 | +.wrapper h1 { |
1812 | + margin: 0; |
1813 | + padding: 0; |
1814 | +} |
1815 | +.logo a { |
1816 | font-size: 1px; |
1817 | display: block; |
1818 | text-indent: -9999px; |
1819 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1820 | - background-position: -10px -605px; |
1821 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1822 | + background-position: -22px -605px; |
1823 | margin: 0; |
1824 | padding: 0; |
1825 | height: 75px; |
1826 | - width: 180px; |
1827 | + width: 173px; |
1828 | margin-bottom: 15px; |
1829 | position: relative; |
1830 | - } |
1831 | - |
1832 | -#search-box .center input { |
1833 | +} |
1834 | +.wrapper input { |
1835 | + /* allows styling in webkit */ |
1836 | + -webkit-appearance: textfield; |
1837 | + display: inline-block; |
1838 | + vertical-align: top; |
1839 | width: 384px; |
1840 | - height: 25px; |
1841 | + height: 32px; |
1842 | font-size: 18px; |
1843 | padding-left: 5px; |
1844 | padding-right: 5px; |
1845 | - } |
1846 | - |
1847 | -#search-box .center button { |
1848 | - font-size: 18px; |
1849 | - padding: 2px; |
1850 | - } |
1851 | - |
1852 | -#search-box .bottom { |
1853 | - width: 593px; |
1854 | - height: 98px; |
1855 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1856 | - background-position: -10px -133px; |
1857 | - } |
1858 | -#external-links { |
1859 | - overflow: auto; |
1860 | - width: 605px; |
1861 | + -webkit-box-sizing: border-box; |
1862 | + -moz-box-sizing: border-box; |
1863 | + -ms-box-sizing: border-box; |
1864 | + -o-box-sizing: border-box; |
1865 | + box-sizing: border-box; |
1866 | + border: 1px solid #AEA79F; |
1867 | +} |
1868 | +.inner { |
1869 | + display: inline-block; |
1870 | + margin: 35px auto 100px auto; |
1871 | +} |
1872 | +.inner form { |
1873 | + height: 32px; |
1874 | +} |
1875 | +.external-links { |
1876 | text-align: center; |
1877 | padding-top: 20px; |
1878 | padding-left: 10px; |
1879 | padding-right: 10px; |
1880 | } |
1881 | -.bottom-links { |
1882 | +.external-links li { |
1883 | height: 30px; |
1884 | + display: inline-block; |
1885 | text-align: left; |
1886 | padding-top: 8px; |
1887 | - display: inline-block; |
1888 | - background: blue; |
1889 | - margin-right: 20px; |
1890 | + margin: 0 10px; |
1891 | } |
1892 | -.bottom-links a { |
1893 | +.external-links a { |
1894 | text-decoration: none; |
1895 | color: gray; |
1896 | padding: 10px 0 10px 40px; |
1897 | } |
1898 | -.bottom-links a:hover { |
1899 | +.external-links a::after { |
1900 | + content: " ›"; |
1901 | + font-size: 16px; |
1902 | +} |
1903 | +.external-links a:hover { |
1904 | color: #e24912; |
1905 | } |
1906 | -#help-link { |
1907 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1908 | +.help-link, |
1909 | +.shop-link, |
1910 | +.community-link { |
1911 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
1912 | +} |
1913 | +.help-link { |
1914 | background-position: -10px -450px; |
1915 | } |
1916 | -#help-link:hover { |
1917 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1918 | +.help-link:hover { |
1919 | background-position: -10px -490px; |
1920 | } |
1921 | -#shop-link { |
1922 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1923 | - background-position: -10px -365px; |
1924 | -} |
1925 | -#shop-link:hover { |
1926 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1927 | - background-position: -10px -407px; |
1928 | -} |
1929 | -#community-link { |
1930 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1931 | - background-position: -10px -530px; |
1932 | -} |
1933 | -#community-link:hover { |
1934 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
1935 | - background-position: -10px -570px; |
1936 | -} |
1937 | +.shop-link { |
1938 | + background-position: -10px -368px; |
1939 | +} |
1940 | +.shop-link:hover { |
1941 | + background-position: -10px -410px; |
1942 | +} |
1943 | +.community-link { |
1944 | + background-position: -10px -528px; |
1945 | +} |
1946 | +.community-link:hover { |
1947 | + background-position: -10px -568px; |
1948 | +} |
1949 | +button { |
1950 | + margin: 0 3px; |
1951 | + display: inline-block; |
1952 | + vertical-align: top; |
1953 | + cursor: default; |
1954 | + height: 32px; |
1955 | + padding: 0 8px; |
1956 | + text-align: center; |
1957 | + text-decoration: none; |
1958 | + -webkit-box-sizing: border-box; |
1959 | + -moz-box-sizing: border-box; |
1960 | + -ms-box-sizing: border-box; |
1961 | + -o-box-sizing: border-box; |
1962 | + box-sizing: border-box; |
1963 | +} |
1964 | + |
1965 | </style> |
1966 | </head> |
1967 | <body> |
1968 | - <div id="search-box"> |
1969 | - <div id="ubuntu-branding"></div> |
1970 | - <div class="top"></div> |
1971 | - <div class="center"> |
1972 | - <div class="padding"> |
1973 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
1974 | + <div class="search-box"> |
1975 | + <div class="ubuntu-branding"></div> |
1976 | + <div class="wrapper"> |
1977 | + <div class="inner"> |
1978 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
1979 | <form method="get" action="http://baidu.com/s" name="f"> |
1980 | - <input type="hidden" name="cl" value="3" /> |
1981 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1982 | - <input name="wd" value="" id="kw" /> |
1983 | - <button>Cerca</button> |
1984 | + <input type="hidden" name="cl" value="3" /> |
1985 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
1986 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
1987 | + --><button type="submit">Cerca</button> |
1988 | </form> |
1989 | </div> |
1990 | </div> |
1991 | - <div class="bottom"></div> |
1992 | - <div id="external-links"> |
1993 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ajuda de l'Ubuntu ›</a></div> |
1994 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Botiga de l'Ubuntu ›</a></div> |
1995 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Comunitat de l'Ubuntu ›</a></div> |
1996 | - </div> |
1997 | + <ul class="external-links"> |
1998 | + <li class="help-link"><a href="https://help.ubuntu.com">Ajuda de l'Ubuntu</a></li> |
1999 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Botiga de l'Ubuntu</a></li> |
2000 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Comunitat de l'Ubuntu</a></li> |
2001 | + </ul> |
2002 | </div><!-- close search-box --> |
2003 | <script type="text/javascript"> |
2004 | //<![CDATA[ |
2005 | -focus_search(); |
2006 | +(function focus_search() { |
2007 | + function search_select(e) { |
2008 | + if(e.value.length > 0) { |
2009 | + e.select(); |
2010 | + } |
2011 | + e.select(); |
2012 | + } |
2013 | + sbi = document.getElementById('kw'); |
2014 | + sbi.focus(); |
2015 | + search_select(sbi); |
2016 | +})(); |
2017 | //]]> |
2018 | </script> |
2019 | </body> |
2020 | |
2021 | === modified file 'www/12.10/Baidu/index.html.crh' |
2022 | --- www/12.04/Baidu/index.html.crh 2012-08-04 16:59:10 +0000 |
2023 | +++ www/12.10/Baidu/index.html.crh 2012-09-28 17:49:21 +0000 |
2024 | @@ -3,21 +3,6 @@ |
2025 | <head> |
2026 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
2027 | <title>Ubuntu Başlanğıç Saifesi</title> |
2028 | -<script type="text/javascript"> |
2029 | -//<![CDATA[ |
2030 | -function focus_search() { |
2031 | - sbi = document.getElementById('kw'); |
2032 | - sbi.focus(); |
2033 | - search_select(sbi); |
2034 | -} |
2035 | -function search_select(e) { |
2036 | - if(e.value.length > 0) { |
2037 | - e.select(); |
2038 | - } |
2039 | - e.select(); |
2040 | -} |
2041 | -//]]> |
2042 | -</script> |
2043 | <style type="text/css"> |
2044 | body { |
2045 | background: white; |
2046 | @@ -25,172 +10,178 @@ |
2047 | font-size: 12px; |
2048 | line-height: 14px; |
2049 | margin: 0 auto; |
2050 | - } |
2051 | - |
2052 | -ul#top-nav { |
2053 | - margin-top: 5px; |
2054 | - padding-bottom: 5px; |
2055 | - border-bottom: 1px solid #eaeaea; |
2056 | - } |
2057 | - |
2058 | -ul#top-nav li { |
2059 | - display: inline; |
2060 | - font-weight: bold; |
2061 | - margin-right: 5px; |
2062 | - } |
2063 | - |
2064 | -ul#top-nav li a { |
2065 | - font-weight: normal; |
2066 | - } |
2067 | - |
2068 | -#search-box { |
2069 | +} |
2070 | +button::-moz-focus-inner { |
2071 | + /* fix buttons in FF */ |
2072 | + border: 0; |
2073 | + padding: 0; |
2074 | +} |
2075 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
2076 | + /* Remove button margin in webkit */ |
2077 | + button{ |
2078 | + margin: 0; |
2079 | + } |
2080 | +} |
2081 | +.search-box { |
2082 | width: 595px; |
2083 | margin: 0 auto; |
2084 | margin-top: 63px; |
2085 | - } |
2086 | -#search-box #ubuntu-branding { |
2087 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2088 | - background-position: 0px -251px; |
2089 | +} |
2090 | +.ubuntu-branding { |
2091 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2092 | + background-position: 0 -251px; |
2093 | background-color: #aea79f; |
2094 | height: 40px; |
2095 | - -moz-border-radius: 0 0 5px 5px; |
2096 | - -webkit-border-radius: 0 0 5px 5px; |
2097 | -} |
2098 | -#search-box .top { |
2099 | - width: 593px; |
2100 | - height: 25px; |
2101 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2102 | - background-position: -10px -10px; |
2103 | - margin: 0; |
2104 | - padding: 0; |
2105 | - } |
2106 | - |
2107 | -#search-box .center { |
2108 | - width: 595px; |
2109 | - margin: 0; |
2110 | - padding: 0; |
2111 | - margin-right: -2px; |
2112 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
2113 | - } |
2114 | - |
2115 | -#search-box .center h1 { |
2116 | - margin: 0; |
2117 | - padding: 0; |
2118 | - } |
2119 | - |
2120 | -#search-box .center .padding { |
2121 | - padding-right: 44px; |
2122 | - padding-left: 44px; |
2123 | - } |
2124 | - |
2125 | -#search-box .center h1.logo a { |
2126 | + border-radius: 5px 5px 0 0; |
2127 | +} |
2128 | +.wrapper { |
2129 | + padding: 0; |
2130 | + border: 1px solid #eee; |
2131 | + border-top: 0; |
2132 | + border-radius: 0 0 5px 5px; |
2133 | + margin: 0 auto; |
2134 | + text-align: center; |
2135 | +} |
2136 | +.wrapper h1 { |
2137 | + margin: 0; |
2138 | + padding: 0; |
2139 | +} |
2140 | +.logo a { |
2141 | font-size: 1px; |
2142 | display: block; |
2143 | text-indent: -9999px; |
2144 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2145 | - background-position: -10px -605px; |
2146 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2147 | + background-position: -22px -605px; |
2148 | margin: 0; |
2149 | padding: 0; |
2150 | height: 75px; |
2151 | - width: 180px; |
2152 | + width: 173px; |
2153 | margin-bottom: 15px; |
2154 | position: relative; |
2155 | - } |
2156 | - |
2157 | -#search-box .center input { |
2158 | +} |
2159 | +.wrapper input { |
2160 | + /* allows styling in webkit */ |
2161 | + -webkit-appearance: textfield; |
2162 | + display: inline-block; |
2163 | + vertical-align: top; |
2164 | width: 384px; |
2165 | - height: 25px; |
2166 | + height: 32px; |
2167 | font-size: 18px; |
2168 | padding-left: 5px; |
2169 | padding-right: 5px; |
2170 | - } |
2171 | - |
2172 | -#search-box .center button { |
2173 | - font-size: 18px; |
2174 | - padding: 2px; |
2175 | - } |
2176 | - |
2177 | -#search-box .bottom { |
2178 | - width: 593px; |
2179 | - height: 98px; |
2180 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2181 | - background-position: -10px -133px; |
2182 | - } |
2183 | -#external-links { |
2184 | - overflow: auto; |
2185 | - width: 605px; |
2186 | + -webkit-box-sizing: border-box; |
2187 | + -moz-box-sizing: border-box; |
2188 | + -ms-box-sizing: border-box; |
2189 | + -o-box-sizing: border-box; |
2190 | + box-sizing: border-box; |
2191 | + border: 1px solid #AEA79F; |
2192 | +} |
2193 | +.inner { |
2194 | + display: inline-block; |
2195 | + margin: 35px auto 100px auto; |
2196 | +} |
2197 | +.inner form { |
2198 | + height: 32px; |
2199 | +} |
2200 | +.external-links { |
2201 | text-align: center; |
2202 | padding-top: 20px; |
2203 | padding-left: 10px; |
2204 | padding-right: 10px; |
2205 | } |
2206 | -.bottom-links { |
2207 | +.external-links li { |
2208 | height: 30px; |
2209 | + display: inline-block; |
2210 | text-align: left; |
2211 | padding-top: 8px; |
2212 | - display: inline-block; |
2213 | - background: blue; |
2214 | - margin-right: 20px; |
2215 | + margin: 0 10px; |
2216 | } |
2217 | -.bottom-links a { |
2218 | +.external-links a { |
2219 | text-decoration: none; |
2220 | color: gray; |
2221 | padding: 10px 0 10px 40px; |
2222 | } |
2223 | -.bottom-links a:hover { |
2224 | +.external-links a::after { |
2225 | + content: " ›"; |
2226 | + font-size: 16px; |
2227 | +} |
2228 | +.external-links a:hover { |
2229 | color: #e24912; |
2230 | } |
2231 | -#help-link { |
2232 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2233 | +.help-link, |
2234 | +.shop-link, |
2235 | +.community-link { |
2236 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2237 | +} |
2238 | +.help-link { |
2239 | background-position: -10px -450px; |
2240 | } |
2241 | -#help-link:hover { |
2242 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2243 | +.help-link:hover { |
2244 | background-position: -10px -490px; |
2245 | } |
2246 | -#shop-link { |
2247 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2248 | - background-position: -10px -365px; |
2249 | -} |
2250 | -#shop-link:hover { |
2251 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2252 | - background-position: -10px -407px; |
2253 | -} |
2254 | -#community-link { |
2255 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2256 | - background-position: -10px -530px; |
2257 | -} |
2258 | -#community-link:hover { |
2259 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2260 | - background-position: -10px -570px; |
2261 | -} |
2262 | +.shop-link { |
2263 | + background-position: -10px -368px; |
2264 | +} |
2265 | +.shop-link:hover { |
2266 | + background-position: -10px -410px; |
2267 | +} |
2268 | +.community-link { |
2269 | + background-position: -10px -528px; |
2270 | +} |
2271 | +.community-link:hover { |
2272 | + background-position: -10px -568px; |
2273 | +} |
2274 | +button { |
2275 | + margin: 0 3px; |
2276 | + display: inline-block; |
2277 | + vertical-align: top; |
2278 | + cursor: default; |
2279 | + height: 32px; |
2280 | + padding: 0 8px; |
2281 | + text-align: center; |
2282 | + text-decoration: none; |
2283 | + -webkit-box-sizing: border-box; |
2284 | + -moz-box-sizing: border-box; |
2285 | + -ms-box-sizing: border-box; |
2286 | + -o-box-sizing: border-box; |
2287 | + box-sizing: border-box; |
2288 | +} |
2289 | + |
2290 | </style> |
2291 | </head> |
2292 | <body> |
2293 | - <div id="search-box"> |
2294 | - <div id="ubuntu-branding"></div> |
2295 | - <div class="top"></div> |
2296 | - <div class="center"> |
2297 | - <div class="padding"> |
2298 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
2299 | + <div class="search-box"> |
2300 | + <div class="ubuntu-branding"></div> |
2301 | + <div class="wrapper"> |
2302 | + <div class="inner"> |
2303 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
2304 | <form method="get" action="http://baidu.com/s" name="f"> |
2305 | - <input type="hidden" name="cl" value="3" /> |
2306 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
2307 | - <input name="wd" value="" id="kw" /> |
2308 | - <button>Qıdır</button> |
2309 | + <input type="hidden" name="cl" value="3" /> |
2310 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
2311 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
2312 | + --><button type="submit">Qıdır</button> |
2313 | </form> |
2314 | </div> |
2315 | </div> |
2316 | - <div class="bottom"></div> |
2317 | - <div id="external-links"> |
2318 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ubuntu yardım ›</a></div> |
2319 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu tükânı ›</a></div> |
2320 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu toplulığı ›</a></div> |
2321 | - </div> |
2322 | + <ul class="external-links"> |
2323 | + <li class="help-link"><a href="https://help.ubuntu.com">Ubuntu yardım</a></li> |
2324 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Ubuntu tükânı</a></li> |
2325 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Ubuntu toplulığı</a></li> |
2326 | + </ul> |
2327 | </div><!-- close search-box --> |
2328 | <script type="text/javascript"> |
2329 | //<![CDATA[ |
2330 | -focus_search(); |
2331 | +(function focus_search() { |
2332 | + function search_select(e) { |
2333 | + if(e.value.length > 0) { |
2334 | + e.select(); |
2335 | + } |
2336 | + e.select(); |
2337 | + } |
2338 | + sbi = document.getElementById('kw'); |
2339 | + sbi.focus(); |
2340 | + search_select(sbi); |
2341 | +})(); |
2342 | //]]> |
2343 | </script> |
2344 | </body> |
2345 | |
2346 | === modified file 'www/12.10/Baidu/index.html.cs' |
2347 | --- www/12.04/Baidu/index.html.cs 2012-08-04 16:59:10 +0000 |
2348 | +++ www/12.10/Baidu/index.html.cs 2012-09-28 17:49:21 +0000 |
2349 | @@ -3,21 +3,6 @@ |
2350 | <head> |
2351 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
2352 | <title>Úvodní stránka Ubuntu</title> |
2353 | -<script type="text/javascript"> |
2354 | -//<![CDATA[ |
2355 | -function focus_search() { |
2356 | - sbi = document.getElementById('kw'); |
2357 | - sbi.focus(); |
2358 | - search_select(sbi); |
2359 | -} |
2360 | -function search_select(e) { |
2361 | - if(e.value.length > 0) { |
2362 | - e.select(); |
2363 | - } |
2364 | - e.select(); |
2365 | -} |
2366 | -//]]> |
2367 | -</script> |
2368 | <style type="text/css"> |
2369 | body { |
2370 | background: white; |
2371 | @@ -25,172 +10,178 @@ |
2372 | font-size: 12px; |
2373 | line-height: 14px; |
2374 | margin: 0 auto; |
2375 | - } |
2376 | - |
2377 | -ul#top-nav { |
2378 | - margin-top: 5px; |
2379 | - padding-bottom: 5px; |
2380 | - border-bottom: 1px solid #eaeaea; |
2381 | - } |
2382 | - |
2383 | -ul#top-nav li { |
2384 | - display: inline; |
2385 | - font-weight: bold; |
2386 | - margin-right: 5px; |
2387 | - } |
2388 | - |
2389 | -ul#top-nav li a { |
2390 | - font-weight: normal; |
2391 | - } |
2392 | - |
2393 | -#search-box { |
2394 | +} |
2395 | +button::-moz-focus-inner { |
2396 | + /* fix buttons in FF */ |
2397 | + border: 0; |
2398 | + padding: 0; |
2399 | +} |
2400 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
2401 | + /* Remove button margin in webkit */ |
2402 | + button{ |
2403 | + margin: 0; |
2404 | + } |
2405 | +} |
2406 | +.search-box { |
2407 | width: 595px; |
2408 | margin: 0 auto; |
2409 | margin-top: 63px; |
2410 | - } |
2411 | -#search-box #ubuntu-branding { |
2412 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2413 | - background-position: 0px -251px; |
2414 | +} |
2415 | +.ubuntu-branding { |
2416 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2417 | + background-position: 0 -251px; |
2418 | background-color: #aea79f; |
2419 | height: 40px; |
2420 | - -moz-border-radius: 0 0 5px 5px; |
2421 | - -webkit-border-radius: 0 0 5px 5px; |
2422 | -} |
2423 | -#search-box .top { |
2424 | - width: 593px; |
2425 | - height: 25px; |
2426 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2427 | - background-position: -10px -10px; |
2428 | - margin: 0; |
2429 | - padding: 0; |
2430 | - } |
2431 | - |
2432 | -#search-box .center { |
2433 | - width: 595px; |
2434 | - margin: 0; |
2435 | - padding: 0; |
2436 | - margin-right: -2px; |
2437 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
2438 | - } |
2439 | - |
2440 | -#search-box .center h1 { |
2441 | - margin: 0; |
2442 | - padding: 0; |
2443 | - } |
2444 | - |
2445 | -#search-box .center .padding { |
2446 | - padding-right: 44px; |
2447 | - padding-left: 44px; |
2448 | - } |
2449 | - |
2450 | -#search-box .center h1.logo a { |
2451 | + border-radius: 5px 5px 0 0; |
2452 | +} |
2453 | +.wrapper { |
2454 | + padding: 0; |
2455 | + border: 1px solid #eee; |
2456 | + border-top: 0; |
2457 | + border-radius: 0 0 5px 5px; |
2458 | + margin: 0 auto; |
2459 | + text-align: center; |
2460 | +} |
2461 | +.wrapper h1 { |
2462 | + margin: 0; |
2463 | + padding: 0; |
2464 | +} |
2465 | +.logo a { |
2466 | font-size: 1px; |
2467 | display: block; |
2468 | text-indent: -9999px; |
2469 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2470 | - background-position: -10px -605px; |
2471 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2472 | + background-position: -22px -605px; |
2473 | margin: 0; |
2474 | padding: 0; |
2475 | height: 75px; |
2476 | - width: 180px; |
2477 | + width: 173px; |
2478 | margin-bottom: 15px; |
2479 | position: relative; |
2480 | - } |
2481 | - |
2482 | -#search-box .center input { |
2483 | +} |
2484 | +.wrapper input { |
2485 | + /* allows styling in webkit */ |
2486 | + -webkit-appearance: textfield; |
2487 | + display: inline-block; |
2488 | + vertical-align: top; |
2489 | width: 384px; |
2490 | - height: 25px; |
2491 | + height: 32px; |
2492 | font-size: 18px; |
2493 | padding-left: 5px; |
2494 | padding-right: 5px; |
2495 | - } |
2496 | - |
2497 | -#search-box .center button { |
2498 | - font-size: 18px; |
2499 | - padding: 2px; |
2500 | - } |
2501 | - |
2502 | -#search-box .bottom { |
2503 | - width: 593px; |
2504 | - height: 98px; |
2505 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2506 | - background-position: -10px -133px; |
2507 | - } |
2508 | -#external-links { |
2509 | - overflow: auto; |
2510 | - width: 605px; |
2511 | + -webkit-box-sizing: border-box; |
2512 | + -moz-box-sizing: border-box; |
2513 | + -ms-box-sizing: border-box; |
2514 | + -o-box-sizing: border-box; |
2515 | + box-sizing: border-box; |
2516 | + border: 1px solid #AEA79F; |
2517 | +} |
2518 | +.inner { |
2519 | + display: inline-block; |
2520 | + margin: 35px auto 100px auto; |
2521 | +} |
2522 | +.inner form { |
2523 | + height: 32px; |
2524 | +} |
2525 | +.external-links { |
2526 | text-align: center; |
2527 | padding-top: 20px; |
2528 | padding-left: 10px; |
2529 | padding-right: 10px; |
2530 | } |
2531 | -.bottom-links { |
2532 | +.external-links li { |
2533 | height: 30px; |
2534 | + display: inline-block; |
2535 | text-align: left; |
2536 | padding-top: 8px; |
2537 | - display: inline-block; |
2538 | - background: blue; |
2539 | - margin-right: 20px; |
2540 | + margin: 0 10px; |
2541 | } |
2542 | -.bottom-links a { |
2543 | +.external-links a { |
2544 | text-decoration: none; |
2545 | color: gray; |
2546 | padding: 10px 0 10px 40px; |
2547 | } |
2548 | -.bottom-links a:hover { |
2549 | +.external-links a::after { |
2550 | + content: " ›"; |
2551 | + font-size: 16px; |
2552 | +} |
2553 | +.external-links a:hover { |
2554 | color: #e24912; |
2555 | } |
2556 | -#help-link { |
2557 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2558 | +.help-link, |
2559 | +.shop-link, |
2560 | +.community-link { |
2561 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2562 | +} |
2563 | +.help-link { |
2564 | background-position: -10px -450px; |
2565 | } |
2566 | -#help-link:hover { |
2567 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2568 | +.help-link:hover { |
2569 | background-position: -10px -490px; |
2570 | } |
2571 | -#shop-link { |
2572 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2573 | - background-position: -10px -365px; |
2574 | -} |
2575 | -#shop-link:hover { |
2576 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2577 | - background-position: -10px -407px; |
2578 | -} |
2579 | -#community-link { |
2580 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2581 | - background-position: -10px -530px; |
2582 | -} |
2583 | -#community-link:hover { |
2584 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2585 | - background-position: -10px -570px; |
2586 | -} |
2587 | +.shop-link { |
2588 | + background-position: -10px -368px; |
2589 | +} |
2590 | +.shop-link:hover { |
2591 | + background-position: -10px -410px; |
2592 | +} |
2593 | +.community-link { |
2594 | + background-position: -10px -528px; |
2595 | +} |
2596 | +.community-link:hover { |
2597 | + background-position: -10px -568px; |
2598 | +} |
2599 | +button { |
2600 | + margin: 0 3px; |
2601 | + display: inline-block; |
2602 | + vertical-align: top; |
2603 | + cursor: default; |
2604 | + height: 32px; |
2605 | + padding: 0 8px; |
2606 | + text-align: center; |
2607 | + text-decoration: none; |
2608 | + -webkit-box-sizing: border-box; |
2609 | + -moz-box-sizing: border-box; |
2610 | + -ms-box-sizing: border-box; |
2611 | + -o-box-sizing: border-box; |
2612 | + box-sizing: border-box; |
2613 | +} |
2614 | + |
2615 | </style> |
2616 | </head> |
2617 | <body> |
2618 | - <div id="search-box"> |
2619 | - <div id="ubuntu-branding"></div> |
2620 | - <div class="top"></div> |
2621 | - <div class="center"> |
2622 | - <div class="padding"> |
2623 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
2624 | + <div class="search-box"> |
2625 | + <div class="ubuntu-branding"></div> |
2626 | + <div class="wrapper"> |
2627 | + <div class="inner"> |
2628 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
2629 | <form method="get" action="http://baidu.com/s" name="f"> |
2630 | - <input type="hidden" name="cl" value="3" /> |
2631 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
2632 | - <input name="wd" value="" id="kw" /> |
2633 | - <button>Hledat</button> |
2634 | + <input type="hidden" name="cl" value="3" /> |
2635 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
2636 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
2637 | + --><button type="submit">Hledat</button> |
2638 | </form> |
2639 | </div> |
2640 | </div> |
2641 | - <div class="bottom"></div> |
2642 | - <div id="external-links"> |
2643 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Nápověda Ubuntu ›</a></div> |
2644 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Obchod Ubuntu ›</a></div> |
2645 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Komunita Ubuntu ›</a></div> |
2646 | - </div> |
2647 | + <ul class="external-links"> |
2648 | + <li class="help-link"><a href="https://help.ubuntu.com">Nápověda Ubuntu</a></li> |
2649 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Obchod Ubuntu</a></li> |
2650 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Komunita Ubuntu</a></li> |
2651 | + </ul> |
2652 | </div><!-- close search-box --> |
2653 | <script type="text/javascript"> |
2654 | //<![CDATA[ |
2655 | -focus_search(); |
2656 | +(function focus_search() { |
2657 | + function search_select(e) { |
2658 | + if(e.value.length > 0) { |
2659 | + e.select(); |
2660 | + } |
2661 | + e.select(); |
2662 | + } |
2663 | + sbi = document.getElementById('kw'); |
2664 | + sbi.focus(); |
2665 | + search_select(sbi); |
2666 | +})(); |
2667 | //]]> |
2668 | </script> |
2669 | </body> |
2670 | |
2671 | === modified file 'www/12.10/Baidu/index.html.cy' |
2672 | --- www/12.04/Baidu/index.html.cy 2012-08-04 16:59:10 +0000 |
2673 | +++ www/12.10/Baidu/index.html.cy 2012-09-28 17:49:21 +0000 |
2674 | @@ -3,21 +3,6 @@ |
2675 | <head> |
2676 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
2677 | <title>Tudalen Dechrau Ubuntu</title> |
2678 | -<script type="text/javascript"> |
2679 | -//<![CDATA[ |
2680 | -function focus_search() { |
2681 | - sbi = document.getElementById('kw'); |
2682 | - sbi.focus(); |
2683 | - search_select(sbi); |
2684 | -} |
2685 | -function search_select(e) { |
2686 | - if(e.value.length > 0) { |
2687 | - e.select(); |
2688 | - } |
2689 | - e.select(); |
2690 | -} |
2691 | -//]]> |
2692 | -</script> |
2693 | <style type="text/css"> |
2694 | body { |
2695 | background: white; |
2696 | @@ -25,172 +10,178 @@ |
2697 | font-size: 12px; |
2698 | line-height: 14px; |
2699 | margin: 0 auto; |
2700 | - } |
2701 | - |
2702 | -ul#top-nav { |
2703 | - margin-top: 5px; |
2704 | - padding-bottom: 5px; |
2705 | - border-bottom: 1px solid #eaeaea; |
2706 | - } |
2707 | - |
2708 | -ul#top-nav li { |
2709 | - display: inline; |
2710 | - font-weight: bold; |
2711 | - margin-right: 5px; |
2712 | - } |
2713 | - |
2714 | -ul#top-nav li a { |
2715 | - font-weight: normal; |
2716 | - } |
2717 | - |
2718 | -#search-box { |
2719 | +} |
2720 | +button::-moz-focus-inner { |
2721 | + /* fix buttons in FF */ |
2722 | + border: 0; |
2723 | + padding: 0; |
2724 | +} |
2725 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
2726 | + /* Remove button margin in webkit */ |
2727 | + button{ |
2728 | + margin: 0; |
2729 | + } |
2730 | +} |
2731 | +.search-box { |
2732 | width: 595px; |
2733 | margin: 0 auto; |
2734 | margin-top: 63px; |
2735 | - } |
2736 | -#search-box #ubuntu-branding { |
2737 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2738 | - background-position: 0px -251px; |
2739 | +} |
2740 | +.ubuntu-branding { |
2741 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2742 | + background-position: 0 -251px; |
2743 | background-color: #aea79f; |
2744 | height: 40px; |
2745 | - -moz-border-radius: 0 0 5px 5px; |
2746 | - -webkit-border-radius: 0 0 5px 5px; |
2747 | -} |
2748 | -#search-box .top { |
2749 | - width: 593px; |
2750 | - height: 25px; |
2751 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2752 | - background-position: -10px -10px; |
2753 | - margin: 0; |
2754 | - padding: 0; |
2755 | - } |
2756 | - |
2757 | -#search-box .center { |
2758 | - width: 595px; |
2759 | - margin: 0; |
2760 | - padding: 0; |
2761 | - margin-right: -2px; |
2762 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
2763 | - } |
2764 | - |
2765 | -#search-box .center h1 { |
2766 | - margin: 0; |
2767 | - padding: 0; |
2768 | - } |
2769 | - |
2770 | -#search-box .center .padding { |
2771 | - padding-right: 44px; |
2772 | - padding-left: 44px; |
2773 | - } |
2774 | - |
2775 | -#search-box .center h1.logo a { |
2776 | + border-radius: 5px 5px 0 0; |
2777 | +} |
2778 | +.wrapper { |
2779 | + padding: 0; |
2780 | + border: 1px solid #eee; |
2781 | + border-top: 0; |
2782 | + border-radius: 0 0 5px 5px; |
2783 | + margin: 0 auto; |
2784 | + text-align: center; |
2785 | +} |
2786 | +.wrapper h1 { |
2787 | + margin: 0; |
2788 | + padding: 0; |
2789 | +} |
2790 | +.logo a { |
2791 | font-size: 1px; |
2792 | display: block; |
2793 | text-indent: -9999px; |
2794 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2795 | - background-position: -10px -605px; |
2796 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2797 | + background-position: -22px -605px; |
2798 | margin: 0; |
2799 | padding: 0; |
2800 | height: 75px; |
2801 | - width: 180px; |
2802 | + width: 173px; |
2803 | margin-bottom: 15px; |
2804 | position: relative; |
2805 | - } |
2806 | - |
2807 | -#search-box .center input { |
2808 | +} |
2809 | +.wrapper input { |
2810 | + /* allows styling in webkit */ |
2811 | + -webkit-appearance: textfield; |
2812 | + display: inline-block; |
2813 | + vertical-align: top; |
2814 | width: 384px; |
2815 | - height: 25px; |
2816 | + height: 32px; |
2817 | font-size: 18px; |
2818 | padding-left: 5px; |
2819 | padding-right: 5px; |
2820 | - } |
2821 | - |
2822 | -#search-box .center button { |
2823 | - font-size: 18px; |
2824 | - padding: 2px; |
2825 | - } |
2826 | - |
2827 | -#search-box .bottom { |
2828 | - width: 593px; |
2829 | - height: 98px; |
2830 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2831 | - background-position: -10px -133px; |
2832 | - } |
2833 | -#external-links { |
2834 | - overflow: auto; |
2835 | - width: 605px; |
2836 | + -webkit-box-sizing: border-box; |
2837 | + -moz-box-sizing: border-box; |
2838 | + -ms-box-sizing: border-box; |
2839 | + -o-box-sizing: border-box; |
2840 | + box-sizing: border-box; |
2841 | + border: 1px solid #AEA79F; |
2842 | +} |
2843 | +.inner { |
2844 | + display: inline-block; |
2845 | + margin: 35px auto 100px auto; |
2846 | +} |
2847 | +.inner form { |
2848 | + height: 32px; |
2849 | +} |
2850 | +.external-links { |
2851 | text-align: center; |
2852 | padding-top: 20px; |
2853 | padding-left: 10px; |
2854 | padding-right: 10px; |
2855 | } |
2856 | -.bottom-links { |
2857 | +.external-links li { |
2858 | height: 30px; |
2859 | + display: inline-block; |
2860 | text-align: left; |
2861 | padding-top: 8px; |
2862 | - display: inline-block; |
2863 | - background: blue; |
2864 | - margin-right: 20px; |
2865 | + margin: 0 10px; |
2866 | } |
2867 | -.bottom-links a { |
2868 | +.external-links a { |
2869 | text-decoration: none; |
2870 | color: gray; |
2871 | padding: 10px 0 10px 40px; |
2872 | } |
2873 | -.bottom-links a:hover { |
2874 | +.external-links a::after { |
2875 | + content: " ›"; |
2876 | + font-size: 16px; |
2877 | +} |
2878 | +.external-links a:hover { |
2879 | color: #e24912; |
2880 | } |
2881 | -#help-link { |
2882 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2883 | +.help-link, |
2884 | +.shop-link, |
2885 | +.community-link { |
2886 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
2887 | +} |
2888 | +.help-link { |
2889 | background-position: -10px -450px; |
2890 | } |
2891 | -#help-link:hover { |
2892 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2893 | +.help-link:hover { |
2894 | background-position: -10px -490px; |
2895 | } |
2896 | -#shop-link { |
2897 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2898 | - background-position: -10px -365px; |
2899 | -} |
2900 | -#shop-link:hover { |
2901 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2902 | - background-position: -10px -407px; |
2903 | -} |
2904 | -#community-link { |
2905 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2906 | - background-position: -10px -530px; |
2907 | -} |
2908 | -#community-link:hover { |
2909 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
2910 | - background-position: -10px -570px; |
2911 | -} |
2912 | +.shop-link { |
2913 | + background-position: -10px -368px; |
2914 | +} |
2915 | +.shop-link:hover { |
2916 | + background-position: -10px -410px; |
2917 | +} |
2918 | +.community-link { |
2919 | + background-position: -10px -528px; |
2920 | +} |
2921 | +.community-link:hover { |
2922 | + background-position: -10px -568px; |
2923 | +} |
2924 | +button { |
2925 | + margin: 0 3px; |
2926 | + display: inline-block; |
2927 | + vertical-align: top; |
2928 | + cursor: default; |
2929 | + height: 32px; |
2930 | + padding: 0 8px; |
2931 | + text-align: center; |
2932 | + text-decoration: none; |
2933 | + -webkit-box-sizing: border-box; |
2934 | + -moz-box-sizing: border-box; |
2935 | + -ms-box-sizing: border-box; |
2936 | + -o-box-sizing: border-box; |
2937 | + box-sizing: border-box; |
2938 | +} |
2939 | + |
2940 | </style> |
2941 | </head> |
2942 | <body> |
2943 | - <div id="search-box"> |
2944 | - <div id="ubuntu-branding"></div> |
2945 | - <div class="top"></div> |
2946 | - <div class="center"> |
2947 | - <div class="padding"> |
2948 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
2949 | + <div class="search-box"> |
2950 | + <div class="ubuntu-branding"></div> |
2951 | + <div class="wrapper"> |
2952 | + <div class="inner"> |
2953 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
2954 | <form method="get" action="http://baidu.com/s" name="f"> |
2955 | - <input type="hidden" name="cl" value="3" /> |
2956 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
2957 | - <input name="wd" value="" id="kw" /> |
2958 | - <button>Chwilio</button> |
2959 | + <input type="hidden" name="cl" value="3" /> |
2960 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
2961 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
2962 | + --><button type="submit">Chwilio</button> |
2963 | </form> |
2964 | </div> |
2965 | </div> |
2966 | - <div class="bottom"></div> |
2967 | - <div id="external-links"> |
2968 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Cymorth Ubuntu ›</a></div> |
2969 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Siôp Ubuntu ›</a></div> |
2970 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Cymdeithas Ubuntu ›</a></div> |
2971 | - </div> |
2972 | + <ul class="external-links"> |
2973 | + <li class="help-link"><a href="https://help.ubuntu.com">Cymorth Ubuntu</a></li> |
2974 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Siôp Ubuntu</a></li> |
2975 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Cymdeithas Ubuntu</a></li> |
2976 | + </ul> |
2977 | </div><!-- close search-box --> |
2978 | <script type="text/javascript"> |
2979 | //<![CDATA[ |
2980 | -focus_search(); |
2981 | +(function focus_search() { |
2982 | + function search_select(e) { |
2983 | + if(e.value.length > 0) { |
2984 | + e.select(); |
2985 | + } |
2986 | + e.select(); |
2987 | + } |
2988 | + sbi = document.getElementById('kw'); |
2989 | + sbi.focus(); |
2990 | + search_select(sbi); |
2991 | +})(); |
2992 | //]]> |
2993 | </script> |
2994 | </body> |
2995 | |
2996 | === modified file 'www/12.10/Baidu/index.html.da' |
2997 | --- www/12.04/Baidu/index.html.da 2012-08-04 16:59:10 +0000 |
2998 | +++ www/12.10/Baidu/index.html.da 2012-09-28 17:49:21 +0000 |
2999 | @@ -3,21 +3,6 @@ |
3000 | <head> |
3001 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
3002 | <title>Ubuntu - Startside</title> |
3003 | -<script type="text/javascript"> |
3004 | -//<![CDATA[ |
3005 | -function focus_search() { |
3006 | - sbi = document.getElementById('kw'); |
3007 | - sbi.focus(); |
3008 | - search_select(sbi); |
3009 | -} |
3010 | -function search_select(e) { |
3011 | - if(e.value.length > 0) { |
3012 | - e.select(); |
3013 | - } |
3014 | - e.select(); |
3015 | -} |
3016 | -//]]> |
3017 | -</script> |
3018 | <style type="text/css"> |
3019 | body { |
3020 | background: white; |
3021 | @@ -25,172 +10,178 @@ |
3022 | font-size: 12px; |
3023 | line-height: 14px; |
3024 | margin: 0 auto; |
3025 | - } |
3026 | - |
3027 | -ul#top-nav { |
3028 | - margin-top: 5px; |
3029 | - padding-bottom: 5px; |
3030 | - border-bottom: 1px solid #eaeaea; |
3031 | - } |
3032 | - |
3033 | -ul#top-nav li { |
3034 | - display: inline; |
3035 | - font-weight: bold; |
3036 | - margin-right: 5px; |
3037 | - } |
3038 | - |
3039 | -ul#top-nav li a { |
3040 | - font-weight: normal; |
3041 | - } |
3042 | - |
3043 | -#search-box { |
3044 | +} |
3045 | +button::-moz-focus-inner { |
3046 | + /* fix buttons in FF */ |
3047 | + border: 0; |
3048 | + padding: 0; |
3049 | +} |
3050 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
3051 | + /* Remove button margin in webkit */ |
3052 | + button{ |
3053 | + margin: 0; |
3054 | + } |
3055 | +} |
3056 | +.search-box { |
3057 | width: 595px; |
3058 | margin: 0 auto; |
3059 | margin-top: 63px; |
3060 | - } |
3061 | -#search-box #ubuntu-branding { |
3062 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3063 | - background-position: 0px -251px; |
3064 | +} |
3065 | +.ubuntu-branding { |
3066 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3067 | + background-position: 0 -251px; |
3068 | background-color: #aea79f; |
3069 | height: 40px; |
3070 | - -moz-border-radius: 0 0 5px 5px; |
3071 | - -webkit-border-radius: 0 0 5px 5px; |
3072 | -} |
3073 | -#search-box .top { |
3074 | - width: 593px; |
3075 | - height: 25px; |
3076 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3077 | - background-position: -10px -10px; |
3078 | - margin: 0; |
3079 | - padding: 0; |
3080 | - } |
3081 | - |
3082 | -#search-box .center { |
3083 | - width: 595px; |
3084 | - margin: 0; |
3085 | - padding: 0; |
3086 | - margin-right: -2px; |
3087 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
3088 | - } |
3089 | - |
3090 | -#search-box .center h1 { |
3091 | - margin: 0; |
3092 | - padding: 0; |
3093 | - } |
3094 | - |
3095 | -#search-box .center .padding { |
3096 | - padding-right: 44px; |
3097 | - padding-left: 44px; |
3098 | - } |
3099 | - |
3100 | -#search-box .center h1.logo a { |
3101 | + border-radius: 5px 5px 0 0; |
3102 | +} |
3103 | +.wrapper { |
3104 | + padding: 0; |
3105 | + border: 1px solid #eee; |
3106 | + border-top: 0; |
3107 | + border-radius: 0 0 5px 5px; |
3108 | + margin: 0 auto; |
3109 | + text-align: center; |
3110 | +} |
3111 | +.wrapper h1 { |
3112 | + margin: 0; |
3113 | + padding: 0; |
3114 | +} |
3115 | +.logo a { |
3116 | font-size: 1px; |
3117 | display: block; |
3118 | text-indent: -9999px; |
3119 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3120 | - background-position: -10px -605px; |
3121 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3122 | + background-position: -22px -605px; |
3123 | margin: 0; |
3124 | padding: 0; |
3125 | height: 75px; |
3126 | - width: 180px; |
3127 | + width: 173px; |
3128 | margin-bottom: 15px; |
3129 | position: relative; |
3130 | - } |
3131 | - |
3132 | -#search-box .center input { |
3133 | +} |
3134 | +.wrapper input { |
3135 | + /* allows styling in webkit */ |
3136 | + -webkit-appearance: textfield; |
3137 | + display: inline-block; |
3138 | + vertical-align: top; |
3139 | width: 384px; |
3140 | - height: 25px; |
3141 | + height: 32px; |
3142 | font-size: 18px; |
3143 | padding-left: 5px; |
3144 | padding-right: 5px; |
3145 | - } |
3146 | - |
3147 | -#search-box .center button { |
3148 | - font-size: 18px; |
3149 | - padding: 2px; |
3150 | - } |
3151 | - |
3152 | -#search-box .bottom { |
3153 | - width: 593px; |
3154 | - height: 98px; |
3155 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3156 | - background-position: -10px -133px; |
3157 | - } |
3158 | -#external-links { |
3159 | - overflow: auto; |
3160 | - width: 605px; |
3161 | + -webkit-box-sizing: border-box; |
3162 | + -moz-box-sizing: border-box; |
3163 | + -ms-box-sizing: border-box; |
3164 | + -o-box-sizing: border-box; |
3165 | + box-sizing: border-box; |
3166 | + border: 1px solid #AEA79F; |
3167 | +} |
3168 | +.inner { |
3169 | + display: inline-block; |
3170 | + margin: 35px auto 100px auto; |
3171 | +} |
3172 | +.inner form { |
3173 | + height: 32px; |
3174 | +} |
3175 | +.external-links { |
3176 | text-align: center; |
3177 | padding-top: 20px; |
3178 | padding-left: 10px; |
3179 | padding-right: 10px; |
3180 | } |
3181 | -.bottom-links { |
3182 | +.external-links li { |
3183 | height: 30px; |
3184 | + display: inline-block; |
3185 | text-align: left; |
3186 | padding-top: 8px; |
3187 | - display: inline-block; |
3188 | - background: blue; |
3189 | - margin-right: 20px; |
3190 | + margin: 0 10px; |
3191 | } |
3192 | -.bottom-links a { |
3193 | +.external-links a { |
3194 | text-decoration: none; |
3195 | color: gray; |
3196 | padding: 10px 0 10px 40px; |
3197 | } |
3198 | -.bottom-links a:hover { |
3199 | +.external-links a::after { |
3200 | + content: " ›"; |
3201 | + font-size: 16px; |
3202 | +} |
3203 | +.external-links a:hover { |
3204 | color: #e24912; |
3205 | } |
3206 | -#help-link { |
3207 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3208 | +.help-link, |
3209 | +.shop-link, |
3210 | +.community-link { |
3211 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3212 | +} |
3213 | +.help-link { |
3214 | background-position: -10px -450px; |
3215 | } |
3216 | -#help-link:hover { |
3217 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3218 | +.help-link:hover { |
3219 | background-position: -10px -490px; |
3220 | } |
3221 | -#shop-link { |
3222 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3223 | - background-position: -10px -365px; |
3224 | -} |
3225 | -#shop-link:hover { |
3226 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3227 | - background-position: -10px -407px; |
3228 | -} |
3229 | -#community-link { |
3230 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3231 | - background-position: -10px -530px; |
3232 | -} |
3233 | -#community-link:hover { |
3234 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3235 | - background-position: -10px -570px; |
3236 | -} |
3237 | +.shop-link { |
3238 | + background-position: -10px -368px; |
3239 | +} |
3240 | +.shop-link:hover { |
3241 | + background-position: -10px -410px; |
3242 | +} |
3243 | +.community-link { |
3244 | + background-position: -10px -528px; |
3245 | +} |
3246 | +.community-link:hover { |
3247 | + background-position: -10px -568px; |
3248 | +} |
3249 | +button { |
3250 | + margin: 0 3px; |
3251 | + display: inline-block; |
3252 | + vertical-align: top; |
3253 | + cursor: default; |
3254 | + height: 32px; |
3255 | + padding: 0 8px; |
3256 | + text-align: center; |
3257 | + text-decoration: none; |
3258 | + -webkit-box-sizing: border-box; |
3259 | + -moz-box-sizing: border-box; |
3260 | + -ms-box-sizing: border-box; |
3261 | + -o-box-sizing: border-box; |
3262 | + box-sizing: border-box; |
3263 | +} |
3264 | + |
3265 | </style> |
3266 | </head> |
3267 | <body> |
3268 | - <div id="search-box"> |
3269 | - <div id="ubuntu-branding"></div> |
3270 | - <div class="top"></div> |
3271 | - <div class="center"> |
3272 | - <div class="padding"> |
3273 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
3274 | + <div class="search-box"> |
3275 | + <div class="ubuntu-branding"></div> |
3276 | + <div class="wrapper"> |
3277 | + <div class="inner"> |
3278 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
3279 | <form method="get" action="http://baidu.com/s" name="f"> |
3280 | - <input type="hidden" name="cl" value="3" /> |
3281 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
3282 | - <input name="wd" value="" id="kw" /> |
3283 | - <button>Søg</button> |
3284 | + <input type="hidden" name="cl" value="3" /> |
3285 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
3286 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
3287 | + --><button type="submit">Søg</button> |
3288 | </form> |
3289 | </div> |
3290 | </div> |
3291 | - <div class="bottom"></div> |
3292 | - <div id="external-links"> |
3293 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Hjælp til Ubuntu ›</a></div> |
3294 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu-butikken ›</a></div> |
3295 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu-fællesskabet ›</a></div> |
3296 | - </div> |
3297 | + <ul class="external-links"> |
3298 | + <li class="help-link"><a href="https://help.ubuntu.com">Hjælp til Ubuntu</a></li> |
3299 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Ubuntu-butikken</a></li> |
3300 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Ubuntu-fællesskabet</a></li> |
3301 | + </ul> |
3302 | </div><!-- close search-box --> |
3303 | <script type="text/javascript"> |
3304 | //<![CDATA[ |
3305 | -focus_search(); |
3306 | +(function focus_search() { |
3307 | + function search_select(e) { |
3308 | + if(e.value.length > 0) { |
3309 | + e.select(); |
3310 | + } |
3311 | + e.select(); |
3312 | + } |
3313 | + sbi = document.getElementById('kw'); |
3314 | + sbi.focus(); |
3315 | + search_select(sbi); |
3316 | +})(); |
3317 | //]]> |
3318 | </script> |
3319 | </body> |
3320 | |
3321 | === modified file 'www/12.10/Baidu/index.html.de' |
3322 | --- www/12.04/Baidu/index.html.de 2012-08-04 16:59:10 +0000 |
3323 | +++ www/12.10/Baidu/index.html.de 2012-09-28 17:49:21 +0000 |
3324 | @@ -3,21 +3,6 @@ |
3325 | <head> |
3326 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
3327 | <title>Ubuntu-Startseite</title> |
3328 | -<script type="text/javascript"> |
3329 | -//<![CDATA[ |
3330 | -function focus_search() { |
3331 | - sbi = document.getElementById('kw'); |
3332 | - sbi.focus(); |
3333 | - search_select(sbi); |
3334 | -} |
3335 | -function search_select(e) { |
3336 | - if(e.value.length > 0) { |
3337 | - e.select(); |
3338 | - } |
3339 | - e.select(); |
3340 | -} |
3341 | -//]]> |
3342 | -</script> |
3343 | <style type="text/css"> |
3344 | body { |
3345 | background: white; |
3346 | @@ -25,172 +10,178 @@ |
3347 | font-size: 12px; |
3348 | line-height: 14px; |
3349 | margin: 0 auto; |
3350 | - } |
3351 | - |
3352 | -ul#top-nav { |
3353 | - margin-top: 5px; |
3354 | - padding-bottom: 5px; |
3355 | - border-bottom: 1px solid #eaeaea; |
3356 | - } |
3357 | - |
3358 | -ul#top-nav li { |
3359 | - display: inline; |
3360 | - font-weight: bold; |
3361 | - margin-right: 5px; |
3362 | - } |
3363 | - |
3364 | -ul#top-nav li a { |
3365 | - font-weight: normal; |
3366 | - } |
3367 | - |
3368 | -#search-box { |
3369 | +} |
3370 | +button::-moz-focus-inner { |
3371 | + /* fix buttons in FF */ |
3372 | + border: 0; |
3373 | + padding: 0; |
3374 | +} |
3375 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
3376 | + /* Remove button margin in webkit */ |
3377 | + button{ |
3378 | + margin: 0; |
3379 | + } |
3380 | +} |
3381 | +.search-box { |
3382 | width: 595px; |
3383 | margin: 0 auto; |
3384 | margin-top: 63px; |
3385 | - } |
3386 | -#search-box #ubuntu-branding { |
3387 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3388 | - background-position: 0px -251px; |
3389 | +} |
3390 | +.ubuntu-branding { |
3391 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3392 | + background-position: 0 -251px; |
3393 | background-color: #aea79f; |
3394 | height: 40px; |
3395 | - -moz-border-radius: 0 0 5px 5px; |
3396 | - -webkit-border-radius: 0 0 5px 5px; |
3397 | -} |
3398 | -#search-box .top { |
3399 | - width: 593px; |
3400 | - height: 25px; |
3401 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3402 | - background-position: -10px -10px; |
3403 | - margin: 0; |
3404 | - padding: 0; |
3405 | - } |
3406 | - |
3407 | -#search-box .center { |
3408 | - width: 595px; |
3409 | - margin: 0; |
3410 | - padding: 0; |
3411 | - margin-right: -2px; |
3412 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
3413 | - } |
3414 | - |
3415 | -#search-box .center h1 { |
3416 | - margin: 0; |
3417 | - padding: 0; |
3418 | - } |
3419 | - |
3420 | -#search-box .center .padding { |
3421 | - padding-right: 44px; |
3422 | - padding-left: 44px; |
3423 | - } |
3424 | - |
3425 | -#search-box .center h1.logo a { |
3426 | + border-radius: 5px 5px 0 0; |
3427 | +} |
3428 | +.wrapper { |
3429 | + padding: 0; |
3430 | + border: 1px solid #eee; |
3431 | + border-top: 0; |
3432 | + border-radius: 0 0 5px 5px; |
3433 | + margin: 0 auto; |
3434 | + text-align: center; |
3435 | +} |
3436 | +.wrapper h1 { |
3437 | + margin: 0; |
3438 | + padding: 0; |
3439 | +} |
3440 | +.logo a { |
3441 | font-size: 1px; |
3442 | display: block; |
3443 | text-indent: -9999px; |
3444 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3445 | - background-position: -10px -605px; |
3446 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3447 | + background-position: -22px -605px; |
3448 | margin: 0; |
3449 | padding: 0; |
3450 | height: 75px; |
3451 | - width: 180px; |
3452 | + width: 173px; |
3453 | margin-bottom: 15px; |
3454 | position: relative; |
3455 | - } |
3456 | - |
3457 | -#search-box .center input { |
3458 | +} |
3459 | +.wrapper input { |
3460 | + /* allows styling in webkit */ |
3461 | + -webkit-appearance: textfield; |
3462 | + display: inline-block; |
3463 | + vertical-align: top; |
3464 | width: 384px; |
3465 | - height: 25px; |
3466 | + height: 32px; |
3467 | font-size: 18px; |
3468 | padding-left: 5px; |
3469 | padding-right: 5px; |
3470 | - } |
3471 | - |
3472 | -#search-box .center button { |
3473 | - font-size: 18px; |
3474 | - padding: 2px; |
3475 | - } |
3476 | - |
3477 | -#search-box .bottom { |
3478 | - width: 593px; |
3479 | - height: 98px; |
3480 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3481 | - background-position: -10px -133px; |
3482 | - } |
3483 | -#external-links { |
3484 | - overflow: auto; |
3485 | - width: 605px; |
3486 | + -webkit-box-sizing: border-box; |
3487 | + -moz-box-sizing: border-box; |
3488 | + -ms-box-sizing: border-box; |
3489 | + -o-box-sizing: border-box; |
3490 | + box-sizing: border-box; |
3491 | + border: 1px solid #AEA79F; |
3492 | +} |
3493 | +.inner { |
3494 | + display: inline-block; |
3495 | + margin: 35px auto 100px auto; |
3496 | +} |
3497 | +.inner form { |
3498 | + height: 32px; |
3499 | +} |
3500 | +.external-links { |
3501 | text-align: center; |
3502 | padding-top: 20px; |
3503 | padding-left: 10px; |
3504 | padding-right: 10px; |
3505 | } |
3506 | -.bottom-links { |
3507 | +.external-links li { |
3508 | height: 30px; |
3509 | + display: inline-block; |
3510 | text-align: left; |
3511 | padding-top: 8px; |
3512 | - display: inline-block; |
3513 | - background: blue; |
3514 | - margin-right: 20px; |
3515 | + margin: 0 10px; |
3516 | } |
3517 | -.bottom-links a { |
3518 | +.external-links a { |
3519 | text-decoration: none; |
3520 | color: gray; |
3521 | padding: 10px 0 10px 40px; |
3522 | } |
3523 | -.bottom-links a:hover { |
3524 | +.external-links a::after { |
3525 | + content: " ›"; |
3526 | + font-size: 16px; |
3527 | +} |
3528 | +.external-links a:hover { |
3529 | color: #e24912; |
3530 | } |
3531 | -#help-link { |
3532 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3533 | +.help-link, |
3534 | +.shop-link, |
3535 | +.community-link { |
3536 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3537 | +} |
3538 | +.help-link { |
3539 | background-position: -10px -450px; |
3540 | } |
3541 | -#help-link:hover { |
3542 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3543 | +.help-link:hover { |
3544 | background-position: -10px -490px; |
3545 | } |
3546 | -#shop-link { |
3547 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3548 | - background-position: -10px -365px; |
3549 | -} |
3550 | -#shop-link:hover { |
3551 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3552 | - background-position: -10px -407px; |
3553 | -} |
3554 | -#community-link { |
3555 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3556 | - background-position: -10px -530px; |
3557 | -} |
3558 | -#community-link:hover { |
3559 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3560 | - background-position: -10px -570px; |
3561 | -} |
3562 | +.shop-link { |
3563 | + background-position: -10px -368px; |
3564 | +} |
3565 | +.shop-link:hover { |
3566 | + background-position: -10px -410px; |
3567 | +} |
3568 | +.community-link { |
3569 | + background-position: -10px -528px; |
3570 | +} |
3571 | +.community-link:hover { |
3572 | + background-position: -10px -568px; |
3573 | +} |
3574 | +button { |
3575 | + margin: 0 3px; |
3576 | + display: inline-block; |
3577 | + vertical-align: top; |
3578 | + cursor: default; |
3579 | + height: 32px; |
3580 | + padding: 0 8px; |
3581 | + text-align: center; |
3582 | + text-decoration: none; |
3583 | + -webkit-box-sizing: border-box; |
3584 | + -moz-box-sizing: border-box; |
3585 | + -ms-box-sizing: border-box; |
3586 | + -o-box-sizing: border-box; |
3587 | + box-sizing: border-box; |
3588 | +} |
3589 | + |
3590 | </style> |
3591 | </head> |
3592 | <body> |
3593 | - <div id="search-box"> |
3594 | - <div id="ubuntu-branding"></div> |
3595 | - <div class="top"></div> |
3596 | - <div class="center"> |
3597 | - <div class="padding"> |
3598 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
3599 | + <div class="search-box"> |
3600 | + <div class="ubuntu-branding"></div> |
3601 | + <div class="wrapper"> |
3602 | + <div class="inner"> |
3603 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
3604 | <form method="get" action="http://baidu.com/s" name="f"> |
3605 | - <input type="hidden" name="cl" value="3" /> |
3606 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
3607 | - <input name="wd" value="" id="kw" /> |
3608 | - <button>Suchen</button> |
3609 | + <input type="hidden" name="cl" value="3" /> |
3610 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
3611 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
3612 | + --><button type="submit">Suchen</button> |
3613 | </form> |
3614 | </div> |
3615 | </div> |
3616 | - <div class="bottom"></div> |
3617 | - <div id="external-links"> |
3618 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ubuntu-Hilfe ›</a></div> |
3619 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu-Shop ›</a></div> |
3620 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu-Gemeinschaft ›</a></div> |
3621 | - </div> |
3622 | + <ul class="external-links"> |
3623 | + <li class="help-link"><a href="https://help.ubuntu.com">Ubuntu-Hilfe</a></li> |
3624 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Ubuntu-Shop</a></li> |
3625 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Ubuntu-Gemeinschaft</a></li> |
3626 | + </ul> |
3627 | </div><!-- close search-box --> |
3628 | <script type="text/javascript"> |
3629 | //<![CDATA[ |
3630 | -focus_search(); |
3631 | +(function focus_search() { |
3632 | + function search_select(e) { |
3633 | + if(e.value.length > 0) { |
3634 | + e.select(); |
3635 | + } |
3636 | + e.select(); |
3637 | + } |
3638 | + sbi = document.getElementById('kw'); |
3639 | + sbi.focus(); |
3640 | + search_select(sbi); |
3641 | +})(); |
3642 | //]]> |
3643 | </script> |
3644 | </body> |
3645 | |
3646 | === modified file 'www/12.10/Baidu/index.html.el' |
3647 | --- www/12.04/Baidu/index.html.el 2012-08-04 16:59:10 +0000 |
3648 | +++ www/12.10/Baidu/index.html.el 2012-09-28 17:49:21 +0000 |
3649 | @@ -3,21 +3,6 @@ |
3650 | <head> |
3651 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
3652 | <title>Αρχική σελίδα του Ubuntu</title> |
3653 | -<script type="text/javascript"> |
3654 | -//<![CDATA[ |
3655 | -function focus_search() { |
3656 | - sbi = document.getElementById('kw'); |
3657 | - sbi.focus(); |
3658 | - search_select(sbi); |
3659 | -} |
3660 | -function search_select(e) { |
3661 | - if(e.value.length > 0) { |
3662 | - e.select(); |
3663 | - } |
3664 | - e.select(); |
3665 | -} |
3666 | -//]]> |
3667 | -</script> |
3668 | <style type="text/css"> |
3669 | body { |
3670 | background: white; |
3671 | @@ -25,172 +10,178 @@ |
3672 | font-size: 12px; |
3673 | line-height: 14px; |
3674 | margin: 0 auto; |
3675 | - } |
3676 | - |
3677 | -ul#top-nav { |
3678 | - margin-top: 5px; |
3679 | - padding-bottom: 5px; |
3680 | - border-bottom: 1px solid #eaeaea; |
3681 | - } |
3682 | - |
3683 | -ul#top-nav li { |
3684 | - display: inline; |
3685 | - font-weight: bold; |
3686 | - margin-right: 5px; |
3687 | - } |
3688 | - |
3689 | -ul#top-nav li a { |
3690 | - font-weight: normal; |
3691 | - } |
3692 | - |
3693 | -#search-box { |
3694 | +} |
3695 | +button::-moz-focus-inner { |
3696 | + /* fix buttons in FF */ |
3697 | + border: 0; |
3698 | + padding: 0; |
3699 | +} |
3700 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
3701 | + /* Remove button margin in webkit */ |
3702 | + button{ |
3703 | + margin: 0; |
3704 | + } |
3705 | +} |
3706 | +.search-box { |
3707 | width: 595px; |
3708 | margin: 0 auto; |
3709 | margin-top: 63px; |
3710 | - } |
3711 | -#search-box #ubuntu-branding { |
3712 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3713 | - background-position: 0px -251px; |
3714 | +} |
3715 | +.ubuntu-branding { |
3716 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3717 | + background-position: 0 -251px; |
3718 | background-color: #aea79f; |
3719 | height: 40px; |
3720 | - -moz-border-radius: 0 0 5px 5px; |
3721 | - -webkit-border-radius: 0 0 5px 5px; |
3722 | -} |
3723 | -#search-box .top { |
3724 | - width: 593px; |
3725 | - height: 25px; |
3726 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3727 | - background-position: -10px -10px; |
3728 | - margin: 0; |
3729 | - padding: 0; |
3730 | - } |
3731 | - |
3732 | -#search-box .center { |
3733 | - width: 595px; |
3734 | - margin: 0; |
3735 | - padding: 0; |
3736 | - margin-right: -2px; |
3737 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
3738 | - } |
3739 | - |
3740 | -#search-box .center h1 { |
3741 | - margin: 0; |
3742 | - padding: 0; |
3743 | - } |
3744 | - |
3745 | -#search-box .center .padding { |
3746 | - padding-right: 44px; |
3747 | - padding-left: 44px; |
3748 | - } |
3749 | - |
3750 | -#search-box .center h1.logo a { |
3751 | + border-radius: 5px 5px 0 0; |
3752 | +} |
3753 | +.wrapper { |
3754 | + padding: 0; |
3755 | + border: 1px solid #eee; |
3756 | + border-top: 0; |
3757 | + border-radius: 0 0 5px 5px; |
3758 | + margin: 0 auto; |
3759 | + text-align: center; |
3760 | +} |
3761 | +.wrapper h1 { |
3762 | + margin: 0; |
3763 | + padding: 0; |
3764 | +} |
3765 | +.logo a { |
3766 | font-size: 1px; |
3767 | display: block; |
3768 | text-indent: -9999px; |
3769 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3770 | - background-position: -10px -605px; |
3771 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3772 | + background-position: -22px -605px; |
3773 | margin: 0; |
3774 | padding: 0; |
3775 | height: 75px; |
3776 | - width: 180px; |
3777 | + width: 173px; |
3778 | margin-bottom: 15px; |
3779 | position: relative; |
3780 | - } |
3781 | - |
3782 | -#search-box .center input { |
3783 | +} |
3784 | +.wrapper input { |
3785 | + /* allows styling in webkit */ |
3786 | + -webkit-appearance: textfield; |
3787 | + display: inline-block; |
3788 | + vertical-align: top; |
3789 | width: 384px; |
3790 | - height: 25px; |
3791 | + height: 32px; |
3792 | font-size: 18px; |
3793 | padding-left: 5px; |
3794 | padding-right: 5px; |
3795 | - } |
3796 | - |
3797 | -#search-box .center button { |
3798 | - font-size: 18px; |
3799 | - padding: 2px; |
3800 | - } |
3801 | - |
3802 | -#search-box .bottom { |
3803 | - width: 593px; |
3804 | - height: 98px; |
3805 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3806 | - background-position: -10px -133px; |
3807 | - } |
3808 | -#external-links { |
3809 | - overflow: auto; |
3810 | - width: 605px; |
3811 | + -webkit-box-sizing: border-box; |
3812 | + -moz-box-sizing: border-box; |
3813 | + -ms-box-sizing: border-box; |
3814 | + -o-box-sizing: border-box; |
3815 | + box-sizing: border-box; |
3816 | + border: 1px solid #AEA79F; |
3817 | +} |
3818 | +.inner { |
3819 | + display: inline-block; |
3820 | + margin: 35px auto 100px auto; |
3821 | +} |
3822 | +.inner form { |
3823 | + height: 32px; |
3824 | +} |
3825 | +.external-links { |
3826 | text-align: center; |
3827 | padding-top: 20px; |
3828 | padding-left: 10px; |
3829 | padding-right: 10px; |
3830 | } |
3831 | -.bottom-links { |
3832 | +.external-links li { |
3833 | height: 30px; |
3834 | + display: inline-block; |
3835 | text-align: left; |
3836 | padding-top: 8px; |
3837 | - display: inline-block; |
3838 | - background: blue; |
3839 | - margin-right: 20px; |
3840 | + margin: 0 10px; |
3841 | } |
3842 | -.bottom-links a { |
3843 | +.external-links a { |
3844 | text-decoration: none; |
3845 | color: gray; |
3846 | padding: 10px 0 10px 40px; |
3847 | } |
3848 | -.bottom-links a:hover { |
3849 | +.external-links a::after { |
3850 | + content: " ›"; |
3851 | + font-size: 16px; |
3852 | +} |
3853 | +.external-links a:hover { |
3854 | color: #e24912; |
3855 | } |
3856 | -#help-link { |
3857 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3858 | +.help-link, |
3859 | +.shop-link, |
3860 | +.community-link { |
3861 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
3862 | +} |
3863 | +.help-link { |
3864 | background-position: -10px -450px; |
3865 | } |
3866 | -#help-link:hover { |
3867 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3868 | +.help-link:hover { |
3869 | background-position: -10px -490px; |
3870 | } |
3871 | -#shop-link { |
3872 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3873 | - background-position: -10px -365px; |
3874 | -} |
3875 | -#shop-link:hover { |
3876 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3877 | - background-position: -10px -407px; |
3878 | -} |
3879 | -#community-link { |
3880 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3881 | - background-position: -10px -530px; |
3882 | -} |
3883 | -#community-link:hover { |
3884 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
3885 | - background-position: -10px -570px; |
3886 | -} |
3887 | +.shop-link { |
3888 | + background-position: -10px -368px; |
3889 | +} |
3890 | +.shop-link:hover { |
3891 | + background-position: -10px -410px; |
3892 | +} |
3893 | +.community-link { |
3894 | + background-position: -10px -528px; |
3895 | +} |
3896 | +.community-link:hover { |
3897 | + background-position: -10px -568px; |
3898 | +} |
3899 | +button { |
3900 | + margin: 0 3px; |
3901 | + display: inline-block; |
3902 | + vertical-align: top; |
3903 | + cursor: default; |
3904 | + height: 32px; |
3905 | + padding: 0 8px; |
3906 | + text-align: center; |
3907 | + text-decoration: none; |
3908 | + -webkit-box-sizing: border-box; |
3909 | + -moz-box-sizing: border-box; |
3910 | + -ms-box-sizing: border-box; |
3911 | + -o-box-sizing: border-box; |
3912 | + box-sizing: border-box; |
3913 | +} |
3914 | + |
3915 | </style> |
3916 | </head> |
3917 | <body> |
3918 | - <div id="search-box"> |
3919 | - <div id="ubuntu-branding"></div> |
3920 | - <div class="top"></div> |
3921 | - <div class="center"> |
3922 | - <div class="padding"> |
3923 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
3924 | + <div class="search-box"> |
3925 | + <div class="ubuntu-branding"></div> |
3926 | + <div class="wrapper"> |
3927 | + <div class="inner"> |
3928 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
3929 | <form method="get" action="http://baidu.com/s" name="f"> |
3930 | - <input type="hidden" name="cl" value="3" /> |
3931 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
3932 | - <input name="wd" value="" id="kw" /> |
3933 | - <button>Αναζήτηση</button> |
3934 | + <input type="hidden" name="cl" value="3" /> |
3935 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
3936 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
3937 | + --><button type="submit">Αναζήτηση</button> |
3938 | </form> |
3939 | </div> |
3940 | </div> |
3941 | - <div class="bottom"></div> |
3942 | - <div id="external-links"> |
3943 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Βοήθεια σχετικά με το Ubuntu ›</a></div> |
3944 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Κατάστημα Ubuntu ›</a></div> |
3945 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Η κοινότητα του Ubuntu ›</a></div> |
3946 | - </div> |
3947 | + <ul class="external-links"> |
3948 | + <li class="help-link"><a href="https://help.ubuntu.com">Βοήθεια σχετικά με το Ubuntu</a></li> |
3949 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Κατάστημα Ubuntu</a></li> |
3950 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Η κοινότητα του Ubuntu</a></li> |
3951 | + </ul> |
3952 | </div><!-- close search-box --> |
3953 | <script type="text/javascript"> |
3954 | //<![CDATA[ |
3955 | -focus_search(); |
3956 | +(function focus_search() { |
3957 | + function search_select(e) { |
3958 | + if(e.value.length > 0) { |
3959 | + e.select(); |
3960 | + } |
3961 | + e.select(); |
3962 | + } |
3963 | + sbi = document.getElementById('kw'); |
3964 | + sbi.focus(); |
3965 | + search_select(sbi); |
3966 | +})(); |
3967 | //]]> |
3968 | </script> |
3969 | </body> |
3970 | |
3971 | === modified file 'www/12.10/Baidu/index.html.en' |
3972 | --- www/12.04/Baidu/index.html.en 2012-08-04 16:59:10 +0000 |
3973 | +++ www/12.10/Baidu/index.html.en 2012-09-28 17:49:21 +0000 |
3974 | @@ -3,21 +3,6 @@ |
3975 | <head> |
3976 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
3977 | <title>Ubuntu Start Page</title> |
3978 | -<script type="text/javascript"> |
3979 | -//<![CDATA[ |
3980 | -function focus_search() { |
3981 | - sbi = document.getElementById('kw'); |
3982 | - sbi.focus(); |
3983 | - search_select(sbi); |
3984 | -} |
3985 | -function search_select(e) { |
3986 | - if(e.value.length > 0) { |
3987 | - e.select(); |
3988 | - } |
3989 | - e.select(); |
3990 | -} |
3991 | -//]]> |
3992 | -</script> |
3993 | <style type="text/css"> |
3994 | body { |
3995 | background: white; |
3996 | @@ -25,172 +10,178 @@ |
3997 | font-size: 12px; |
3998 | line-height: 14px; |
3999 | margin: 0 auto; |
4000 | - } |
4001 | - |
4002 | -ul#top-nav { |
4003 | - margin-top: 5px; |
4004 | - padding-bottom: 5px; |
4005 | - border-bottom: 1px solid #eaeaea; |
4006 | - } |
4007 | - |
4008 | -ul#top-nav li { |
4009 | - display: inline; |
4010 | - font-weight: bold; |
4011 | - margin-right: 5px; |
4012 | - } |
4013 | - |
4014 | -ul#top-nav li a { |
4015 | - font-weight: normal; |
4016 | - } |
4017 | - |
4018 | -#search-box { |
4019 | +} |
4020 | +button::-moz-focus-inner { |
4021 | + /* fix buttons in FF */ |
4022 | + border: 0; |
4023 | + padding: 0; |
4024 | +} |
4025 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
4026 | + /* Remove button margin in webkit */ |
4027 | + button{ |
4028 | + margin: 0; |
4029 | + } |
4030 | +} |
4031 | +.search-box { |
4032 | width: 595px; |
4033 | margin: 0 auto; |
4034 | margin-top: 63px; |
4035 | - } |
4036 | -#search-box #ubuntu-branding { |
4037 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4038 | - background-position: 0px -251px; |
4039 | +} |
4040 | +.ubuntu-branding { |
4041 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4042 | + background-position: 0 -251px; |
4043 | background-color: #aea79f; |
4044 | height: 40px; |
4045 | - -moz-border-radius: 0 0 5px 5px; |
4046 | - -webkit-border-radius: 0 0 5px 5px; |
4047 | -} |
4048 | -#search-box .top { |
4049 | - width: 593px; |
4050 | - height: 25px; |
4051 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4052 | - background-position: -10px -10px; |
4053 | - margin: 0; |
4054 | - padding: 0; |
4055 | - } |
4056 | - |
4057 | -#search-box .center { |
4058 | - width: 595px; |
4059 | - margin: 0; |
4060 | - padding: 0; |
4061 | - margin-right: -2px; |
4062 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
4063 | - } |
4064 | - |
4065 | -#search-box .center h1 { |
4066 | - margin: 0; |
4067 | - padding: 0; |
4068 | - } |
4069 | - |
4070 | -#search-box .center .padding { |
4071 | - padding-right: 44px; |
4072 | - padding-left: 44px; |
4073 | - } |
4074 | - |
4075 | -#search-box .center h1.logo a { |
4076 | + border-radius: 5px 5px 0 0; |
4077 | +} |
4078 | +.wrapper { |
4079 | + padding: 0; |
4080 | + border: 1px solid #eee; |
4081 | + border-top: 0; |
4082 | + border-radius: 0 0 5px 5px; |
4083 | + margin: 0 auto; |
4084 | + text-align: center; |
4085 | +} |
4086 | +.wrapper h1 { |
4087 | + margin: 0; |
4088 | + padding: 0; |
4089 | +} |
4090 | +.logo a { |
4091 | font-size: 1px; |
4092 | display: block; |
4093 | text-indent: -9999px; |
4094 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4095 | - background-position: -10px -605px; |
4096 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4097 | + background-position: -22px -605px; |
4098 | margin: 0; |
4099 | padding: 0; |
4100 | height: 75px; |
4101 | - width: 180px; |
4102 | + width: 173px; |
4103 | margin-bottom: 15px; |
4104 | position: relative; |
4105 | - } |
4106 | - |
4107 | -#search-box .center input { |
4108 | +} |
4109 | +.wrapper input { |
4110 | + /* allows styling in webkit */ |
4111 | + -webkit-appearance: textfield; |
4112 | + display: inline-block; |
4113 | + vertical-align: top; |
4114 | width: 384px; |
4115 | - height: 25px; |
4116 | + height: 32px; |
4117 | font-size: 18px; |
4118 | padding-left: 5px; |
4119 | padding-right: 5px; |
4120 | - } |
4121 | - |
4122 | -#search-box .center button { |
4123 | - font-size: 18px; |
4124 | - padding: 2px; |
4125 | - } |
4126 | - |
4127 | -#search-box .bottom { |
4128 | - width: 593px; |
4129 | - height: 98px; |
4130 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4131 | - background-position: -10px -133px; |
4132 | - } |
4133 | -#external-links { |
4134 | - overflow: auto; |
4135 | - width: 605px; |
4136 | + -webkit-box-sizing: border-box; |
4137 | + -moz-box-sizing: border-box; |
4138 | + -ms-box-sizing: border-box; |
4139 | + -o-box-sizing: border-box; |
4140 | + box-sizing: border-box; |
4141 | + border: 1px solid #AEA79F; |
4142 | +} |
4143 | +.inner { |
4144 | + display: inline-block; |
4145 | + margin: 35px auto 100px auto; |
4146 | +} |
4147 | +.inner form { |
4148 | + height: 32px; |
4149 | +} |
4150 | +.external-links { |
4151 | text-align: center; |
4152 | padding-top: 20px; |
4153 | padding-left: 10px; |
4154 | padding-right: 10px; |
4155 | } |
4156 | -.bottom-links { |
4157 | +.external-links li { |
4158 | height: 30px; |
4159 | + display: inline-block; |
4160 | text-align: left; |
4161 | padding-top: 8px; |
4162 | - display: inline-block; |
4163 | - background: blue; |
4164 | - margin-right: 20px; |
4165 | + margin: 0 10px; |
4166 | } |
4167 | -.bottom-links a { |
4168 | +.external-links a { |
4169 | text-decoration: none; |
4170 | color: gray; |
4171 | padding: 10px 0 10px 40px; |
4172 | } |
4173 | -.bottom-links a:hover { |
4174 | +.external-links a::after { |
4175 | + content: " ›"; |
4176 | + font-size: 16px; |
4177 | +} |
4178 | +.external-links a:hover { |
4179 | color: #e24912; |
4180 | } |
4181 | -#help-link { |
4182 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4183 | +.help-link, |
4184 | +.shop-link, |
4185 | +.community-link { |
4186 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4187 | +} |
4188 | +.help-link { |
4189 | background-position: -10px -450px; |
4190 | } |
4191 | -#help-link:hover { |
4192 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4193 | +.help-link:hover { |
4194 | background-position: -10px -490px; |
4195 | } |
4196 | -#shop-link { |
4197 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4198 | - background-position: -10px -365px; |
4199 | -} |
4200 | -#shop-link:hover { |
4201 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4202 | - background-position: -10px -407px; |
4203 | -} |
4204 | -#community-link { |
4205 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4206 | - background-position: -10px -530px; |
4207 | -} |
4208 | -#community-link:hover { |
4209 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4210 | - background-position: -10px -570px; |
4211 | -} |
4212 | +.shop-link { |
4213 | + background-position: -10px -368px; |
4214 | +} |
4215 | +.shop-link:hover { |
4216 | + background-position: -10px -410px; |
4217 | +} |
4218 | +.community-link { |
4219 | + background-position: -10px -528px; |
4220 | +} |
4221 | +.community-link:hover { |
4222 | + background-position: -10px -568px; |
4223 | +} |
4224 | +button { |
4225 | + margin: 0 3px; |
4226 | + display: inline-block; |
4227 | + vertical-align: top; |
4228 | + cursor: default; |
4229 | + height: 32px; |
4230 | + padding: 0 8px; |
4231 | + text-align: center; |
4232 | + text-decoration: none; |
4233 | + -webkit-box-sizing: border-box; |
4234 | + -moz-box-sizing: border-box; |
4235 | + -ms-box-sizing: border-box; |
4236 | + -o-box-sizing: border-box; |
4237 | + box-sizing: border-box; |
4238 | +} |
4239 | + |
4240 | </style> |
4241 | </head> |
4242 | <body> |
4243 | - <div id="search-box"> |
4244 | - <div id="ubuntu-branding"></div> |
4245 | - <div class="top"></div> |
4246 | - <div class="center"> |
4247 | - <div class="padding"> |
4248 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
4249 | + <div class="search-box"> |
4250 | + <div class="ubuntu-branding"></div> |
4251 | + <div class="wrapper"> |
4252 | + <div class="inner"> |
4253 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
4254 | <form method="get" action="http://baidu.com/s" name="f"> |
4255 | - <input type="hidden" name="cl" value="3" /> |
4256 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
4257 | - <input name="wd" value="" id="kw" /> |
4258 | - <button>Search</button> |
4259 | + <input type="hidden" name="cl" value="3" /> |
4260 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
4261 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
4262 | + --><button type="submit">Search</button> |
4263 | </form> |
4264 | </div> |
4265 | </div> |
4266 | - <div class="bottom"></div> |
4267 | - <div id="external-links"> |
4268 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ubuntu help ›</a></div> |
4269 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu shop ›</a></div> |
4270 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu community ›</a></div> |
4271 | - </div> |
4272 | + <ul class="external-links"> |
4273 | + <li class="help-link"><a href="https://help.ubuntu.com">Ubuntu help</a></li> |
4274 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Ubuntu shop</a></li> |
4275 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Ubuntu community</a></li> |
4276 | + </ul> |
4277 | </div><!-- close search-box --> |
4278 | <script type="text/javascript"> |
4279 | //<![CDATA[ |
4280 | -focus_search(); |
4281 | +(function focus_search() { |
4282 | + function search_select(e) { |
4283 | + if(e.value.length > 0) { |
4284 | + e.select(); |
4285 | + } |
4286 | + e.select(); |
4287 | + } |
4288 | + sbi = document.getElementById('kw'); |
4289 | + sbi.focus(); |
4290 | + search_select(sbi); |
4291 | +})(); |
4292 | //]]> |
4293 | </script> |
4294 | </body> |
4295 | |
4296 | === modified file 'www/12.10/Baidu/index.html.en-au' |
4297 | --- www/12.04/Baidu/index.html.en-au 2012-08-04 16:59:10 +0000 |
4298 | +++ www/12.10/Baidu/index.html.en-au 2012-09-28 17:49:21 +0000 |
4299 | @@ -3,21 +3,6 @@ |
4300 | <head> |
4301 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
4302 | <title>Ubuntu Start Page</title> |
4303 | -<script type="text/javascript"> |
4304 | -//<![CDATA[ |
4305 | -function focus_search() { |
4306 | - sbi = document.getElementById('kw'); |
4307 | - sbi.focus(); |
4308 | - search_select(sbi); |
4309 | -} |
4310 | -function search_select(e) { |
4311 | - if(e.value.length > 0) { |
4312 | - e.select(); |
4313 | - } |
4314 | - e.select(); |
4315 | -} |
4316 | -//]]> |
4317 | -</script> |
4318 | <style type="text/css"> |
4319 | body { |
4320 | background: white; |
4321 | @@ -25,172 +10,178 @@ |
4322 | font-size: 12px; |
4323 | line-height: 14px; |
4324 | margin: 0 auto; |
4325 | - } |
4326 | - |
4327 | -ul#top-nav { |
4328 | - margin-top: 5px; |
4329 | - padding-bottom: 5px; |
4330 | - border-bottom: 1px solid #eaeaea; |
4331 | - } |
4332 | - |
4333 | -ul#top-nav li { |
4334 | - display: inline; |
4335 | - font-weight: bold; |
4336 | - margin-right: 5px; |
4337 | - } |
4338 | - |
4339 | -ul#top-nav li a { |
4340 | - font-weight: normal; |
4341 | - } |
4342 | - |
4343 | -#search-box { |
4344 | +} |
4345 | +button::-moz-focus-inner { |
4346 | + /* fix buttons in FF */ |
4347 | + border: 0; |
4348 | + padding: 0; |
4349 | +} |
4350 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
4351 | + /* Remove button margin in webkit */ |
4352 | + button{ |
4353 | + margin: 0; |
4354 | + } |
4355 | +} |
4356 | +.search-box { |
4357 | width: 595px; |
4358 | margin: 0 auto; |
4359 | margin-top: 63px; |
4360 | - } |
4361 | -#search-box #ubuntu-branding { |
4362 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4363 | - background-position: 0px -251px; |
4364 | +} |
4365 | +.ubuntu-branding { |
4366 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4367 | + background-position: 0 -251px; |
4368 | background-color: #aea79f; |
4369 | height: 40px; |
4370 | - -moz-border-radius: 0 0 5px 5px; |
4371 | - -webkit-border-radius: 0 0 5px 5px; |
4372 | -} |
4373 | -#search-box .top { |
4374 | - width: 593px; |
4375 | - height: 25px; |
4376 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4377 | - background-position: -10px -10px; |
4378 | - margin: 0; |
4379 | - padding: 0; |
4380 | - } |
4381 | - |
4382 | -#search-box .center { |
4383 | - width: 595px; |
4384 | - margin: 0; |
4385 | - padding: 0; |
4386 | - margin-right: -2px; |
4387 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
4388 | - } |
4389 | - |
4390 | -#search-box .center h1 { |
4391 | - margin: 0; |
4392 | - padding: 0; |
4393 | - } |
4394 | - |
4395 | -#search-box .center .padding { |
4396 | - padding-right: 44px; |
4397 | - padding-left: 44px; |
4398 | - } |
4399 | - |
4400 | -#search-box .center h1.logo a { |
4401 | + border-radius: 5px 5px 0 0; |
4402 | +} |
4403 | +.wrapper { |
4404 | + padding: 0; |
4405 | + border: 1px solid #eee; |
4406 | + border-top: 0; |
4407 | + border-radius: 0 0 5px 5px; |
4408 | + margin: 0 auto; |
4409 | + text-align: center; |
4410 | +} |
4411 | +.wrapper h1 { |
4412 | + margin: 0; |
4413 | + padding: 0; |
4414 | +} |
4415 | +.logo a { |
4416 | font-size: 1px; |
4417 | display: block; |
4418 | text-indent: -9999px; |
4419 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4420 | - background-position: -10px -605px; |
4421 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4422 | + background-position: -22px -605px; |
4423 | margin: 0; |
4424 | padding: 0; |
4425 | height: 75px; |
4426 | - width: 180px; |
4427 | + width: 173px; |
4428 | margin-bottom: 15px; |
4429 | position: relative; |
4430 | - } |
4431 | - |
4432 | -#search-box .center input { |
4433 | +} |
4434 | +.wrapper input { |
4435 | + /* allows styling in webkit */ |
4436 | + -webkit-appearance: textfield; |
4437 | + display: inline-block; |
4438 | + vertical-align: top; |
4439 | width: 384px; |
4440 | - height: 25px; |
4441 | + height: 32px; |
4442 | font-size: 18px; |
4443 | padding-left: 5px; |
4444 | padding-right: 5px; |
4445 | - } |
4446 | - |
4447 | -#search-box .center button { |
4448 | - font-size: 18px; |
4449 | - padding: 2px; |
4450 | - } |
4451 | - |
4452 | -#search-box .bottom { |
4453 | - width: 593px; |
4454 | - height: 98px; |
4455 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4456 | - background-position: -10px -133px; |
4457 | - } |
4458 | -#external-links { |
4459 | - overflow: auto; |
4460 | - width: 605px; |
4461 | + -webkit-box-sizing: border-box; |
4462 | + -moz-box-sizing: border-box; |
4463 | + -ms-box-sizing: border-box; |
4464 | + -o-box-sizing: border-box; |
4465 | + box-sizing: border-box; |
4466 | + border: 1px solid #AEA79F; |
4467 | +} |
4468 | +.inner { |
4469 | + display: inline-block; |
4470 | + margin: 35px auto 100px auto; |
4471 | +} |
4472 | +.inner form { |
4473 | + height: 32px; |
4474 | +} |
4475 | +.external-links { |
4476 | text-align: center; |
4477 | padding-top: 20px; |
4478 | padding-left: 10px; |
4479 | padding-right: 10px; |
4480 | } |
4481 | -.bottom-links { |
4482 | +.external-links li { |
4483 | height: 30px; |
4484 | + display: inline-block; |
4485 | text-align: left; |
4486 | padding-top: 8px; |
4487 | - display: inline-block; |
4488 | - background: blue; |
4489 | - margin-right: 20px; |
4490 | + margin: 0 10px; |
4491 | } |
4492 | -.bottom-links a { |
4493 | +.external-links a { |
4494 | text-decoration: none; |
4495 | color: gray; |
4496 | padding: 10px 0 10px 40px; |
4497 | } |
4498 | -.bottom-links a:hover { |
4499 | +.external-links a::after { |
4500 | + content: " ›"; |
4501 | + font-size: 16px; |
4502 | +} |
4503 | +.external-links a:hover { |
4504 | color: #e24912; |
4505 | } |
4506 | -#help-link { |
4507 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4508 | +.help-link, |
4509 | +.shop-link, |
4510 | +.community-link { |
4511 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4512 | +} |
4513 | +.help-link { |
4514 | background-position: -10px -450px; |
4515 | } |
4516 | -#help-link:hover { |
4517 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4518 | +.help-link:hover { |
4519 | background-position: -10px -490px; |
4520 | } |
4521 | -#shop-link { |
4522 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4523 | - background-position: -10px -365px; |
4524 | -} |
4525 | -#shop-link:hover { |
4526 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4527 | - background-position: -10px -407px; |
4528 | -} |
4529 | -#community-link { |
4530 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4531 | - background-position: -10px -530px; |
4532 | -} |
4533 | -#community-link:hover { |
4534 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4535 | - background-position: -10px -570px; |
4536 | -} |
4537 | +.shop-link { |
4538 | + background-position: -10px -368px; |
4539 | +} |
4540 | +.shop-link:hover { |
4541 | + background-position: -10px -410px; |
4542 | +} |
4543 | +.community-link { |
4544 | + background-position: -10px -528px; |
4545 | +} |
4546 | +.community-link:hover { |
4547 | + background-position: -10px -568px; |
4548 | +} |
4549 | +button { |
4550 | + margin: 0 3px; |
4551 | + display: inline-block; |
4552 | + vertical-align: top; |
4553 | + cursor: default; |
4554 | + height: 32px; |
4555 | + padding: 0 8px; |
4556 | + text-align: center; |
4557 | + text-decoration: none; |
4558 | + -webkit-box-sizing: border-box; |
4559 | + -moz-box-sizing: border-box; |
4560 | + -ms-box-sizing: border-box; |
4561 | + -o-box-sizing: border-box; |
4562 | + box-sizing: border-box; |
4563 | +} |
4564 | + |
4565 | </style> |
4566 | </head> |
4567 | <body> |
4568 | - <div id="search-box"> |
4569 | - <div id="ubuntu-branding"></div> |
4570 | - <div class="top"></div> |
4571 | - <div class="center"> |
4572 | - <div class="padding"> |
4573 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
4574 | + <div class="search-box"> |
4575 | + <div class="ubuntu-branding"></div> |
4576 | + <div class="wrapper"> |
4577 | + <div class="inner"> |
4578 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
4579 | <form method="get" action="http://baidu.com/s" name="f"> |
4580 | - <input type="hidden" name="cl" value="3" /> |
4581 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
4582 | - <input name="wd" value="" id="kw" /> |
4583 | - <button>Search</button> |
4584 | + <input type="hidden" name="cl" value="3" /> |
4585 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
4586 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
4587 | + --><button type="submit">Search</button> |
4588 | </form> |
4589 | </div> |
4590 | </div> |
4591 | - <div class="bottom"></div> |
4592 | - <div id="external-links"> |
4593 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ubuntu help ›</a></div> |
4594 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu shop ›</a></div> |
4595 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu community ›</a></div> |
4596 | - </div> |
4597 | + <ul class="external-links"> |
4598 | + <li class="help-link"><a href="https://help.ubuntu.com">Ubuntu help</a></li> |
4599 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Ubuntu shop</a></li> |
4600 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Ubuntu community</a></li> |
4601 | + </ul> |
4602 | </div><!-- close search-box --> |
4603 | <script type="text/javascript"> |
4604 | //<![CDATA[ |
4605 | -focus_search(); |
4606 | +(function focus_search() { |
4607 | + function search_select(e) { |
4608 | + if(e.value.length > 0) { |
4609 | + e.select(); |
4610 | + } |
4611 | + e.select(); |
4612 | + } |
4613 | + sbi = document.getElementById('kw'); |
4614 | + sbi.focus(); |
4615 | + search_select(sbi); |
4616 | +})(); |
4617 | //]]> |
4618 | </script> |
4619 | </body> |
4620 | |
4621 | === modified file 'www/12.10/Baidu/index.html.en-gb' |
4622 | --- www/12.04/Baidu/index.html.en-gb 2012-08-04 16:59:10 +0000 |
4623 | +++ www/12.10/Baidu/index.html.en-gb 2012-09-28 17:49:21 +0000 |
4624 | @@ -3,21 +3,6 @@ |
4625 | <head> |
4626 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
4627 | <title>Ubuntu Start Page</title> |
4628 | -<script type="text/javascript"> |
4629 | -//<![CDATA[ |
4630 | -function focus_search() { |
4631 | - sbi = document.getElementById('kw'); |
4632 | - sbi.focus(); |
4633 | - search_select(sbi); |
4634 | -} |
4635 | -function search_select(e) { |
4636 | - if(e.value.length > 0) { |
4637 | - e.select(); |
4638 | - } |
4639 | - e.select(); |
4640 | -} |
4641 | -//]]> |
4642 | -</script> |
4643 | <style type="text/css"> |
4644 | body { |
4645 | background: white; |
4646 | @@ -25,172 +10,178 @@ |
4647 | font-size: 12px; |
4648 | line-height: 14px; |
4649 | margin: 0 auto; |
4650 | - } |
4651 | - |
4652 | -ul#top-nav { |
4653 | - margin-top: 5px; |
4654 | - padding-bottom: 5px; |
4655 | - border-bottom: 1px solid #eaeaea; |
4656 | - } |
4657 | - |
4658 | -ul#top-nav li { |
4659 | - display: inline; |
4660 | - font-weight: bold; |
4661 | - margin-right: 5px; |
4662 | - } |
4663 | - |
4664 | -ul#top-nav li a { |
4665 | - font-weight: normal; |
4666 | - } |
4667 | - |
4668 | -#search-box { |
4669 | +} |
4670 | +button::-moz-focus-inner { |
4671 | + /* fix buttons in FF */ |
4672 | + border: 0; |
4673 | + padding: 0; |
4674 | +} |
4675 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
4676 | + /* Remove button margin in webkit */ |
4677 | + button{ |
4678 | + margin: 0; |
4679 | + } |
4680 | +} |
4681 | +.search-box { |
4682 | width: 595px; |
4683 | margin: 0 auto; |
4684 | margin-top: 63px; |
4685 | - } |
4686 | -#search-box #ubuntu-branding { |
4687 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4688 | - background-position: 0px -251px; |
4689 | +} |
4690 | +.ubuntu-branding { |
4691 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4692 | + background-position: 0 -251px; |
4693 | background-color: #aea79f; |
4694 | height: 40px; |
4695 | - -moz-border-radius: 0 0 5px 5px; |
4696 | - -webkit-border-radius: 0 0 5px 5px; |
4697 | -} |
4698 | -#search-box .top { |
4699 | - width: 593px; |
4700 | - height: 25px; |
4701 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4702 | - background-position: -10px -10px; |
4703 | - margin: 0; |
4704 | - padding: 0; |
4705 | - } |
4706 | - |
4707 | -#search-box .center { |
4708 | - width: 595px; |
4709 | - margin: 0; |
4710 | - padding: 0; |
4711 | - margin-right: -2px; |
4712 | - background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y; |
4713 | - } |
4714 | - |
4715 | -#search-box .center h1 { |
4716 | - margin: 0; |
4717 | - padding: 0; |
4718 | - } |
4719 | - |
4720 | -#search-box .center .padding { |
4721 | - padding-right: 44px; |
4722 | - padding-left: 44px; |
4723 | - } |
4724 | - |
4725 | -#search-box .center h1.logo a { |
4726 | + border-radius: 5px 5px 0 0; |
4727 | +} |
4728 | +.wrapper { |
4729 | + padding: 0; |
4730 | + border: 1px solid #eee; |
4731 | + border-top: 0; |
4732 | + border-radius: 0 0 5px 5px; |
4733 | + margin: 0 auto; |
4734 | + text-align: center; |
4735 | +} |
4736 | +.wrapper h1 { |
4737 | + margin: 0; |
4738 | + padding: 0; |
4739 | +} |
4740 | +.logo a { |
4741 | font-size: 1px; |
4742 | display: block; |
4743 | text-indent: -9999px; |
4744 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4745 | - background-position: -10px -605px; |
4746 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4747 | + background-position: -22px -605px; |
4748 | margin: 0; |
4749 | padding: 0; |
4750 | height: 75px; |
4751 | - width: 180px; |
4752 | + width: 173px; |
4753 | margin-bottom: 15px; |
4754 | position: relative; |
4755 | - } |
4756 | - |
4757 | -#search-box .center input { |
4758 | +} |
4759 | +.wrapper input { |
4760 | + /* allows styling in webkit */ |
4761 | + -webkit-appearance: textfield; |
4762 | + display: inline-block; |
4763 | + vertical-align: top; |
4764 | width: 384px; |
4765 | - height: 25px; |
4766 | + height: 32px; |
4767 | font-size: 18px; |
4768 | padding-left: 5px; |
4769 | padding-right: 5px; |
4770 | - } |
4771 | - |
4772 | -#search-box .center button { |
4773 | - font-size: 18px; |
4774 | - padding: 2px; |
4775 | - } |
4776 | - |
4777 | -#search-box .bottom { |
4778 | - width: 593px; |
4779 | - height: 98px; |
4780 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4781 | - background-position: -10px -133px; |
4782 | - } |
4783 | -#external-links { |
4784 | - overflow: auto; |
4785 | - width: 605px; |
4786 | + -webkit-box-sizing: border-box; |
4787 | + -moz-box-sizing: border-box; |
4788 | + -ms-box-sizing: border-box; |
4789 | + -o-box-sizing: border-box; |
4790 | + box-sizing: border-box; |
4791 | + border: 1px solid #AEA79F; |
4792 | +} |
4793 | +.inner { |
4794 | + display: inline-block; |
4795 | + margin: 35px auto 100px auto; |
4796 | +} |
4797 | +.inner form { |
4798 | + height: 32px; |
4799 | +} |
4800 | +.external-links { |
4801 | text-align: center; |
4802 | padding-top: 20px; |
4803 | padding-left: 10px; |
4804 | padding-right: 10px; |
4805 | } |
4806 | -.bottom-links { |
4807 | +.external-links li { |
4808 | height: 30px; |
4809 | + display: inline-block; |
4810 | text-align: left; |
4811 | padding-top: 8px; |
4812 | - display: inline-block; |
4813 | - background: blue; |
4814 | - margin-right: 20px; |
4815 | + margin: 0 10px; |
4816 | } |
4817 | -.bottom-links a { |
4818 | +.external-links a { |
4819 | text-decoration: none; |
4820 | color: gray; |
4821 | padding: 10px 0 10px 40px; |
4822 | } |
4823 | -.bottom-links a:hover { |
4824 | +.external-links a::after { |
4825 | + content: " ›"; |
4826 | + font-size: 16px; |
4827 | +} |
4828 | +.external-links a:hover { |
4829 | color: #e24912; |
4830 | } |
4831 | -#help-link { |
4832 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4833 | +.help-link, |
4834 | +.shop-link, |
4835 | +.community-link { |
4836 | + background: url(http://start.ubuntu.com/12.04/sprite.png) no-repeat; |
4837 | +} |
4838 | +.help-link { |
4839 | background-position: -10px -450px; |
4840 | } |
4841 | -#help-link:hover { |
4842 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4843 | +.help-link:hover { |
4844 | background-position: -10px -490px; |
4845 | } |
4846 | -#shop-link { |
4847 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4848 | - background-position: -10px -365px; |
4849 | -} |
4850 | -#shop-link:hover { |
4851 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4852 | - background-position: -10px -407px; |
4853 | -} |
4854 | -#community-link { |
4855 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4856 | - background-position: -10px -530px; |
4857 | -} |
4858 | -#community-link:hover { |
4859 | - background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat; |
4860 | - background-position: -10px -570px; |
4861 | -} |
4862 | +.shop-link { |
4863 | + background-position: -10px -368px; |
4864 | +} |
4865 | +.shop-link:hover { |
4866 | + background-position: -10px -410px; |
4867 | +} |
4868 | +.community-link { |
4869 | + background-position: -10px -528px; |
4870 | +} |
4871 | +.community-link:hover { |
4872 | + background-position: -10px -568px; |
4873 | +} |
4874 | +button { |
4875 | + margin: 0 3px; |
4876 | + display: inline-block; |
4877 | + vertical-align: top; |
4878 | + cursor: default; |
4879 | + height: 32px; |
4880 | + padding: 0 8px; |
4881 | + text-align: center; |
4882 | + text-decoration: none; |
4883 | + -webkit-box-sizing: border-box; |
4884 | + -moz-box-sizing: border-box; |
4885 | + -ms-box-sizing: border-box; |
4886 | + -o-box-sizing: border-box; |
4887 | + box-sizing: border-box; |
4888 | +} |
4889 | + |
4890 | </style> |
4891 | </head> |
4892 | <body> |
4893 | - <div id="search-box"> |
4894 | - <div id="ubuntu-branding"></div> |
4895 | - <div class="top"></div> |
4896 | - <div class="center"> |
4897 | - <div class="padding"> |
4898 | - <h1 class="logo"><a href="http://www.baidu.com"> </a></h1> |
4899 | + <div class="search-box"> |
4900 | + <div class="ubuntu-branding"></div> |
4901 | + <div class="wrapper"> |
4902 | + <div class="inner"> |
4903 | + <h1 class="logo"><a href="http://www.baidu.com">Baidu</a></h1> |
4904 | <form method="get" action="http://baidu.com/s" name="f"> |
4905 | - <input type="hidden" name="cl" value="3" /> |
4906 | - <input type="hidden" name="tn" value="ubuntuu_cb" /> |
4907 | - <input name="wd" value="" id="kw" /> |
4908 | - <button>Search</button> |
4909 | + <input type="hidden" name="cl" value="3" /> |
4910 | + <input type="hidden" name="tn" value="ubuntuu_cb" /> |
4911 | + <input type="search" x-webkit-speech name="wd" value="" id="kw" /><!-- Eliminate Whitespace |
4912 | + --><button type="submit">Search</button> |
4913 | </form> |
4914 | </div> |
4915 | </div> |
4916 | - <div class="bottom"></div> |
4917 | - <div id="external-links"> |
4918 | - <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ubuntu help ›</a></div> |
4919 | - <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu shop ›</a></div> |
4920 | - <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu community ›</a></div> |
4921 | - </div> |
4922 | + <ul class="external-links"> |
4923 | + <li class="help-link"><a href="https://help.ubuntu.com">Ubuntu help</a></li> |
4924 | + <li class="shop-link"><a href="http://shop.ubuntu.com">Ubuntu shop</a></li> |
4925 | + <li class="community-link"><a href="http://www.ubuntu.com/community">Ubuntu community</a></li> |
4926 | + </ul> |
4927 | </div><!-- close search-box --> |
4928 | <script type="text/javascript"> |
4929 | //<![CDATA[ |
4930 | -focus_search(); |
4931 | +(function focus_search() { |
4932 | + function search_select(e) { |
4933 | + if(e.value.length > 0) { |
4934 | + e.select(); |
4935 | + } |
4936 | + e.select(); |
4937 | + } |
4938 | + sbi = document.getElementById('kw'); |
4939 | + sbi.focus(); |
4940 | + search_select(sbi); |
4941 | +})(); |
4942 | //]]> |
4943 | </script> |
4944 | </body> |
4945 | |
4946 | === modified file 'www/12.10/Baidu/index.html.eo' |
4947 | --- www/12.04/Baidu/index.html.eo 2012-08-04 16:59:10 +0000 |
4948 | +++ www/12.10/Baidu/index.html.eo 2012-09-28 17:49:21 +0000 |
4949 | @@ -3,21 +3,6 @@ |
4950 | <head> |
4951 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
4952 | <title>Komenca paĝo de Ubuntu</title> |
4953 | -<script type="text/javascript"> |
4954 | -//<![CDATA[ |
4955 | -function focus_search() { |
4956 | - sbi = document.getElementById('kw'); |
4957 | - sbi.focus(); |
4958 | - search_select(sbi); |
4959 | -} |
4960 | -function search_select(e) { |
4961 | - if(e.value.length > 0) { |
4962 | - e.select(); |
4963 | - } |
4964 | - e.select(); |
4965 | -} |
4966 | -//]]> |
4967 | -</script> |
4968 | <style type="text/css"> |
4969 | body { |
4970 | background: white; |
4971 | @@ -25,172 +10,178 @@ |
4972 | font-size: 12px; |
4973 | line-height: 14px; |
4974 | margin: 0 auto; |
4975 | - } |
4976 | - |
4977 | -ul#top-nav { |
4978 | - margin-top: 5px; |
4979 | - padding-bottom: 5px; |
4980 | - border-bottom: 1px solid #eaeaea; |
4981 | - } |
4982 | - |
4983 | -ul#top-nav li { |
4984 | - display: inline; |
4985 | - font-weight: bold; |
4986 | - margin-right: 5px; |
4987 | - } |
4988 | - |
4989 | -ul#top-nav li a { |
4990 | - font-weight: normal; |
4991 | - } |
4992 | - |
4993 | -#search-box { |
4994 | +} |
4995 | +button::-moz-focus-inner { |
4996 | + /* fix buttons in FF */ |
4997 | + border: 0; |
4998 | + padding: 0; |
4999 | +} |
5000 | +@media screen and (-webkit-min-device-pixel-ratio:0) { |
The diff has been truncated for viewing.