mirror of
https://github.com/flarum/framework.git
synced 2025-06-03 06:13:07 +08:00
Clean up LESS files
This commit is contained in:
25
less/lib/avatars.less
Normal file
25
less/lib/avatars.less
Normal file
@ -0,0 +1,25 @@
|
||||
.avatar-size(@size) {
|
||||
width: @size;
|
||||
height: @size;
|
||||
border-radius: @size;
|
||||
font-size: @size / 2;
|
||||
line-height: @size;
|
||||
}
|
||||
.avatar {
|
||||
display: inline-block;
|
||||
box-sizing: content-box;
|
||||
color: @fl-body-bg;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
background-color: @fl-body-control-bg;
|
||||
.avatar-size(48px);
|
||||
|
||||
& img {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 100%;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user