mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
98 lines
1.4 KiB
SCSS
98 lines
1.4 KiB
SCSS
.coach-widget {
|
|
position: relative;
|
|
display: flex;
|
|
padding-bottom: 1rem;
|
|
|
|
@include transition;
|
|
|
|
@include mq-at-least-picture {
|
|
height: 300px;
|
|
}
|
|
|
|
.overlay {
|
|
@extend %link-overlay;
|
|
}
|
|
|
|
.picture {
|
|
display: none;
|
|
|
|
@include mq-at-least-picture {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.overview {
|
|
margin: 1.3em 2.5vw 0 2.5vw;
|
|
}
|
|
|
|
.coach-name {
|
|
@extend %roboto;
|
|
|
|
font-size: 2em;
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
margin: 0 0 0.6rem 0;
|
|
}
|
|
|
|
.headline {
|
|
font-style: italic;
|
|
font-size: 1.2em;
|
|
margin: 0 0 1em 0;
|
|
|
|
&.medium {
|
|
font-size: 1em;
|
|
margin-bottom: 0.8em;
|
|
}
|
|
|
|
&.large {
|
|
font-size: 0.9em;
|
|
margin-bottom: 0.7em;
|
|
}
|
|
}
|
|
|
|
table {
|
|
line-height: 1.7;
|
|
|
|
th {
|
|
@extend %break-nope;
|
|
|
|
font-size: 0.9em;
|
|
color: $c-font-dim;
|
|
padding-inline-end: 1.2em;
|
|
text-align: right;
|
|
}
|
|
|
|
.seen {
|
|
color: $c-font-dim;
|
|
|
|
time {
|
|
font-size: inherit;
|
|
opacity: inherit;
|
|
}
|
|
}
|
|
|
|
.rating td {
|
|
@extend %flex-center;
|
|
|
|
a {
|
|
display: flex;
|
|
color: $c-font;
|
|
|
|
span {
|
|
margin-inline-start: 0.5em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.flag img {
|
|
margin-inline-start: 0.5em;
|
|
vertical-align: text-bottom;
|
|
aspect-ratio: 1;
|
|
}
|
|
|
|
[data-icon] {
|
|
@extend %flex-center;
|
|
}
|
|
}
|
|
}
|