mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-15 19:31:42 +00:00
f1a60d4b81
Avatars now have consistent styling across all pages; border radius can be adjusted with a SASS variable ($ui-avatar-border-size)
13 lines
266 B
SCSS
13 lines
266 B
SCSS
@mixin avatar-radius() {
|
|
border-radius: $ui-avatar-border-size;
|
|
background: transparent no-repeat;
|
|
background-position: 50%;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
@mixin avatar-size($size:48px) {
|
|
width: $size;
|
|
height: $size;
|
|
background-size: $size $size;
|
|
}
|