critter box overhaul

This commit is contained in:
sundae 2025-09-10 13:13:20 +03:00
parent d6c0697966
commit e31d782995
No known key found for this signature in database
408 changed files with 3497 additions and 222 deletions

View file

@ -7,21 +7,26 @@
transform: translateY(-4px);
}
}
@keyframes slide {
0% {
background-position: 0% 100%;
}
100% {
background-position: 200% 100%;
}
0% {
background-position: 0% 100%;
}
100% {
background-position: 200% 100%;
}
}
article#bio {
& ul {
margin: 0 var(--pad-xl);
}
& li {
display: flex;
}
& span[id] {
color: transparent;
background-clip: text;
@ -30,12 +35,14 @@ article#bio {
background-position: 0% 50%;
animation: slide 5s linear infinite;
transition: var(--trans);
&:hover {
opacity: 1;
color: var(--dark);
background-clip: initial;
}
}
& img[alt] {
height: 24px;
display: inline-flex;
@ -43,6 +50,7 @@ article#bio {
align-self: center;
}
}
article#badges {
& ul {
gap: 1rem;
@ -50,6 +58,7 @@ article#badges {
display: flex;
flex-wrap: wrap;
}
& a {
display: flex;
padding: inherit;
@ -57,9 +66,11 @@ article#badges {
background-color: unset;
}
}
article#bio ul {
padding: 0;
}
article#bio ul li {
&::before {
content: "";
@ -71,10 +82,12 @@ article#bio ul li {
mask-repeat: no-repeat;
margin: var(--pad-sm) 0 0 calc(var(--pad-xl)*-1);
}
&::marker {
content: none;
}
}
article#interests ul {
display: flex;
flex-wrap: wrap;
@ -85,15 +98,19 @@ article#interests {
margin: 0;
padding: var(--pad-l) 0;
}
& details:last-child ul {
padding: var(--pad-l) 0 0 0
}
& li {
display: flex;
& a {
padding: var(--pad-sm);
background: transparent;
}
& span {
display: flex;
width: 14ch;
@ -101,21 +118,26 @@ article#interests {
justify-content: center;
}
}
& details h3 {
border-bottom-width: 1px;
border-bottom-style: solid;
}
& div:has(img) {
margin: 0 auto;
width: fit-content;
}
.music img {
height: 48px;
}
.manga img {
height: 128px;
}
}
#pkmn {
display: flex;
flex-wrap: wrap;
@ -130,42 +152,42 @@ article#interests {
border-width: 3px;
border-style: solid;
margin: var(--pad-l) 0 0 0;
& img {
image-rendering: pixelated;
&>* {
display: flex;
margin-top: -8px;
&:hover {
filter: drop-shadow(0 -2px 0 #fff) drop-shadow(0 2px 0 #fff)
drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
drop-shadow(0 2px 3px #0006);
filter: drop-shadow(0 -2px 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 3px #0006);
animation: jump 200ms infinite alternate;
}
}
}
#agender {
background-image: linear-gradient(
var(--flag),
#000 0 14.28%,
#c0c0c0 0 28.57%,
#fff 0 42.85%,
#a3fa73 0 57.14%,
#fff 0 71.42%,
#c0c0c0 0 85.71%,
#000 0
);
background-image: linear-gradient(var(--flag),
#000 0 14.28%,
#c0c0c0 0 28.57%,
#fff 0 42.85%,
#a3fa73 0 57.14%,
#fff 0 71.42%,
#c0c0c0 0 85.71%,
#000 0);
}
#aromantic {
background-image: linear-gradient(
var(--flag),
#0a2 20%,
#7d6 0 40%,
#fff 0 60%,
#a9a9a9 0 80%,
#000 0
);
background-image: linear-gradient(var(--flag),
#0a2 20%,
#7d6 0 40%,
#fff 0 60%,
#a9a9a9 0 80%,
#000 0);
}
#pansexual {
background-image: linear-gradient(var(--flag), #f09 33.33%, #ffd700 0 66.66%, #00bfff 0);
}
#interests div:has(img)::after {
#interests div:has(img)::after {
content: "";
background-image: url("/assets/img/icon/shortcut.png");
background-size: 100%;
@ -177,15 +199,18 @@ article#interests {
margin: -1.5rem 0 0 -0.5rem;
pointer-events: none;
}
@media screen and (max-width: 920px) {
article#interests {
display: flex;
flex-direction: column;
& ul {
justify-content: center;
}
& li a {
padding: 0;
}
}
}
}