mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-01 13:48:18 +00:00
Add a simple error code page (mostly for handling 404s)
This commit is contained in:
@@ -326,6 +326,28 @@ input[type="search"]::-webkit-search-cancel-button {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Error page
|
||||
*/
|
||||
|
||||
div.center-hv {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
p#error-code, p#error-message {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p#error-code { font-size: 8em; bottom: 3vh; right: 5vw; }
|
||||
p#error-message { font-size: 2em; bottom: 2vh; left: 3vw; }
|
||||
|
||||
|
||||
/*
|
||||
* Responsive rules
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user