-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·216 lines (196 loc) · 5.59 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
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<script language="javascript" type="text/javascript" src="jquery-1.11.0.min.js"></script>
<script language="javascript" type="text/javascript" src="p5.js"></script>
<script language="javascript" type="text/javascript" src="p5.sound.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<script type="text/javascript" src="script.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="animate.css">
<style>
body {
margin: 0;
padding: 0;
/* fallback */
background-color: #214926;
background-position: center center;
background-repeat: no-repeat;
/* Safari 4-5, Chrome 1-9 */
background: -webkit-gradient(linear, left top, right top, from(#000), color-stop(0.5, #214926), to(#000));
/* Safari 5.1+, Chrome 10+ */
background: -webkit-linear-gradient(left, #000, #214926, #000);
/* Firefox 3.6+ */
background: -moz-linear-gradient(left, #000, #214926, #000);
/* IE 10 */
background: -ms-linear-gradient(left, #000, #214926, #000);
/* Opera 11.10+ */
background: -o-linear-gradient(left, #000, #214926, #000);
}
.album-art-wrapper {
display: none;
position: absolute;
bottom:412px;
left: 50%;
top:50%;
margin-top: -200px;
margin-left:-100px;
}
.album-art .links a{
position: absolute;
z-index: 1;
left:69px;
top:36px;
}
.fa-download {
width:40px;
color: #71b747;
}
#bandcamp img{
width:80px;
margin-left:-10px;
}
.bottle {
width: 200px;
z-index:2;
position: absolute;
}
#bottle-wrapper:hover {
cursor: pointer;
}
h1, h2{
font-family: Optima, Segoe, 'Segoe UI', Candara, Calibri, Arial, sans-serif;
/*color: #fff;*/
/*left:50%;*/
/*display: inline-block;*/
text-transform: uppercase;
/*text-shadow: 4px 0 9px rgba(255,255,255,0.51);*/
}
p {
font-family: Optima, Segoe, 'Segoe UI', Candara, Calibri, Arial, sans-serif;
color: #fff;
line-height:1.25em;
font-size: 14px;
margin:0;
font-weight:300;
text-transform:uppercase;
letter-spacing:0.25em;
}
#main {
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 300px;
width:500px;
text-align:center;
z-index: -1;
}
</style>
<style type="text/css">
h1 {
color:#d8b036;
font-size:20px;
line-height:1.25em;
margin:0;
font-weight:300;
letter-spacing:0.25em;
text-transform:uppercase;
}
#bandcamp h1 {
white-space: pre;
}
img {border:0;}
a {color:#ffcb05;text-decoration:none;}
a:hover {color:#fff;}
p {margin:0 0 1.5em 0;padding:0.5em 0 0 0;}
p.big {margin-bottom:3em;line-height:24px;}
img.strip {height:100%;width:auto;position:absolute;top:0;z-index:10;}
h1 img {position:absolute;left:-66px;top:-1px;width:56px;height:56px;}
#center {position:absolute;left:50%;margin-left:-500px;top:0;width:1000px;height:100%;background-image:url(assets/images/center.jpg);background-size:cover;z-index:1000;}
#download {position:absolute;top:50%;margin-top:-40px;left:110px;width:290px;z-index:1200;text-align:right;}
#bandcamp {position:absolute;top:50%;margin-top:-40px;left:605px;width:285px;z-index:1200;}
#bottle-wrapper {
position:absolute;
left:50%;
top:50%;
margin-top:-100px;
margin-left:-50px;
height:300px;
}
#bottle-wrapper img {
height:200px;
width:100px;
}
div.mobileonly {display:none;}
span.mobileonly {display:none;}
div.desktoponly {display:block;}
span.desktoponly {display:inline;}
@media only screen and (max-width:480px){
img.strip {display:none;}
@-ms-viewport {width:380px;zoom:auto;user-zoom:fixed;}
@-o-viewport {width:380px;zoom:auto;user-zoom:fixed;}
@viewport {width:380px;zoom:auto;user-zoom:fixed;}
div.mobileonly {display:block;}
span.mobileonly {display:inline;}
div.desktoponly {display:none;}
span.desktoponly {display:none;}
#center {left:0;margin-left:0;top:0;width:100%;}
#download, #bandcamp {position:relative;top:0;margin-top:0;left:0;width:300px;padding-left:48px;text-align:left;}
#download {margin-top:42px;}
#slash {left:0;top:0;margin-top:0;margin-left:0;height:100%;-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);overflow:hidden;}
}
</style>
<body>
<div id="center">
<div id="download">
<h1>A True Story That Seems Like a Lie</h1>
<a href="#">
<p>
Download the album
</p>
</a>
</div>
<div id="bottle-wrapper" onclick="toggleInput()">
<img src="images/cap.png" class="bottle cap">
<img src="images/play.png" class="bottle play">
<img src="images/pause.png" class="bottle pause" style="display: none;">
</div>
<div id="bandcamp">
<h1>A new album
By Atomisk</h1>
<a href="#">
<p>
Visit Bandcamp
</p>
</a>
</div>
</div>
<!-- <div id="main">
<div id="artist">
<h1>Atomisk</h1>
</div>
<div id="title">
<h2>A True Story That Seems Like a Lie</h2>
</div>
<div id="download"></div>
<div id="bandcamp"></div>
</div> -->
<!-- <div class="album-art-wrapper">
<div class="album-art">
<div class="bottle-wrapper">
<img src="images/cap.png" class="bottle cap">
<img src="images/bottle.png" class="bottle">
</div>
<div class="links">
<a href="http://bandcamp.com" id='bandcamp'><img src="images/bclogo.png"></a>
<a href="#" id='album'><i class="fa fa-download fa-4x"></i></a>
</div>
</div>
</div> -->
</body>
</head>
</html>