website/_src/assets/css/default/home.css

162 lines
2.4 KiB
CSS
Raw Normal View History

2025-06-11 09:36:54 +03:00
@keyframes jump {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-4px);
}
}
2025-09-10 13:13:20 +03:00
2025-08-10 17:05:40 +03:00
article#bio {
2025-10-14 19:40:29 +03:00
& .emoji {
2025-09-09 18:12:57 +03:00
height: 24px;
2025-10-14 19:40:29 +03:00
width: 24px;
2025-09-09 18:12:57 +03:00
display: inline-flex;
margin: 0 0 0 var(--pad-sm);
align-self: center;
2025-10-14 19:40:29 +03:00
&::after,
img {
filter: drop-shadow(0 0 0.5px #000a);
}
2025-09-09 18:12:57 +03:00
}
2025-08-10 17:05:40 +03:00
}
2025-09-10 13:13:20 +03:00
2025-08-10 17:05:40 +03:00
article#badges {
& ul {
padding: 0;
display: flex;
flex-wrap: wrap;
2025-10-14 19:40:29 +03:00
gap: var(--pad-sm);
2025-08-10 17:05:40 +03:00
}
2025-09-10 13:13:20 +03:00
2025-08-10 17:05:40 +03:00
& a {
display: flex;
margin: 0;
2025-06-25 13:08:50 +03:00
}
2025-10-14 19:40:29 +03:00
& img {
box-sizing: content-box;
2025-06-25 13:08:50 +03:00
}
}
2025-09-10 13:13:20 +03:00
2025-08-10 17:05:40 +03:00
article#interests {
2025-10-14 19:40:29 +03:00
& ul {
display: flex;
flex-wrap: wrap;
2025-08-10 17:05:40 +03:00
margin: 0;
padding: var(--pad-l) 0;
}
& li {
display: flex;
2025-10-14 19:40:29 +03:00
width: 14ch;
flex-wrap: wrap;
text-align: center;
justify-content: center;
2025-09-10 13:13:20 +03:00
2025-08-10 17:05:40 +03:00
& a {
display: flex;
2025-10-14 19:40:29 +03:00
flex-direction: column;
padding: var(--pad-sm);
width: inherit;
&:not(:hover, :focus) {
background: transparent;
}
2025-08-10 17:05:40 +03:00
}
}
2025-10-14 19:40:29 +03:00
& .music img,
.games img {
height: 48px;
2025-08-10 17:05:40 +03:00
}
2025-09-10 13:13:20 +03:00
2025-10-14 19:40:29 +03:00
& .manga img {
height: 128px;
}
& span:has(img) {
2025-08-10 17:05:40 +03:00
width: fit-content;
2025-10-14 19:40:29 +03:00
margin: 0 auto;
&::after {
content: "";
background-image: url("/assets/img/icon/shortcut.png");
background-size: 100%;
display: block;
z-index: 1;
position: absolute;
width: 24px;
height: 24px;
margin: -1.5rem 0 0 -0.5rem;
pointer-events: none;
}
2025-08-10 17:05:40 +03:00
}
2025-09-10 13:13:20 +03:00
2025-10-14 19:40:29 +03:00
& details:last-child ul {
padding: var(--pad-l) 0 0 0;
2025-08-10 17:05:40 +03:00
}
2025-09-10 13:13:20 +03:00
2025-10-14 19:40:29 +03:00
& details h3 {
border-bottom-width: 1px;
border-bottom-style: solid;
2025-08-10 17:05:40 +03:00
}
}
2025-09-10 13:13:20 +03:00
2025-06-11 09:36:54 +03:00
#pkmn {
display: flex;
flex-wrap: wrap;
justify-content: center;
2025-06-11 09:36:54 +03:00
background-image: url("/assets/img/pkmn/bg/box.png");
border-radius: 5px;
width: fit-content;
2025-06-11 09:36:54 +03:00
border-bottom-color: #78a068;
border-left-color: #c8f8c0;
border-right-color: #78a068;
border-top-color: #c8f8c0;
border-width: 3px;
border-style: solid;
2025-08-10 17:05:40 +03:00
margin: var(--pad-l) 0 0 0;
2025-10-14 19:40:29 +03:00
& li {
2025-09-10 13:13:20 +03:00
display: flex;
margin-top: -8px;
2025-10-14 19:40:29 +03:00
margin-left: -12px;
2025-09-10 13:13:20 +03:00
2025-10-14 19:40:29 +03:00
& span: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 #000a);
2025-06-16 16:31:53 +03:00
animation: jump 200ms infinite alternate;
}
2025-06-11 09:36:54 +03:00
}
2025-10-14 19:40:29 +03:00
& li:first-child {
margin-left: 0px;
}
2025-06-11 09:36:54 +03:00
}
2025-09-10 13:13:20 +03:00
2025-06-11 09:36:54 +03:00
#agender {
2025-10-14 19:40:29 +03:00
background-image: var(--agender)
2025-06-11 09:36:54 +03:00
}
2025-09-10 13:13:20 +03:00
2025-06-11 09:36:54 +03:00
#aromantic {
2025-10-14 19:40:29 +03:00
background-image: var(--aromantic)
2025-06-11 09:36:54 +03:00
}
2025-09-10 13:13:20 +03:00
2025-06-11 09:36:54 +03:00
#pansexual {
2025-10-14 19:40:29 +03:00
background-image: var(--pansexual)
2025-06-11 09:36:54 +03:00
}
2025-10-14 19:40:29 +03:00
#badges img {
max-height: 31px;
width: 88px;
2025-06-11 09:36:54 +03:00
}
2025-06-25 13:08:50 +03:00
@media screen and (max-width: 920px) {
2025-08-10 17:05:40 +03:00
article#interests {
2025-06-25 13:08:50 +03:00
display: flex;
flex-direction: column;
2025-09-10 13:13:20 +03:00
2025-06-25 13:08:50 +03:00
& ul {
justify-content: center;
}
2025-09-10 13:13:20 +03:00
2025-06-25 13:08:50 +03:00
& li a {
padding: 0;
}
}
2025-10-14 19:40:29 +03:00
}