From 07c8263929fb5b46082d5c3b20a11edfb59a2b25 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 3 Dec 2021 17:44:30 +0100 Subject: Use compression to gzip responses. --- views/index.pug | 5 +++-- views/info.pug | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/index.pug b/views/index.pug index ab5cdc9..ba915b0 100644 --- a/views/index.pug +++ b/views/index.pug @@ -12,7 +12,8 @@ html justify-content: left; } div.list div { - margin: 10px 5px; + min-width: 150px; + margin: 10px 15px; text-align: center; } div.list a:not(:hover) { @@ -22,7 +23,7 @@ html div.list img { box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); height: 200px; - margin: 5px 10px; + margin: 5px auto; display: block; } body diff --git a/views/info.pug b/views/info.pug index d3d7da2..f73e6ef 100644 --- a/views/info.pug +++ b/views/info.pug @@ -11,7 +11,8 @@ html article h1= title.title_name - img.logo(src="/"+title.title_id+"/cover.jpg") + div.logo + img.logo(src="/"+title.title_id+"/cover.jpg") | !{ about_html } -- cgit v1.2.3