initial commit
This commit is contained in:
commit
0ebd2218fd
3 changed files with 181 additions and 0 deletions
13
LICENSE
Normal file
13
LICENSE
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Zero-Clause BSD
|
||||
=============
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for
|
||||
any purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
||||
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
||||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# astolfo.org
|
||||
|
||||
the source code of astolfo.org
|
||||
165
src/index.html
Normal file
165
src/index.html
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue