2019-01-02 00:11:47 +01:00
|
|
|
// user avatars
|
|
|
|
.avatar {
|
2022-02-04 12:57:55 +01:00
|
|
|
border-radius: 100%;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
2019-01-02 00:11:47 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
img {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
&.small {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 0 0.5em;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
&.large {
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
2021-02-26 11:52:12 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
&.square {
|
|
|
|
border-radius: 0;
|
2019-01-02 00:11:47 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
&:before {
|
|
|
|
border-radius: 0;
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|