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

Commit

Permalink
Reduced font size on splash in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
iaincollins committed Jan 6, 2018
1 parent abce286 commit d64b830
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions pages/index.js
Expand Up @@ -14,12 +14,28 @@ export default class extends Page {
}}>
<Container className="mt-5 mb-5">
<h1 className="display-2 splash-text" style={{fontWeight: 500}}>▲ Next.js Starter Project</h1>
<p className="lead splash-text" style={{fontSize: '2em'}}>
<p className="lead splash-text">
An example React project built with Next.js
</p>
<p className="lead splash-text" style={{fontSize: '2em'}}>
<p className="lead splash-text">
A reference and template for creating new projects.
</p>
<style jsx>{`
.display-2 {
font-size: 4em;
}
.lead {
font-size: 2em;
}
@media (max-width: 767px) {
.display-2 {
font-size: 3em;
}
.lead {
font-size: 1.5em;
}
}
`}</style>
</Container>
</Jumbotron>
<Container className="pb-5">
Expand Down

0 comments on commit d64b830

Please sign in to comment.