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

.theme__dark {
  a { color: $dark-theme-gray-smoke; }
  .label { color: $dark-theme-gray-lightest; }
  .footnote { color: $dark-theme-gray-lightest; }
}

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: 5px;

  &: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, button {
  color: $theme-text-color;
  text-decoration: none;

  &.button {
    background: $theme-brand-primary;
    color: #FFF;
    border-radius: 3px;
    display: inline-block;
    padding: 10px 20px;
    position: relative;
    text-align: center;
    transition: background .5s, color .5s;
    cursor: pointer;

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

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

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

.center { text-align: center; }

.label { @include formLabel(); }

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