feat: style layers, imports and nesting

This commit is contained in:
Cory Dransfeldt 2024-04-15 12:37:32 -07:00
parent 8e5d497389
commit d4c87b8abe
No known key found for this signature in database
58 changed files with 968 additions and 981 deletions

View file

@ -5,28 +5,26 @@
.avatar__wrapper {
margin-bottom: var(--sizing-xl);
width: 100%;
}
.avatar__wrapper .avatar__wrapper--interior {
width: var(--avatar-size);
height: var(--avatar-size);;
border: 1px solid var(--accent-color);
border-radius: var(--rounded-full);
display: flex;
padding: var(--sizing-lg);
background-color: var(--color-lightest);
}
.avatar__wrapper,
.avatar__wrapper .avatar__wrapper--interior {
justify-content: center;
overflow: hidden;
}
.avatar__wrapper .avatar__wrapper--interior picture > *,
.avatar__wrapper .avatar__wrapper--interior img {
width: 100%;
height: 100%;
& .avatar__wrapper--interior {
width: var(--avatar-size);
height: var(--avatar-size);;
border: 1px solid var(--accent-color);
border-radius: var(--rounded-full);
display: flex;
padding: var(--sizing-lg);
background-color: var(--color-lightest);
justify-content: center;
overflow: hidden;
& picture > *,
& img {
width: 100%;
height: 100%;
}
}
}
@media screen and (min-width: 768px) {