You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
4.0 KiB
HTML

4 years ago
<!DOCTYPE html>
4 years ago
<html lang="en">
4 years ago
<head>
4 years ago
<meta charset="UTF-8">
<title>XPUB COOKBOOK</title>
<meta property="og:title" content="XPUB COOKBOOK" />
4 years ago
4 years ago
<meta name="description" content="An electric zine" />
<meta property="og:description" content="An electric zine" />
<meta property="og:image" content="http://issue.xpub.nl/15/cookbook.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="spa.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;
background-image: url("table.gif");
background-repeat: no-repeat;
background-size: cover;
}
#loading {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-image: url("table.gif");
background-repeat: no-repeat;
background-size: cover;
}
ul {
padding: 0;
margin: 0;
list-style: none;
position: absolute;
top: 5%;
right: 0;
left: 0;
bottom: 0;
width: 100%;
height: 90%;
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: 95%;
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);
}
#audio {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 10000;
}
audio{
width: 100%;
}
a{
position: absolute;
top: 3%;
right: 2%;
padding: 0.5vw;
font-size: 0.75vw;
background-color: white;
color: black;
font-family: monospace;
}
</style>
4 years ago
</head>
<body>
4 years ago
<noscript>This electric zine requires javascript to be enabled.</noscript>
<div id="loading">loading zine...</div>
4 years ago
4 years ago
<a onClick="openTab(this)" href="cookbook.pdf" name="cookbook.pdf">PDF</a>
4 years ago
4 years ago
<div id="audio"><audio controls>
<source src="http://echo.lurk.org:999/cookbook" type="audio/mpeg" controls autoplay>
</audio></div>
<script src="ezmreader.js">
function openTab(th)
{
window.open(th.name,'_blank');
}
</script>
4 years ago
</body>
4 years ago
</html>