404 page styled
This commit is contained in:
parent
e067ac259d
commit
ff04d01208
|
@ -0,0 +1,93 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Tilde Black - Page not found</title>
|
||||
<style type="text/css">
|
||||
/* --------- FONTS ----------- */
|
||||
|
||||
@font-face {
|
||||
font-family: 'blankaregular';
|
||||
font-display: swap;
|
||||
src: url('/assets/blanka-regular-webfont.woff2') format('woff2'),
|
||||
url('/assets/blanka-regular-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* --------- TYPES ----------- */
|
||||
|
||||
html,
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow-x: hidden;
|
||||
background-color: #2f2f2f;
|
||||
color: #f2f2f2;
|
||||
font-size: 18px;
|
||||
line-height: 1.4em;
|
||||
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
@media screen and (prefers-reduced-motion: reduce) {
|
||||
html,
|
||||
body {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fd9beb;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 25px 0;
|
||||
}
|
||||
|
||||
a::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
transform: scaleX(0);
|
||||
transform-origin: left center;
|
||||
transition: background-color 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
|
||||
background-color: #fd9beb;
|
||||
}
|
||||
|
||||
a:hover::after {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "blankaregular";
|
||||
font-size: 62px;
|
||||
line-height: 1.4em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.error {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
align-items: center;
|
||||
min-height: 80vh;
|
||||
}
|
||||
.error-block {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error">
|
||||
<div class="error-block">
|
||||
<h1>Page not found</h1>
|
||||
<p>We're sorry, but there is no page at this location. Why not go back and tray again, or <a href="/">return to the homepage</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -3,8 +3,8 @@
|
|||
@font-face {
|
||||
font-family: 'blankaregular';
|
||||
font-display: swap;
|
||||
src: url('blanka-regular-webfont.woff2') format('woff2'),
|
||||
url('blanka-regular-webfont.woff') format('woff');
|
||||
src: url('/assets/blanka-regular-webfont.woff2') format('woff2'),
|
||||
url('/assets/blanka-regular-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
href="http://creativecommons.org/licenses/by/3.0/"
|
||||
rel="noreferrer"
|
||||
title="Creative Commons BY 3.0">CC 3.0 BY</a></p>
|
||||
<p>© 2020 Tilde Black</p>
|
||||
<p>Tilde Black system pages are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Individual user pages are all rights reserved unless otherwise specified.</p>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<h2>The black hole of the tildeverse</h2>
|
||||
<div class="icon"><img src="assets/black-hole.svg" alt="Icon of a Black Hole"/></div>
|
||||
<div class="copy">
|
||||
<p>This site is available on tor at: <a href="http://black6kfjetfuzaeozz7fs53whh7xtd4e27telrf5fg5kgdt5ah5plad.onion">black...jetfuz...onion</a></p>
|
||||
<p>Tilde (~) servers are public access unix systems in the spirit of
|
||||
<a href="https://tilde.club" rel="noreferrer">tilde.club</a>, which was created by Paul Ford
|
||||
in 2014. Member status on a tilde server mainly involves some level of
|
||||
|
@ -158,9 +159,10 @@
|
|||
</div>
|
||||
<ul>
|
||||
<li>Secure web hosting</li>
|
||||
<li>Gemini hosting</li>
|
||||
<li>Gopher hosting</li>
|
||||
<li>Email</li>
|
||||
<li>Tor hidden service access</li>
|
||||
<li>Tor hidden services (ssh, http, gopher, gemini) </li>
|
||||
<li>NNTP private discussion boards</li>
|
||||
<li>Guide authoring</li>
|
||||
<li>Programming tools</li>
|
||||
|
|
|
@ -22,6 +22,7 @@ output_dir="${1:-"/var/www/htdocs"}"
|
|||
cat "${template_dir}/foot.partial.html"
|
||||
} > "${output_dir}/index.html"
|
||||
|
||||
cp "${template_dir}/404.html" "${output_dir}"
|
||||
cp -R "${template_dir}/assets/" "${output_dir}"
|
||||
cp -R "${template_dir}/samizdat/." "${output_dir}"
|
||||
cp -R "${template_dir}/snowflake/" "${output_dir}"
|
||||
|
|
Loading…
Reference in New Issue