Update leaderboard styles

rust
Elnu 3 years ago
parent 4685d1fc04
commit dc06cf4b5e

@ -298,7 +298,7 @@ a {
color: var(--gb-dm-light-purple); color: var(--gb-dm-light-purple);
} }
a:hover { a:hover, a:hover .underline {
border-bottom: 2px solid; border-bottom: 2px solid;
} }
@ -479,22 +479,36 @@ h1:first-child {
margin: auto; margin: auto;
} }
#leaderboard td, #leaderboard th { #leaderboard td {
padding: 0.125em; padding: 0.125em;
} }
#leaderboard th {
text-align: left;
}
#leaderboard a { #leaderboard a {
color: var(--gb-dm-fg1); color: var(--gb-dm-fg1);
} }
#leaderboard td:first-child {
text-align: right;
}
#leaderboard img { #leaderboard img {
width: 1.5em;
height: 1.5em; height: 1.5em;
margin: 0;
display: inline;
vertical-align: bottom;
} }
.muted { a.no-underline:hover {
border: none;
}
.muted, #leaderboard td:first-child {
color: var(--gb-dm-fg4); color: var(--gb-dm-fg4);
} }
@media (max-width: 400px) {
#leaderboard td:first-child {
display: none;
}
}
Loading…
Cancel
Save