Skip to content

Commit

Permalink
Update css3-github-ribbon.styl
Browse files Browse the repository at this point in the history
  • Loading branch information
dciccale committed May 26, 2013
1 parent c11a40a commit 57f8859
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions css3-github-ribbon.styl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@import mixins

//options
$background-color = #121621
// options
$bgcolor = #121621
$color = rgba(255, 255, 255, 0.9)
$position = 'top-right'
$position = 'top-right' // or 'top-left'

// ribbon
.github-ribbon
background-color $background-color
background-color $bgcolor
ribbon-position $position
box-shadow 0 0 0px 1px lighten(desaturate($background-color, 20%), 5%) inset, 0 0 2px 1px white inset, 0 0 1em #888
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
Expand All @@ -18,4 +18,4 @@ $position = 'top-right'
text-align center
text-decoration none
text-shadow: 1px -1px 8px rgba(0,0,0,0.6)
user-select none
user-select none

0 comments on commit 57f8859

Please sign in to comment.