You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
897 B
56 lines
897 B
import { createGlobalStyle, css } from 'styled-components/macro'
|
|
|
|
import { isMobileDevice } from 'config/userAgent'
|
|
|
|
export const GlobalStyles = createGlobalStyle`
|
|
*, *:before, *:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: calc(2px + 1vw);
|
|
overflow-y: hidden;
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
overflow-y: auto;
|
|
`
|
|
: ''};
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Montserrat, Tahoma, sans-serif;
|
|
color: #000;
|
|
background-color: #000;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, p, ul, li {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
ul, li {
|
|
list-style: none;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #000;
|
|
}
|
|
|
|
fieldset {
|
|
margin: 0;
|
|
min-width: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
button, input, select, textarea {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
`
|
|
|