-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvipie-artikel.html
218 lines (200 loc) · 10 KB
/
vipie-artikel.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
217
218
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Vipie - DezeVipie</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<style>
body{
background: url('img/artikel-bg.jpg');
background-size: cover;
background-position: 0%;
background-attachment: fixed;
overflow: hidden;
}
footer{
position: absolute;
bottom: -150px;
height: 162px;
background: #333;
width: 100%;
}
.home-button-wrapper{
position: absolute;
bottom: 21px;
height: 120px;
padding-top: 21px;
padding-left: 21px;
float: left;
}
.article-list{
height: 120px;
width: 60%;
overflow-x: hidden;
position: relative;
float: left;
display: inline-block;
}
.article-wrapper{
width: 70%;
text-align: center;
float: right;
margin-top: 24px;
}
.article-list ul{
width: auto;
height: 100%;
display: block;
padding: 0px;
margin: 0 auto;
white-space: nowrap;
}
.article-list ul li{
display: inline-block;
height: 100%;
width: 120px;
margin: 0 12px;
}
.button{
float: left;
display: block;
height: 120px;
width: 23px;
background: url("img/arrows.png");
background-repeat: no-repeat;
opacity: 0.6;
}
.button:hover{
opacity: 1;
}
#before{
background-position: bottom;
}
#after{
background-position: top;
margin-left: 12px;
}
article{
background: rgba(0,0,0,0.5);
color: white;
width: 27%;
max-height: 70%;
overflow-x: hidden;
overflow-y: scroll;
padding: 17px 17px;
/*border-bottom: 17px solid rgba(0,0,0,0);*/
/*border-top: 17px solid rgba(0,0,0,0);*/
position: absolute;
top: 7%;
right: 5%;
margin-bottom: 20px;
}
/* WE MIGHT WANT TO IMPLEMENT A JS SCROLLBAR... :/ */
/*Chrome scrollbar*/
article::-webkit-scrollbar { width: 15px; right: -20px; border: none;}
article::-webkit-scrollbar-button { display: none; background-color: #FFF; }
article::-webkit-scrollbar-track { background-color: rgba(0,0,0,0.3); border: none;}
article::-webkit-scrollbar-track-piece { display: none; background-color: rgba(0,0,0,0.3);}
article::-webkit-scrollbar-thumb { height: 150px; background-color: #FFF; border-radius: 0; border: none;}
article::-webkit-scrollbar-corner { display: none; background-color: #999;}}
article::-webkit-resizer { display: none; background-color: #666;}
article .title{
font-weight: bold;
font-size: 28px;
}
article p{
font-size: 20px;
}
</style>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<article>
<div class="title">Retrospect: Hanne's avonturen in Portugal.</div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis in sagittis urna. Vestibulum gravida id ante ut elementum. Quisque lectus tortor, cursus at ligula nec, lobortis blandit quam. Fusce iaculis arcu mi. Fusce fermentum, dui ut congue bibendum, lectus mi varius nisl, ut venenatis neque lacus nec sapien. Cras suscipit quam nulla, ac adipiscing nulla consectetur a. Curabitur ultrices sit amet ante in fermentum. Aliquam erat volutpat. Suspendisse et lobortis leo, sit amet vestibulum mauris. Nunc lacinia aliquam odio.
</p><p>
In hac habitasse platea dictumst. Suspendisse potenti. Sed vel velit lacus. Integer et leo vitae est tristique vehicula at eu magna. Donec rhoncus semper justo, eu varius felis ornare blandit. Curabitur purus purus, porta nec quam sed, ultrices pulvinar metus. Donec eget libero imperdiet, viverra massa at, pretium nunc. Cras tincidunt tortor vitae nisl facilisis, mattis suscipit metus cursus. Ut pellentesque dictum diam, vel suscipit nisl egestas non. Suspendisse non augue at justo fringilla fermentum. Nullam euismod libero a neque mollis elementum.</p><p>
In hac habitasse platea dictumst. Suspendisse potenti. Sed vel velit lacus. Integer et leo vitae est tristique vehicula at eu magna. Donec rhoncus semper justo, eu varius felis ornare blandit. Curabitur purus purus, porta nec quam sed, ultrices pulvinar metus. Donec eget libero imperdiet, viverra massa at, pretium nunc. Cras tincidunt tortor vitae nisl facilisis, mattis suscipit metus cursus. Ut pellentesque dictum diam, vel suscipit nisl egestas non. Suspendisse non augue at justo fringilla fermentum. Nullam euismod libero a neque mollis elementum.</p>
</article>
<footer>
<div class="article-wrapper">
<a class="button" id="before" href="#"></a>
<div class="article-list">
<ul>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
<li><a href="#"><img src="http://placehold.it/120x120" /></a></li>
</ul>
</div>
<a class="button" id="after" href="#"></a>
</div>
</footer>
<div class="home-button-wrapper">
<a href="#"><img src="img/vipie120.png" /></a>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script>
$(".button").click(function(event){
event.preventDefault();
if ($(this).attr('id')=="after") {
var leftPos = $('.article-list').scrollLeft();
$(".article-list").animate({scrollLeft: leftPos + 200}, 800);
}else{
var leftPos = $('.article-list').scrollLeft();
$(".article-list").animate({scrollLeft: leftPos - 200}, 800);
}
});
footerup = false;
$("footer").hover(function(){
if (footerup==false) {
footerup = true;
$("footer").css({backgroundColor: "rgba(255,255,255,0.3)"});
$("footer").animate({bottom: 0}, 200);
}
},function(){
if (footerup==true) {
footerup = false;
$("footer").animate({bottom: -150}, 200, function(){
$("footer").css({backgroundColor: "#333333"});
});
}
});
</script>
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src='//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>