diff --git a/assets/css/extended/custom.css b/assets/css/extended/custom.css index 9af936e..227f92e 100644 --- a/assets/css/extended/custom.css +++ b/assets/css/extended/custom.css @@ -1,162 +1,162 @@ :root { - --theme: 255, 255, 255; - --entry: 248, 249, 250; - --primary: 17, 17, 17; - --secondary: 90, 90, 90; - --content: 36, 36, 36; + --theme: 255, 255, 255; + --entry: 248, 249, 250; + --primary: 17, 17, 17; + --secondary: 90, 90, 90; + --content: 36, 36, 36; } body { - background: rgb(var(--theme)); + background: rgb(var(--theme)); } .main { - max-width: 820px; + max-width: 820px; } .profile .profile-title { - letter-spacing: 0.2px; + letter-spacing: 0.2px; } .profile .profile-subtitle { - opacity: 0.85; + opacity: 0.85; } .profile img { - border-radius: 20px; /* скругление углов */ - object-fit: cover; /* чтобы картинка обрезалась ровно */ - max-width: 260px; /* можно увеличить, если нужно */ - height: auto; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* лёгкая тень */ + border-radius: 20px; /* скругление углов */ + object-fit: cover; /* чтобы картинка обрезалась ровно */ + max-width: 260px; /* можно увеличить, если нужно */ + height: auto; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* лёгкая тень */ } /* Blog specific styles */ .post-entry { - margin-bottom: 2rem; - padding: 1.5rem; - background: rgba(var(--entry), 0.8); - border-radius: 8px; - transition: transform 0.2s; + margin-bottom: 2rem; + padding: 1.5rem; + background: rgba(var(--entry), 0.8); + border-radius: 8px; + transition: transform 0.2s; } .post-entry:hover { - transform: translateY(-2px); + transform: translateY(-2px); } .entry-content h2 { - margin-top: 2rem; - color: rgb(var(--primary)); + margin-top: 2rem; + color: rgb(var(--primary)); } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Thin.ttf.woff2") format("woff2"); - font-weight: 100; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-Thin.ttf") format("ttf"); + font-weight: 100; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraLight.ttf.woff2") format("woff2"); - font-weight: 200; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-ExtraLight.ttf") format("ttf"); + font-weight: 200; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Light.ttf.woff2") format("woff2"); - font-weight: 300; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-Light.ttf") format("ttf"); + font-weight: 300; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Regular.ttf.woff2") format("woff2"); - font-weight: 400; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-Regular.ttf") format("ttf"); + font-weight: 400; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Medium.ttf.woff2") format("woff2"); - font-weight: 500; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-Medium.ttf") format("ttf"); + font-weight: 500; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-SemiBold.ttf.woff2") format("woff2"); - font-weight: 600; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-SemiBold.ttf") format("ttf"); + font-weight: 600; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Bold.ttf.woff2") format("woff2"); - font-weight: 700; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-Bold.ttf") format("ttf"); + font-weight: 700; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraBold.ttf.woff2") format("woff2"); - font-weight: 800; - font-style: normal; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-ExtraBold.ttf") format("ttf"); + font-weight: 800; + font-style: normal; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ThinItalic.ttf.woff2") format("woff2"); - font-weight: 100; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-ThinItalic.ttf") format("ttf"); + font-weight: 100; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraLightItalic.ttf.woff2") format("woff2"); - font-weight: 200; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-ExtraLightItalic.ttf") format("ttf"); + font-weight: 200; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-LightItalic.ttf.woff2") format("woff2"); - font-weight: 300; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-LightItalic.ttf") format("ttf"); + font-weight: 300; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-Italic.ttf.woff2") format("woff2"); - font-weight: 400; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-Italic.ttf") format("ttf"); + font-weight: 400; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-MediumItalic.ttf.woff2") format("woff2"); - font-weight: 500; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-MediumItalic.ttf") format("ttf"); + font-weight: 500; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-SemiBoldItalic.ttf.woff2") format("woff2"); - font-weight: 600; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-SemiBoldItalic.ttf") format("ttf"); + font-weight: 600; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-BoldItalic.ttf.woff2") format("woff2"); - font-weight: 700; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-BoldItalic.ttf") format("ttf"); + font-weight: 700; + font-style: italic; + font-display: swap; } @font-face { - font-family: "MapleMono"; - src: url("/fonts/MapleMono-ExtraBoldItalic.ttf.woff2") format("woff2"); - font-weight: 800; - font-style: italic; - font-display: swap; + font-family: "MapleMono"; + src: url("/fonts/MapleMono-ExtraBoldItalic.ttf") format("ttf"); + font-weight: 800; + font-style: italic; + font-display: swap; } html, body { - font-family: "MapleMono", monospace; + font-family: "MapleMono", monospace; } diff --git a/static/fonts/LICENSE.txt b/static/fonts/LICENSE.txt new file mode 100644 index 0000000..65ea530 --- /dev/null +++ b/static/fonts/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright 2022 The Maple Mono Project Authors (https://github.com/subframe7536/maple-font) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/static/fonts/MapleMono-Bold.ttf.woff2 b/static/fonts/MapleMono-Bold.ttf.woff2 deleted file mode 100644 index ff1d67b..0000000 Binary files a/static/fonts/MapleMono-Bold.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-BoldItalic.ttf.woff2 b/static/fonts/MapleMono-BoldItalic.ttf.woff2 deleted file mode 100644 index 185137d..0000000 Binary files a/static/fonts/MapleMono-BoldItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-ExtraBold.ttf.woff2 b/static/fonts/MapleMono-ExtraBold.ttf.woff2 deleted file mode 100644 index c3a6d5a..0000000 Binary files a/static/fonts/MapleMono-ExtraBold.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-ExtraBoldItalic.ttf.woff2 b/static/fonts/MapleMono-ExtraBoldItalic.ttf.woff2 deleted file mode 100644 index 51db86a..0000000 Binary files a/static/fonts/MapleMono-ExtraBoldItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-ExtraLight.ttf.woff2 b/static/fonts/MapleMono-ExtraLight.ttf.woff2 deleted file mode 100644 index 14be166..0000000 Binary files a/static/fonts/MapleMono-ExtraLight.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-ExtraLightItalic.ttf.woff2 b/static/fonts/MapleMono-ExtraLightItalic.ttf.woff2 deleted file mode 100644 index 84e1f4e..0000000 Binary files a/static/fonts/MapleMono-ExtraLightItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-Italic.ttf.woff2 b/static/fonts/MapleMono-Italic.ttf.woff2 deleted file mode 100644 index 620c985..0000000 Binary files a/static/fonts/MapleMono-Italic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-Light.ttf.woff2 b/static/fonts/MapleMono-Light.ttf.woff2 deleted file mode 100644 index 1ce60ce..0000000 Binary files a/static/fonts/MapleMono-Light.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-LightItalic.ttf.woff2 b/static/fonts/MapleMono-LightItalic.ttf.woff2 deleted file mode 100644 index 6f0de8f..0000000 Binary files a/static/fonts/MapleMono-LightItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-Medium.ttf.woff2 b/static/fonts/MapleMono-Medium.ttf.woff2 deleted file mode 100644 index 56ba98e..0000000 Binary files a/static/fonts/MapleMono-Medium.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-MediumItalic.ttf.woff2 b/static/fonts/MapleMono-MediumItalic.ttf.woff2 deleted file mode 100644 index da0d841..0000000 Binary files a/static/fonts/MapleMono-MediumItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-NF-Bold.ttf b/static/fonts/MapleMono-NF-Bold.ttf new file mode 100644 index 0000000..55f66b5 Binary files /dev/null and b/static/fonts/MapleMono-NF-Bold.ttf differ diff --git a/static/fonts/MapleMono-NF-BoldItalic.ttf b/static/fonts/MapleMono-NF-BoldItalic.ttf new file mode 100644 index 0000000..2a70b02 Binary files /dev/null and b/static/fonts/MapleMono-NF-BoldItalic.ttf differ diff --git a/static/fonts/MapleMono-NF-ExtraBold.ttf b/static/fonts/MapleMono-NF-ExtraBold.ttf new file mode 100644 index 0000000..6839a9c Binary files /dev/null and b/static/fonts/MapleMono-NF-ExtraBold.ttf differ diff --git a/static/fonts/MapleMono-NF-ExtraBoldItalic.ttf b/static/fonts/MapleMono-NF-ExtraBoldItalic.ttf new file mode 100644 index 0000000..3da01ca Binary files /dev/null and b/static/fonts/MapleMono-NF-ExtraBoldItalic.ttf differ diff --git a/static/fonts/MapleMono-NF-ExtraLight.ttf b/static/fonts/MapleMono-NF-ExtraLight.ttf new file mode 100644 index 0000000..1b3473f Binary files /dev/null and b/static/fonts/MapleMono-NF-ExtraLight.ttf differ diff --git a/static/fonts/MapleMono-NF-ExtraLightItalic.ttf b/static/fonts/MapleMono-NF-ExtraLightItalic.ttf new file mode 100644 index 0000000..322c0a7 Binary files /dev/null and b/static/fonts/MapleMono-NF-ExtraLightItalic.ttf differ diff --git a/static/fonts/MapleMono-NF-Italic.ttf b/static/fonts/MapleMono-NF-Italic.ttf new file mode 100644 index 0000000..8916a43 Binary files /dev/null and b/static/fonts/MapleMono-NF-Italic.ttf differ diff --git a/static/fonts/MapleMono-NF-Light.ttf b/static/fonts/MapleMono-NF-Light.ttf new file mode 100644 index 0000000..fe92d62 Binary files /dev/null and b/static/fonts/MapleMono-NF-Light.ttf differ diff --git a/static/fonts/MapleMono-NF-LightItalic.ttf b/static/fonts/MapleMono-NF-LightItalic.ttf new file mode 100644 index 0000000..ff7c6f5 Binary files /dev/null and b/static/fonts/MapleMono-NF-LightItalic.ttf differ diff --git a/static/fonts/MapleMono-NF-Medium.ttf b/static/fonts/MapleMono-NF-Medium.ttf new file mode 100644 index 0000000..adc2051 Binary files /dev/null and b/static/fonts/MapleMono-NF-Medium.ttf differ diff --git a/static/fonts/MapleMono-NF-MediumItalic.ttf b/static/fonts/MapleMono-NF-MediumItalic.ttf new file mode 100644 index 0000000..c38d7b3 Binary files /dev/null and b/static/fonts/MapleMono-NF-MediumItalic.ttf differ diff --git a/static/fonts/MapleMono-NF-Regular.ttf b/static/fonts/MapleMono-NF-Regular.ttf new file mode 100644 index 0000000..3866974 Binary files /dev/null and b/static/fonts/MapleMono-NF-Regular.ttf differ diff --git a/static/fonts/MapleMono-NF-SemiBold.ttf b/static/fonts/MapleMono-NF-SemiBold.ttf new file mode 100644 index 0000000..4cdb2a6 Binary files /dev/null and b/static/fonts/MapleMono-NF-SemiBold.ttf differ diff --git a/static/fonts/MapleMono-NF-SemiBoldItalic.ttf b/static/fonts/MapleMono-NF-SemiBoldItalic.ttf new file mode 100644 index 0000000..36afe3f Binary files /dev/null and b/static/fonts/MapleMono-NF-SemiBoldItalic.ttf differ diff --git a/static/fonts/MapleMono-NF-Thin.ttf b/static/fonts/MapleMono-NF-Thin.ttf new file mode 100644 index 0000000..3907f43 Binary files /dev/null and b/static/fonts/MapleMono-NF-Thin.ttf differ diff --git a/static/fonts/MapleMono-NF-ThinItalic.ttf b/static/fonts/MapleMono-NF-ThinItalic.ttf new file mode 100644 index 0000000..8469f04 Binary files /dev/null and b/static/fonts/MapleMono-NF-ThinItalic.ttf differ diff --git a/static/fonts/MapleMono-Regular.ttf.woff2 b/static/fonts/MapleMono-Regular.ttf.woff2 deleted file mode 100644 index 07310fa..0000000 Binary files a/static/fonts/MapleMono-Regular.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-SemiBold.ttf.woff2 b/static/fonts/MapleMono-SemiBold.ttf.woff2 deleted file mode 100644 index af52fdc..0000000 Binary files a/static/fonts/MapleMono-SemiBold.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-SemiBoldItalic.ttf.woff2 b/static/fonts/MapleMono-SemiBoldItalic.ttf.woff2 deleted file mode 100644 index 9e0e47b..0000000 Binary files a/static/fonts/MapleMono-SemiBoldItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-Thin.ttf.woff2 b/static/fonts/MapleMono-Thin.ttf.woff2 deleted file mode 100644 index 97258c3..0000000 Binary files a/static/fonts/MapleMono-Thin.ttf.woff2 and /dev/null differ diff --git a/static/fonts/MapleMono-ThinItalic.ttf.woff2 b/static/fonts/MapleMono-ThinItalic.ttf.woff2 deleted file mode 100644 index 277bef9..0000000 Binary files a/static/fonts/MapleMono-ThinItalic.ttf.woff2 and /dev/null differ diff --git a/static/fonts/config.json b/static/fonts/config.json new file mode 100644 index 0000000..a5e54ee --- /dev/null +++ b/static/fonts/config.json @@ -0,0 +1,87 @@ +{ + "version": "v7.7", + "family_name": "Maple Mono", + "weight_mapping": { + "thin": 100, + "extralight": 200, + "light": 300, + "regular": 400, + "semibold": 500, + "medium": 600, + "bold": 700, + "extrabold": 800 + }, + "line_height": 1.0, + "use_hinted": false, + "ligature": true, + "feature_freeze": { + "cv01": "ignore", + "cv02": "ignore", + "cv03": "ignore", + "cv04": "ignore", + "cv31": "ignore", + "cv32": "ignore", + "cv33": "ignore", + "cv34": "ignore", + "cv35": "ignore", + "cv36": "ignore", + "cv37": "ignore", + "cv96": "ignore", + "cv97": "ignore", + "cv98": "ignore", + "cv99": "ignore", + "ss01": "ignore", + "ss02": "ignore", + "ss03": "ignore", + "ss04": "ignore", + "ss05": "ignore", + "ss06": "ignore", + "ss07": "ignore", + "ss08": "ignore", + "zero": "ignore", + "cv05": "ignore", + "cv06": "ignore", + "cv07": "ignore", + "cv08": "ignore", + "cv09": "ignore", + "cv10": "ignore", + "cv11": "ignore", + "cv38": "ignore", + "cv39": "ignore", + "cv40": "ignore", + "cv41": "ignore", + "cv42": "ignore", + "cv43": "ignore", + "cv44": "ignore", + "cv61": "ignore", + "cv62": "ignore", + "cv63": "ignore", + "cv64": "ignore", + "cv65": "ignore", + "ss09": "ignore", + "ss10": "ignore", + "ss11": "ignore" + }, + "nerd_font": { + "version": "3.4.0", + "mono": false, + "propo": false, + "use_font_patcher": false, + "glyphs": [ + "--complete" + ], + "extra_args": [] + }, + "cn": { + "with_nerd_font": false, + "fix_meta_table": true, + "clean_cache": false, + "narrow": false, + "use_hinted": false, + "use_static_base_font": true, + "scale_factor": [ + 1.0, + 1.0 + ] + } +} \ No newline at end of file