diff options
author | rekado <rekado@elephly.net> | 2016-12-19 11:31:03 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2016-12-19 12:13:58 +0100 |
commit | 5819fa0e1c06b6da1e0b75a47dfa7cae600409ab (patch) | |
tree | b01a3a1bb269fb06b668dec165e7f60dba8e7c00 | |
parent | 7f5002befbba542c892b81771286d9e313862517 (diff) |
Add a footer.
-rw-r--r-- | haunt.scm | 18 | ||||
-rw-r--r-- | static/css/screen.css | 10 |
2 files changed, 27 insertions, 1 deletions
@@ -114,6 +114,21 @@ place them in the directory DEST." +(define footer + `(footer + "Made with " (span (@ (class "highlight")) "♥") + " by " + (a (@ (href "/who.html")) + "humans") + " and powered by " + (a (@ (href "https://gnu.org/software/guile")) + "GNU Guile") ". " + (a (@ (href "http://git.savannah.gnu.org/cgit/guix/bootstrappable.git/")) + "Source code") + " under the " + (a (@ (href "https://gnu.org/licenses/agpl-3.0.html")) + "GNU AGPL") ".")) + (define (make-layout big-banner?) (lambda (site title body) `((doctype "html") @@ -145,7 +160,8 @@ place them in the directory DEST." (src "/images/banner-slim.svg"))))) (h1 ,title))) (div (@ (id "page")) - ,body))))) + ,body) + ,footer)))) (define default-layout (make-layout #f)) (define index-layout (make-layout #t)) diff --git a/static/css/screen.css b/static/css/screen.css index d7c2f26..0072868 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -50,6 +50,16 @@ body { #banner-slim { padding-bottom: 1em; } +footer { + background-color: #fff; + box-shadow: 0px -3px 8px #ccc; + color: #000; + font-size: 12px; + margin-top: 3rem; + padding: 1em; + text-align: center; } + footer .highlight { + color: #ff00ff; } @media screen and (max-width: 600px) { #index { |