Fix sticky footer issue (#10681)
* Fix sticky footer issue * Fix merge conflict * Aesthetic changes to 404 page
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f0d8c8a79c
commit
0650b70742
+26
-3
@@ -1,5 +1,28 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section>
|
<div class="container-404">
|
||||||
<p>Sorry, this page was not found. :(</p>
|
<h4>
|
||||||
</section>
|
Perhaps you were looking for:
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="/docs">
|
||||||
|
The Kubernetes documentation
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/blog">
|
||||||
|
The Kubernetes blog
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/community">
|
||||||
|
The Kubernetes community
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="page">
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
{{ block "hero" . }}
|
{{ block "hero" . }}
|
||||||
<!-- HERO -->
|
<!-- HERO -->
|
||||||
@@ -18,8 +18,12 @@
|
|||||||
</section>
|
</section>
|
||||||
{{ block "post-hero" . }}{{ end }}
|
{{ block "post-hero" . }}{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ block "main" . }}{{ end }}
|
|
||||||
|
<article class="page-content">
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
</article>
|
||||||
|
|
||||||
{{ partialCached "footer.html" . }}
|
{{ partialCached "footer.html" . }}
|
||||||
{{ partialCached "footer-scripts.html" . }}
|
{{ partialCached "footer-scripts.html" . }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1846,6 +1846,23 @@ $feature-box-div-margin-bottom: 40px
|
|||||||
color: #0000CC
|
color: #0000CC
|
||||||
margin-right: 8px
|
margin-right: 8px
|
||||||
|
|
||||||
|
// This Sass ensures a sticky footer at the bottom
|
||||||
|
.page
|
||||||
|
display: flex
|
||||||
|
flex-direction: column
|
||||||
|
min-height: 100vh
|
||||||
|
|
||||||
|
.page-content
|
||||||
|
flex: 1
|
||||||
|
|
||||||
|
// 404 page
|
||||||
|
.container-404
|
||||||
|
text-align: center
|
||||||
|
margin: 3.5rem 0
|
||||||
|
|
||||||
|
ul li a
|
||||||
|
font-size: 1.5rem
|
||||||
|
|
||||||
// GitHub info/edit buttons
|
// GitHub info/edit buttons
|
||||||
#pre-footer
|
#pre-footer
|
||||||
margin-top: 2rem
|
margin-top: 2rem
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user