summaryrefslogtreecommitdiff
path: root/sass/lists.sass
blob: 33e2ae95f12b9f2350ca726602e5611a1f7b0f66 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@import settings

ul
  list-style: none
  padding-left: 0
  margin-top: 16px !important

  li
    position: relative
    padding-left: 25px
    font-weight: 500
    color: $grey-dark
    letter-spacing: $px
    +resolution(0, 575)
      font-size: 16px
    +resolution(576)
      font-size: 18px

    &:not(&:last-child)
      margin-bottom: 12px

    &:before
      position: absolute
      left: 10px
      content: ''
      display: flex
      justify-content: center
      align-items: center
      border-radius: 50%
      width: 5px
      height: 5px
      background-color: $grey-dark

    a
      color: $primary
      +resolution(0, 575)
        text-decoration: none

.legacy-lts,
.why-contribute,
.image-signatures,
div#rolling-current
  ul
    li
      &:before
        top: 50%
        transform: translate(-50%, -50%)

.nightly-builds,
.start,
.lts
  ul
    li
      &:before
        transform: translate(-50%, -50%)
        +resolution(992)
          top: 50%
        +resolution(576, 991)
          top: 10px
        +resolution(0, 575)
          top: 8px

.guidelines
  ul
    li
      &:before
        top: 10px
        transform: translateX(-50%)

.links-columns
  ul
    li
      padding-left: 0

      &:before
        content: none