Add a footer

master
rnhmjoj 2015-04-08 23:25:07 +02:00
parent 857d3b8681
commit c9ca8b1016
2 changed files with 21 additions and 3 deletions

View File

@ -31,9 +31,23 @@ body {
margin-top: -2em;
}
h1 {
display: inline;
footer {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
padding: 1em;
font-size: .9em;
color: rgb(89,84,80)
}
footer span {
float: right;
margin-right: 2em;
}
h1 {
margin: 1em 0 0 1em;
font-size: 1.8em;
font-weight: 700;
color: rgb(81,94,102);

View File

@ -12,7 +12,11 @@
<h1><a href="/">BREVE</a></h1>
<h2>a url shortener</h2>
<div id="container">
<div id="center"> $yield$ </div>
<div id="center">$yield$</div>
</div>
<footer>
breve is open <a href="https://github.com/rnhmjoj/breve">source</a>
<span>© Rnhmjoj</span>
</footer>
</body>
</html>