76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
@use "partials/palette.scss";
|
|
@use "partials/settings.scss";
|
|
@use "partials/shadows.scss";
|
|
|
|
|
|
.regions {
|
|
width: 100vw;
|
|
justify-content: center;
|
|
}
|
|
|
|
.region {
|
|
margin: 1rem;
|
|
padding: .5rem 1.25rem;
|
|
|
|
border: .1rem solid palette.$accent;
|
|
border-radius: settings.$border_radius_m;
|
|
|
|
color: palette.$accent;
|
|
|
|
text-decoration: none transparent;
|
|
transition: color .3s, background-color .3s;
|
|
|
|
&:hover {
|
|
color: palette.$surface;
|
|
background-color: palette.$accent;
|
|
}
|
|
|
|
&.current-region {
|
|
border-color: palette.$primary;
|
|
color: palette.$primary;
|
|
|
|
&:hover {
|
|
color: palette.$surface;
|
|
background-color: palette.$primary;
|
|
}
|
|
}
|
|
}
|
|
|
|
.leaderboard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
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-points {
|
|
color: palette.$grey10;
|
|
font-family: 'Manrope Light';
|
|
margin: auto 0 auto auto;
|
|
}
|
|
} |