From 6a712267d759c4f035d78895d838e8f0a3783d34 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 8 Dec 2015 05:36:05 +0100 Subject: [PATCH] [enh] nice footer before hipster --- materialize/css/style-page.css | 40 ++++++++++++++++++++++++++++++++++ templates/page-example.html | 9 ++++++++ 2 files changed, 49 insertions(+) diff --git a/materialize/css/style-page.css b/materialize/css/style-page.css index c978e5d..b241807 100644 --- a/materialize/css/style-page.css +++ b/materialize/css/style-page.css @@ -103,6 +103,46 @@ footer { padding-top: 14px; } +.back-to-home { + text-align: center; +} + +.back-to-home hr { + width: 14%; + margin-top: 8em; + color: #DDD; +} + +.back-to-home #logo { + background: transparent url("../img/logo.svg") no-repeat scroll center top / cover; + border-radius: 100em; + border: 7px solid black; + margin: auto; + margin-top: 1em; + height: 150px; + width: 150px; + color: transparent; + font-size: 40px; +} + +.back-to-home a { + position: relative; + text-decoration: none; + color: transparent; +} + +.back-to-home #logo:hover { + background-color: black; + text-decoration: none; + color: white; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + text-transform: uppercase; + font-family: sans-serif; +} + footer p { margin: 0; } diff --git a/templates/page-example.html b/templates/page-example.html index 1803e7b..2e446b2 100644 --- a/templates/page-example.html +++ b/templates/page-example.html @@ -64,6 +64,15 @@ +
+
+ + + +
+