Adding "fork me on github" banner

This commit is contained in:
spf13 2013-08-17 08:40:18 -04:00
parent 8c0ab4def1
commit 3ae8078d3a
2 changed files with 27 additions and 1 deletions

View file

@ -1,5 +1,8 @@
</div>
</div>
<div id="ribbon">
<a href="http://github.com/spf13/hugo" rel="me">Fork me on GitHub</a>
</div>
<hr>
<footer id="footer">
<p class="pull-right"><a href="#top">Back to top</a></p>

View file

@ -1107,3 +1107,26 @@
overflow: visible !important;
}
}
#ribbon {
background-color: #a00;
overflow: hidden;
position: absolute;
right: -3em;
top: 2.5em;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-moz-box-shadow: 0 0 1em #888;
-webkit-box-shadow: 0 0 1em #888;
}
#ribbon a {
border: 1px solid #faa;
color: #fff;
display: block;
font: bold 81.25% "Helvetiva Neue",Helvetica,Arial,sans-serif;
margin: 0.05em 0 0.075em 0;
padding: 0.5em 3.5em;
text-align: center;
text-decoration: none;
text-shadow: 0 0 0.5em #444;
}