mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-11-20 11:14:28 +00:00
20 lines
481 B
SCSS
20 lines
481 B
SCSS
// Stacked Icons
|
|
// -------------------------
|
|
|
|
.#{$fa-css-prefix}-stack {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 2em;
|
|
height: 2em;
|
|
line-height: 2em;
|
|
vertical-align: middle;
|
|
}
|
|
.#{$fa-css-prefix}-stack-top, .#{$fa-css-prefix}-stack-bottom {
|
|
position: absolute;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
.#{$fa-css-prefix}-stack-top { line-height: inherit; }
|
|
.#{$fa-css-prefix}-stack-bottom { font-size: 2em; }
|
|
.#{$fa-css-prefix}-inverse { color: $fa-inverse; }
|