-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
200 lines (182 loc) · 8.37 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="terapixel project - mosaic images">
<meta name="twitter:site" content="@bennet0496" />
<meta name="twitter:creator" content="@bennet0496" />
<meta property="og:title" content="terapixel.me - mosaic images" />
<meta property="og:description" content="View zoomable mosaic images" />
<meta name="twitter:card" content="summary_large_image"></meta>
<meta property="og:url" content="https://terapixel.me/" />
<meta name="generator" content="Jekyll v4.1.1">
<title>terapixel</title>
<link rel="shortcut icon" href="https://terapixel.me/favicon.ico" type="image/x-icon">
<link rel="canonical" href="https://terapixel.me/">
<!-- CSS only -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="css/font-awesome.css">
<meta name="theme-color" content="#563d7c">
<style>
#shadow{
box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
z-index: -1;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: #333;
}
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.timer{
width: auto;
font-size: 16px;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
.rotate {
width: 120px;
height: 120px;
-webkit-animation:spin 4s linear infinite;
-moz-animation:spin 4s linear infinite;
animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
</style>
<!-- Custom styles for this template -->
<link href="cover.min.css" rel="stylesheet">
</head>
<body class="text-center">
<div id="shadow"></div>
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="masthead">
<div class="inner">
<h3 class="masthead-brand"><img src="logo_head.webp" width="150"/></h3>
<nav class="nav nav-masthead justify-content-center">
<a class="nav-link" href="/docs">docs</a>
<a class="nav-link" href="/imprint.html">imprint</a>
<a class="nav-link" href="/dataprotection.html">privacy statement</a>
</nav>
</div>
</header>
<main role="main" class="inner cover">
<h1 class="cover-heading">Welcome to the terapixel-mosaic-image project.</h1>
<p class="lead">Take a look at the documentation or the available images.</p>
<p class="lead">
<a href="https://docs.terapixel.me/" class="btn btn-lg btn-secondary">documentation</a>
</p>
<div class="row">
<div class="card" style="width: 16rem;">
<div class="imgcontainer card-img-top">
<img src="0072.jp2" class="image" alt="...">
<div class="imgoverlay">
<div class="text"><span class="timer" data-to="Nov 14, 2020 08:01:00 UTC" ></span></div>
</div>
</div>
<div class="card-body">
<p class="card-text">Unus Annus Mosaic. 1.2 million frames combinded into one. Gone Nov. 14, 2020. Clock is ticking</p>
<a href="https://images.terapixel.me/0072.jpg/" target="_blank" class="btn btn-primary">open</a>
<a href="https://images.terapixel.me/0072.jpg/stats.html" target="_blank" class="btn btn-secondary">stats</a>
</div>
</div>
<div class="card" style="width: 16rem;">
<div class="imgcontainer card-img-top">
<img src="unus_annus.jp2" class="image" alt="...">
<div class="imgoverlay">
<div class="text"><span class="timer" data-to="Nov 14, 2020 08:01:00 UTC" ></span></div>
</div>
</div>
<div class="card-body">
<p class="card-text">Unus Annus Mosaic. 1.2 million frames combinded into one. Gone Nov. 14, 2020. Clock is ticking</p>
<a href="https://images.terapixel.me/unus_annus.jpg/" target="_blank" class="btn btn-primary">open</a>
<a href="https://images.terapixel.me/unus_annus.jpg/stats.html" target="_blank" class="btn btn-secondary">stats</a>
</div>
</div>
<div class="card" style="width: 16rem;">
<div class="imgcontainer card-img-top">
<img src="0179.jp2" class="image" alt="...">
<div class="imgoverlay">
<div class="text"><span class="timer" data-to="Nov 14, 2020 08:01:00 UTC" ></span></div>
</div>
</div>
<div class="card-body">
<p class="card-text">Unus Annus Mosaic. 3.9 million frames combinded into one. Gone Nov. 14, 2020. Clock is ticking</p>
<a href="https://images.terapixel.me/0179.jpg/" target="_blank" class="btn btn-primary">open</a>
<a href="https://images.terapixel.me/0179.jpg/stats.html" target="_blank" class="btn btn-secondary">stats</a>
</div>
</div>
<div class="card" style="width: 16rem;">
<div class="imgcontainer card-img-top">
<img src="placeholder.jp2" class="image" alt="...">
<div class="imgoverlay">
<div class="text"><i class="rotate" data-feather="settings"></i></div>
</div>
</div>
<div class="card-body">
<p class="card-text">Want to see more? Hit me up on</p>
<a href="https://twitter.com/bennet0496" target="_blank" class="btn btn-sm btn-primary"><i class="fa fa-twitter"></i> twitter</a>
<a href="https://reddit.com/u/bennet0496" target="_blank" class="btn btn-sm btn-primary"><i class="fa fa-reddit"></i> reddit</a>
<a href="mailto:[email protected]" target="_blank" class="btn btn-sm btn-primary"><i class="fa fa-envelope"></i> mail</a>
</div>
</div>
</div>
<div class="clear"></div>
</main>
<footer class="mastfoot mt-auto">
<div class="inner">
<p>Project by <a href="https://twitter.com/bennet0496">@bennet0496</a>, with Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
</div>
</footer>
</div>
</body>
<!-- JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
feather.replace()
</script>
<script>
$(".timer").each(function(){
// Set the date we're counting down to
var datestr = $(this).data("to");
var countDownDate = new Date(datestr).getTime();
// Update the count down every 1 second
var x = setInterval(function(countDownDate, dst) {
// Get today's date and time
var date = new Date();
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now ;//+ (date.getTimezoneOffset() * 60 * 1000);
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="demo"
dst.html(days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ");
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
dst.html("EXPIRED");
}
}, 1000, countDownDate, $(this));
});
</script>
</html>