Font-Awesome/web-fonts-with-css/scss/_stacked.scss

32 lines
505 B
SCSS
Raw Normal View History

2018-01-31 00:01:42 +00:00
// Stacked Icons
// -------------------------
.#{$fa-css-prefix}-stack {
display: inline-block;
height: 2em;
line-height: 2em;
position: relative;
vertical-align: middle;
2018-11-02 15:15:27 +00:00
width: ($fa-fw-width*2);
2018-01-31 00:01:42 +00:00
}
.#{$fa-css-prefix}-stack-1x,
.#{$fa-css-prefix}-stack-2x {
left: 0;
position: absolute;
text-align: center;
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;
}