_stacked.less 478 Bytes
Newer Older
1
2
3
4
5
6
7
// Stacked Icons
// -------------------------

.@{fa-css-prefix}-stack {
  display: inline-block;
  height: 2em;
  line-height: 2em;
8
  position: relative;
9
  vertical-align: middle;
10
  width: 2em;
11
}
12

13
14
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
  left: 0;
15
  position: absolute;
16
  text-align: center;
17
  width: 100%;
18
}
19

20
21
22
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
.@{fa-css-prefix}-inverse { color: @fa-inverse; }