mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-14 01:00:27 +08:00
Move icon-within-link styles into main styles.
A bit cleaner, and takes advantage of the & selector.
This commit is contained in:
parent
86604248c1
commit
1419cec44c
13
sass/font-awesome.scss
vendored
13
sass/font-awesome.scss
vendored
@ -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%;
|
||||
|
Loading…
Reference in New Issue
Block a user