aac2c7027e
Added documentation to methods Fixed avatars not initially loading Just generally cleaned up the codebase
178 lines
2.3 KiB
CSS
178 lines
2.3 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
|
|
|
|
* {
|
|
font-family: 'Roboto', sans-serif;
|
|
color: white;
|
|
font-size: xx-large;
|
|
line-height: 0.3em;
|
|
}
|
|
|
|
.loading {
|
|
color: black;
|
|
}
|
|
|
|
.info {
|
|
margin-top: 35px;
|
|
color: white;
|
|
}
|
|
|
|
.info a {
|
|
font-size: large;
|
|
text-decoration: none;
|
|
color: #7299d4;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.info a:hover {
|
|
color: #4b72d3 !important;
|
|
}
|
|
|
|
.overlay {
|
|
padding: 10px;
|
|
}
|
|
|
|
.invalid-player p {
|
|
font-size: large;
|
|
color: white;
|
|
}
|
|
|
|
.player-stats-container {
|
|
display: flex;
|
|
margin-left: -5px;
|
|
margin-top: -5px;
|
|
}
|
|
|
|
.player-country {
|
|
display: flex;
|
|
line-height: normal;
|
|
}
|
|
|
|
.player-country span {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.player-country p {
|
|
margin: 0 6px 0 0;
|
|
}
|
|
|
|
.player-country-icon {
|
|
margin-top: -11px;
|
|
border-radius: 30%;
|
|
}
|
|
|
|
.player-avatar {
|
|
border-radius: 5%;
|
|
}
|
|
|
|
.player-stats {
|
|
display: block;
|
|
margin-left: 10px;
|
|
margin-top: -12px;
|
|
}
|
|
|
|
.score-stats {
|
|
text-align: center;
|
|
position:absolute;
|
|
top:0;
|
|
right:0;
|
|
margin-right: 5px;
|
|
margin-top: -5px;
|
|
}
|
|
|
|
.score-stats-right {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.score-stats-average-cut {
|
|
font-weight: bold;
|
|
font-size: x-large;
|
|
}
|
|
|
|
.score-stats-hands {
|
|
display: flex;
|
|
margin-top: -30px;
|
|
}
|
|
|
|
.score-stats-hands div {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.score-stats-info {
|
|
margin-right: 10px;
|
|
text-align: right;
|
|
}
|
|
|
|
.song-info-container {
|
|
display: flex;
|
|
position: fixed;
|
|
bottom:0;
|
|
left:0;
|
|
margin-left: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.song-info-container img {
|
|
border-radius: 5%;
|
|
}
|
|
|
|
.song-info {
|
|
margin-left: 10px;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.song-info-song-name {
|
|
font-size: x-large;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.song-info-song-author {
|
|
font-size: large;
|
|
margin-top: -5px;
|
|
margin-bottom: -5px;
|
|
}
|
|
|
|
.song-info-song-other-container {
|
|
display: flex;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.song-info-diff {
|
|
font-size: large;
|
|
padding: 9px 5px;
|
|
width: fit-content;
|
|
border-radius: 5%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.song-info-bsr {
|
|
font-size: large;
|
|
margin-left: 10px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.song-time-container {
|
|
width: 200px;
|
|
display: grid;
|
|
}
|
|
|
|
.song-time-background {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
z-index: 1;
|
|
padding: 3px;
|
|
width: 100%;
|
|
background-color: white !important;
|
|
}
|
|
|
|
.song-time {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
z-index: 2;
|
|
padding: 3px;
|
|
background-color: red;
|
|
}
|
|
|
|
.song-time-text {
|
|
margin-top: 8px;
|
|
font-size: large;
|
|
} |