From dc06cf4b5ea27dc32b926943a1821062e831eea4 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 26 Apr 2022 22:53:15 -0700 Subject: [PATCH] Update leaderboard styles --- themes/tegakituesday.com/static/css/style.css | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/themes/tegakituesday.com/static/css/style.css b/themes/tegakituesday.com/static/css/style.css index 368a304..8557157 100644 --- a/themes/tegakituesday.com/static/css/style.css +++ b/themes/tegakituesday.com/static/css/style.css @@ -298,7 +298,7 @@ a { color: var(--gb-dm-light-purple); } -a:hover { +a:hover, a:hover .underline { border-bottom: 2px solid; } @@ -479,22 +479,36 @@ h1:first-child { margin: auto; } -#leaderboard td, #leaderboard th { +#leaderboard td { padding: 0.125em; } -#leaderboard th { - text-align: left; -} - #leaderboard a { color: var(--gb-dm-fg1); } +#leaderboard td:first-child { + text-align: right; +} + #leaderboard img { + width: 1.5em; height: 1.5em; + margin: 0; + display: inline; + vertical-align: bottom; +} + +a.no-underline:hover { + border: none; } -.muted { +.muted, #leaderboard td:first-child { color: var(--gb-dm-fg4); +} + +@media (max-width: 400px) { + #leaderboard td:first-child { + display: none; + } } \ No newline at end of file