From 1402f32506c097a6b18c9b3117f6198349bc5143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= <65513943+retrozinndev@users.noreply.github.com> Date: Wed, 10 Apr 2024 01:56:02 +0000 Subject: [PATCH] :boom: fix: correctly centralize 404 div content --- 404.html | 6 +++--- resources/stylesheet.css | 22 ++++++++++++---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/404.html b/404.html index 002f554..7d09faf 100644 --- a/404.html +++ b/404.html @@ -30,9 +30,9 @@
-+
Looks like I didn't developed that yet!
If you want to suggest me something, talk to me on any of
my socials!
diff --git a/resources/stylesheet.css b/resources/stylesheet.css
index 30f6dfc..231025c 100644
--- a/resources/stylesheet.css
+++ b/resources/stylesheet.css
@@ -1,6 +1,6 @@
:root {
- --navbar-color: #336588;
+ --navbar-color: rgb(47, 49, 54);
--background-color: #1e1e1f;
--primary-color: #3a4750;
--secondary-color: #343c42;
@@ -179,21 +179,23 @@ footer a {
color: white;
}
-.not-found-title {
- font-size: 45px;
+.content.not-found h1 {
+ font-size: 40px;
font-style: bold;
- position: flex;
}
-.not-found-desc {
- font-size: 20px;
+.content.not-found p {
+ width: auto;
+ font-size: large;
}
-.container.not-found {
- width: 100%;
- margin-top: 20%;
+.content.not-found {
+ width:fit-content;
height: fit-content;
- position: flex;
+ top: calc(100vh / 2 - 18vh);
+ position: absolute;
+ text-align: center;
+ width: 100%;
content: center;
text-align: center;
}
\ No newline at end of file