mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
21 lines
444 B
CSS
21 lines
444 B
CSS
@define-mixin avatar-size $size {
|
|
.avatar--$(size) {
|
|
width: var(--avatar-$(size)-size);
|
|
height: var(--avatar-$(size)-size);
|
|
border-radius: var(--border-radius-avatar);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.avatar--$(size) img {
|
|
max-width: var(--avatar-$(size)-size);
|
|
height: var(--avatar-$(size)-size);
|
|
}
|
|
}
|
|
|
|
.avatar--square {
|
|
border-radius: 0;
|
|
}
|
|
|
|
@mixin avatar-size navbar;
|
|
@mixin avatar-size small;
|
|
@mixin avatar-size large;
|