From 713d4ed87685042b62ed3e1bde226f4c7a6278c8 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Mon, 16 May 2022 20:00:07 -0400 Subject: [PATCH] Fixed header and added footer to every page --- assets/css/style.css | 23 ++++++++++++++++++++++- layouts/partials/footer.html | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/assets/css/style.css b/assets/css/style.css index d737397..5e8410f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -67,7 +67,7 @@ a:active { max-width: 800px; } -.header-top .title { margin-right: 1rem; } +.header-top .title { margin-right: 1rem; max-width: 400px; } .header-top .h-card { display: flex; @@ -264,6 +264,7 @@ main { padding: 20px 10px; max-width: 800px; margin: 0 auto; + min-height: calc(100vh - 250px); } main .e-content { @@ -313,10 +314,30 @@ main .e-content h2 { /* ** Footer */ + footer { + padding-top: 0.5rem; + background-color: #363636; + color: #ededed; + min-height: 100%; font-size: 12px; box-sizing:border-box; } +footer a:link { + color: white; +} + +.footer-navs { + font-size: 1rem; + max-width: 800px; + margin-left: auto; + margin-right: auto; + display: flex; + justify-content: space-between; + text-align: left; + flex-wrap: wrap; + padding: 1rem; +} /* END FOOTER */ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a24cde3..eeffae6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,6 +4,40 @@ Powered by Hugo using a modified version of the pulp theme.

+