Skip to content

Commit ba8de8b

Browse files
committed
Mainframe: Fix up old 404 page
1 parent b180269 commit ba8de8b

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed

assets/css/v2/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,3 +1981,20 @@ hr {
19811981
visibility: hidden;
19821982
}
19831983
}
1984+
1985+
.not-found-container {
1986+
display: flex;
1987+
flex-direction: column;
1988+
margin-top: 10vh;
1989+
1990+
.info-header {
1991+
font-size: var(--font-step-2);
1992+
}
1993+
1994+
.info-desc {
1995+
display: flex;
1996+
flex-direction: column;
1997+
gap: var(--space-3xs);
1998+
font-size: var(--font-step--1);
1999+
}
2000+
}

layouts/404.html

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
{{ define "main"}}
22

3-
<div class="container hero">
4-
<h1><i class="far fa-frown"></i></h1>
5-
<h1>Page not found</h1>
6-
7-
<div class="row no-gutters">
8-
<div class="card list-card col-md-4">
9-
<div class="col-md-4">
10-
</div>
11-
<div class="card-body">
12-
13-
<div class="card-text">
14-
<p>Uh oh! We couldn't find the page you were looking for.</p>
15-
<p><a class="button button-solid" href="{{ "/" | absURL }}">Return to the NGINX Docs Home page.</a></p>
16-
</div>
3+
<div class="content">
4+
<div class="not-found-container">
5+
<h1 class="info-header">
6+
HTTP 404 - Page not found
7+
</h1>
8+
<div class="info-desc">
9+
<p>Uh oh! We couldn't find the page/path you were looking for.</p>
10+
<a href="{{ .Site.BaseURL | relLangURL }}" aria-label="Return home">Return to the {{ .Site.Title }} homepage.</a>
11+
</div>
1712
</div>
18-
</div>
19-
</div>
2013
</div>
2114

22-
23-
24-
2515
{{ end }}

0 commit comments

Comments
 (0)