PHP Classes

File: 404.php

Recommend this page to a friend!
  Classes of António Lourenço   Lou Router   404.php   Download  
File: 404.php
Role: Example script
Content type: text/plain
Description: web page
Class: Lou Router
Route HTTP requests using callback functions
Author: By
Last change:
Date: 2 months ago
Size: 2,395 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>404</title>
    <meta name="author" content="Antonio Lourenco">
<style>
* {-webkit-box-sizing: border-box; box-sizing: border-box;}

body {padding: 0; margin: 0;}

#notfound {position: relative; height: 100vh;}

#notfound .notfound {position: absolute; left: 50%; top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);}
   
.notfound {max-width: 520px; width: 100%; line-height: 1.4; text-align: center;}

.notfound .notfound-404 {position: relative; height: 240px;}

.notfound .notfound-404 h1 {
    position: absolute; left: 50%; top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 252px; font-weight: 900; margin: 0px; color: #43526e;
    text-transform: uppercase; letter-spacing: -40px;margin-left: -20px;}

.notfound .notfound-404 h1>span {text-shadow: -8px 0px 0px #fff;}

.notfound .notfound-404 h3 {position: relative; font-size: 18px; font-weight: 700;
    text-transform: uppercase; color: #43526e; margin: 0px; letter-spacing: 3px; padding-left: 6px;}

.notfound h2 {font-size: 18px; font-weight: 600; text-transform: uppercase;
    color: #43526e; margin-top: 0px; margin-bottom: 25px;}

.notfound a {font-size: 14px; text-decoration: none; text-transform: uppercase; background: #43526e;
      display: inline-block; padding: 15px 30px; border-radius: 40px; color: #fff; font-weight: 700;
      -webkit-box-shadow: 0px 4px 15px -5px #0046d5; box-shadow: 0px 4px 15px -5px #0046d5;}

@media only screen and (max-width: 767px) {
    .notfound .notfound-404 {height: 200px;}
    .notfound .notfound-404 h1 {font-size: 200px;}
}
@media only screen and (max-width: 480px) {
  .notfound .notfound-404 {height: 162px;}
 
  .notfound .notfound-404 h1 {font-size: 162px; height: 150px; line-height: 162px;}

  .notfound h2 {font-size: 16px;}
}
</style>
</head>
<body>
    <div id="notfound">
        <div class="notfound">
            <div class="notfound-404">
                <h3>Oops! Page not found</h3>
                <h1><span>4</span><span>0</span><span>4</span></h1>
            </div>
            <h2>we are sorry, but the page you requested was not found</h2>
            <a href="https://www.infoscript.eu/index.php?p=home">Go TO Homepage</a>
        </div>
    </div>
</body>
</html>