~chrisccoulson/ubuntu-start-page/bug755028

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE html>
<html lang="zh_TW" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
<title>Ubuntu 開始頁</title>
<script type="text/javascript">
//<![CDATA[
function focus_search() {
    sbi = document.getElementById('sbi');
    sbi.focus();
    search_select(sbi);
}
function search_select(e) {
    if(e.value.length > 0) {
        e.select();
    }
    e.select();
}
//]]>
</script>
<style type="text/css">
body {
    background: white;
    font-family: "bitstream vera sans", "dejavu sans", verdana, sans-serif;
    font-size: 12px;
    line-height: 14px;
    margin: 0 auto;
    }

ul#top-nav {
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eaeaea;
    }

ul#top-nav li {
    display: inline;
    font-weight: bold;
    margin-right: 5px;
    }

ul#top-nav li a {
    font-weight: normal;
    }

#search-box {
    width: 595px;
    margin: 0 auto;
    margin-top: 63px;
    }
#search-box #ubuntu-branding {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: 0px -251px;
    background-color: #aea79f;
    height: 40px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
}
#search-box .top {
    width: 593px;
    height: 65px;
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -10px;
    margin: 0;
    padding: 0;
    }

#search-box .center {
    width: 595px;
    margin: 0;
    padding: 0;
    margin-right: -2px;
    background: url(http://start.ubuntu.com/10.04/middle.png) repeat-y;
    }

#search-box .center h1 {
    margin: 0;
    padding: 0;
    }

#search-box .center .padding {
    padding-right: 44px;
    padding-left: 44px;
    }

#search-box .center h1.logo a {
    font-size: 1px;
    display: block;
    text-indent: -9999px;
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -310px;
    margin: 0;
    padding: 0;
    height: 37px;
    width: 101px;
    margin-bottom: 15px;
    position: relative;
    }

#search-box .center input {
    width: 384px;
    height: 25px;
    font-size: 18px;
    padding-left: 5px;
    padding-right: 5px;
    }

#search-box .center button {
    font-size: 18px;
    padding: 2px;
    }

#search-box .bottom {
    width: 593px;
    height: 98px;
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -133px;
    }
#external-links {
    overflow: auto;
    width: 605px;
    text-align: center;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}
.bottom-links {
    height: 30px;
    text-align: left;
    padding-top: 8px;
    display: inline-block;
    background: blue;
    margin-right: 20px;
}
.bottom-links a {
    text-decoration: none;
    color: gray;
    padding: 10px 0 10px 40px;
}
.bottom-links a:hover {
    color: #e24912;
}
#help-link {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -450px;
}
#help-link:hover {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -490px;
}
#shop-link {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -365px;
}
#shop-link:hover {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -407px;
}
#community-link {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -530px;
}
#community-link:hover {
    background: url(http://start.ubuntu.com/10.04/sprite.png) no-repeat;
    background-position: -10px -570px;
}
</style>
</head>
<body>
    <div id="search-box">
        <div id="ubuntu-branding"></div>
        <div class="top"></div>
        <div class="center">
            <div class="padding">
                <h1 class="logo"><a href="http://www.google.com">&nbsp;</a></h1>
                <form method="get" action="search/" name="search">
                <input type="hidden" name="cx" value="partner-pub-9300639326172081:c6lzq8-dhwz" />
                <input type="hidden" name="ie" value="UTF-8" />
                <input type="hidden" name="sa" value="Search" />
                <input type="hidden" name="cof" value="FORID:11" />
                <input name="q" value="" id="sbi" />
                <input type="hidden" name="hl" value="zh-tw" />
                <button>搜尋</button>
                </form>
            </div>
        </div>
        <div class="bottom"></div>
        <div id="external-links">
            <div id="help-link" class="bottom-links"><a href="https://help.ubuntu.com">Ubuntu 幫助 &gt;</a></div>
            <div id="shop-link" class="bottom-links"><a href="http://shop.ubuntu.com">Ubuntu 商店 &gt;</a></div>
            <div id="community-link" class="bottom-links"><a href="http://www.ubuntu.com/community">Ubuntu 社群 &gt;</a></div>
        </div>
    </div><!-- close search-box -->
<script type="text/javascript">
//<![CDATA[
focus_search();
//]]>
</script>
</body>
</html>