More robust global styles.

This commit is contained in:
Jayden Seric 2017-11-08 15:26:19 +11:00
parent a0f72fd58f
commit 80c0b372eb

View File

@ -9,7 +9,9 @@ const Page = ({ title, children }) => (
<link rel="manifest" href="/static/manifest.json" />
<link rel="icon" sizes="192x192" href="/static/apollo-icon.png" />
<link rel="apple-touch-icon" href="/static/apollo-launcher-icon.png" />
<style>{`
</Head>
{children}
<style jsx global>{`
html {
font-family: sans-serif;
color: white;
@ -19,8 +21,6 @@ const Page = ({ title, children }) => (
margin: 2em;
}
`}</style>
</Head>
{children}
</div>
)