123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import theme from './theme'
- import css from 'styled-jsx/css'
- const GlobalStyle = css.global`
- @import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300|Roboto:300,900&display=swap');
- html {
- box-sizing: border-box;
- font-size: 12px;
- }
- *, *:before, *:after {
- box-sizing: inherit;
- }
- body {
- padding: 0;
- margin: 0;
- font-size: 1.5rem;
- line-height: 2;
- font-family: 'Roboto', sans-serif;
- font-weight: 300;
- max-width: ${theme.maxWidth};
- margin: 0 auto;
- }
- #__next {
- background: ${theme.colors.offWhite};
- color: ${theme.colors.black};
- box-shadow: ${theme.bs};
- }
- h1, h2, h3, h4, h5, h6 {
- font-weight: 900;
- }
- button {
- font-weight: 900;
- background: ${theme.colors.darkblue};
- color: ${theme.colors.lighterblue};
- border: 1px solid ${theme.colors.darkerblue};
- padding: 0.3em 1.8em;
- cursor: pointer;
- box-shadow: ${theme.bsSmall};
- }
- input,
- textarea {
- border: 1px solid ${theme.colors.lightgrey};
- padding: 6px;
- margin: 0 8px;
- background: transparent;
- }
- pre {
- font-family: 'Roboto Mono', monospace;
- }
- `
- export default GlobalStyle
|