lettuce add a 404 page

This commit is contained in:
Boof 2022-11-17 13:56:43 +01:00 committed by GitHub
parent f310fc558d
commit b15f972107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 68 additions and 0 deletions

56
404.css Normal file
View File

@ -0,0 +1,56 @@
body {
background-color: #95c2de;
}
.mainbox {
background-color: #95c2de;
margin: auto;
height: 600px;
width: 600px;
position: relative;
}
.err {
color: #ffffff;
font-family: 'Nunito Sans', sans-serif;
font-size: 11rem;
position:absolute;
left: 20%;
top: 8%;
}
.far {
position: absolute;
font-size: 8.5rem;
left: 42%;
top: 15%;
color: #ffffff;
}
.err2 {
color: #ffffff;
font-family: 'Nunito Sans', sans-serif;
font-size: 11rem;
position:absolute;
left: 68%;
top: 8%;
}
.msg {
text-align: center;
font-family: 'Nunito Sans', sans-serif;
font-size: 1.6rem;
position:absolute;
left: 16%;
top: 45%;
width: 75%;
}
a {
text-decoration: none;
color: white;
}
a:hover {
text-decoration: underline;
}

12
404.html Normal file
View File

@ -0,0 +1,12 @@
<head>
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@600;900&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/4b9ba14b0f.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://boof.eu.org/404.css" Type="text/css" media="all">
</head>
<body>
<div class="mainbox">
<div class="err">4</div>
<i class="far fa-question-circle fa-spin"></i>
<div class="err2">4</div>
<div class="msg">Maybe this page moved? Got deleted? Is hiding out in quarantine? Never existed in the first place?<p>Let's go <a href="boof.eu.org">home</a> and try from there.</p></div>
</div>