From 4d83b91adec57ba5854aaaf99d62c6d89297c6cf Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Sat, 16 Oct 2021 13:14:45 +0300 Subject: [PATCH] fix: squized error picture --- static/{ => styles}/error-image.css | 8 ++++---- static/{ => styles}/index.css | 0 static/{ => styles}/post-form.css | 0 static/{ => styles}/post.css | 0 static/{ => styles}/thread.css | 0 templates/400.html | 2 +- templates/404.html | 2 +- templates/500.html | 2 +- templates/index.html | 2 +- templates/thread.html | 4 ++-- 10 files changed, 10 insertions(+), 10 deletions(-) rename static/{ => styles}/error-image.css (59%) rename static/{ => styles}/index.css (100%) rename static/{ => styles}/post-form.css (100%) rename static/{ => styles}/post.css (100%) rename static/{ => styles}/thread.css (100%) diff --git a/static/error-image.css b/static/styles/error-image.css similarity index 59% rename from static/error-image.css rename to static/styles/error-image.css index 9544512..b65dcb1 100644 --- a/static/error-image.css +++ b/static/styles/error-image.css @@ -1,11 +1,11 @@ .error-image-link { - max-width: 50%; - max-height: 50%; + max-width: 200px; + max-height: 200px; transition: 0.2s; } .error-image-link:hover { - max-width: 60%; - max-height: 60%; + max-width: 300px; + max-height: 300px; } .error-image { diff --git a/static/index.css b/static/styles/index.css similarity index 100% rename from static/index.css rename to static/styles/index.css diff --git a/static/post-form.css b/static/styles/post-form.css similarity index 100% rename from static/post-form.css rename to static/styles/post-form.css diff --git a/static/post.css b/static/styles/post.css similarity index 100% rename from static/post.css rename to static/styles/post.css diff --git a/static/thread.css b/static/styles/thread.css similarity index 100% rename from static/thread.css rename to static/styles/thread.css diff --git a/templates/400.html b/templates/400.html index 9f0749d..909c487 100644 --- a/templates/400.html +++ b/templates/400.html @@ -2,7 +2,7 @@ {{ template "static" }} diff --git a/templates/404.html b/templates/404.html index 6dbe51a..2cc2015 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,7 +2,7 @@ {{ template "static" }} diff --git a/templates/500.html b/templates/500.html index d41e274..3d56231 100644 --- a/templates/500.html +++ b/templates/500.html @@ -2,7 +2,7 @@ {{ template "static" }} diff --git a/templates/index.html b/templates/index.html index aa3684e..1a42104 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {{ template "static" }} diff --git a/templates/thread.html b/templates/thread.html index 018ea43..a48c756 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -4,8 +4,8 @@ {{ template "static" }} {{ template "meta-tags-dynamic" $FirstPost }} - - + +