[enh] nice footer before hipster

This commit is contained in:
Laurent Peuch 2015-12-08 05:36:05 +01:00
parent 8e83ee237c
commit 6a712267d7
2 changed files with 49 additions and 0 deletions

View File

@ -103,6 +103,46 @@ footer {
padding-top: 14px; 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 { footer p {
margin: 0; margin: 0;
} }

View File

@ -64,6 +64,15 @@
</div> </div>
</section> </section>
<div class="back-to-home">
<hr>
<a href="..">
<div id="logo" src="./../materialize/img/logo.svg"/>
HOME
</div>
</a>
</div>
<footer> <footer>
<p>Generate using <a href="https://github.com/psycojoker/prosopopee">Prosopopée</a> · content under <a href="CC-BY-SA">CC-BY-SA</a></p> <p>Generate using <a href="https://github.com/psycojoker/prosopopee">Prosopopée</a> · content under <a href="CC-BY-SA">CC-BY-SA</a></p>
</footer> </footer>