Skip to content

Commit

Permalink
restore original ferase.github.io after inktrinket migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferase committed May 30, 2024
1 parent a63f930 commit e523f01
Show file tree
Hide file tree
Showing 447 changed files with 16,974 additions and 5,235 deletions.
228 changes: 117 additions & 111 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,119 +1,125 @@
<!DOCTYPE html>
<html lang="en">
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404! - inktrinket</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>You've Fallen Too Far...</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
@font-face {
font-family: 'Alternate';
src: url('/Fonts/AAAlternate.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'RockwellStd-Condensed';
src: url('/Fonts/RockwellStd-Condensed.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
body{
color: #fff;
background: #000;
overflow: hidden;
text-align: center;
}
footer{
display: block;
width: 100%;
position: fixed;
bottom: 0;
padding-bottom: 8em;
}
#abyssContainer{
display: block;
position: fixed;
width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
h1{
font-family: 'Alternate',serif;
font-size: 10rem;
color: #fff;
}
h2{
font-family: 'RockwellStd-Condensed',serif;
font-size: 3rem;
line-height: 0em;
color: #888;
}
a{
font-family: 'RockwellStd-Condensed',serif;
font-size: 3rem;
text-decoration: none;
transition: color .1s linear;
color: #bbb;
}
a:hover, a:active{
color: #fff;
}

<link rel="preload" href="/main.js" as="script"/>
<link rel="preload" href="/core.css" as="style"/>
<link rel="preload" href="/fonts.css" as="style"/>

<script type="text/javascript" src="/main.js"></script>
<link href="https://use.typekit.net/qko7viz.css" rel="preload" as="style" onload="this.rel='stylesheet'">
<link rel="stylesheet" href="/core.css">
<link rel="stylesheet" href="/fonts.css">

<style type="text/css">

/* General grid */
.grid-main{
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto;
place-items: center;
gap: var(--space-small);
max-width: 50%;
margin: 0 auto;
height: 100vh;
}

.grid-main > div{
text-align: center;
display: grid;
gap: var(--space-largest);
position: relative;
}
.grid-main > div a{
max-width: 25%;
margin-inline: auto;
}
.grid-main > div a img{
max-width: 100%;
@media all and (max-width: 600px){
h1{
font-size: 8rem;
line-height: 1em;
}
.grid-main > div h1{
font-variation-settings: "wght" 600, "wdth" 100, "slnt" 0;
font-size: calc(var(--txt-h1) * 2);
}

.q-mark,.q-mark::before,.q-mark::after{
--font-size: calc(var(--txt-h1));
--font-mod: 1rem;

position: absolute;
font-family: "acumin-variable", sans-serif;
font-size: var(--font-size);
transform: translate(-50%, -50%);
pointer-events: none;
user-select: none;
}
.q-mark::before,.q-mark::after{
content: "?";
h2{
font-size: 2rem;
}
}
</style>
</head>

.q-mark__l{
font-variation-settings: "wght" 200, "wdth" 100, "slnt" 0;
top: 50%;
left: 35%;
}
.q-mark__l::before{
font-variation-settings: "wght" 100, "wdth" 100, "slnt" 0;
top: 150%;
left: -30%;
font-size: calc(var(--font-size) - var(--font-mod));
}
.q-mark__l::after{
font-variation-settings: "wght" 400, "wdth" 100, "slnt" 0;
top: 105%;
left: 180%;
font-size: calc(var(--font-size) + var(--font-mod));
}
<body>
<main id="abyssContainer">
<h2><span id="abyssFlavor"></span></h2>
<h1>404</h1>
</main>

<footer>
<a href="index.html">Home</a>
</footer>

<script>
var num = Math.floor(Math.random() * 10);

.q-mark__r{
font-variation-settings: "wght" 400, "wdth" 100, "slnt" 0;
top: 50%;
left: 65%;
font-size: calc(var(--font-size) + var(--font-mod));
}
.q-mark__r::before{
font-variation-settings: "wght" 200, "wdth" 100, "slnt" 0;
top: 130%;
left: 110%;
}
.q-mark__r::after{
font-variation-settings: "wght" 100, "wdth" 100, "slnt" 0;
top: 90%;
left: 230%;
font-size: calc(var(--font-size) - var(--font-mod));
if(num == 0){
document.getElementById("abyssFlavor").innerText =
'All pits have a bottom';
} else if(num == 1){
document.getElementById("abyssFlavor").innerText =
'Seems you\'ve reached the bottom';
} else if(num == 2){
document.getElementById("abyssFlavor").innerText =
'You\'ve fallen too far...';
} else if(num == 3){
document.getElementById("abyssFlavor").innerText =
'The Pit is deep, but not that deep';
} else if(num == 4){
document.getElementById("abyssFlavor").innerText =
'Seems you\'ve fallen too far';
} else if(num == 5){
document.getElementById("abyssFlavor").innerText =
'Nothing is here...';
} else if(num == 6){
document.getElementById("abyssFlavor").innerText =
'How did you get here?';
} else if(num == 7){
document.getElementById("abyssFlavor").innerText =
'Nothing could be found';
} else if(num == 8){
document.getElementById("abyssFlavor").innerText =
'Nothing exists here...';
} else if(num == 9){
document.getElementById("abyssFlavor").innerText =
'Did you make a mistake?';
}

</style>
</head>
<body>

<div id="main_wrapper">
<!-- Night Light -->
<input id="night-light" type="checkbox"><label id="night-light-label" for="night-light" data-invert-dark="true"></label>

<div class="grid-main">
<div>
<div class="q-mark q-mark__l">?</div>
<a href="/index.html" title="go home" aria-label="Return to home page"><img src="/img/error.png" alt="inktrinket go home" data-invert-dark="true"></a>
<div class="q-mark q-mark__r">?</div>
<h1>404?</h1>
</div>
</div>
</div>

</script>
</body>
</html>
</html>
Loading

0 comments on commit e523f01

Please sign in to comment.