118 lines
2.1 KiB
SCSS
118 lines
2.1 KiB
SCSS
@use "partials/palette.scss";
|
|
@use "partials/settings.scss";
|
|
@use "partials/shadows.scss";
|
|
|
|
|
|
.map {
|
|
background-color: palette.$grey3;
|
|
border-radius: settings.$border_radius_m;
|
|
box-shadow: shadows.$small;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin: 2rem 1rem;
|
|
|
|
transition: transform .3s, box-shadow .3s;
|
|
|
|
&:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: shadows.$large;
|
|
}
|
|
}
|
|
|
|
.map-image {
|
|
border-radius: settings.$border_radius_m settings.$border_radius_m 0 0;
|
|
width: 360px;
|
|
height: 225px;
|
|
}
|
|
|
|
.map-name {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
|
|
margin: 1rem 2rem .5rem 2rem;
|
|
}
|
|
|
|
.map-info {
|
|
margin: .25rem 2rem;
|
|
}
|
|
|
|
a.map-more-info {
|
|
margin: .75rem auto 1.25rem auto;
|
|
padding: .15rem .5rem;
|
|
|
|
border: .1rem solid palette.$accent;
|
|
border-radius: settings.$border_radius_s;
|
|
|
|
color: palette.$accent;
|
|
|
|
text-decoration: none transparent;
|
|
transition: color .3s, background-color .3s;
|
|
|
|
&:hover {
|
|
color: palette.$surface;
|
|
background-color: palette.$accent;
|
|
}
|
|
}
|
|
|
|
|
|
.map-detailed {
|
|
padding-bottom: 1rem;
|
|
|
|
&:hover {
|
|
transform: none;
|
|
}
|
|
|
|
.map-image {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
.leaderboard {
|
|
width: max-content;
|
|
margin: 2rem;
|
|
padding: 1.5rem 2rem;
|
|
|
|
background-color: palette.$grey3;
|
|
border-radius: settings.$border_radius_m;
|
|
box-shadow: shadows.$small;
|
|
|
|
}
|
|
|
|
.rank {
|
|
display: flex;
|
|
margin: 1.5rem 0;
|
|
|
|
.country-image {
|
|
height: 1.5rem;
|
|
margin: auto .5rem auto 0;
|
|
}
|
|
|
|
.rank-position {
|
|
color: palette.$primary;
|
|
margin: auto .5rem auto 0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.rank-player {
|
|
margin: auto 2rem auto 0;
|
|
}
|
|
|
|
.rank-time {
|
|
color: palette.$grey10;
|
|
font-family: 'Manrope Light';
|
|
margin: auto 0 auto auto;
|
|
}
|
|
}
|
|
|
|
.leaderboard-history {
|
|
width: min(70ch, 80vw);
|
|
margin: 2rem;
|
|
padding: 1.5rem 2rem;
|
|
|
|
background-color: palette.$grey3;
|
|
border-radius: settings.$border_radius_m;
|
|
box-shadow: shadows.$small;
|
|
} |