summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-14 18:36:26 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-14 18:36:26 +0200
commitacfbe3ef89f617129f3739578375018f768c6017 (patch)
treefea453d1d87a3cec9f5b3150ae8af67652d9e612 /views
parent682b47a0680ea839ed3537fce57e452fe6004c1c (diff)
downloadserver-acfbe3ef89f617129f3739578375018f768c6017.tar.gz
Tweak tournament page layouts.
Diffstat (limited to 'views')
-rw-r--r--views/tm_pool.pug2
-rw-r--r--views/tm_seed.pug17
2 files changed, 4 insertions, 15 deletions
diff --git a/views/tm_pool.pug b/views/tm_pool.pug
index d801375..73a52e4 100644
--- a/views/tm_pool.pug
+++ b/views/tm_pool.pug
@@ -6,7 +6,7 @@ html
title= pool.pool_name
style.
@media (max-width: 500px) {
- table {
+ table.wide {
font-family: var(--font-widget);
font-size: 12px;
line-height: 16px;
diff --git a/views/tm_seed.pug b/views/tm_seed.pug
index 683029f..8fd3ce7 100644
--- a/views/tm_seed.pug
+++ b/views/tm_seed.pug
@@ -5,16 +5,6 @@ html
include head
title= seed.seed_name
style.
- div.thumb {
- float: right;
- }
- div.thumb img {
- max-width: 60px;
- max-height: 72px;
- margin: 4px 0 4px 4px;
- border: var(--thin-border);
- box-shadow: var(--drop-shadow);
- }
#seed_info td { padding: 2px 10px }
#seed_info td:first-child { width: 80px }
#seed_info tr:first-child td { padding-top: 5px }
@@ -23,12 +13,11 @@ html
body
include header
article
- div.thumb
- a(href="/"+seed.title_id)
- img(src="/"+seed.title_id+"/thumbnail.jpg")
-
h1= seed.seed_name
+ div.logo
+ +gamecover(seed.title_id)
+
if error
p.error= error