Skip to content

Commit 35be04f

Browse files
authored
Perf/#352-B: font css에서 불러오기 (#354)
Resolve: #352
1 parent de84255 commit 35be04f

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

client/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6-
<link rel="preconnect" href="https://fonts.googleapis.com" />
7-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8-
<link
9-
href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap"
10-
rel="stylesheet"
11-
/>
126
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
137
<title>Wabinar</title>
148
</head>

client/src/styles/reset.scss

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@font-face {
2+
font-family: 'Noto Sans KR';
3+
src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');
4+
}
5+
16
html,
27
body,
38
div,
@@ -79,13 +84,13 @@ time,
7984
mark,
8085
audio,
8186
video {
87+
box-sizing: border-box;
8288
margin: 0;
8389
padding: 0;
8490
border: 0;
85-
font-size: 100%;
8691
font: inherit;
92+
font-size: 100%;
8793
vertical-align: baseline;
88-
box-sizing: border-box;
8994
}
9095

9196
article,
@@ -104,9 +109,9 @@ section {
104109
}
105110

106111
body {
107-
line-height: normal;
108112
font-family: 'Noto Sans KR', sans-serif;
109113
font-weight: 400;
114+
line-height: normal;
110115
}
111116
ol,
112117
ul {
@@ -124,8 +129,8 @@ q:after {
124129
content: none;
125130
}
126131
table {
127-
border-collapse: collapse;
128132
border-spacing: 0;
133+
border-collapse: collapse;
129134
}
130135

131136
input,
@@ -149,7 +154,7 @@ textarea {
149154

150155
button {
151156
padding: 0;
152-
background-color: transparent;
153157
border: none;
158+
background-color: transparent;
154159
cursor: pointer;
155160
}

0 commit comments

Comments
 (0)