diff --git a/src/pluginbattery/static/style.css b/src/pluginbattery/static/style.css index 35c2370..ffc6bb9 100644 --- a/src/pluginbattery/static/style.css +++ b/src/pluginbattery/static/style.css @@ -188,6 +188,18 @@ table#leaderboard thead th.sort-asc::after { content: " ↑"; color: var(--acce table#leaderboard thead th.sort-desc::after { content: " ↓"; color: var(--accent); } table#leaderboard td.pos { color: var(--accent); } table#leaderboard td.neg { color: var(--warn); } + +dl.legend { + margin: 1rem 0 0; + font-size: 0.78rem; + color: var(--muted); + display: grid; + grid-template-columns: max-content 1fr; + column-gap: 0.75rem; + row-gap: 0.2rem; +} +dl.legend dt { font-weight: 600; color: var(--text); } +dl.legend dd { margin: 0; } table#leaderboard tbody tr:hover { background: var(--panel2); } table#leaderboard tbody tr:first-child { background: rgba(74, 222, 128, 0.08); } diff --git a/src/pluginbattery/templates/index.html b/src/pluginbattery/templates/index.html index 2f42eb0..c477e96 100644 --- a/src/pluginbattery/templates/index.html +++ b/src/pluginbattery/templates/index.html @@ -4,7 +4,7 @@