chore: split out styles + only load where needed

This commit is contained in:
Cory Dransfeldt 2024-01-02 13:49:47 -08:00
parent f21e8b18ae
commit 67fcfdb051
No known key found for this signature in database
26 changed files with 539 additions and 454 deletions

View file

@ -0,0 +1,32 @@
.avatar__wrapper {
width: 100%;
margin-bottom: 1.5rem;
}
.avatar__wrapper .avatar__wrapper--interior {
width: 16rem;
height: 16rem;
border: 1px solid var(--blue-600);
border-radius: var(--rounded-full);
display: flex;
padding: 1rem;
background-color: var(--white);
}
.avatar__wrapper,
.avatar__wrapper .avatar__wrapper--interior {
justify-content: center;
overflow: hidden;
}
.avatar__wrapper .avatar__wrapper--interior > * {
width: 100%;
height: 100%;
}
@media screen and (min-width: 768px) {
.avatar__wrapper .avatar__wrapper--interior {
width: 24rem;
height: 24rem;
}
}