aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/type.scss
blob: cacbec48295f921a94257a401193a1f38f6be9bb (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
@import './config.scss';
@import './mixins.scss';

h1 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 25px;
  margin-top: 55px;

  &:first-of-type {
    margin-top: 0;
  }
}

p {
  margin-bottom: 10px;
  line-height: 1.7rem;

  &:last-of-type {
    margin-bottom: 0;
  }
}

strong {
  font-weight: bold;
}

a {
  text-decoration: none;
  color: $theme-text-color;

  &.button {
    position: relative;
    background: none;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid $theme-brand-primary;
    color: $theme-brand-primary;
    border-radius: 3px;
    transition: background 0.5s, color 0.5s;
    text-align: center;

    &:hover {
      background: darken($theme-brand-primary, 5%);
      color: #FFF;
    }
  }

  &.link {
    color: $theme-brand-primary;
  }
}

.error-message, .error-message:last-of-type {
  margin: 10px 0;
  color: $theme-brand-danger;
}

.center {
  text-align: center;
}

.label {
  @include formLabel();
}

.footnote {
  font-size: 12px;
  color: $theme-gray-light;
}