From acfbe3ef89f617129f3739578375018f768c6017 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 14 Oct 2024 18:36:26 +0200 Subject: Tweak tournament page layouts. --- views/tm_pool.pug | 2 +- views/tm_seed.pug | 17 +++-------------- 2 files changed, 4 insertions(+), 15 deletions(-) (limited to 'views') 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 -- cgit v1.2.3