|
|
|
@ -17,6 +17,22 @@ body { |
|
|
|
|
h1 { |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
button { |
|
|
|
|
background: none; |
|
|
|
|
color: inherit; |
|
|
|
|
border: none; |
|
|
|
|
padding: 0; |
|
|
|
|
font: inherit; |
|
|
|
|
cursor: pointer; |
|
|
|
|
outline: inherit; |
|
|
|
|
text-align: unset; |
|
|
|
|
} |
|
|
|
|
button[disabled] { |
|
|
|
|
cursor: initial; |
|
|
|
|
} |
|
|
|
|
button[disabled]:hover { |
|
|
|
|
background-color: initial; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.uem-logo-header { |
|
|
|
|
display: flex; |
|
|
|
@ -28,6 +44,16 @@ img.uem-logo { |
|
|
|
|
height: 120px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
button.open-general-graph { |
|
|
|
|
border: solid 2px #68a8cc; |
|
|
|
|
border-radius: 12px; |
|
|
|
|
padding: 16px 24px; |
|
|
|
|
transition: background-color 200ms ease-out; |
|
|
|
|
} |
|
|
|
|
button.open-general-graph:hover { |
|
|
|
|
background-color: #1f2931; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.leaderboard { |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
@ -39,11 +65,14 @@ img.uem-logo { |
|
|
|
|
align-items: stretch; |
|
|
|
|
gap: 16px; |
|
|
|
|
max-width: 600px; |
|
|
|
|
margin-top: 20px; |
|
|
|
|
} |
|
|
|
|
.leaderboard-element { |
|
|
|
|
display: grid; |
|
|
|
|
grid-template-columns: 64px 1fr auto; |
|
|
|
|
grid-template-rows: 1.5fr 0.5fr; |
|
|
|
|
grid-template-rows: auto auto 1fr; |
|
|
|
|
row-gap: 8px; |
|
|
|
|
align-items: center; |
|
|
|
|
border: solid 4px #6a818f; |
|
|
|
|
border-radius: 20px; |
|
|
|
|
padding: 16px 16px 16px 36px; |
|
|
|
@ -101,8 +130,9 @@ img.uem-logo { |
|
|
|
|
display: grid; |
|
|
|
|
grid-template-rows: 1fr 0.9fr; |
|
|
|
|
grid-template-columns: 72px auto; |
|
|
|
|
align-items: center; |
|
|
|
|
grid-column: 2; |
|
|
|
|
margin: 10px 0; |
|
|
|
|
row-gap: 10px; |
|
|
|
|
} |
|
|
|
|
.leaderboard-element .ranked-emblem { |
|
|
|
|
grid-column: 3; |
|
|
|
@ -116,6 +146,7 @@ img.uem-logo { |
|
|
|
|
grid-row-end: 3; |
|
|
|
|
grid-column: 1; |
|
|
|
|
border-radius: 8px; |
|
|
|
|
align-self: end; |
|
|
|
|
} |
|
|
|
|
.player-info .playername { |
|
|
|
|
grid-row: 1; |
|
|
|
@ -123,7 +154,7 @@ img.uem-logo { |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
.player-info .lp-gained { |
|
|
|
|
align-self: flex-start; |
|
|
|
|
align-self: start; |
|
|
|
|
grid-row: 2; |
|
|
|
|
grid-column: 2; |
|
|
|
|
font-size: 1.5em; |
|
|
|
@ -160,3 +191,33 @@ img.uem-logo { |
|
|
|
|
.elo-gained .rank-LP { |
|
|
|
|
font-size: 0.8em; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.leaderboard-element .graph-wrapper { |
|
|
|
|
position: relative; |
|
|
|
|
display: grid; |
|
|
|
|
grid-template-rows: 1fr; |
|
|
|
|
grid-template-columns: 1fr; |
|
|
|
|
grid-row: 3; |
|
|
|
|
grid-column: 1 / 4; |
|
|
|
|
overflow: hidden; |
|
|
|
|
height: 250px; |
|
|
|
|
width: 520px; |
|
|
|
|
transition: height 400ms; |
|
|
|
|
} |
|
|
|
|
.leaderboard-element.closed .graph-wrapper { |
|
|
|
|
height: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.leaderboard>.graph-wrapper { |
|
|
|
|
position: relative; |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
height: 600px; |
|
|
|
|
width: 90vw; |
|
|
|
|
max-width: 800px; |
|
|
|
|
transition: height 400ms; |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
.leaderboard>.graph-wrapper.closed { |
|
|
|
|
height: 0; |
|
|
|
|
} |