diff --git a/themes/pure/layouts/_default/baseof.html b/themes/pure/layouts/_default/baseof.html index bae72d1..aa55037 100644 --- a/themes/pure/layouts/_default/baseof.html +++ b/themes/pure/layouts/_default/baseof.html @@ -2,18 +2,20 @@ {{- partial "head.html" . -}} - -
-
-
- {{- block "main" . }}{{- end }} -
-
+
+ +
+
+
+ {{- block "main" . }}{{- end }} +
+
+
+ {{- partial "footer.html" . -}} +
diff --git a/themes/pure/layouts/partials/footer.html b/themes/pure/layouts/partials/footer.html index aee5e45..92ca081 100644 --- a/themes/pure/layouts/partials/footer.html +++ b/themes/pure/layouts/partials/footer.html @@ -1,6 +1,5 @@ - \ No newline at end of file diff --git a/themes/pure/static/assets/css/style.css b/themes/pure/static/assets/css/style.css index d305719..584177a 100644 --- a/themes/pure/static/assets/css/style.css +++ b/themes/pure/static/assets/css/style.css @@ -25,26 +25,27 @@ nav ul li a img:hover { } */ -/*#container { - min-height: 100%; - position: relative; +html, body { + height: 100%; } -*/ -/*#body { - padding: 10px; - padding-bottom: 2em; + +body { + display: flex; + flex-direction: column; } -*/ -/*#footer { - position: absolute; - bottom: 0; - width: 100%; - height: 2em; + +#wrapper { + flex: 1 0 auto; } -*/ -/*.text-align-right { + +#footer { + flex-shrink: 0; + padding: 0.5em; +} + +.text-align-right { text-align: right; -}*/ +} .pure-menu-item a img { padding: .1em .2em; @@ -169,7 +170,7 @@ nav ul li a img:hover { transform: translateY(-44px); } -@media (min-width: 63em) { +@media (min-width: 62em) { .menu-screen { margin-top: 2.95em; z-index: 1;