Revert "Revert "Remove cursor.php fully and new 404.""

This reverts commit 76790fe685.
main
Astoria Floyd 2 years ago
parent 76790fe685
commit 39849fd4a1

@ -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]
RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]

@ -1,36 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>404</title>
<link rel="stylesheet" href="/styles/fonts.css" />
<link rel="stylesheet" href="/styles/cursor.css" />
<link rel="stylesheet" href="/styles/404.css" />
<!--
styles/font.css
styles/cursor.css
styles/404.css
-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<?php
$title = "reconnect";
$tags = "reconnect";
$root = "";
require "includes/start-meta.php";
?>
<link rel="stylesheet" href="styles/splash.css" />
<link rel="stylesheet" href="styles/fonts.css" />
<style type="text/css">
html, body {margin: 0; height: 100%; overflow: hidden}
</style>
<meta property="og:type" content="website" />
<meta property="og:title" content="~$ Reconnect to the Broken-Moon Network" />
<meta property="og:image" content="/images/banner.gif" />
<meta property="og:image:type" content="image/gif" />
<meta property="og:image:width" content="240" />
<meta property="og:image:height" content="60" />
</head>
<body>
<marquee scrollamount="10">
<h1>Uh oh</h1>
</marquee>
<div style="text-align: center; margin-left: auto; margin-right: auto;">
<span class="notfound">404 - Not Found</span>
<p>There is nothing here.</p>
<p>We appear to be lost.</p>
<div class="lostimg">
<a class="lostimglink" href="/home.php">
<!-- home.php -->
Take me Home,<br />
country road
</a>
<a href="/home.php"><img src="/images/404.gif" /></a>
<!--
home.php
images/404.gif
-->
</div>
</div>
<h1><span><a href="home.php">~$ Reconnect to the Broken-Moon Network</a></span></h1>
<?php
$usragent=$_SERVER['HTTP_USER_AGENT'];
if (!strpos($usragent, 'PaleMoon') !== false) {
echo '<p style="position: absolute; right: 10px; bottom: 10px;"><a href="scrollbar.php">Display Scrollbar on this Site</a></p>';
}
?>
</body>
</html>

@ -8,7 +8,6 @@
echo '<link rel="stylesheet" href="'.$root.'styles/scroll.css" />';
}
echo '<link rel="stylesheet" href="'.$root.'styles/fonts.css" />';
echo '<link rel="stylesheet" href="'.$root.'styles/cursor.css" />';
echo '<meta property="og:url" content="'.(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http")."://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'" />';
if (isset($_GET['post']) && $_GET['post'] != 'archive') {
$ogtype = 'article';

@ -6,7 +6,6 @@ require "includes/start-meta.php";
?>
<link rel="stylesheet" href="styles/splash.css" />
<link rel="stylesheet" href="styles/fonts.css" />
<link rel="stylesheet" href="styles/cursor.css" />
<style type="text/css">
html, body {margin: 0; height: 100%; overflow: hidden}
</style>

@ -7,7 +7,6 @@ require $root."includes/start-meta.php";
?>
<link rel="stylesheet" href="styles/splash.css" />
<link rel="stylesheet" href="styles/fonts.css" />
<link rel="stylesheet" href="styles/cursor.css" />
<style>
html, body {margin: 0; height: 100%; overflow: hidden}
</style>

@ -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);
}
Loading…
Cancel
Save