From 2cdeee2a3c728a42dc1b9fe9d6892ea647402e1c Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 14 Oct 2023 13:02:49 +0200 Subject: Nyght Serif is the best :) --- themes/conspiracy/assets/css/style.css | 91 +++++++++++++++++++- .../assets/fonts/nyght-serif-main/COPYRIGHT.md | 1 + .../assets/fonts/nyght-serif-main/HELLO.txt | 35 ++++++++ .../assets/fonts/nyght-serif-main/LICENSE.txt | 94 +++++++++++++++++++++ .../assets/fonts/nyght-serif-main/README.md | 32 +++++++ .../assets/fonts/nyght-serif-main/TRADEMARKS.md | 1 + .../assets/fonts/nyght-serif-main/fonts/.gitkeep | 0 .../fonts/nyght-serif-main/fonts/WEB/.gitkeep | 0 .../fonts/WEB/NyghtSerif-Bold.woff2 | Bin 0 -> 37088 bytes .../fonts/WEB/NyghtSerif-BoldItalic.woff2 | Bin 0 -> 38412 bytes .../fonts/WEB/NyghtSerif-Dark.woff2 | Bin 0 -> 36220 bytes .../fonts/WEB/NyghtSerif-DarkItalic.woff2 | Bin 0 -> 37440 bytes .../fonts/WEB/NyghtSerif-Light.woff2 | Bin 0 -> 34848 bytes .../fonts/WEB/NyghtSerif-LightItalic.woff2 | Bin 0 -> 36288 bytes .../fonts/WEB/NyghtSerif-Medium.woff2 | Bin 0 -> 36092 bytes .../fonts/WEB/NyghtSerif-MediumItalic.woff2 | Bin 0 -> 38004 bytes .../fonts/WEB/NyghtSerif-Regular.woff2 | Bin 0 -> 36344 bytes .../fonts/WEB/NyghtSerif-RegularItalic.woff2 | Bin 0 -> 38160 bytes themes/conspiracy/layouts/partials/card.html | 2 +- 19 files changed, 251 insertions(+), 5 deletions(-) create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/COPYRIGHT.md create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/HELLO.txt create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/LICENSE.txt create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/README.md create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/TRADEMARKS.md create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/.gitkeep create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/.gitkeep create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Dark.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-DarkItalic.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-LightItalic.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Medium.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-MediumItalic.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2 create mode 100644 themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-RegularItalic.woff2 (limited to 'themes') diff --git a/themes/conspiracy/assets/css/style.css b/themes/conspiracy/assets/css/style.css index 489a218..afe98d7 100644 --- a/themes/conspiracy/assets/css/style.css +++ b/themes/conspiracy/assets/css/style.css @@ -20,10 +20,77 @@ html { --default-border: 0.5px dotted rgba(255, 255, 255, 0.3); } +/* @font-face { font-family: "Manuskript Gothisch"; src: url("{{ (resources.Get "fonts/manuskript_gothisch/Manuskript Gothisch UNZ1A.ttf").RelPermalink }}"); } +*/ + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2").RelPermalink }}"); + font-weight: 100; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-LightItalic.woff2").RelPermalink }}"); + font-weight: 100; + font-style: italic; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2").RelPermalink }}"); + font-weight: 400; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-RegularItalic.woff2").RelPermalink }}"); + font-weight: 400; + font-style: italic; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Medium.woff2").RelPermalink }}"); + font-weight: 500; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-MediumItalic.woff2").RelPermalink }}"); + font-weight: 500; + font-style: italic; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2").RelPermalink }}"); + font-weight: 700; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2").RelPermalink }}"); + font-weight: 700; + font-style: italic; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Dark.woff2").RelPermalink }}"); + font-weight: 900; +} + +@font-face { + font-family: "Nyght Serif"; + src: url("{{ (resources.Get "fonts/nyght-serif-main/fonts/WEB/NyghtSerif-DarkItalic.woff2").RelPermalink }}"); + font-weight: 900; + font-style: italic; +} @font-face { font-family: "Roboto Slab"; @@ -31,6 +98,7 @@ html { font-weight: 100 200 300 400 500 600 700 800 900; } +/* @font-face { font-family: "Bodoni Moda"; src: url("{{ (resources.Get "fonts/bodoni_moda/static/BodoniModa_9pt/BodoniModa_9pt-MediumItalic.ttf").RelPermalink }}"); @@ -41,6 +109,7 @@ html { font-family: "Bodoni Moda"; src: url("{{ (resources.Get "fonts/bodoni_moda/static/BodoniModa_18pt/BodoniModa_18pt-Medium.ttf").RelPermalink }}"); } +*/ @font-face { font-family: "Fira Code"; @@ -70,7 +139,7 @@ body { } strong { - font-family: "Bodoni Moda"; + font-family: "Nyght Serif"; font-style: italic; } @@ -151,12 +220,23 @@ main > .intro { h1, h2, h3, h4, h5, h6 { margin-top: 50px; margin-bottom: 8px; - font-family: "Bodoni Moda"; + font-family: "Nyght Serif"; text-align: left; + font-weight: 700; } h1 { - font-family: "Bodoni Moda"; + font-style: italic; +} + +h2 { + font-size: 30px; + font-weight: 400; +} + +h3 { + font-size: 20px; + font-weight: 700; } body > header { @@ -176,7 +256,10 @@ body > header > h1 { -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(0, 0, 0, var(--shadow-opacity))); - font-size: 40px; + font-size: 120px; + /* Padding to avoid the first character getting cut off in firefox */ + padding-left: 40px; + padding-right: 40px; } /* https://css-tricks.com/linearly-scale-font-size-with-css-clamp-based-on-the-viewport/ */ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/COPYRIGHT.md b/themes/conspiracy/assets/fonts/nyght-serif-main/COPYRIGHT.md new file mode 100644 index 0000000..d8d9a7c --- /dev/null +++ b/themes/conspiracy/assets/fonts/nyght-serif-main/COPYRIGHT.md @@ -0,0 +1 @@ +Copyright (c) 2023, Maksym Kobuzan diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/HELLO.txt b/themes/conspiracy/assets/fonts/nyght-serif-main/HELLO.txt new file mode 100644 index 0000000..36f15ee --- /dev/null +++ b/themes/conspiracy/assets/fonts/nyght-serif-main/HELLO.txt @@ -0,0 +1,35 @@ +ENG + + +Hi! + +Thank you for your interest! I put a lot of my time and effort into my fonts. +And I would be very interested to see how you use the NYGHT SERIF and other my typefaces. + +Tag me @mkobuzan or send it to maxkobuzan@gmail.com your Font In Use. I would even repost some of this to my Instagram. + +Enjoy! + +Glory to Ukraine, + +Maksym. + + + + +UKR + + +Привіт! + +Дякую за твоє зацікавлення! Я вкладаю багато часу та зусиль у свої шрифти. +І мені було б дуже цікаво подивитися, як ти використовуєш NYGHT SERIF і інші мої шрифти. + +Познач мене @mkobuzan або надішли на maxkobuzan@gmail.com свій проєкт, в якому використано мій шрифт. +Щось із цього я б репостнув би собі в Instagram. + +Насолоджуйся! + +Слава Україні, + +Максим. diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/LICENSE.txt b/themes/conspiracy/assets/fonts/nyght-serif-main/LICENSE.txt new file mode 100644 index 0000000..3182580 --- /dev/null +++ b/themes/conspiracy/assets/fonts/nyght-serif-main/LICENSE.txt @@ -0,0 +1,94 @@ +Copyright (c) 2022, Maksym Kobuzan (maxkobuzan@gmail.com), +with Reserved Font Name NYGHT SERIF. + +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: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +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/themes/conspiracy/assets/fonts/nyght-serif-main/README.md b/themes/conspiracy/assets/fonts/nyght-serif-main/README.md new file mode 100644 index 0000000..d8ca75c --- /dev/null +++ b/themes/conspiracy/assets/fonts/nyght-serif-main/README.md @@ -0,0 +1,32 @@ +# NYGHT SERIF v0.5 + +NYGHT SERIF (version 0.5) is a contemporary serif designed by Maksym Kobuzan (www.behance.net/mkobuzan). + +## Description + +NYGHT SERIF is a contemporary serif with a spicy character. Its contrasting forms combine smooth curves and sharp as a blade serifs and spurs. NYGHT SERIF also knows Extended Latin. It also knows Cyrillic. But only the Ukrainian alphabet. NYGHT SERIF is absolutely FREE for personal and commercial use. It also has an Open Font License (OFL). NYGHT SERIF will be published in progress. And there will be many updates. + +## Current Version + +FAMILY UPDATE 0.5 + +1. 6 new styles. Namely Regular, Medium, Bold. And also Italics, of course. Now it's a full-fledged Type Family! 💚 +2. Added support for Bulgarian language. Namely, the letters of the Bulgarian Cyrillic alphabet! +3. Added some basic ligatures like ff tt ft. +4. Balanced the width of some Сapital Letters in Light weight. Some letters have become wider, for example P R B. And some letters have become, on the contrary, a little narrower. +5. And as usual, multiple minor changes in the curves. The curves are smoother and more uniform. Some bugs have also been fixed. 🤌 + +So you need to update all styles as well. And thanks for downloading and enjoying! + +## Visuals + +![specimen1](documentation/images/NyghtSerif01.jpg) +![specimen1](documentation/images/NyghtSerif02.jpg) +![specimen1](documentation/images/NyghtSerif11.jpg) + +## License +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is available [here](http://www.tunera.xyz/licenses/sil-open-font-license-1.1/) + +## Repository Layout +This font repository structure is inspired by [Unified Font Repository v0.3](https://github.com/unified-font-repository/Unified-Font-Repository). diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/TRADEMARKS.md b/themes/conspiracy/assets/fonts/nyght-serif-main/TRADEMARKS.md new file mode 100644 index 0000000..74072a7 --- /dev/null +++ b/themes/conspiracy/assets/fonts/nyght-serif-main/TRADEMARKS.md @@ -0,0 +1 @@ +NYGHT SERIF is a trademark of Maksym Kobuzan (2023). diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/.gitkeep b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/.gitkeep b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2 new file mode 100644 index 0000000..8e28860 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2 new file mode 100644 index 0000000..c4a12e0 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Dark.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Dark.woff2 new file mode 100644 index 0000000..c255d39 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Dark.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-DarkItalic.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-DarkItalic.woff2 new file mode 100644 index 0000000..7e0da32 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-DarkItalic.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2 new file mode 100644 index 0000000..418f03e Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-LightItalic.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-LightItalic.woff2 new file mode 100644 index 0000000..b2d3ab9 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-LightItalic.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Medium.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Medium.woff2 new file mode 100644 index 0000000..42d677d Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Medium.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-MediumItalic.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-MediumItalic.woff2 new file mode 100644 index 0000000..b092803 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-MediumItalic.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2 new file mode 100644 index 0000000..5d518dc Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2 differ diff --git a/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-RegularItalic.woff2 b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-RegularItalic.woff2 new file mode 100644 index 0000000..79adbb6 Binary files /dev/null and b/themes/conspiracy/assets/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-RegularItalic.woff2 differ diff --git a/themes/conspiracy/layouts/partials/card.html b/themes/conspiracy/layouts/partials/card.html index d0d94c3..21eeebf 100644 --- a/themes/conspiracy/layouts/partials/card.html +++ b/themes/conspiracy/layouts/partials/card.html @@ -1,5 +1,5 @@
- {{- if .Title }}

{{ .Title }}

{{- end }} + {{- if .Title }}

{{ .Title }}

{{- end }} {{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}{{ .Date.Format "2006-01-02" }}{{- end }}
-- cgit