2019-04-03 21:32:39 -06:00
|
|
|
.game-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
height: 17rem;
|
|
|
|
padding: .5em 1em;
|
|
|
|
border-bottom: $border;
|
|
|
|
position: relative;
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
@include transition(background);
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&:nth-child(odd) {
|
|
|
|
background: $c-bg-zebra;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&:hover {
|
|
|
|
background: mix($c-link, $c-bg-box, 20%);
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&__overlay {
|
|
|
|
@extend %link-overlay;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&__board {
|
|
|
|
flex: 0 0 16rem;
|
|
|
|
margin-right: 1em;
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-11-10 17:01:57 -07:00
|
|
|
@include breakpoint($mq-not-small) {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-04-03 21:32:39 -06:00
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&__infos {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: .5em 0;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.header {
|
|
|
|
@extend %flex-center;
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&::before {
|
|
|
|
font-size: 3em;
|
|
|
|
opacity: 0.7;
|
|
|
|
margin-right: .7rem;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
&__text {
|
|
|
|
strong {
|
|
|
|
@extend %roboto;
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1.4em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.versus {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.swords {
|
|
|
|
width: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 2em;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.player {
|
|
|
|
font-size: 1.3em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.player.black {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2019-04-15 19:23:56 -06:00
|
|
|
position: relative;
|
2020-07-24 11:45:18 -06:00
|
|
|
z-index: z("above-link-overlay");
|
2019-04-03 21:32:39 -06:00
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.anon {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.result {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.win {
|
|
|
|
color: $c-good;
|
|
|
|
}
|
2020-07-24 11:45:18 -06:00
|
|
|
|
2019-04-03 21:32:39 -06:00
|
|
|
.loss {
|
|
|
|
color: $c-bad;
|
|
|
|
}
|
|
|
|
}
|