about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/privacy_policy.scss
blob: f69bf1a07680a5f4360045be0f62864c303e74ca (plain) (blame)
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
77
78
79
80
81
82
83
84
.privacy-policy {
  background: $ui-base-color;
  padding: 20px;

  @media screen and (min-width: $no-gap-breakpoint) {
    border-radius: 4px;
  }

  &__body {
    margin-top: 20px;
    color: $secondary-text-color;
    font-size: 15px;
    line-height: 22px;

    h1,
    p,
    ul,
    ol {
      margin-bottom: 20px;
    }

    ul {
      list-style: disc;
    }

    ol {
      list-style: decimal;
    }

    ul,
    ol {
      padding-left: 1em;
    }

    li {
      margin-bottom: 10px;

      &::marker {
        color: $darker-text-color;
      }

      &:last-child {
        margin-bottom: 0;
      }
    }

    h1 {
      color: $primary-text-color;
      font-size: 19px;
      line-height: 24px;
      font-weight: 700;
      margin-top: 30px;

      &:first-child {
        margin-top: 0;
      }
    }

    strong {
      font-weight: 700;
      color: $primary-text-color;
    }

    em {
      font-style: italic;
    }

    a {
      color: $highlight-text-color;
      text-decoration: underline;

      &:focus,
      &:hover,
      &:active {
        text-decoration: none;
      }
    }

    hr {
      border: 1px solid lighten($ui-base-color, 4%);
      margin: 30px 0;
    }
  }
}