Font-Awesome/scss/_stacked.scss

32 lines
505 B
SCSS
Raw Permalink Normal View History

2018-06-21 04:12:02 +08:00
// Stacked Icons
// -------------------------
.#{$fa-css-prefix}-stack {
display: inline-block;
height: 2em;
line-height: 2em;
position: relative;
vertical-align: middle;
2018-11-02 23:15:27 +08:00
width: ($fa-fw-width*2);
2018-06-21 04:12:02 +08: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;
}