Simplifying styles

This commit is contained in:
Chris Rodriguez
2016-05-12 14:25:22 -04:00
parent 6951497a16
commit 0dcd3d2da2

View File

@@ -32,11 +32,11 @@
@include border-left(1px solid $gray-d3); @include border-left(1px solid $gray-d3);
} }
a { a,
a:visited {
@include padding(($baseline/2), ($baseline*0.75), 13px, ($baseline*0.75)); @include padding(($baseline/2), ($baseline*0.75), 13px, ($baseline*0.75));
@extend %t-title7; @extend %t-title7;
@extend %t-regular; @extend %t-regular;
border-bottom: 3px solid transparent;
color: $gray-d1; color: $gray-d1;
display: block; display: block;
text-align: center; text-align: center;
@@ -45,19 +45,17 @@
&:hover, &:hover,
&:focus { &:focus {
color: $blue; color: $blue;
border-color: $blue; border-bottom: 4px solid $blue;
} }
&.active { &.active {
border-bottom: 3px solid $gray-d4; border-bottom: 4px solid $blue;
background-color: transparent; background-color: transparent;
color: $gray-d4; color: $blue;
font-weight: $font-bold;
font-size: em(18);
&:hover, &:hover,
&:focus { &:focus {
color: $gray-d4; color: $blue;
} }
} }
} }