Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 517 Bytes
@import mixins
// options
$bgcolor = #121621
$color = rgba(255, 255, 255, 0.9)
$position = 'top-right' // or 'top-left'
// ribbon
.github-ribbon
background-color $bgcolor
ribbon-position $position
box-shadow 0 0 0px 1px lighten(desaturate($bgcolor, 20%), 5%) inset, 0 0 2px 1px white inset, 0 0 1em #888
color $color
display block
padding 0.6em 3.5em
position fixed
font bold 0.82em sans-serif
text-align center
text-decoration none
text-shadow 1px -1px 8px rgba(0,0,0,0.6)
user-select none