summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/less/_stacked.less
blob: 5955df605190df4fa9854032957810d498c06c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// stacking icons
// -------------------------

.@{fa-css-prefix}-stack {
  display: inline-block;
  height: 2em;
  line-height: 2em;
  position: relative;
  vertical-align: @fa-stack-vertical-align;
  width: @fa-stack-width;
}

.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: ~'var(--@{fa-css-prefix}-stack-z-index, @{fa-stack-z-index})';
}

.@{fa-css-prefix}-stack-1x { 
  line-height: inherit; 
}

.@{fa-css-prefix}-stack-2x { 
  font-size: 2em; 
}

.@{fa-css-prefix}-inverse { 
  color: ~'var(--@{fa-css-prefix}-inverse, @{fa-inverse})';
}