build site via zola

This commit is contained in:
Nico 2025-05-25 15:45:17 +10:00
parent 0ebd2218fd
commit beccccb61f
11 changed files with 199 additions and 48 deletions

View file

@ -1,165 +0,0 @@
<!DOCTYPE html>
<html lang="en-AU">
<head>
<title>astolfo.org</title>
</head>
<body>
<header>
<ul>
<li><a class="header-links" href="/store">store</a></li>
<li><a class="header-links" href="/blog">blog</a></li>
<li><a class="header-links" href="/services">services</a></li>
<li><a class="header-links" href="/about">about</a></li>
</ul>
</header>
<div id="landing" style="height: 70vh; max-height: 70vh;">
<div id="landing-inner">
<h1 id="float-header">
<span style="animation-delay: 0.1s;">a</span>
<span style="animation-delay: 0.2s;">s</span>
<span style="animation-delay: 0.3s;">t</span>
<span style="animation-delay: 0.4s;">o</span>
<span style="animation-delay: 0.5s;">l</span>
<span style="animation-delay: 0.6s;">f</span>
<span style="animation-delay: 0.7s;">o</span>
<span style="animation-delay: 0.8s;">.</span>
<span style="animation-delay: 0.9s;">o</span>
<span style="animation-delay: 1s; ">r</span>
<span style="animation-delay: 1.1s;">g</span>
</h1>
</div>
</div>
<footer>
<marquee id="footer-scroll" style="font-size: 13vw; width: 50%; box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset; background-color: var(--accent2); border-radius: var(--rounding)">astolfo.org</marquee>
<!-- idk put astolfo in a train here, learn pixel art someday -->
<div>
<p>all text, html and css licensed under BSD0 unless noted otherwise.</p>
<hr>
<p>site build at commit [PUT COMMIT HERE]. source avaliable at git.astolfo.org/nico/astolfo.org</p>
</div>
</footer>
</body>
</html>
<style>
:root {
--text: black;
--accent: #ff69b4;
--accent2: #FA7DBC;
--background: #fba0e3;
--rounding: 8em;
}
body {
padding: 0px;
margin: auto;
height: 100vh;
background-image: url("background.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
header {
margin: 1em;
padding: 0.5em;
padding-left: 0.5em;
padding-right: 3em;
border-radius: var(--rounding);
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
background-color: var(--background);
width: fit-content;
}
header ul {
list-style-type: none;
}
header li{
display: inline;
}
.header-links {
transition-duration: 0.3s;
padding: 0.3em;
display: inline-block;
border-radius: var(--rounding);
text-decoration: none;
color: var(--text);
}
.header-links:hover {
background-color: var(--accent);
scale: 250%;
transform: translateY(-5px) rotate(-7deg);
margin-left: 2em;
margin-right: 2em;
}
footer {
color: var(--text);
background-color: var(--background);
display: flex;
margin: 0px;
padding: 30px;
border-top-right-radius: var(--rounding);
border-top-left-radius: var(--rounding);
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
footer * {
padding-left: 30px;
}
#landing-inner {
border-radius: var(--rounding);
background-color: var(--background);
width: 80vw;
margin: auto;
box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
}
#float-header {
text-align: center;
font-size: 12vw;
align-content: center;
}
#float-header span {
display: inline-block;
animation: float 3s ease-in-out infinite;
color: var(--accent2);
-webkit-text-stroke: 0.01em var(--text);
padding: 0px;
margin-left: -0.2em;
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
@media (max-width: 1000px) {
footer {
flex-direction: column;
}
footer marquee {
width: auto !important;
}
}
</style>