First commit

This commit is contained in:
Yuki 2023-10-16 15:08:01 -04:00
commit f33a561839
6 changed files with 179 additions and 0 deletions

BIN
bg.avif Normal file

Binary file not shown.

BIN
bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

41
index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rampart+One&family=Shantell+Sans:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<link rel="me" href="https://im-in.space/@Yuki">
<title>Yuki's website</title>
</head>
<body>
<main>
<div id="logo" title="Obverse: the kanji for my name. It's unusual since this character shouldn't exist and is widely regarded as a mistake by the JIS. Reverse: a purple-haired anime girl with round glasses that claims to be me. She looks cute.">
<div id="logo-inner">
<div id="logo-front"></div>
<div id="logo-back"></div>
</div>
</div>
<h1>Hi, I'm Yuki</h1>
<section>Programmer, writer, artist, casual hacker, average nerd, probably not in this order but sometimes at the same time</section>
<ul>
<li><a href="https://a39.ca" title="A creative studio based in Québec City, Canada.">a39 studios</a></li>
<li><a href="https://yukiis.moe" title="The life and tribulations of Yuki and Tsuki, a pair of foxgirls who have no idea of what they're doing.">horse life 98</a></li>
<li><a href="https://toasters.rocks" title="Sometimes I write things.">toasters rocks</a></li>
<li><a href="https://codewalr.us" title="A community of calculator hackers, game makers, and artists.">codewalrus</a></li>
<li><a rel="me" href="https://im-in.space/@Yuki" title="My main social media account. I don't really use any other social media aside from this one.">fediverse</a></li>
<li><a href="https://patreon.com/a39" title="Shut up and throw me money. Might send devlogs and exclusivities on my work in exchange.">patreon</a></li>
<li><a href="https://git.a39.ca/yuki" title="A repository of code I wrote. May contain sources for the above websites.">source code</a></li>
<li><a href="mailto:yuki@a39.ca" title="If you ever need to send me email, but that's probably a last resort, I guess.">mailto</a></li>
</ul>
<footer>
avatar by sutemo
<br/>website designed by Yuki
<br/>want one like this? hit me up!
<br/>made with &lt;3 in Québec City, Canada
</footer>
</main>
</body>
</html>

138
styles.css Normal file
View File

@ -0,0 +1,138 @@
body
{
font-family: 'Shantell Sans', cursive;
background: url("bg.jpg") #306;
background-size: cover;
background-position: center;
background-attachment: fixed;
text-align: center;
@supports (background-image: url("bg.avif"))
{
background-image: url("bg.avif");
}
}
main
{
background-color: rgba(255, 255, 255, 0.5);
color: black;
width: 960px;
margin: 16px auto;
border-radius: 1em;
padding: 0.5em;
}
#logo
{
background-color: transparent;
width: 256px;
height: 256px;
margin: auto;
margin-top: 6em;
margin-bottom: 4em;
perspective: 1000px;
}
#logo-inner
{
position: relative;
width: 100%;
height: 100%;
text-align: center;
vertical-align: middle;
transition: transform 0.8s;
transform-style: preserve-3d;
}
#logo:hover #logo-inner
{
transform: rotateY(-180deg);
}
#logo-front, #logo-back
{
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
font-family: "Rampart One", sans-serif;
background-color: white;
color: black;
border-radius: 50%;
box-shadow: 8px 8px 0px 2px black;
font-size: 160px;
}
#logo-back
{
background: url("yuki.png") white;
background-size: cover;
transform: rotateY(180deg);
@supports (background-image: url("yuki.avif"))
{
background-image: url("yuki.avif");
}
}
#logo-back video
{
width: 100%;
height: 100%;
border-radius: 50%;
}
h1
{
font-size: 3em;
font-weight: 600;
margin-bottom: 0;
}
ul
{
padding-left: 0;
margin-top: 3em;
margin-bottom: 3em;
}
li
{
width: 50%;
margin: 1em auto;
background-color: blueviolet;
list-style-type: none;
border-radius: 16px;
box-shadow: 6px 6px black;
transition: 0.2s;
}
li:hover
{
transform: translate(4px, 4px);
box-shadow: 2px 2px black;
}
li a, li a:visited
{
display: block;
text-decoration: none;
color: white;
width: 100%;
height: 100%;
padding: 0.5em 0;
}
@media screen and (max-width: 992px) {
main
{
width: calc(100% - 32px);
}
}
@media screen and (max-width: 600px) {
li
{
width: 100%;
}
}

BIN
yuki.avif Normal file

Binary file not shown.

BIN
yuki.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB