-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathindex.html
189 lines (165 loc) · 3.8 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" prefix="og: http://ogp.me/ns#" > <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" prefix="og: http://ogp.me/ns#"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Demonstration of Nanimator Library - Brought to you by Happy Monster</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:400">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900">
<link href='http://fonts.googleapis.com/css?family=Bangers' rel='stylesheet' type='text/css'>
<script src='js/jquery-1.10.2.js'></script>
<script src='js/jquery.transit.js'></script>
<script src='js/jquery.nanimator.js'></script>
<style type="text/css">
body{
/*height: 10000px;*/
padding: 0px;
margin: 0px;
font-family: "Lato";
background-color: #2980b9;
}
.container{
width: 800px;
margin: auto;
margin-top: 50px;
}
ul.slider{
list-style-type: none;
position: relative;
padding: 0px;
margin: 0px;
width: 800px;
height: 350px;
background-color: #fff;
overflow: hidden;
font-family: 'Bangers', cursive;
}
ul.slider li.slide{
position: absolute;
list-style-type: none;
padding: 0px;
margin: 0px;
width: 800px;
overflow: hidden;
height: 350px;
}
ul.slider li.slider div.element{
position: absolute;
}
/** content **/
.content{
margin-top: 150px;
margin-left: 100px;
width: 700px;
display: none;
}
h1, h2{
font-family: "Source Sans Pro",sans-serif;
color: #333;
padding: 0px;
margin: 0px;
font-weight: normal;
}
h1{
font-weight: 900;
font-size: 24px;
}
h2{
font-size:26px;
}
p{
color: #ecf0f1;
font-family: "Lato";
line-height: 28px;
font-size: 15px;
padding-top: 50px;
}
p.credit{
padding-top: 20px;
font-size: 12px;
}
p a{
color: #ecf0f1;
}
.hcolor{
color:#c0392b;
}
/** fork icon**/
.fork{
position: absolute;
top:0px;
left: 0px;
}
/** Elements Def**/
#slide1{
padding-top: 60px;
}
#slide1 h1{
position: relative;
text-align: center;
margin-top: 20px;
font-weight: normal;
}
/** Links **/
div.links{
width: 600px;
margin: auto;
margin-top: 50px;
text-align: center;
}
div.links a{
text-decoration: none;
color: #eee;
font-size: 14px;
text-transform: uppercase;
}
div.links a:hover{
text-decoration: underline;
color: #eee;
}
/** Footer **/
.footer{
width: 300px;
margin: auto;
margin-top: 100px;
text-align: center;
}
.footer h2{
font-size: 14px;
text-transform: uppercase;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="container">
<ul class="slider">
<li class="slide" id="slide1">
<h1 class="nanimate">Say Hello To Nanimator!</h1>
<h1 class="nanimate">Welcome to the world of <span class="hcolor">Nanimations</span></h1>
<h1 class="nanimate">Where Beautiful <span class="hcolor">N</span>ano A<span class="hcolor">nimations</span> Are done in 2KB Only!</h1>
<h1 class="nanimate">It's time to see a few more examples.</h1>
</li>
</ul>
</div>
<div class="links">
<a href='index.html'> Example 1 </a> ○
<a href='index2.html'> Example 2 </a> ○
<a href='index3.html'> Example 3 </a> ○
<a href='index4.html'> Example 4 </a>
</div>
<div class="footer">
<h2>Brought to You By</h2>
<a href="https://www.facebook.com/happymonsterbiz" target="_blank"><img src="img/happy-monster.png" alt=""></a>
</div>
<script type='text/javascript'>
$(document).ready(function(){
$("#slide1").nanimate({delay:true});
})
</script>
</body>
</html>