ui/nameplate.razor.scss
@import "theme";
Nameplate
{
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 0px;
&.ghost
{
opacity: 0.4;
}
.chevron
{
font-size: 240px;
font-weight: 900;
text-shadow: 0px 3px 0px $shadow-chunky;
transition: all 0.2s ease;
margin-top: -40px;
}
.info
{
flex-direction: column;
align-items: center;
gap: 4px;
background-color: $surface-deep;
padding: 32px 128px;
border-radius: 120px;
box-shadow:
0px 3px 0px $shadow-chunky,
0px 6px 12px $shadow-soft;
.row
{
flex-direction: row;
align-items: center;
gap: 32px;
}
.medal
{
width: 150px;
height: 150px;
border-radius: 100%;
justify-content: center;
align-items: center;
font-family: $header-font;
font-size: 110px;
font-weight: 900;
color: white;
text-shadow: 0px 3px 0px $shadow-chunky;
&.gold
{
background-image: linear-gradient(to bottom, #fff6c2, #f4c20d 48%, #b8860b);
}
&.silver
{
background-image: linear-gradient(to bottom, #ffffff, #c6ced6 48%, #899099);
}
&.bronze
{
background-image: linear-gradient(to bottom, #f4cda3, #cd7f32 48%, #834a1c);
}
}
.player-name
{
font-family: $header-font;
font-size: 130px;
font-weight: 800;
color: white;
letter-spacing: 2px;
text-shadow: 0px 3px 0px $shadow-chunky;
white-space: nowrap;
}
}
}