summaryrefslogtreecommitdiff
path: root/views/user_stats.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-13 19:59:06 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-13 22:41:09 +0200
commit4c5d2e4afe02479dcfb770fa1d6cfccb499e4fff (patch)
tree9206a2c5472c5c1480ad5c035b776a74d74a602f /views/user_stats.pug
parent5cdc7862b20c8642a235e8ea46686939e5f6032a (diff)
downloadserver-4c5d2e4afe02479dcfb770fa1d6cfccb499e4fff.tar.gz
Clean up stylesheet and improve layout on small and large screens.
Use variables for color theming.
Diffstat (limited to 'views/user_stats.pug')
-rw-r--r--views/user_stats.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/user_stats.pug b/views/user_stats.pug
index dee2883..3b201ef 100644
--- a/views/user_stats.pug
+++ b/views/user_stats.pug
@@ -11,7 +11,7 @@ html
article
h1 Statistics for #{who.name}
- table(style="min-width:auto")
+ table.striped
thead
tr
th Title
@@ -37,7 +37,7 @@ html
td.r= all_total
td.r= Math.round(all_won*100/all_total) + "%"
- table(style="min-width:auto")
+ table.striped
thead
tr
th Title