bunch of updates
This commit is contained in:
parent
d4464bfdc0
commit
c7dff8ea0d
67 changed files with 631 additions and 257 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "themes/terminimal"]
|
|
||||||
path = themes/terminimal
|
|
||||||
url = https://github.com/pawroman/zola-theme-terminimal.git
|
|
71
LICENSE
Normal file
71
LICENSE
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
Copyright (c) 2023 CherryKitten
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
I'm using a modification of the Terminimal zola theme, which is in itself a fork of the similar theme for Hugo.
|
||||||
|
Both are also licensed under the MIT License:
|
||||||
|
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019 Paweł Romanowski
|
||||||
|
|
||||||
|
Copyright (c) 2019 panr
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
For hugo-theme-terminal:
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2019 panr
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
config.toml
26
config.toml
|
@ -2,8 +2,6 @@
|
||||||
base_url = "https://cherrykitten.dev"
|
base_url = "https://cherrykitten.dev"
|
||||||
title = "CherryKitten"
|
title = "CherryKitten"
|
||||||
|
|
||||||
theme = "terminimal"
|
|
||||||
|
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
|
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
|
@ -20,36 +18,14 @@ taxonomies = [
|
||||||
# Whether to do syntax highlighting
|
# Whether to do syntax highlighting
|
||||||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
extra_syntaxes_and_themes = ["highlight_themes", "highlight_themes/rose-pine"]
|
extra_syntaxes_and_themes = ["highlight_themes"]
|
||||||
highlight_theme = "rosepine"
|
highlight_theme = "rosepine"
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
|
|
||||||
# One of: blue, green, orange, pink, red.
|
|
||||||
# Defaults to blue.
|
|
||||||
accent_color = "rosepine"
|
|
||||||
|
|
||||||
# One of: blue, dark, green, orange, pink, red.
|
|
||||||
# Enabling dark background will also modify primary font color
|
|
||||||
# to be darker.
|
|
||||||
# Defaults to accent color (or, if not accent color specified, to blue).
|
|
||||||
background_color = "rosepine"
|
|
||||||
|
|
||||||
# The logo text - defaults to "Terminimal theme"
|
# The logo text - defaults to "Terminimal theme"
|
||||||
logo_text = "CherryKitten"
|
logo_text = "CherryKitten"
|
||||||
|
|
||||||
copyright_html = """\
|
|
||||||
<a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
|
||||||
"""
|
|
||||||
|
|
||||||
menu_items = [
|
menu_items = [
|
||||||
{name = "Home", url = "$BASE_URL"},
|
{name = "Home", url = "$BASE_URL"},
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -65,16 +65,19 @@
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -111,16 +111,19 @@ all the relevant projects in my <a href="https://codeberg.org/CherryKitten/freec
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -133,22 +133,6 @@ Welcome to the Fediverse 💜.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="pagination">
|
|
||||||
<div class="pagination__title">
|
|
||||||
<span class="pagination__title-h">More posts!</span>
|
|
||||||
<hr />
|
|
||||||
</div>
|
|
||||||
<div class="pagination__buttons">
|
|
||||||
|
|
||||||
<span class="button next">
|
|
||||||
<a href="https://cherrykitten.dev/blog/rust-1-options-results/">
|
|
||||||
<span class="button__text">Learning Rust Part 1: A kitten's guide to Options and Results</span>
|
|
||||||
<span class="button__icon">→</span>
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -156,16 +140,19 @@ Welcome to the Fediverse 💜.</p>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -156,16 +156,19 @@ People have been recommending "Mastodon" as a Twitter alternative for
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -307,16 +307,19 @@ And if I made mistakes, please also tell me. I'm always happy to learn more and
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #1D212C}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #101010;--color: #A9B7C6}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #1F222A}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #222129}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #21202C}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #221F29}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--background: #232136;--color: #3e8fb0}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--accent: rgb(35,176,255);--accent-alpha-70: rgba(35,176,255,.7);--accent-alpha-20: rgba(35,176,255,.2);--background: #1D212C;--color: white;--border-color: rgba(255, 255, 255, .1)}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--accent: rgb(120,226,160);--accent-alpha-70: rgba(120,226,160,.7);--accent-alpha-20: rgba(120,226,160,.2);--background: #1F222A;--color: white;--border-color: rgba(255, 255, 255, .1)}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--accent: rgb(255,168,106);--accent-alpha-70: rgba(255,168,106,.7);--accent-alpha-20: rgba(255,168,106,.2);--background: #222129;--color: white;--border-color: rgba(255, 255, 255, .1)}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--accent: rgb(238,114,241);--accent-alpha-70: rgba(238,114,241,.7);--accent-alpha-20: rgba(238,114,241,.2);--background: #21202C;--color: white;--border-color: rgba(255, 255, 255, .1)}
|
|
|
@ -1 +0,0 @@
|
||||||
:root{--accent: rgb(255,98,102);--accent-alpha-70: rgba(255,98,102,.7);--accent-alpha-20: rgba(255,98,102,.2);--background: #221F29;--color: white;--border-color: rgba(255, 255, 255, .1)}
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -141,16 +141,19 @@
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
/*!
|
|
||||||
* Hack typeface https://github.com/source-foundry/Hack
|
|
||||||
* License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md
|
|
||||||
*/@font-face{font-family:"Hack";src:url("fonts/hack-regular.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-regular.woff?sha=3114f1256") format("woff");font-weight:400;font-style:normal}@font-face{font-family:"Hack";src:url("fonts/hack-bold-subset.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-bold-subset.woff?sha=3114f1256") format("woff");font-weight:700;font-style:normal}@font-face{font-family:"Hack";src:url("fonts/hack-italic-subset.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-italic-webfont.woff?sha=3114f1256") format("woff");font-weight:400;font-style:italic}@font-face{font-family:"Hack";src:url("fonts/hack-bolditalic-subset.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-bolditalic-subset.woff?sha=3114f1256") format("woff");font-weight:700;font-style:italic}
|
|
|
@ -1,4 +0,0 @@
|
||||||
/*!
|
|
||||||
* Hack typeface https://github.com/source-foundry/Hack
|
|
||||||
* License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md
|
|
||||||
*/@font-face{font-family:"Hack";src:url("fonts/hack-regular.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-regular.woff?sha=3114f1256") format("woff");font-weight:400;font-style:normal}@font-face{font-family:"Hack";src:url("fonts/hack-bold.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-bold.woff?sha=3114f1256") format("woff");font-weight:700;font-style:normal}@font-face{font-family:"Hack";src:url("fonts/hack-italic.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-italic.woff?sha=3114f1256") format("woff");font-weight:400;font-style:italic}@font-face{font-family:"Hack";src:url("fonts/hack-bolditalic.woff2?sha=3114f1256") format("woff2"),url("fonts/hack-bolditalic.woff?sha=3114f1256") format("woff");font-weight:700;font-style:italic}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
.footer{padding:40px 0;flex-grow:0;opacity:.5}.footer__inner{display:flex;align-items:center;justify-content:space-between;margin:0;width:760px;max-width:100%}@media (max-width: 899px){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{display:flex;flex-direction:row;align-items:center;font-size:1rem;color:var(--light-color-secondary)}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>*:first-child:not(:only-child){margin-right:10px}@media (max-width: 899px){.footer .copyright>*:first-child:not(:only-child){border:none;padding:0;margin:0}}@media (max-width: 899px){.footer .copyright{flex-direction:column;margin-top:10px}}@media (max-width: 899px){.footer .copyright-theme-sep{display:none}}@media (max-width: 899px){.footer .copyright-theme{font-size:.75rem}}
|
.footer{padding:40px 0;flex-grow:0;opacity:.5}.footer__inner{display:flex;align-items:center;justify-content:space-between;margin:0;width:760px;max-width:100%}@media (max-width: 899px){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{display:flex;flex-direction:row;align-items:center;font-size:1rem;color:var(--light-color-secondary)}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>*:first-child:not(:only-child){margin-right:10px}@media (max-width: 899px){.footer .copyright>*:first-child:not(:only-child){border:none;padding:0;margin:0}}@media (max-width: 899px){.footer .copyright{flex-direction:column;margin-top:10px}}
|
|
@ -1 +1 @@
|
||||||
.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, rgba(0,0,0,0) 0, rgba(0,0,0,0) 16px, var(--accent2), var(--accent2) 17px, rgba(0,0,0,0) 0, rgba(0,0,0,0) 32px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{margin:20px 0}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}.header .menu__inner li{color:var(--accent3)}.header .menu__inner li.active{color:var(--accent-alpha-70)}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{position:absolute;background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;left:0}.header .menu__sub-inner-more-trigger{color:var(--accent);user-select:none;cursor:pointer}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}
|
.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg, var(--accent) 0%, rgba(0,0,0,0) 8%, var(--accent2) 50%, var(--accent3) 100%);display:block;width:100%;right:10px;border-radius:0 20px 20px 0}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{margin:20px 0}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}.header .menu__inner li{color:var(--accent3)}.header .menu__inner li.active{color:var(--accent-alpha-70)}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{position:absolute;background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;left:0}.header .menu__sub-inner-more-trigger{color:var(--accent);user-select:none;cursor:pointer}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -96,16 +96,19 @@
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -89,16 +89,19 @@
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<meta name="robots" content="noodp"/>
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/style.css">
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/color/rosepine.css">
|
<link rel="stylesheet" href="https://cherrykitten.dev/color.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cherrykitten.dev/font-hack-subset.css">
|
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://cherrykitten.dev/ rss.xml
|
||||||
|
">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -100,16 +100,19 @@
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer__inner">
|
<div class="footer__inner">
|
||||||
<div class="copyright copyright--user"><a href="https://liberapay.com/CherryKitten/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
<p>© 2023 - CherryKitten</p><br>
|
<span>©
|
||||||
|
2023
|
||||||
|
- CherryKitten</span><br>
|
||||||
|
|
||||||
<p><a href="/impressum">Impressum</a></p>
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
<p><a href="/rss.xml">RSS</a></p>
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
<p onclick="alert('Nya!')">🐱</p>
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.logo{display:flex;align-items:center;text-decoration:none;background:var(--accent);color:#000;padding:5px 10px}
|
.logo{display:flex;align-items:center;text-decoration:none;background:var(--accent);color:#000;padding:5px 10px;border-radius:20px 0 0 20px}
|
|
@ -1 +1 @@
|
||||||
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;padding:0;font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;background-color:var(--background);color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width: 683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{display:flex;align-items:center;font-weight:bold;line-height:1.3;color:var(--accent2)}h1{font-size:1.4rem}h2{font-size:1.3rem}h3{font-size:1.2rem}h4,h5,h6{font-size:1.15rem}a{color:inherit}img{display:block;max-width:100%}img.left{margin-right:auto}img.center{margin-left:auto;margin-right:auto}img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.left img{margin-right:auto}figure.center img{margin-left:auto;margin-right:auto}figure.right img{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:var(--accent);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:var(--accent-alpha-20);padding:1px 6px;margin:0 2px;font-size:.95rem}pre{font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;padding:20px;font-size:.95rem;overflow:auto;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}@media (max-width: 683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{padding:0;margin:0;background:none}blockquote{border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width: 683px){blockquote{padding-right:0}}blockquote:before{content:"”";font-family:Georgia,serif;font-size:3.875rem;position:absolute;left:-40px;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,th,td{border:1px dashed var(--accent);padding:10px}th{color:var(--accent)}ul,ol{margin-left:30px;padding:0}ul li,ol li{position:relative}@media (max-width: 683px){ul,ol{margin-left:20px}}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;margin:0 auto}@media (max-width: 683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:var(--border-color);height:1px}.hidden{display:none}
|
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;padding:0;font-family:Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;background-color:var(--background);color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width: 683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{display:flex;align-items:center;font-weight:bold;line-height:1.3;color:var(--accent2)}h1{font-size:1.4rem}h2{font-size:1.3rem}h3{font-size:1.2rem}h4,h5,h6{font-size:1.15rem}a{color:inherit}img{display:block;max-width:100%}img.left{margin-right:auto}img.center{margin-left:auto;margin-right:auto}img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.left img{margin-right:auto}figure.center img{margin-left:auto;margin-right:auto}figure.right img{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:var(--accent);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:monospace;font-feature-settings:normal;background:var(--accent-alpha-20);padding:1px 6px;margin:0 2px;font-size:.95rem}pre{font-family:monospace;padding:20px;font-size:.95rem;overflow:auto;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}@media (max-width: 683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{padding:0;margin:0;background:none}blockquote{border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width: 683px){blockquote{padding-right:0}}blockquote:before{content:"”";font-family:Georgia,serif;font-size:3.875rem;position:absolute;left:-40px;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,th,td{border:1px dashed var(--accent);padding:10px}th{color:var(--accent)}ul,ol{margin-left:30px;padding:0}ul li,ol li{position:relative}@media (max-width: 683px){ul,ol{margin-left:20px}}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;margin:0 auto}@media (max-width: 683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:var(--border-color);height:1px}.hidden{display:none}
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
||||||
:root {
|
|
||||||
--background: #232136;
|
|
||||||
|
|
||||||
--color: #3e8fb0;
|
|
||||||
}
|
|
|
@ -49,16 +49,4 @@
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.copyright-theme-sep {
|
|
||||||
@media (max-width: $tablet-max-width) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.copyright-theme {
|
|
||||||
@media (max-width: $tablet-max-width) {
|
|
||||||
font-size: 0.75rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,11 +29,11 @@
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: '';
|
content: '';
|
||||||
//background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, transparent 0, transparent 16px);
|
background: repeating-linear-gradient(90deg,var(--accent) 0%, transparent 8%, var(--accent2) 50%,var(--accent3) 100% );
|
||||||
background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, transparent 0, transparent 16px, var(--accent2), var(--accent2) 17px, transparent 0, transparent 32px);
|
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
border-radius: 0 20px 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
color: black;
|
color: black;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
|
border-radius: 20px 0 0 20px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ html {
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
|
font-family: Monaco, Consolas, Ubuntu Mono, monospace;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.54;
|
line-height: 1.54;
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
|
@ -125,7 +125,7 @@ figure {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
|
font-family: monospace;
|
||||||
font-feature-settings: normal;
|
font-feature-settings: normal;
|
||||||
background: var(--accent-alpha-20);
|
background: var(--accent-alpha-20);
|
||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
|
@ -134,7 +134,7 @@ code {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
|
font-family: monospace;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
font-size: .95rem;
|
font-size: .95rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
16
templates/404.html
Normal file
16
templates/404.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{% extends "index.html" %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
404
|
||||||
|
{% endblock title %}
|
||||||
|
|
||||||
|
{% block header_menu %}
|
||||||
|
{{ menu_macros::menu_for(config=config, current_item="") }}
|
||||||
|
{% endblock header_menu %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="post">
|
||||||
|
<h1 class="post-title">{% block heading %}Lost?{% endblock heading %}</h1>
|
||||||
|
<p>{% block message %}This page does not exist.{% endblock message %}</p>
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
15
templates/archive.html
Normal file
15
templates/archive.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{% extends "index.html" %}
|
||||||
|
|
||||||
|
{%- block title -%}
|
||||||
|
{{ title_macros::title(page_title=page.title, main_title=config.title) }}
|
||||||
|
{%- endblock -%}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="post">
|
||||||
|
<h1 class="post-title">{{ page.title }}</h1>
|
||||||
|
|
||||||
|
{% set section = get_section(path="_index.md") %}
|
||||||
|
|
||||||
|
{{ post_macros::list_posts(pages=section.pages) }}
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
117
templates/index.html
Normal file
117
templates/index.html
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
{% import "macros/date.html" as date_macros -%}
|
||||||
|
{% import "macros/head.html" as head_macros -%}
|
||||||
|
{% import "macros/menu.html" as menu_macros -%}
|
||||||
|
{% import "macros/post.html" as post_macros -%}
|
||||||
|
{% import "macros/title.html" as title_macros -%}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>{%- block title %}{{ config.title }}{% endblock title -%}</title>
|
||||||
|
{{ head_macros::head(config=config) }}
|
||||||
|
|
||||||
|
{%- if config.generate_feed %}
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=" rss.xml
|
||||||
|
") | safe }}">
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
|
{%- if config.extra.favicon %}
|
||||||
|
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value=" image
|
||||||
|
/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}">
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
|
{%- block extra_head %}
|
||||||
|
{% endblock extra_head -%}
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="">
|
||||||
|
<div class="container">
|
||||||
|
{% block header %}
|
||||||
|
<header class="header">
|
||||||
|
<div class="header__inner">
|
||||||
|
<div class="header__logo">
|
||||||
|
{%- if config.logo_home_link %}
|
||||||
|
{% set logo_link = config.logo_home_link %}
|
||||||
|
{% else %}
|
||||||
|
{% set logo_link = config.base_url %}
|
||||||
|
{% endif -%}
|
||||||
|
<a href="{{ logo_link | safe }}" style="text-decoration: none;">
|
||||||
|
<div class="logo">
|
||||||
|
{% block logo_content %}
|
||||||
|
{{ config.extra.logo_text }}
|
||||||
|
{% endblock logo_content %}
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block header_menu %}
|
||||||
|
{{ menu_macros::menu(config=config, current_path=current_path) }}
|
||||||
|
{% endblock header_menu %}
|
||||||
|
</header>
|
||||||
|
{% endblock header %}
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
{% block content %}
|
||||||
|
<div class="posts">
|
||||||
|
{%- if paginator %}
|
||||||
|
{%- set show_pages = paginator.pages -%}
|
||||||
|
{% else %}
|
||||||
|
{%- set show_pages = section.pages -%}
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
|
{%- for page in show_pages %}
|
||||||
|
<div class="post on-list">
|
||||||
|
{{ post_macros::header(page=page) }}
|
||||||
|
{{ post_macros::content(page=page, summary=true) }}
|
||||||
|
</div>
|
||||||
|
{% endfor -%}
|
||||||
|
<div class="pagination">
|
||||||
|
<div class="pagination__buttons">
|
||||||
|
{%- if paginator.previous %}
|
||||||
|
<span class="button previous">
|
||||||
|
<a href="{{ paginator.previous | safe }}">
|
||||||
|
<span class="button__icon">←</span>
|
||||||
|
<span class="button__text">Newer posts</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
{% endif -%}
|
||||||
|
{%- if paginator.next %}
|
||||||
|
<span class="button next">
|
||||||
|
<a href="{{ paginator.next | safe }}">
|
||||||
|
<span class="button__text">Older posts</span>
|
||||||
|
<span class="button__icon">→</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
{% endif -%}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="footer__inner">
|
||||||
|
<div class="copyright copyright--user">
|
||||||
|
<a href="https://liberapay.com/CherryKitten/donate"><img
|
||||||
|
alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||||
|
|
||||||
|
<span>© {{ date_macros::now_year() }} - CherryKitten</span><br>
|
||||||
|
|
||||||
|
<span><a href="/impressum">Impressum</a></span>
|
||||||
|
|
||||||
|
<span><a href="/rss.xml">RSS</a></span>
|
||||||
|
|
||||||
|
<span onclick="alert('Nya!')">🐱</span></div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
{% endblock footer %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{%- block extra_body %}
|
||||||
|
{% endblock extra_body -%}
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
3
templates/macros/date.html
Normal file
3
templates/macros/date.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% macro now_year() %}
|
||||||
|
{{ now() | date(format="%Y") }}
|
||||||
|
{% endmacro %}
|
9
templates/macros/head.html
Normal file
9
templates/macros/head.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{% macro head(config) %}
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
||||||
|
<meta name="robots" content="noodp"/>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ get_url(path="style.css", trailing_slash=false) | safe }}">
|
||||||
|
<link rel="stylesheet" href="{{ get_url(path="color.css", trailing_slash=false) | safe }}">
|
||||||
|
|
||||||
|
{% endmacro head %}
|
52
templates/macros/menu.html
Normal file
52
templates/macros/menu.html
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
{% macro menu(config, current_path) %}
|
||||||
|
{%- set current_item = false -%}
|
||||||
|
{%- if config.extra.menu_items %}
|
||||||
|
{%- set menu_items = config.extra.menu_items -%}
|
||||||
|
|
||||||
|
{%- for item in menu_items %}
|
||||||
|
{%- set abs_item_url = item.url | replace(from="$BASE_URL", to=config.base_url) -%}
|
||||||
|
{%- set is_current = current_url == abs_item_url ~ "/"
|
||||||
|
or current_url is starting_with(abs_item_url)
|
||||||
|
-%}
|
||||||
|
{%- set is_base = abs_item_url == config.base_url
|
||||||
|
or abs_item_url == config.base_url ~ "/"
|
||||||
|
-%}
|
||||||
|
|
||||||
|
{%- if is_base %}
|
||||||
|
{%- set_global base_item = item -%}
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
|
{%- if is_current and not is_base %}
|
||||||
|
{%- set_global current_item = item -%}
|
||||||
|
{% endif -%}
|
||||||
|
{% endfor -%}
|
||||||
|
|
||||||
|
{%- if not current_item and base_item %}
|
||||||
|
{# Did not match any menu URLs -- assume it's a blog post #}
|
||||||
|
{%- set current_item = base_item -%}
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
|
{{ menu_macros::menu_for(config=config, current_item=current_item) }}
|
||||||
|
{% endif -%}
|
||||||
|
{% endmacro menu %}
|
||||||
|
|
||||||
|
{% macro menu_for(config, current_item) %}
|
||||||
|
{%- if config.extra.menu_items %}
|
||||||
|
{%- set menu_items = config.extra.menu_items -%}
|
||||||
|
|
||||||
|
<nav class="menu">
|
||||||
|
<ul class="menu__inner">
|
||||||
|
{%- for item in menu_items %}
|
||||||
|
<li {%- if current_item and current_item == item %} class="active" {%- endif %}>
|
||||||
|
{%- if item.newtab -%}
|
||||||
|
<a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) | safe }}" target="_blank" rel="noopener noreferrer">{{ item.name | safe }}</a>
|
||||||
|
{%- else -%}
|
||||||
|
<a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) | safe }}">{{ item.name | safe }}</a>
|
||||||
|
{%- endif -%}
|
||||||
|
</li>
|
||||||
|
{% endfor -%}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
{% endif -%}
|
||||||
|
{% endmacro menu %}
|
||||||
|
|
103
templates/macros/post.html
Normal file
103
templates/macros/post.html
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
{% macro content(page, summary) %}
|
||||||
|
{%- if summary and page.summary %}
|
||||||
|
<div class="post-content">
|
||||||
|
{{ page.summary | safe }}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<!-- ︎ -- force text style - some devices render this as emoji -->
|
||||||
|
<a class="read-more button" href="{{ page.permalink | safe }}">
|
||||||
|
<span class="button__text">Read more</span>
|
||||||
|
<span class="button__icon">↩︎</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="post-content">
|
||||||
|
{{ page.content | safe }}
|
||||||
|
</div>
|
||||||
|
{%- endif %}
|
||||||
|
{% endmacro content %}
|
||||||
|
|
||||||
|
|
||||||
|
{% macro date(page) %}
|
||||||
|
<span class="post-date">
|
||||||
|
{%- if page.date %}
|
||||||
|
{{ page.date | date(format="%Y-%m-%d") }}
|
||||||
|
{% endif -%}
|
||||||
|
</span>
|
||||||
|
{% endmacro post_date %}
|
||||||
|
|
||||||
|
|
||||||
|
{% macro earlier_later(page) %}
|
||||||
|
{%- if config.extra.enable_post_view_navigation and page.lower or page.higher %}
|
||||||
|
<div class="pagination">
|
||||||
|
<div class="pagination__title">
|
||||||
|
<span class="pagination__title-h">{{ config.extra.post_view_navigation_prompt }}</span>
|
||||||
|
<hr />
|
||||||
|
</div>
|
||||||
|
<div class="pagination__buttons">
|
||||||
|
{%- if page.higher %}
|
||||||
|
<span class="button previous">
|
||||||
|
<a href="{{ page.higher.permalink | safe }}">
|
||||||
|
<span class="button__icon">←</span>
|
||||||
|
<span class="button__text">{{ page.higher.title }}</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if page.lower %}
|
||||||
|
<span class="button next">
|
||||||
|
<a href="{{ page.lower.permalink | safe }}">
|
||||||
|
<span class="button__text">{{ page.lower.title }}</span>
|
||||||
|
<span class="button__icon">→</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
{% endif -%}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif -%}
|
||||||
|
{% endmacro earlier_later %}
|
||||||
|
|
||||||
|
|
||||||
|
{% macro header(page) %}
|
||||||
|
<h1 class="post-title"><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h1>
|
||||||
|
<div class="post-meta-inline">
|
||||||
|
{{ post_macros::date(page=page) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ post_macros::tags(page=page) }}
|
||||||
|
{% endmacro header %}
|
||||||
|
|
||||||
|
|
||||||
|
{% macro list_posts(pages) %}
|
||||||
|
<ul>
|
||||||
|
{%- for page in pages %}
|
||||||
|
{%- if page.draft %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif -%}
|
||||||
|
<li class="post-list">
|
||||||
|
<a href="{{ page.permalink | safe }}">
|
||||||
|
<span class="post-date">{{ page.date }}</span>
|
||||||
|
:: <span class="post-list-title">{{ page.title }}</span></a>
|
||||||
|
{{ post_macros::tags(page=page, short=true) }}
|
||||||
|
</li>
|
||||||
|
{% endfor -%}
|
||||||
|
</ul>
|
||||||
|
{% endmacro list_posts %}
|
||||||
|
|
||||||
|
|
||||||
|
{% macro tags(page, short=false) %}
|
||||||
|
{%- if page.taxonomies and page.taxonomies.tags %}
|
||||||
|
<span class="post-tags-inline">
|
||||||
|
{%- if short %}
|
||||||
|
::
|
||||||
|
{%- set sep = "," -%}
|
||||||
|
{% else %}
|
||||||
|
:: tags:
|
||||||
|
{%- set sep = " " -%}
|
||||||
|
{% endif -%}
|
||||||
|
{%- for tag in page.taxonomies.tags %}
|
||||||
|
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
|
||||||
|
{%- if not loop.last %}{{ sep | safe }}{% endif -%}
|
||||||
|
{% endfor -%}
|
||||||
|
</span>
|
||||||
|
{% endif -%}
|
||||||
|
{% endmacro tags %}
|
17
templates/macros/title.html
Normal file
17
templates/macros/title.html
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{% macro title(page_title, main_title) %}
|
||||||
|
{%- if config.extra.page_titles == "combined" -%}
|
||||||
|
{%- if page_title -%}
|
||||||
|
{{ page_title }} | {{ main_title }}
|
||||||
|
{%- else -%}
|
||||||
|
{{ main_title }}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- elif config.extra.page_titles == "page_only" -%}
|
||||||
|
{%- if page_title -%}
|
||||||
|
{{ page_title }}
|
||||||
|
{%- else -%}
|
||||||
|
{{ main_title }}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- else -%}
|
||||||
|
{{ main_title }}
|
||||||
|
{%- endif -%}
|
||||||
|
{% endmacro title %}
|
13
templates/page.html
Normal file
13
templates/page.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{% extends "index.html" %}
|
||||||
|
|
||||||
|
{%- block title -%}
|
||||||
|
{{ title_macros::title(page_title=page.title, main_title=config.title) }}
|
||||||
|
{%- endblock -%}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="post">
|
||||||
|
{{ post_macros::header(page=page) }}
|
||||||
|
{{ post_macros::content(page=page, summary=false) }}
|
||||||
|
{{ post_macros::earlier_later(page=page) }}
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
8
templates/shortcodes/figure.html
Normal file
8
templates/shortcodes/figure.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{% if src %}
|
||||||
|
<figure class="{% if position %}{{ position }}{% else -%} center {%- endif %}" >
|
||||||
|
<img src="{{ src | safe }}"{% if alt %} alt="{{ alt }}"{% endif %}{% if style %} style="{{ style }}"{% endif %} />
|
||||||
|
{% if caption %}
|
||||||
|
<figcaption class="{% if caption_position %}{{ caption_position }}{% else -%} center {%- endif %}"{% if caption_style %} style="{{ caption_style | safe }}"{% endif %}>{{ caption }}</figcaption>
|
||||||
|
{% endif %}
|
||||||
|
</figure>
|
||||||
|
{% endif %}
|
3
templates/shortcodes/image.html
Normal file
3
templates/shortcodes/image.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% if src %}
|
||||||
|
<img src="{{ src | safe }}"{% if alt %} alt="{{ alt }}"{% endif %} class="{% if position %}{{ position }}{% else -%} center {%- endif %}" {%- if style %} style="{{ style | safe }}" {%- endif %} />
|
||||||
|
{% endif %}
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 0ec1aed81acf7ea47e457b9289c1974186c3eb3d
|
|
Loading…
Reference in a new issue