Add custom 404 page to site
type: documentation
This commit is contained in:
parent
09b0ee316c
commit
87687f4dec
|
@ -4,7 +4,8 @@ Changelog
|
|||
|
||||
UNRELEASED - 2020-04-19
|
||||
-----------------------
|
||||
- :books: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Document piece length selection algorithm ([#392](https://github.com/casey/intermodal/pull/392)) - Fixes [#367](https://github.com/casey/intermodal/issues/367) - _Casey Rodarmor <casey@rodarmor.com>_
|
||||
- :books: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Add custom 404 page to site - _Casey Rodarmor <casey@rodarmor.com>_
|
||||
- :books: [`09b0ee316c03`](https://github.com/casey/intermodal/commit/09b0ee316c034848c3b50966e7b5e3ed720aef2b) Document piece length selection algorithm ([#392](https://github.com/casey/intermodal/pull/392)) - Fixes [#367](https://github.com/casey/intermodal/issues/367) - _Casey Rodarmor <casey@rodarmor.com>_
|
||||
- :books: [`3ed449ce9325`](https://github.com/casey/intermodal/commit/3ed449ce932509ac88bd4837d74c9cbbb0729da9) Generate reference sections with `bin/gen` - _Casey Rodarmor <casey@rodarmor.com>_
|
||||
- :art: [`a6bf75279181`](https://github.com/casey/intermodal/commit/a6bf7527918178821e080db10e65b057f427200d) Use `invariant` instead of `unwrap` and `expect` - Fixes [#167](https://github.com/casey/intermodal/issues/167) - _Casey Rodarmor <casey@rodarmor.com>_
|
||||
- :white_check_mark: [`faf46c0f0e6f`](https://github.com/casey/intermodal/commit/faf46c0f0e6fd4e4f8b504d414a3bf02d7d68e4a) Test that globs match torrent contents - Fixes [#377](https://github.com/casey/intermodal/issues/377) - _Casey Rodarmor <casey@rodarmor.com>_
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//! See [the book](https://imdl.io/book/bittorrent/piece-length.html) for more
|
||||
//! information on Intermodal's automatic piece length selection algorithm.
|
||||
//! See [the book](https://imdl.io/book/bittorrent/piece-length-selection.html)
|
||||
//! for more information on Intermodal's automatic piece length selection
|
||||
//! algorithm.
|
||||
|
||||
use crate::common::*;
|
||||
|
||||
|
|
30
www/404.css
Normal file
30
www/404.css
Normal file
|
@ -0,0 +1,30 @@
|
|||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-family: sans-serif;
|
||||
text-align: center;
|
||||
font-size: 60vmin;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-shadow: 0 0 100px #fff;
|
||||
}
|
13
www/404.html
Normal file
13
www/404.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>I N T E R M I S S I N G</title>
|
||||
<link href="404.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<div><a href="/">㉄</a></div>
|
||||
</body>
|
||||
</html>
|
||||
<!-- Love, Casey -->
|
Loading…
Reference in New Issue
Block a user