Revert "MapleStory 폰트 font-display: optional 로 override해 CLS 제거"

This reverts commit 6e2159cf67.
This commit is contained in:
caadiq 2026-04-22 00:47:33 +09:00
parent 98b27a5fae
commit f845e74844

View file

@ -6,26 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap" rel="stylesheet" />
<!-- MapleStory 폰트: font-display: optional 로 override. 첫 방문시 폰트가 100ms 내에
도착하지 않으면 fallback 유지, 이후 캐시되면 적용됨. 레이아웃 이동 제거 목적. -->
<style>
@font-face {
font-family: 'Maplestory';
font-weight: 300;
font-style: normal;
font-display: optional;
src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Maplestory/Maplestory-Light.woff2') format('woff2');
}
@font-face {
font-family: 'Maplestory';
font-weight: 700;
font-style: normal;
font-display: optional;
src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Maplestory/Maplestory-Bold.woff2') format('woff2');
}
</style>
<link href="https://cdn.jsdelivr.net/gh/fonts-archive/Maplestory/Maplestory.css" rel="stylesheet" />
<script type="text/javascript" src="https://openapi.nexon.com/js/analytics.js?app_id=274844" async></script>
<script>
(function () {