aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-07-12 18:00:41 +0530
committerBobby <[email protected]>2025-07-12 18:00:41 +0530
commita896b3fe27579993c0cb761832242d806d3e9438 (patch)
tree95eb9ea54381dce596860ea856ecc28b780a14aa
parent72932e08aea81db4dfa179270bc3644bc7029a88 (diff)
downloadimageboard-a896b3fe27579993c0cb761832242d806d3e9438.tar.xz
imageboard-a896b3fe27579993c0cb761832242d806d3e9438.zip
fix image styles and add 404 image
-rw-r--r--static/css/main.css4
-rw-r--r--static/images/54a1a92a6d78ed091071255803c7057e.webpbin0 -> 67486 bytes
-rw-r--r--templates/404.django1
-rw-r--r--templates/login.django2
-rw-r--r--templates/register.django2
5 files changed, 7 insertions, 2 deletions
diff --git a/static/css/main.css b/static/css/main.css
index ceaa6bf..89fee52 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -350,4 +350,8 @@ footer::before {
.fbtngrp input {
padding: 4px 8px;
+}
+
+.q-img {
+ max-width: 768px;
} \ No newline at end of file
diff --git a/static/images/54a1a92a6d78ed091071255803c7057e.webp b/static/images/54a1a92a6d78ed091071255803c7057e.webp
new file mode 100644
index 0000000..50e9730
--- /dev/null
+++ b/static/images/54a1a92a6d78ed091071255803c7057e.webp
Binary files differ
diff --git a/templates/404.django b/templates/404.django
index acf599f..5f598b7 100644
--- a/templates/404.django
+++ b/templates/404.django
@@ -1,6 +1,7 @@
{% extends 'layouts/main.django' %}
{% block content %}
<div class="centered-main">
+ <img src="/static/images/54a1a92a6d78ed091071255803c7057e.webp" alt="404 Not Found" class="q-img" />
<h1>404 - Page Not Found</h1>
<p>The page you are looking for does not exist.</p>
</div>
diff --git a/templates/login.django b/templates/login.django
index 96a5e27..1f6ba78 100644
--- a/templates/login.django
+++ b/templates/login.django
@@ -3,7 +3,7 @@
{% block content %}
<div class="centered-main">
<div class="bordered-box">
- <img src="/static/images/25631a9833b39de4053f9eed8b2d3ae6.webp" alt="Login Image" class="register-img" />
+ <img src="/static/images/25631a9833b39de4053f9eed8b2d3ae6.webp" alt="Login Image" class="q-img" />
<h1>Login to {{ Appname }}</h1>
<p>Welcome back! Please enter your credentials to continue.</p>
{% if Error %}
diff --git a/templates/register.django b/templates/register.django
index 39ce985..02ba9d9 100644
--- a/templates/register.django
+++ b/templates/register.django
@@ -3,7 +3,7 @@
{% block content %}
<div class="centered-main">
<div class="bordered-box">
- <img src="/static/images/1c8fcc330ea1e971440cd3bdb8993a81.webp" alt="Register Image" class="register-img" />
+ <img src="/static/images/1c8fcc330ea1e971440cd3bdb8993a81.webp" alt="Register Image" class="q-img" />
<h1>Join {{ Appname }}</h1>
<p>Create your account to start sharing and exploring images!</p>
{% if Error %}