Add some change of fonts

This commit is contained in:
fundor333
2026-03-29 23:30:20 +02:00
parent 90491dde3e
commit b2aefd84cb
14 changed files with 86 additions and 16 deletions

3
.gitignore vendored
View File

@@ -189,3 +189,6 @@ build
log_syndication.csv
log_feed.csv
assets/sass/*.css
assets/sass/*.css.map

View File

@@ -25,6 +25,7 @@ series:
- Horror stories
- Data and Data Tools
- Python's Reptile Env
- My Home Automation Lab
reply:
repost:
like:

View File

@@ -0,0 +1 @@
@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Rajdhani:wght@300;400;500;600;700&display=swap");

View File

@@ -1,3 +1,5 @@
@import "_imports";
@import "root";
@import "pride";
@import "comments";
@@ -11,3 +13,4 @@
@import "share-button";
@import "typewriter";
@import "input";
@import "xkcd";

View File

@@ -13,3 +13,9 @@
}
}
}
.menu-link {
font-family: "Audiowide", sans-serif;
font-weight: 400;
font-style: normal;
}

View File

@@ -27,3 +27,24 @@
--blockquote-background-color: rgb(75 75 75);
}
}
body {
font-family: "Rajdhani", sans-serif;
font-weight: 400;
font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Audiowide", sans-serif;
}
strong {
font-family: "Audiowide", sans-serif;
font-weight: 400;
font-size: 14px;
}

18
assets/sass/xkcd.scss Normal file
View File

@@ -0,0 +1,18 @@
.xkcd-image {
display: flex;
justify-content: center;
width: 100%;
}
.xkcd-title {
font-family: "Audiowide", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 1.5em;
}
.xkcd-subtitle {
font-size: 0.8rem;
color: #666;
margin-top: 0.5rem;
}

View File

@@ -12,7 +12,7 @@ repost: null
rsvp: null
tags:
- dnd
- selfhosting
- self-hosting
title: Response to Response Dnd
---

View File

@@ -19,7 +19,7 @@ After my [other post]({{< relref "post/2020/ssl-check-with-a-script/index.md" >}
We need to check when the domain expire (DNS Lookup), we need to check if the server are up and the SSL certificate. This is a problem because we need to launch the same commands every day for multiple server every day and some time we forgot a domain or a url and we don't check it for days. And if something boom we need to fix it with *zero down time* so we need to do some sysadmin work.
![Sysadmin Devotion](https://imgs.xkcd.com/comics/devotion_to_duty.png)
{{< xkcd 705 >}}
So, for our task, we need :

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -4,20 +4,20 @@ date: 2026-03-29T20:46:01+02:00
draft: true
feature_link: "https://www.midjourney.com/home/"
feature_text: "by IA Midjourney"
description:
isStarred: false
description: "I am starting a Home Automation in my home and this is how I start it"
tags:
- home-automation
- hacking
- self-hosting
categories:
- tinkering
images:
keywords:
series:
- Home Automation
reply:
repost:
like:
rsvp:
bookmark:
- My Home Automation Lab
---
And some time ago I installed the Fiber[^1] in my home and I want to use in the best way, so I start to rework all my local network and I think about adding some home automation.
[^1]: I pay a company to install it and clean after.
{{< xkcd 1966 >}}

View File

@@ -0,0 +1,17 @@
{{ $id := string (.Get 0) }}
{{ $url := printf "https://xkcd.com/%s/info.0.json" $id }}
{{ with resources.GetRemote $url }}
{{ $data := . | transform.Unmarshal }}
<div class="xkcd-container">
<h4 class="xkcd-title">Xkcd - {{ $data.title }}</h4>
<a href="https://xkcd.com/{{ $id }}/" target="_blank" rel="noopener">
<img src="{{ $data.img }}" alt="{{ $data.alt }}" title="{{ $data.alt }}" class="xkcd-image u-photo">
</a>
<p class="xkcd-subtitle">
<em>{{ $data.alt }}</em>
</p>
</div>
{{ else }}
<p>Impossibile recuperare il fumetto xkcd #{{ $id }}.</p>
{{ end }}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"Target":"add.min.33d130b2d4f20152c6ed4410e3edc02aff59e77cae5bac84015541343a158ffb.css","MediaType":"text/css","Data":{"Integrity":"sha256-M9EwstTyAVLG7UQQ4+3AKv9Z53yuW6yEAVVBNDoVj/s="}}
{"Target":"add.min.855eeee13cf87b04c5f2dc5d26fbb0ee43b90357d4d210186eebe753d1055101.css","MediaType":"text/css","Data":{"Integrity":"sha256-hV7u4Tz4ewTF8txdJvuw7kO5A1fU0hAYbuvnU9EFUQE="}}