From 39849fd4a1aa47bf349bddeeb00ce84497c83b66 Mon Sep 17 00:00:00 2001
From: Astoria Floyd
Date: Sun, 8 May 2022 18:47:21 -0500
Subject: [PATCH] Revert "Revert "Remove cursor.php fully and new 404.""
This reverts commit 76790fe685c61a12273e6af1b6949f7895fafc0d.
---
.htaccess | 2 +-
404.php | 60 +++++++++++++++++++++-------------------------
includes/start.php | 1 -
index.php | 1 -
scrollbar.php | 1 -
styles/404.css | 56 -------------------------------------------
6 files changed, 28 insertions(+), 93 deletions(-)
delete mode 100644 styles/404.css
diff --git a/.htaccess b/.htaccess
index 110c483..8b3ee12 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,4 +2,4 @@ ErrorDocument 404 /404.php
php_value include_path "/var/www/future"
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
-RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]
\ No newline at end of file
+RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]
diff --git a/404.php b/404.php
index 1f104d5..7c26e20 100644
--- a/404.php
+++ b/404.php
@@ -1,36 +1,30 @@
-
-
-
- 404
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
404 - Not Found
-
There is nothing here.
-
We appear to be lost.
-
-
+
+
+ Display Scrollbar on this Site
';
+ }
+ ?>
+
diff --git a/includes/start.php b/includes/start.php
index 904799d..d7c1b1e 100644
--- a/includes/start.php
+++ b/includes/start.php
@@ -8,7 +8,6 @@
echo '';
}
echo '';
- echo '';
echo '';
if (isset($_GET['post']) && $_GET['post'] != 'archive') {
$ogtype = 'article';
diff --git a/index.php b/index.php
index 6c4a03d..2d754bf 100644
--- a/index.php
+++ b/index.php
@@ -6,7 +6,6 @@ require "includes/start-meta.php";
?>
-
diff --git a/scrollbar.php b/scrollbar.php
index a3f6ca7..01abf2a 100644
--- a/scrollbar.php
+++ b/scrollbar.php
@@ -7,7 +7,6 @@ require $root."includes/start-meta.php";
?>
-
diff --git a/styles/404.css b/styles/404.css
deleted file mode 100644
index 5383cbf..0000000
--- a/styles/404.css
+++ /dev/null
@@ -1,56 +0,0 @@
-:root {
- --fg-col: #FFFFFF;
- --main-col: #94B1FF;
- --grey-col: #CCCCCC;
- --bg-col: #000000;
-}
-
-body {
- background: var(--bg-col);
-}
-
-h1 {
- border: unset;
- text-align: unset;
-}
-
-p {
- letter-spacing: 3px;
- animation: lost 10s ease-in-out infinite;
- animation-play-state: running;
-}
-
-.lostimg {
- position: fixed;
- bottom: 0;
- left: 35%;
- min-width: 350px;
-}
-
-.lostimglink {
- position: absolute;
- top: 0;
- left: 0;
-}
-
-.lostimg img {
- bottom: 0;
- right: 0;
-}
-
-@keyframes lost {
- 0% {
- letter-spacing: 3px;
- }
- 50% {
- letter-spacing: 12px;
- }
- 0% {
- letter-spacing: 3px;
- }
-}
-
-.notfound {
- font-weight: bold;
- color: var(--main-col);
-}