Created
May 20, 2015 21:32
-
-
Save edy/f950cb681d889d8f50be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$colors: ( | |
1: $blog-navigation-color1, | |
2: $blog-navigation-color2, | |
3: $blog-navigation-color3, | |
4: $blog-navigation-color4, | |
5: $blog-navigation-color5 | |
); | |
@each $color in $colors { | |
$nr: nth($color, 1); | |
$color: nth($color, 2); | |
&:nth-child(#{$nr}) a { | |
color: $color; | |
&:hover { | |
color: darken($color, 10%); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment