mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
153 lines
2.2 KiB
SCSS
153 lines
2.2 KiB
SCSS
.streamer-header {
|
|
display: flex;
|
|
|
|
.picture {
|
|
flex: 0 0 300px;
|
|
}
|
|
|
|
.overview {
|
|
padding-inline-start: 2em;
|
|
display: flex;
|
|
flex: auto;
|
|
flex-flow: column;
|
|
justify-content: space-between;
|
|
|
|
> span {
|
|
@extend %flex-between;
|
|
}
|
|
|
|
.online-check {
|
|
padding: 0.5em 1em;
|
|
margin-inline-end: 2em;
|
|
}
|
|
}
|
|
|
|
.metas {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
}
|
|
|
|
h1 {
|
|
@extend %roboto;
|
|
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
.headline {
|
|
font-style: italic;
|
|
}
|
|
|
|
.headline.medium {
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.headline.large {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.services {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.services li {
|
|
font-size: 1.2em;
|
|
white-space: nowrap;
|
|
padding: 0.3em 0;
|
|
}
|
|
|
|
.service.live {
|
|
color: $c-brag;
|
|
}
|
|
}
|
|
|
|
%streamer-ribbon {
|
|
width: 150px;
|
|
height: 150px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
z-index: 2;
|
|
|
|
span {
|
|
@extend %roboto;
|
|
|
|
position: absolute;
|
|
transform: rotate(45deg);
|
|
display: block;
|
|
width: 225px;
|
|
padding: 15px 0;
|
|
background-color: $c-primary;
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
color: $c-over;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.live-ribbon {
|
|
@extend %streamer-ribbon;
|
|
|
|
top: -10px;
|
|
right: -10px;
|
|
|
|
@media (max-width: at-most($xx-small)) {
|
|
transform: scale(0.7);
|
|
transform-origin: top right;
|
|
}
|
|
|
|
&::before,
|
|
&::after {
|
|
position: absolute;
|
|
z-index: 0;
|
|
content: '';
|
|
display: block;
|
|
border: 5px solid #2980b9;
|
|
border-top-color: transparent;
|
|
border-right-color: transparent;
|
|
}
|
|
|
|
&::before {
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
&::after {
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
|
|
span {
|
|
top: 35px;
|
|
left: -20px;
|
|
}
|
|
}
|
|
|
|
.streamer-title {
|
|
@extend %flex-between;
|
|
|
|
gap: 1em;
|
|
margin: 1.5em $box-padding 1em 0;
|
|
}
|
|
|
|
.streamer-profile {
|
|
z-index: $z-link-overlay-2;
|
|
}
|
|
|
|
.live .streamer-lang {
|
|
margin-right: 100px;
|
|
|
|
@media (max-width: at-most($xx-small)) {
|
|
margin-right: 50px;
|
|
}
|
|
}
|
|
|
|
.streamer-footer {
|
|
@extend %flex-wrap;
|
|
|
|
align-items: center;
|
|
gap: 3em;
|
|
}
|