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.

161 lines
4.3 KiB
HTML

3 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XPUB SI15:7 COOKBOOK</title>
3 years ago
<meta property="og:title" content="XPUB COOKBOOK" />
<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%;
}
3 years ago
div#links {
3 years ago
position: absolute;
top: 3%;
right: 2%;
padding: 0.5vw;
font-size: 0.75vw;
3 years ago
}
a{
3 years ago
background-color: white;
color: black;
font-family: monospace;
}
</style>
</head>
<body>
<noscript>This electric zine requires javascript to be enabled.</noscript>
<div id="loading">loading zine...</div>
3 years ago
<div id="links">
<a onClick="openTab(this)" href="cookbook.pdf" name="cookbook.pdf">PDF</a>
<a target="_blank" href="https://pad.xpub.nl/p/cookbook">PAD</a>
<a target="_blank" href="http://echo.lurk.org:999/cookbook.ogg" name="cookbook.pdf">audio (direct)</a>
</div>
3 years ago
3 years ago
<div id="audio"><audio controls>
3 years ago
<source src="output_light.mp3" type="audio/mp3">
3 years ago
</audio>
</div>
3 years ago
<script src="ezmreader.js">
function openTab(th)
{
window.open(th.name,'_blank');
}
</script>
</body>
</html>