mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 06:21:30 +08:00
20 lines
471 B
SCSS
20 lines
471 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-1x, .#{$fa-css-prefix}-stack-2x {
|
|
position: absolute;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
.#{$fa-css-prefix}-stack-1x { line-height: inherit; }
|
|
.#{$fa-css-prefix}-stack-2x { font-size: 2em; }
|
|
.#{$fa-css-prefix}-inverse { color: $fa-inverse; }
|