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

23 lines
478 B
Plaintext
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
2016-07-29 00:47:42 -04:00
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
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%;
2016-07-29 00:47:42 -04:00
}
2018-07-25 09:34:10 -04:00
2016-07-29 00:47:42 -04:00
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
.@{fa-css-prefix}-inverse { color: @fa-inverse; }