From f478ccb143fda8438b2211952db41362dc07e32e Mon Sep 17 00:00:00 2001 From: Sinji Date: Mon, 15 Jul 2024 18:05:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ios=EC=97=90=EC=84=9C=20=ED=8F=B0?= =?UTF-8?q?=ED=8A=B8=20=EC=95=88=20=EB=A8=B9=EB=8A=94=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=20=EC=88=98=EC=A0=95...=20@=EC=A0=95=EC=9A=B0=20=EC=98=A4?= =?UTF-8?q?=EB=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/fonts/fonts.css | 143 ++++++++++++++++++++++++++++++++++++- 1 file changed, 142 insertions(+), 1 deletion(-) diff --git a/src/styles/fonts/fonts.css b/src/styles/fonts/fonts.css index 59820b30..eeead492 100644 --- a/src/styles/fonts/fonts.css +++ b/src/styles/fonts/fonts.css @@ -1,4 +1,145 @@ @font-face { + font-weight: 100; font-family: Pretendard; - src: url("./PretendardVariable.woff2") format("woff2"); + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.woff2") format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.woff") format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 200; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.woff") + format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 300; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.woff") format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 400; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.woff") + format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 500; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.woff") format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 600; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.woff") + format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 700; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.woff2") format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.woff") format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 800; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.woff") + format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.ttf") + format("truetype"); + font-display: swap; +} + +@font-face { + font-weight: 900; + font-family: Pretendard; + font-style: normal; + src: url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.eot"); + src: + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.eot?#iefix") + format("embedded-opentype"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.woff2") + format("woff2"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.woff") format("woff"), + url("https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.ttf") + format("truetype"); + font-display: swap; }