2023-01-03 12:56:18 -08:00
|
|
|
@use "sass:map";
|
2023-01-05 00:07:13 -08:00
|
|
|
@use "sass:math";
|
2023-01-03 12:56:18 -08:00
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
.profile {
|
|
|
|
&__avatar {
|
|
|
|
display: block;
|
2023-01-03 12:56:18 -08:00
|
|
|
width: map.get($avatar-sizes, "xl");
|
|
|
|
height: map.get($avatar-sizes, "xl");
|
2023-01-05 00:07:13 -08:00
|
|
|
margin: -(math.div(map.get($avatar-sizes, "xl"), 2.5)) map.get($spacers, 4) 0;
|
2023-01-03 03:35:05 -08:00
|
|
|
border-radius: $avatar-border-radius;
|
|
|
|
box-shadow: $box-shadow;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
2023-01-03 12:56:18 -08:00
|
|
|
width: map.get($avatar-sizes, "xxl");
|
|
|
|
height: map.get($avatar-sizes, "xxl");
|
2023-01-05 00:07:13 -08:00
|
|
|
margin: -(math.div(map.get($avatar-sizes, "xxl"), 2)) auto 0;
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header-card {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-top: map.get($spacers, 3);
|
2023-01-03 03:35:05 -08:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name-container {
|
|
|
|
align-self: center;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
2023-01-03 12:56:18 -08:00
|
|
|
padding: map.get($spacers, 4);
|
2023-01-03 03:35:05 -08:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header-container {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
background: linear-gradient(
|
|
|
|
to top,
|
|
|
|
rgba(0, 0, 0, 0.10),
|
|
|
|
rgba(0, 0, 0, 0.10)
|
|
|
|
) var(--primary);
|
|
|
|
max-height: 440px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header-image {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__biography,
|
|
|
|
&__website,
|
|
|
|
&__location {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-bottom: map.get($spacers, 3);
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__actions,
|
|
|
|
&__biography {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-top: map.get($spacers, 3);
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__display-name {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.1em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
white-space: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__screen-name {
|
|
|
|
&:only-child {
|
|
|
|
@extend .profile__display-name;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:only-child) {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: RGB(var(--muted-text));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
&__name {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-bottom: map.get($spacers, 3);
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
& .card-body {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user--banned {
|
|
|
|
text-decoration: line-through !important;
|
2023-01-03 12:56:18 -08:00
|
|
|
}
|