From 80cd6445f58d74bf1419a5c6a27f89a28333284c Mon Sep 17 00:00:00 2001 From: nik Date: Mon, 29 Sep 2025 13:54:07 +0300 Subject: [PATCH] use MapleMono NF ttf --- assets/css/extended/custom.css | 93 ++-------------------------------- 1 file changed, 4 insertions(+), 89 deletions(-) diff --git a/assets/css/extended/custom.css b/assets/css/extended/custom.css index 5245073..2aa67e9 100644 --- a/assets/css/extended/custom.css +++ b/assets/css/extended/custom.css @@ -45,117 +45,32 @@ body { @font-face { font-family: "MapleMono"; - src: url("/fonts/MapleMono-Thin.ttf") format("truetype"); - font-weight: 100; - font-style: normal; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraLight.ttf") format("truetype"); - font-weight: 200; - font-style: normal; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Light.ttf") format("truetype"); - font-weight: 300; - font-style: normal; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Regular.ttf") format("truetype"); + src: url("/fonts/MapleMono-NF-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: "MapleMono"; - src: url("/fonts/MapleMono-Medium.ttf") format("truetype"); - font-weight: 500; - font-style: normal; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-SemiBold.ttf") format("truetype"); - font-weight: 600; - font-style: normal; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Bold.ttf") format("truetype"); + src: url("/fonts/MapleMono-NF-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; } @font-face { font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraBold.ttf") format("truetype"); - font-weight: 800; - font-style: normal; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ThinItalic.ttf") format("truetype"); - font-weight: 100; - font-style: italic; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraLightItalic.ttf") format("truetype"); - font-weight: 200; - font-style: italic; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-LightItalic.ttf") format("truetype"); - font-weight: 300; - font-style: italic; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Italic.ttf") format("truetype"); + src: url("/fonts/MapleMono-NF-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; } @font-face { font-family: "MapleMono"; - src: url("/fonts/MapleMono-MediumItalic.ttf") format("truetype"); - font-weight: 500; - font-style: italic; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-SemiBoldItalic.ttf") format("truetype"); - font-weight: 600; - font-style: italic; - font-display: swap; -} -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-BoldItalic.ttf") format("truetype"); + src: url("/fonts/MapleMono-NF-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; } -@font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraBoldItalic.ttf") format("truetype"); - font-weight: 800; - font-style: italic; - font-display: swap; -} - html, body { font-family: "MapleMono", monospace;