_icons.scss 720 字节
Newer Older
C
chomik 已提交
1
.icon {
C
codecalm 已提交
2 3
  width: 1em;
  height: 1em;
C
codecalm 已提交
4
  font-size: 1em;
5
  vertical-align: -0.2em;
M
mrszympek 已提交
6 7 8 9

  &:hover {
    text-decoration: none;
  }
C
chomik 已提交
10 11
}

C
codecalm 已提交
12 13 14 15
.icon-filled {
  fill: currentColor;
}

C
codecalm 已提交
16 17 18 19
.icon-thin {
  stroke-width: 1.5;
}

C
chomik 已提交
20
.icon-md {
C
codecalm 已提交
21
  font-size: px2rem(24px);
C
chomik 已提交
22 23 24
}

.icon-lg {
C
codecalm 已提交
25
  font-size: px2rem(32px);
C
chomik 已提交
26 27
}

C
codecalm 已提交
28

C
chomik 已提交
29 30 31 32
.icons-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
C
chomik 已提交
33
  margin: 0 -2px -1px 0;
C
chomik 已提交
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  list-style: none;

  > li {
    flex: 1 0 4rem;
  }
}

.icons-list-wrap {
  overflow: hidden;
}

.icons-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  text-align: center;
  border-right: 1px solid $border-color;
  border-bottom: 1px solid $border-color;

  i {
    font-size: 1.25rem;
  }
}