2020-03-09 23:47:06 +01:00
|
|
|
h1 {
|
2020-08-26 12:10:24 +02:00
|
|
|
font-family: $ext-sans;
|
|
|
|
font-weight: $bold;
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4 {
|
2020-08-26 12:10:24 +02:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
margin-top: 1em;
|
|
|
|
word-break: break-word;
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2020-08-26 12:10:24 +02:00
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
margin: 0.75rem 0;
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
2020-05-28 04:01:04 -04:00
|
|
|
.thicc-headline {
|
2020-08-26 12:10:24 +02:00
|
|
|
// a sensible base font size
|
|
|
|
font-size: 3rem;
|
|
|
|
line-height: 0.75;
|
|
|
|
margin: 0.5rem 0rem;
|
|
|
|
padding: 0;
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 51rem) and (min-height: 400px) {
|
2020-08-26 12:10:24 +02:00
|
|
|
// a dramatic font size
|
|
|
|
.thicc-headline {
|
|
|
|
font-size: 12vh;
|
|
|
|
}
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 51rem) and (min-height: 850px) {
|
2020-08-26 12:10:24 +02:00
|
|
|
// cap the maximum font size of the title
|
|
|
|
// at the same size that 12vh computes to
|
|
|
|
// when the viewport is 850px high
|
|
|
|
// One day we can use CSS clamp https://caniuse.com/#feat=mdn-css_types_clamp
|
|
|
|
.thicc-headline {
|
|
|
|
font-size: 6.75rem;
|
|
|
|
}
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-headline {
|
2020-08-26 12:10:24 +02:00
|
|
|
font-family: orpheuspro, Palatino, Times, serif;
|
|
|
|
font-size: 3.5rem;
|
|
|
|
line-height: 1.2;
|
|
|
|
margin: 0;
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|
|
|
|
|
2020-05-28 04:01:04 -04:00
|
|
|
.sub-headline {
|
2020-08-26 12:10:24 +02:00
|
|
|
font-family: $ext-sans;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: $bold;
|
|
|
|
letter-spacing: 0.1;
|
|
|
|
margin: 0.75rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smcp-headline {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-variant-caps: all-small-caps;
|
|
|
|
letter-spacing: 0.01em;
|
|
|
|
margin-top: 0;
|
|
|
|
word-spacing: 0.01em;
|
2020-03-07 11:23:05 -07:00
|
|
|
}
|
2020-03-09 23:47:06 +01:00
|
|
|
|
|
|
|
.small {
|
2020-08-26 12:10:24 +02:00
|
|
|
font-size: 0.75em;
|
2020-03-09 23:47:06 +01:00
|
|
|
}
|