summaryrefslogtreecommitdiff
path: root/public/style.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-13 12:48:48 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-13 18:49:00 +0200
commit4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4 (patch)
treea344e7c011b07e83ab0abf57e1aa043a9a81dff2 /public/style.css
parent88d909a874499f9d3d18e76ff30c1155caa2e48e (diff)
downloadserver-4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4.tar.gz
Tournaments!
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css23
1 files changed, 22 insertions, 1 deletions
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);