Use this CSS3 Github Ribbon on your github-based projects, it's fully customizable!
Just link css3-github-ribbon.css
on your html document and paste the github link on it:
<a href="https://github.com/dciccale/css3-github-ribbon" class="github-ribbon">
Fork me on GitHub
</a>
You will need Stylus and Node.js to compile the modified .styl
file
Change the $bgcolor
variable to any valid CSS color.
$bgcolor papayaWheep
Change the $color
variable to any valid CSS color.
$color #222
Change the $position
variable to one of these two values: 'top-right' (default) or 'top-left'.
$position 'top-right'
- Unintended horizontal scrolling can cut the edges of the ribbon
To fix this add the following code to the .styl file
body
overflow-x none
See LICENSE.txt