lila/ui/site/css/_perf-stat.scss

117 lines
1.8 KiB
SCSS

.perf-stat {
padding-bottom: 2em;
.box__top div {
@extend %flex-center;
}
h1 {
@extend %flex-center;
span { margin-left: .4em; }
}
.trophy {
margin-top: -4em;
&.top1 {
filter: drop-shadow(0 0 6px $c-brag);
}
img {
height: 8em;
}
}
h2 {
font-size: 2em;
.details {
opacity: .8;
}
}
h3 {
font-size: 1.3em;
}
time {
display: inline;
}
green {
color: $c-good;
}
red {
color: $c-bad;
}
&__content [title] {
border-bottom: 1px dashed $c-link;
cursor: help;
}
section {
margin-top: 4em;
}
.split {
@extend %flex-center;
> div {
flex: 1 0 49%;
&:first-child {
margin-right: 2%;
}
margin-bottom: 1em;
}
}
table {
width: 100%;
}
.glicko h2 {
margin-bottom: 1em;
}
.counter th {
text-indent: 1.5em;
}
.counter td {
text-align: right;
padding: .8em 1.2em;
font-weight: bold;
font-size: 1.2em;
}
.counter tr.full td:last-child {
background: $c-bg-zebra;
}
.counter tr:first-child {
border-bottom: $border;
}
.highlow a,
.highlow span {
text-indent: 20px;
display: inline-block;
}
.result th,
.result td {
padding: .8em 0;
}
.result td:first-child {
text-indent: 20px;
white-space: nowrap;
}
.result td:last-child {
text-align: right;
}
.result thead tr {
border-bottom: $border;
}
.resultStreak .streak,
.playStreak .streak {
@extend %ellipsis;
margin: 1em 0 1em 1.5em;
white-space: nowrap;
}
.playStreak {
white-space: nowrap;
}
.rating-history {
left: -10px;
display: block;
width: 100%;
max-width: 100vw;
height: 340px;
.spinner {
width: 90px;
height: 90px;
margin: 120px auto 0 auto;
}
}
}