Skip to content

Commit

Permalink
upgrading flair logic to support multiple years
Browse files Browse the repository at this point in the history
no css diffs, pure refactoring
  • Loading branch information
ChristopherIMeyers committed Feb 17, 2014
1 parent 2e2540f commit 173bec6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions sass/_modules_flair.sass
Expand Up @@ -228,10 +228,11 @@ a:hover ~ .flair, .flair:hover
content: $text
float: right
color: gray
@for $i from 1 through 6
&.flair-S2013-#{$i}
&::before
$text: "(2013 Season "+$i+")"
content: $text
float: right
color: gray
@for $year from 2013 through 2013
@for $season from 1 through 6
&.flair-S#{$year}-#{$season}
&::before
$text: "("+$year+" Season "+$season+")"
content: $text
float: right
color: gray

0 comments on commit 173bec6

Please sign in to comment.