111 lines
3.0 KiB
HTML
111 lines
3.0 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Reader for EZM</title>
|
||
|
<meta property="og:title" content="Reader for EZM" />
|
||
|
|
||
|
<meta name="description" content="An electric zine" />
|
||
|
<meta property="og:description" content="An electric zine" />
|
||
|
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<link rel="icon" href="./pages/FRONT.png" type="image/png" />
|
||
|
<link rel="apple-touch-icon" href="./pages/FRONT.png" type="image/png" />
|
||
|
<style>
|
||
|
html,
|
||
|
body {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
overflow: hidden;
|
||
|
font-family: sans-serif;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
#loading {
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
background-color: #f5f5f5;
|
||
|
}
|
||
|
|
||
|
ul {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
list-style: none;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
transform-style: preserve-3d;
|
||
|
user-select: none;
|
||
|
perspective-origin: center;
|
||
|
perspective: 1000px;
|
||
|
}
|
||
|
|
||
|
li {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
width: 50%;
|
||
|
height: 100%;
|
||
|
backface-visibility: hidden;
|
||
|
transform-style: preserve-3d;
|
||
|
transform-origin: center left;
|
||
|
transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
backface-visibility: hidden;
|
||
|
object-fit: contain;
|
||
|
object-position: center left;
|
||
|
transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||
|
}
|
||
|
li:nth-child(even) img {
|
||
|
object-position: center right;
|
||
|
}
|
||
|
|
||
|
li.depth-0 img {
|
||
|
transform: translateZ(0) scaleX(1);
|
||
|
}
|
||
|
li:nth-child(even) img {
|
||
|
transform: translateZ(0) scaleX(-1);
|
||
|
}
|
||
|
li.depth-1 img {
|
||
|
transform: translateZ(-2px) scaleX(1);
|
||
|
}
|
||
|
li.depth-1:nth-child(even) img {
|
||
|
transform: translateZ(-2px) scaleX(-1);
|
||
|
}
|
||
|
li.depth-2 img {
|
||
|
transform: translateZ(-4px) scaleX(1);
|
||
|
}
|
||
|
li.depth-2:nth-child(even) img {
|
||
|
transform: translateZ(-4px) scaleX(-1);
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<noscript>This electric zine requires javascript to be enabled.</noscript>
|
||
|
<div id="loading">loading zine...</div>
|
||
|
<script src="ezmreader.js"></script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|