134 lines
3.2 KiB
HTML
134 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<style>
|
|
@import url(https://fonts.bunny.net/css?family=azeret-mono:500);
|
|
|
|
:root {
|
|
--background: #2e3440;
|
|
--background-text: #3b4252;
|
|
--border: #5e81ac;
|
|
--border2: #b48ead;
|
|
--text: #eceff4;
|
|
--link: #88c0d0;
|
|
--link-visited: #81a1c1;
|
|
|
|
--padding: 10px 20px;
|
|
--margin: 4px;
|
|
--gap: 10px;
|
|
|
|
--radius: 4px;
|
|
}
|
|
|
|
html {
|
|
color: var(--text);
|
|
background-color: var(--background);
|
|
font-family: 'Azeret Mono', monospace;
|
|
}
|
|
|
|
body {
|
|
background-color: initial !important;
|
|
}
|
|
|
|
a {
|
|
color: var(--link);
|
|
}
|
|
|
|
a:visited {
|
|
color: var(--link-visited);
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
min-width: 100vw;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#content {
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header1 header1 header1"
|
|
"content1 content2 content3"
|
|
"footer1 footer2 footer3"
|
|
;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
grid-gap: var(--gap);
|
|
padding: var(--padding);
|
|
}
|
|
|
|
#content>div {
|
|
background: var(--background);
|
|
border: 4px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: var(--padding);
|
|
align-content: center;
|
|
}
|
|
|
|
#content>div:nth-child(2n) {
|
|
border: 4px solid var(--border2);
|
|
}
|
|
|
|
#background {
|
|
position: fixed;
|
|
z-index: -3;
|
|
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
|
|
color: var(--background-text);
|
|
opacity: 0.3;
|
|
|
|
aspect-ratio: 1/1;
|
|
|
|
transform-origin: top;
|
|
transform: scale(150%) rotate(-20deg) translateY(-25%);
|
|
|
|
align-content: center;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body style="background-color: #222;">
|
|
<div id="content">
|
|
<div class="header" style="grid-area: header1">something something snorre.net</div>
|
|
|
|
<div class="content" style="grid-area: content1">content</div>
|
|
<div class="content" style="grid-area: content2">content</div>
|
|
<div class="content" style="grid-area: content3">content</div>
|
|
|
|
<div class="footer" style="grid-area: footer1">cool fucking footer</div>
|
|
<div class="footer" style="grid-area: footer2; text-align: center"><a
|
|
href="https://nixwebr.ing/next/<name>">← prev</a> <a href="https://nixwebr.ing">nixwebr.ing</a>
|
|
<a href="https://nixwebr.ing/prev/<name>">next →</a>
|
|
</div>
|
|
<div class="footer" style="grid-area: footer3; text-align: center;">
|
|
<a href="https://512kb.club"><img style="aspect-ratio: 234.383/30" height=30
|
|
alt="a proud member of the green team of 512KB club"
|
|
src="https://512kb.club/assets/images/green-team.svg"></a>
|
|
</div>
|
|
</div>
|
|
<div id="background"></div>
|
|
<script>
|
|
(() => {
|
|
let str = "";
|
|
let terms = "${i} :3 Nix Linux Test Portchain Programming Rust C++ Openbirch Godot".split(" ");
|
|
for (let i = 0; i < 5000; i++) {
|
|
let idx = Math.floor(Math.random() * terms.length);
|
|
str += terms[idx] + " ";
|
|
}
|
|
document.getElementById("background").innerText = str;
|
|
})()
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|