chore: image shortcode
This commit is contained in:
parent
f5da3a1fae
commit
b413f9ab16
18 changed files with 107 additions and 58 deletions
|
@ -4,19 +4,31 @@
|
|||
|
||||
.avatar__wrapper {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.avatar__wrapper img {
|
||||
border-radius: var(--rounded-full);
|
||||
border: 1px solid var(--accent-color);
|
||||
.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: 1rem;
|
||||
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;
|
||||
|
|
Reference in a new issue