Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: 404 page #27839

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
permalink: /404.html
---
<div class="centered-content with-lhn">
<img class="icon" src="/assets/images/hourglass.svg" />
<div class="centered-content">
<img class="icon" src="/assets/images/circle-hourglass.svg" />
<strong>Hmm it's not here...</strong>
<div>That page is nowhere to be found.</div>
</div>
29 changes: 6 additions & 23 deletions docs/_sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -564,30 +564,13 @@ button {
}

.centered-content {
height: 240px;
width: 100%;
height: calc(100vh - 56px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
font-size: larger;
position: absolute;
top: calc((100vh - 240px) / 2);

width: 380px;
right: calc((100vw - 380px) / 2);
@include breakpoint($breakpoint-tablet) {
width: 500px;
right: calc((100vw - 500px) / 2);
}

&.with-lhn {
right: calc((100vw - 380px) / 2);

@include breakpoint($breakpoint-tablet) {
right: calc((100vw - 320px - 500px ) / 2);
}

@include breakpoint($breakpoint-desktop) {
right: calc((100vw - 420px - 500px) / 2);
}
}

div {
margin-top: 8px;
Expand Down
Loading