Browse Source

Restoring footer

master
Drew Short 6 years ago
parent
commit
c32086bbdc
  1. 24
      themes/pure/layouts/_default/baseof.html
  2. 3
      themes/pure/layouts/partials/footer.html
  3. 35
      themes/pure/static/assets/css/style.css

24
themes/pure/layouts/_default/baseof.html

@ -2,18 +2,20 @@
<html lang="en"> <html lang="en">
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
<body> <body>
<div id="header"> <div id="wrapper">
{{- partial "header.html" . -}} <div id="header">
</div> {{- partial "header.html" . -}}
<div id="content" class="pure-g"> </div>
<div class="pure-u-1-5"></div> <div id="content" class="pure-g">
<div class="pure-u-3-5"> <div class="pure-u-1-5"></div>
{{- block "main" . }}{{- end }} <div class="pure-u-3-5">
</div> {{- block "main" . }}{{- end }}
<div class="pure-u-1-5"></div> </div>
<div class="pure-u-1-5"></div>
</div>
</div> </div>
<div id="footer"> <div id="footer">
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</div> </div>
</body> </body>
</html> </html>

3
themes/pure/layouts/partials/footer.html

@ -1,6 +1,5 @@
<!-- <div class="pure-g"> <div class="pure-g">
<div class="pure-u-1 text-align-right" style="padding-right: 1em;"> <div class="pure-u-1 text-align-right" style="padding-right: 1em;">
<span>&copy;</span> {{ .Site.Params.CopyrightYear }} - Present &nbsp; {{ .Site.Params.CopyrightHolder }} &nbsp; ALL RIGHTS RESERVED. <span>&copy;</span> {{ .Site.Params.CopyrightYear }} - Present &nbsp; {{ .Site.Params.CopyrightHolder }} &nbsp; ALL RIGHTS RESERVED.
</div> </div>
</div> </div>
-->

35
themes/pure/static/assets/css/style.css

@ -25,26 +25,27 @@ nav ul li a img:hover {
} }
*/ */
/*#container { html, body {
min-height: 100%; height: 100%;
position: relative;
} }
*/ body {
/*#body { display: flex;
padding: 10px; flex-direction: column;
padding-bottom: 2em;
} }
*/ #wrapper {
/*#footer { flex: 1 0 auto;
position: absolute;
bottom: 0;
width: 100%;
height: 2em;
} }
*/ #footer {
/*.text-align-right { flex-shrink: 0;
padding: 0.5em;
}
.text-align-right {
text-align: right; text-align: right;
}*/ }
.pure-menu-item a img { .pure-menu-item a img {
padding: .1em .2em; padding: .1em .2em;
@ -169,7 +170,7 @@ nav ul li a img:hover {
transform: translateY(-44px); transform: translateY(-44px);
} }
@media (min-width: 63em) { @media (min-width: 62em) {
.menu-screen { .menu-screen {
margin-top: 2.95em; margin-top: 2.95em;
z-index: 1; z-index: 1;