sdy

update GlobalStyles.js

...@@ -2,12 +2,24 @@ import { createGlobalStyle } from "styled-components"; ...@@ -2,12 +2,24 @@ import { createGlobalStyle } from "styled-components";
2 import reset from "styled-reset"; 2 import reset from "styled-reset";
3 3
4 export default createGlobalStyle` 4 export default createGlobalStyle`
5 - @import url('https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&display=swap');
6 - @import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Nanum+Gothic+Coding:wght@400;700&family=Nanum+Pen+Script&family=Sunflower:wght@300;500;700&display=swap');
7 - @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
8 -
9 ${reset} 5 ${reset}
10 * { 6 * {
11 box-sizing: border-box; 7 box-sizing: border-box;
12 } 8 }
9 + html, body {
10 + height: 100vh;
11 + }
12 + #root {
13 + height: 100%;
14 + display:flex;
15 + flex-direction: row;
16 + }
17 + @font-face {
18 + font-family: 'Shadows Into Light', cursive;
19 + src: url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
20 + }
21 + @font-face {
22 + font-family: 'Kaushan Script', cursive;
23 + src: url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
24 + }
13 `; 25 `;
......