From 4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 13 Oct 2024 12:48:48 +0200 Subject: Tournaments! --- public/style.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'public/style.css') diff --git a/public/style.css b/public/style.css index 0228687..0792dd1 100644 --- a/public/style.css +++ b/public/style.css @@ -241,9 +241,20 @@ table.wide { } table.half { - min-width: 50%; + width: 100%; + max-width: 400px; } +table.seeds td:nth-child(2) { text-align: right; } +table.pools td:nth-child(2) { text-align: right; } +table.seeds td:nth-child(3) { width: 24px; text-align: right; } +table.pools td:nth-child(3) { width: 24px; text-align: right; } + +table.pools a { color: var(--color-black); text-decoration: none; } +table.pools a:hover { color: var(--color-blue); text-decoration: underline; } +table.seeds a { color: var(--color-black); text-decoration: none; } +table.seeds a:hover { color: var(--color-blue); text-decoration: underline; } + thead, th { background-color: var(--color-table-head); } @@ -268,6 +279,7 @@ table.striped tr:nth-child(2n) { td.r, th.r { text-align: right; } td.w, th.w { white-space: nowrap; } +td.n, th.n { width: 0px; white-space: nowrap; text-align: right; } /* FORUM AND MESSAGE POSTS */ @@ -309,6 +321,15 @@ div.body img { margin: 16px 0; } +.tour_list { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(0, 400px)); + gap: 24px; + margin: 16px 0; +} + +.tour_list table { margin: 0 } + .game_item { border: var(--thin-border); box-shadow: var(--drop-shadow); -- cgit v1.2.3