forked from tmcw/demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
129 lines (109 loc) · 1.92 KB
/
style.css
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
body {
font-family: "Helvetica Neue";
background:#eeeeee;
width:840px;
color:#333;
margin:10px auto;
}
h1 {
margin:0 0 20px 0;
font-weight:600px;
font-size:24px;
font-weight:300;
}
.page {
padding:20px;
border:1px solid #ddd;
background:#fff;
}
#container {
width: 800px;
height: 400px;
position: relative;
overflow: hidden;
}
#rot {
background:url(icon.png);
background-position:50% 50%;
background-repeat: no-repeat;
width: 1200px;
height: 900px;
position: absolute;
top: -250px;
left: -200px;
}
#rot.start {
cursor:hand;
}
#rot.start img {
opacity:0.2;
}
#center {
display: none;
position: absolute;
left: 380px;
top: 150px;
width: 40px;
height: 60px;
}
.ln {
-webkit-transition: width 0.15s linear;
}
#person-marker {
z-index:999;
width:40px;
height:60px;
background-image:url(http://stateofthemap.us/img/walk-cycle.png);
}
.dir-left { background-position-x: 110px; }
.dir-right { background-position-x: 40px; }
.dir-up { background-position-x: -70px; }
.frame-0 { background-position-y: -60px; }
.frame-1 { background-position-y: -120px; }
.frame-2 { background-position-y: -180px; }
.frame-3 { background-position-y: -240px; }
.frame-4 { background-position-y: -300px; }
.frame-5 { background-position-y: -360px; }
.frame-6 { background-position-y: -420px; }
.frame-7 { background-position-y: -480px; }
#stats {
width:800px;
overflow:hidden;
height:140px;
}
#alt {
height: 80px;
}
#speed, #heartbeat {
display:inline;
margin:0 20px 0 0;
color: #000;
font-size:24px;
line-height:30px;
font-weight:300;
}
span.label {
color: #777;
font-size:16px;
}
#heartbeat {
top: 200px;
}
path {
fill: #FC4C02;
stroke: white;
stroke-width: 3px;
}
#altext {
position: absolute;
top: 60px;
right: 20px;
color: white;
}
#my-slider {
position: absolute;
top: 620px;
left: 10px;
width: 800px;
visibility: hidden;
}