This repository has been archived by the owner on Jun 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (87 loc) · 2.61 KB
/
index.html
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
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="utf-8">
<title>尋找您的民意代表</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">
<script type="text/javascript">
if (window.location.hostname === 'timdream.org') {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4623408-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
}
</script>
<style type="text/css">
body:lang(zh-tw) {
font-size: 15px;
}
@-webkit-keyframes rotate {
0% {
-webkit-transform: rotate(0);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes rotate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
#looking-up-location {
display: none;
}
.loading #looking-up-location {
display: inline-block;
-webkit-animation: rotate 1s linear infinite;
animation: rotate 1s linear infinite;
margin-left: 10px;
vertical-align: -1px;
}
body:not(.has-reps) #locate-me-block > button {
-webkit-transform: scale(2);
transform: scale(2);
margin: 2em 0;
}
@media (min-width: 768px) {
.address-selector {
width: 140px;
}
body:not(.has-reps) #locate-me-block {
margin: 200px 0 100px 0;
margin: 25vh 0 25vh 0;
}
}
@media (max-width: 768px) {
.pull-left {
float: none !important;
}
}
.rep img {
width: 128px;
margin: 1em;
background: #ccc;
}
</style>
</head>
<body>
<div class="container">
<div class="page-header">
<h1 id="rep-locator-title" class="text-center">投完票就忘了?<small>立刻尋找您的選區立委</small></h1>
</div>
<div class="alert alert-danger" role="alert">
<p>網站已暫時下架,因為需要第九屆立委的資訊。<a href="https://github.com/timdream/rep-locator">歡迎幫忙改版</a>!</p>
</div>
</body>
</html>