summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/less/_list.less
blob: 45d3828ab85f5d4feff9779ecbb71a2b81e0f4f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// icons in a list
// -------------------------

.@{fa-css-prefix}-ul {
  list-style-type: none;
  margin-left: ~'var(--@{fa-css-prefix}-li-margin, @{fa-li-margin})';
  padding-left: 0;

  > li { position: relative; }
}

.@{fa-css-prefix}-li {
  left: calc(~'var(--@{fa-css-prefix}-li-width, @{fa-li-width})' * -1);
  position: absolute;
  text-align: center;
  width: ~'var(--@{fa-css-prefix}-li-width, @{fa-li-width})';
  line-height: inherit;
}