rough first draft of v2!

This commit is contained in:
ari melody 2026-07-06 19:09:56 +01:00
parent 103bf3f1c3
commit dd04d44f47
Signed by: ari
GPG key ID: CF99829C92678188
29 changed files with 430 additions and 389 deletions

View file

@ -1,85 +1,60 @@
main {
width: min(calc(100% - 4rem), 720px);
width: min(calc(100% - 4rem), 900px);
min-height: calc(100vh - 10.3rem);
margin: 0 auto 2rem auto;
padding-top: 4rem;
}
main h1 {
line-height: 3rem;
color: var(--primary);
.fancyheader-inner {
display: flex;
justify-content: space-between;
.right {
margin-top: auto;
}
h1 .icon {
width: .5em;
height: .5em;
transform: translateY(-.3em);
animation: wiggle-loop 2s cubic-bezier(.4,0,.6,1) alternate infinite;
}
}
main h2 {
@media (prefers-color-scheme: dark) {
.fancyheader-inner h1 .icon {
filter: invert();
}
}
@keyframes wiggle-loop {
from { transform: translateY(-.3em) rotate(0deg); }
to { transform: translateY(-.3em) rotate(10deg); }
}
h2 {
color: var(--secondary);
}
main h3 {
h3 {
color: var(--tertiary);
}
div#me_irl {
width: fit-content;
height: fit-content;
border: 2px solid white;
}
div#me_irl img {
display: block;
}
div#me_irl::before {
content: "";
position: absolute;
width: 104px;
height: 104px;
transform: translate(2px, 2px);
background-image: linear-gradient(to top right,
var(--primary),
var(--secondary));
z-index: -1;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
small,
blockquote {
h1, h2, h3, h4, h5, h6, p, small, blockquote {
transition: background-color 0.1s;
&:hover {
background-color: #fff1;
}
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
color: inherit;
}
h1, h2, h3, h4, h5, h6 {
a {
color: inherit;
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
text-decoration: none;
}
main h1:hover,
main h2:hover,
main h3:hover,
main h4:hover,
main h5:hover,
main h6:hover,
main p:hover,
main small:hover,
main blockquote:hover {
background-color: #fff1;
&:hover {
text-decoration: none;
}
}
}
blockquote {
@ -97,45 +72,48 @@ hr {
}
ul.platform-links {
padding-left: 1em;
display: flex;
gap: .5em;
flex-wrap: wrap;
margin: 0 0 0 auto;
padding: 0;
li {
list-style: none;
a {
padding: .5em;
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
transition-property: background-color, box-shadow;
transition-duration: .2s;
animation:
social-button-bouncein .5s forwards cubic-bezier(0, 1.5, .5, 1),
social-button-fadein .2s forwards ease-out;
opacity: 0;
img {
height: 1em;
width: 1em;
}
&:hover {
background-color: var(--on-background) !important;
box-shadow: 0 0 1em var(--on-background);
text-decoration: none;
}
}
}
}
ul.platform-links li {
list-style: none;
@keyframes social-button-bouncein {
from { transform: translateY(1em); }
to { transform: none; }
}
ul.platform-links li a {
padding: .4em .5em;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: .5em;
border: 1px solid var(--links);
color: var(--links);
border-radius: 2px;
background-color: transparent;
transition-property: color, border-color, background-color, box-shadow;
transition-duration: .2s;
animation-delay: 0s;
animation: list-item-fadein .2s forwards;
opacity: 0;
}
ul.platform-links li a:hover {
color: #eee;
border-color: #eee;
background-color: var(--links) !important;
text-decoration: none;
box-shadow: 0 0 1em var(--links);
}
ul.platform-links li a img {
height: 1em;
width: 1em;
@keyframes social-button-fadein {
from { opacity: 0; }
to { opacity: 1; }
}
ul#projects {