Move icon-within-link styles into main styles.

A bit cleaner, and takes advantage of the & selector.
This commit is contained in:
Brian McAllister 2013-02-17 18:14:06 -05:00
parent 86604248c1
commit 1419cec44c

View File

@ -120,6 +120,11 @@ $experimental-support-for-webkit: true !default;
background-repeat: repeat;
margin-top: 0;
}
/* Makes sure icons active on rollover in links. */
a & {
display: inline-block;
}
}
/*
@ -151,14 +156,6 @@ $experimental-support-for-webkit: true !default;
speak: none;
}
/* makes sure icons active on rollover in links */
a {
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
}
}
/* makes the font 33% larger relative to the icon container */
.icon-large:before {
vertical-align: -10%;