From 97fa8f57fbefcbfa6b3e56c31a1e5b60ef1a9e37 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 12 Nov 2024 13:55:26 +0800 Subject: fonts (now static) --- .DS_Store | Bin 0 -> 6148 bytes assets/.DS_Store | Bin 0 -> 6148 bytes assets/fonts/.DS_Store | Bin 0 -> 6148 bytes style.css | 102 ++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 .DS_Store create mode 100644 assets/.DS_Store create mode 100644 assets/fonts/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..16c1a70 Binary files /dev/null and b/.DS_Store differ diff --git a/assets/.DS_Store b/assets/.DS_Store new file mode 100644 index 0000000..f8fd6cc Binary files /dev/null and b/assets/.DS_Store differ diff --git a/assets/fonts/.DS_Store b/assets/fonts/.DS_Store new file mode 100644 index 0000000..a7e65ad Binary files /dev/null and b/assets/fonts/.DS_Store differ diff --git a/style.css b/style.css index 84dbdf7..3d9b341 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,105 @@ @font-face { font-family: "JetBrains Mono"; - src: url("/assets/fonts/JetBrainsMono-VariableFont_wght.ttf") format("truetype"); + src: url("/assets/fonts/static/JetBrainsMono-Thin.ttf") format("truetype"); + font-weight: 100; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-ExtraLight.ttf") format("truetype"); + font-weight: 200; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-Light.ttf") format("truetype"); + font-weight: 300; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-Regular.ttf") format("truetype"); + font-weight: 400; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-Medium.ttf") format("truetype"); + font-weight: 500; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-SemiBold.ttf") format("truetype"); + font-weight: 600; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-Bold.ttf") format("truetype"); + font-weight: 700; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-ExtraBold.ttf") format("truetype"); + font-weight: 800; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-ThinItalic.ttf") format("truetype"); + font-weight: 100; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-ExtraLightItalic.ttf") format("truetype"); + font-weight: 200; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-LightItalic.ttf") format("truetype"); + font-weight: 300; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-Italic.ttf") format("truetype"); + font-weight: 400; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-MediumItalic.ttf") format("truetype"); + font-weight: 500; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-SemiBoldItalic.ttf") format("truetype"); + font-weight: 600; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-BoldItalic.ttf") format("truetype"); + font-weight: 700; + font-style: italic; +} + +@font-face { + font-family: "JetBrains Mono"; + src: url("/assets/fonts/static/JetBrainsMono-ExtraBoldItalic.ttf") format("truetype"); + font-weight: 800; + font-style: italic; } :root { @@ -160,7 +259,6 @@ li { word-wrap: break-word; overflow: hidden; box-sizing: border-box; - max-height: 80% !important; } .sidebar-img { -- cgit v1.2.3