diff --git a/web/e.cash/styles/global.js b/web/e.cash/styles/global.js index 6782f36ef..9ea43f341 100644 --- a/web/e.cash/styles/global.js +++ b/web/e.cash/styles/global.js @@ -1,91 +1,91 @@ import { createGlobalStyle } from 'styled-components'; export default createGlobalStyle` @font-face { font-family: 'Poppins'; src: local('Poppins'), - url(../public/fonts/Poppins-Regular.ttf) format('truetype'); + url(/fonts/Poppins-Regular.ttf) format('truetype'); font-weight: normal; } @font-face { font-family: 'Poppins'; src: local('Poppins'), - url(../public/fonts/Poppins-Medium.ttf) format('truetype'); + url(/fonts/Poppins-Medium.ttf) format('truetype'); font-weight: 500; } @font-face { font-family: 'Poppins'; src: local('Poppins'), - url(../public/fonts/Poppins-Bold.ttf) format('truetype'); + url(/fonts/Poppins-Bold.ttf) format('truetype'); font-weight: 700; } @font-face { font-family: 'Montserrat'; src: local('Montserrat'), - url(../public/fonts/Montserrat-Regular.ttf) format('truetype'); + url(/fonts/Montserrat-Regular.ttf) format('truetype'); font-weight: normal; } @font-face { font-family: 'Montserrat'; src: local('Montserrat'), - url(../public/fonts/Montserrat-Bold.ttf) format('truetype'); + url(/fonts/Montserrat-Bold.ttf) format('truetype'); font-weight: 700; } html, body { padding: 0; margin: 0; font-family: 'Poppins', sans-serif; line-height: 1.6; font-size: 18px; background-color: ${props => props.theme.colors.darkBlue}; color: ${props => props.theme.colors.contrast}; ${props => props.theme.breakpoint.medium} { overflow-x: hidden; } } ::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { border-radius: 0px; background-color: ${props => props.theme.colors.darkBlue}; } ::-webkit-scrollbar-thumb { border-radius: 0px; background: ${props => props.theme.colors.primary}; height: 50px; } ::-webkit-scrollbar-corner { display: none; height: 0px; width: 0px; } * { box-sizing: border-box; } a { text-decoration: none; cursor: pointer; } a:hover { text-decoration: none; } p { margin: 0; font-size: 18px; line-height: 1.8em; margin-bottom: 30px; } `;