This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/assets/styles/pages/about.css
2024-03-05 07:42:38 -08:00

36 lines
No EOL
719 B
CSS

:root {
--avatar-size: 16rem;
}
.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%;
}
@media screen and (min-width: 768px) {
:root {
--avatar-size: 24rem;
}
}