Add some change of fonts
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -189,3 +189,6 @@ build
|
||||
log_syndication.csv
|
||||
|
||||
log_feed.csv
|
||||
|
||||
assets/sass/*.css
|
||||
assets/sass/*.css.map
|
||||
|
||||
@@ -25,6 +25,7 @@ series:
|
||||
- Horror stories
|
||||
- Data and Data Tools
|
||||
- Python's Reptile Env
|
||||
- My Home Automation Lab
|
||||
reply:
|
||||
repost:
|
||||
like:
|
||||
|
||||
1
assets/sass/_imports.scss
Normal file
1
assets/sass/_imports.scss
Normal file
@@ -0,0 +1 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Rajdhani:wght@300;400;500;600;700&display=swap");
|
||||
@@ -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";
|
||||
|
||||
@@ -13,3 +13,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-link {
|
||||
font-family: "Audiowide", sans-serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@@ -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
18
assets/sass/xkcd.scss
Normal 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;
|
||||
}
|
||||
@@ -12,7 +12,7 @@ repost: null
|
||||
rsvp: null
|
||||
tags:
|
||||
- dnd
|
||||
- selfhosting
|
||||
- self-hosting
|
||||
title: Response to Response Dnd
|
||||
---
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||

|
||||
{{< 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 |
@@ -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 >}}
|
||||
|
||||
|
||||
17
layouts/shortcodes/xkcd.html
Normal file
17
layouts/shortcodes/xkcd.html
Normal 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
@@ -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="}}
|
||||
Reference in New Issue
Block a user