diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-03 17:44:30 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-12-04 17:59:49 +0100 |
commit | 07c8263929fb5b46082d5c3b20a11edfb59a2b25 (patch) | |
tree | e27e0c5f56e15c3012d0457fd075d0499b1f9078 /views | |
parent | 628ac2e2a1bb86baf1b4456bdb0490e5486c225d (diff) | |
download | server-07c8263929fb5b46082d5c3b20a11edfb59a2b25.tar.gz |
Use compression to gzip responses.
Diffstat (limited to 'views')
-rw-r--r-- | views/index.pug | 5 | ||||
-rw-r--r-- | views/info.pug | 3 |
2 files changed, 5 insertions, 3 deletions
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 } |