summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/typography.scss
blob: e96b02f3d250e99f56cee8f83674299dac9f4adc (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
.p {
  margin-top: 1em;
  margin-bottom: 1em;
  &:first-child {
    margin-top: 0;
  }
}

.topgap {
  margin-top: 0.5em;
}

//
// bootstrap default for headings has a really large line-height, which makes the headings look totally
// weird if they span multiple lines.
//

h2 {
  line-height: 1.2em;
  margin-top: 0.1em;
  margin-bottom: 0.25em;
}


//
// make headings and paragraphs that are at the top of the page fit more snugly against the top.
//
h1, h2, h3 {
  &.first {
    line-height: 0.8em;
    margin-bottom: 0.4em
  }
}
p.first {
  margin-top: 0 !important;
}


.ol {@extend ol}
.li {@extend li}

.h1 {@extend h1}
.h2 {@extend h2}
.h3 {@extend h3}

.bigger {
  font-size: 140%;
  line-height: 140%;
  margin: 20px 0;
}