scottjohnson.pro/docs/assets/plugins/font-awesome/scss/_stacked.scss

32 lines
492 B
SCSS
Raw Normal View History

2016-07-29 00:47:42 -04:00
// Stacked Icons
// -------------------------
.#{$fa-css-prefix}-stack {
display: inline-block;
height: 2em;
line-height: 2em;
2018-07-25 09:34:10 -04:00
position: relative;
2016-07-29 00:47:42 -04:00
vertical-align: middle;
2018-07-25 09:34:10 -04:00
width: 2em;
2016-07-29 00:47:42 -04:00
}
2018-07-25 09:34:10 -04:00
.#{$fa-css-prefix}-stack-1x,
.#{$fa-css-prefix}-stack-2x {
2016-07-29 00:47:42 -04:00
left: 0;
2018-07-25 09:34:10 -04:00
position: absolute;
2016-07-29 00:47:42 -04:00
text-align: center;
2018-07-25 09:34:10 -04:00
width: 100%;
}
.#{$fa-css-prefix}-stack-1x {
line-height: inherit;
}
.#{$fa-css-prefix}-stack-2x {
font-size: 2em;
}
.#{$fa-css-prefix}-inverse {
color: $fa-inverse;
2016-07-29 00:47:42 -04:00
}