style: Added profile picture animation

This commit is contained in:
2023-02-20 12:15:06 +11:00
parent e4f72061a8
commit 0ac68a24a6
7 changed files with 33 additions and 2 deletions

24
assets/css/profile.css Normal file
View File

@@ -0,0 +1,24 @@
.profile-container {
height: 300px;
}
img.profile {
width: 300px;
position: absolute;
left: 50%;
margin-left: -150px;
aspect-ratio: 1;
padding-top: calc(var(--s)/5);
transform: scale(1);
transition: .5s;
}
img.foreground {
border-radius: 50%;
pointer-events: none;
}
img.background:hover {
filter: blur(5px);
}