temp landing page

main
km0 3 years ago
parent 872c8a109a
commit 633504c31e

@ -0,0 +1,48 @@
* {
box-sizing: border-box;
}
:root {
--color: #8f00ff;
--light-color: #e8cdfe;
}
html,
body {
margin: 0;
}
body {
background-color: var(--light-color);
}
header {
width: 100%;
height: 100vh;
text-align: center;
color: var(--color);
font-family: Arial, Helvetica, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
h1 {
font-family: "SI17";
font-size: 64px;
text-transform: uppercase;
color: var(--color); /* Fallback color */
-webkit-text-fill-color: var(--light-color); /* Will override color (regardless of order) */
-webkit-text-stroke-width: 1.5px;
-webkit-text-stroke-color: var(--color);
}
.date {
font-size: 24px;
}
a {
color: currentColor;
}

Binary file not shown.

Binary file not shown.

@ -0,0 +1,8 @@
@font-face {
font-family: "SI17";
src: url("SpecialIssue17-Regular.woff2") format("woff2"),
url("SpecialIssue17-Regular.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@ -1,16 +1,50 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head> <title>SI17 - This box found you for a reason</title>
<body>
<!-- Primary Meta Tags -->
<title>SI17 - This box found you for a reason</title>
<meta name="title" content="SI17 - This box found you for a reason" />
<meta
name="description"
content="Gamification blurs the lines between play, leisure and labour, to release our collective dopamine for profit. Video games in themselves often perform a reproductive role, presenting capitalism as a system of natural laws, exemplified by in-game predatory monetisation schemes."
/>
<p style="font-size: large; text-align:center; margin-top: 2em"> <!-- Open Graph / Facebook -->
coming soon<br> <meta property="og:type" content="website" />
launch event 25 mar 2022 18:00 @ <a href="https://page-not-found.nl">page not found</a>, the hague <meta property="og:url" content="https://issue.xpub.nl/17/" />
</p> <meta property="og:title" content="SI17 - This box found you for a reason" />
<meta
property="og:description"
content="Gamification blurs the lines between play, leisure and labour, to release our collective dopamine for profit. Video games in themselves often perform a reproductive role, presenting capitalism as a system of natural laws, exemplified by in-game predatory monetisation schemes."
/>
<meta property="og:image" content="img/cover.jpg" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://issue.xpub.nl/17/" />
<meta property="twitter:title" content="SI17 - This box found you for a reason" />
<meta
property="twitter:description"
content="Gamification blurs the lines between play, leisure and labour, to release our collective dopamine for profit. Video games in themselves often perform a reproductive role, presenting capitalism as a system of natural laws, exemplified by in-game predatory monetisation schemes."
/>
<meta property="twitter:image" content="img/cover.jpg" />
<link rel="stylesheet" href="font/font.css" />
<link rel="stylesheet" href="css/global.css" />
<script src="js/color.js" defer></script>
</head>
<body>
<header>
<h1>This box <br />found you <br />for a reason</h1>
<div class="date">
launch event 25 mar 2022 18:00 <br />
@<a href="https://page-not-found.nl">page not found</a>, the hague
</div>
</header>
</body> </body>
</html> </html>

@ -0,0 +1,19 @@
let palettes = {
purple: {
color: "#8f00ff",
lightColor: "#E8CDFE",
},
orange: {
color: "#FFF",
lightColor: "#FF6100",
},
};
window.addEventListener("load", () => {
let shade = Math.random() > 0.5 ? "purple" : "orange";
color = palettes[shade]["color"];
lightColor = palettes[shade]["lightColor"];
document.documentElement.style.setProperty("--color", color);
document.documentElement.style.setProperty("--light-color", lightColor);
});
Loading…
Cancel
Save