initial commit
This commit is contained in:
commit
c1b8edf525
4 changed files with 20492 additions and 0 deletions
20382
bundle.js
Normal file
20382
bundle.js
Normal file
File diff suppressed because one or more lines are too long
7
font.css
Normal file
7
font.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
@font-face {
|
||||
font-family: 'Pirata One';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(pirataone.ttf) format('truetype');
|
||||
}
|
103
index.html
Normal file
103
index.html
Normal file
|
@ -0,0 +1,103 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<script src="./bundle.js" async defer type="module"></script>
|
||||
<link href="font.css" rel="stylesheet">
|
||||
|
||||
<title>blub</title>
|
||||
<style>
|
||||
body {
|
||||
background-color: black;
|
||||
}
|
||||
* {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
0% {
|
||||
background-color: #ff000000;
|
||||
color: #ffffff00; /*nothing*/
|
||||
}
|
||||
|
||||
30% {
|
||||
background-color: #ff000055;
|
||||
}
|
||||
|
||||
to {
|
||||
background-color: #ff000055;
|
||||
color: #ffffffff; /*white*/
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadein30 {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
30% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadein50 {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
center {
|
||||
margin-top: 15%;
|
||||
padding-top: 5%;
|
||||
padding-bottom: 5%;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
background-color: #ff000055;
|
||||
|
||||
animation-iteration-count: 1;
|
||||
animation-name: fadein;
|
||||
animation-duration: 8s;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: "Pirata One", system-ui;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 5em;
|
||||
|
||||
animation: fadein30 8s;
|
||||
}
|
||||
|
||||
h2 {
|
||||
animation: fadein50 8s;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.onreadystatechange = _ => {
|
||||
if(document.readyState === "complete") {
|
||||
document.getElementById("thing").innerHTML = window.location.hash ? window.location.hash : "no hash specified"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<h1>Quest Complete</h1>
|
||||
<h2>=== <span id="thing">Placeholder Text</span> ===</h2>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
BIN
pirataone.ttf
Normal file
BIN
pirataone.ttf
Normal file
Binary file not shown.
Loading…
Reference in a new issue