Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #11 from CaitlynKnudsvig/font_tweaks
Browse files Browse the repository at this point in the history
Adjusted line-height and font sizes some more
  • Loading branch information
brandonbk authored and solocommand committed Nov 8, 2018
1 parent 2326bb7 commit 6784165
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions packages/web/src/components/Story/Body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ const Body = (props) => {
#story-body {
font-family: 'Raleway', sans-serif;
font-size: 1.1rem;
line-height: 1.7rem;
}
#story-body > .container {
margin-top: -10vh;
}
#story-body h3 {
#story-body h3,
#story-body h2:not(.teaser) {
margin-top: 2rem;
}
Expand All @@ -41,19 +44,26 @@ const Body = (props) => {
}
#story-body h2.teaser {
font-size: 1.5rem;
font-size: 1.6rem;
line-height: 2.4rem;
}
@media screen and (max-width: 600px) {
.fr-img-caption,
iframe {
min-width: 100%;
}
#story-body h2.teaser {
font-size: 1.2rem;
line-height: 2rem;
}
}
`}
</style>
<Container className="shadow-lg p-3 mb-4 p-lg-5 bg-white rounded">
<h2 className="mb-4 font-weight-light teaser">
<h2 className="mb-4 font-weight-light font-italic teaser">
{teaser}
</h2>
<hr className="mt-4 mb-4" />
Expand Down

0 comments on commit 6784165

Please sign in to comment.