Compare commits

...

8 Commits

Author SHA1 Message Date
cf67a14a43
add overflow wrapping and monospaced not-quite-code 2024-05-29 09:27:54 +03:00
1a8c68477c
update submodule ir to fix jekyll warning 2024-05-29 08:39:36 +03:00
edcc2c461f
index: actually prefetch the cv 2024-05-29 08:31:44 +03:00
9f5a17f76d
main.scss: make the dark theme colors more Aminda 2024-05-29 08:23:49 +03:00
88a368fab9
ad.html: remove the extra lines 2024-05-29 08:01:06 +03:00
ed86546931
more prefetching 2024-05-29 07:59:03 +03:00
e769697dd8
disable html5validator.yml
I think it dislikes perfectly valid things and I don't have energy to go through it
2024-05-29 07:48:08 +03:00
ba26ccdb69
head.html: enable prefetch for the adblocking script
Maybe resolves the message making a quick blink?
2024-05-29 07:46:36 +03:00
6 changed files with 37 additions and 16 deletions

2
_includes/ad.html vendored
View File

@ -1,5 +1,4 @@
<detect-missing-adblocker>
<hr/>
<span slot="title" class="centered"><p>Dear reader, you may be missing a content blocker! 🙀</p></span>
<span slot="message" class="centered">
<noscript><strong><em>Dear JavaScript blocker, please accept my apologies for needlessly showing you this.</em></strong></noscript>
@ -12,5 +11,4 @@ Allowlist</a>) <strong>together</strong>, while <a href="https://adnauseam.io">A
<p><a href="https://en.m.wikipedia.org/wiki/Targeted_advertising#Disadvantages">Learn more about targeted advertising!</a>
<p><small>PS. I am sorry if you are already protected and this silly <a href="https://easylist.to/">EasyList</a> targeting(?) script doesn't detect that, thank you for taking the steps towards a safer internet! 💜</small></p>
</span>
<hr/>
</detect-missing-adblocker>

12
_includes/head.html vendored
View File

@ -3,16 +3,16 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow, noai">
<link rel="icon" href="{{site.icon}}">
<link rel="icon prefetch" href="{{site.icon}}">
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}">
<link rel="me" href="{{ site.url }}" />
<link rel="me prefetch" href="{{ site.url }}" />
<link rel="openid.delegate" href="https://aminda.eu/" />
<link rel="openid.server" href="https://openid.indieauth.com/openid" />
<link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="stylesheet prefetch" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="canonical prefetch" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/blog/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - in English" href="{{ "/blog/feed.en.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - Suomeksi" href="{{ "/blog/feed.fi.xml" | prepend: site.baseurl | prepend: site.url }}" />
@ -31,6 +31,6 @@
<link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" />
<!-- https://github.com/macdonst/detect-missing-adblocker -->
<script type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script>
<link rel="stylesheet" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css">
<script rel="prefetch" type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script>
<link rel="stylesheet prefetch" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css">
</head>

View File

@ -21,8 +21,8 @@ $monospace-font-family: "Liberation Mono", "Cousine", "Courier New", monospace;
// Revert to defaults
* {
color: revert !important;
text-color: revert !important;
background-color: revert !important;
overflow-wrap: break-word !important;
}
// Fitting to text and monospace preferred
@ -36,17 +36,29 @@ pre {
// Overrides for dark themes
@media (prefers-color-scheme: dark) {
* {
color: #ffb700 !important;
border-color: #ffb700 !important;
background-color: #000000 !important;
}
// Adblocker detection)
.ftf-dma-note {
color-scheme: only dark !important;
color: #ffffff !important;
background-color: #1c1b22 !important;
color: #ffb700 !important;
border-color: #ffb700 !important;
background-color: #000000 !important;
}
.site-nav {
color-scheme: only dark !important;
color: #ffffff !important;
background-color: #1c1b22 !important;
border: 1px solid #ffffff !important;
color: #ffb700 !important;
background-color: #000000 !important;
color: #ffb700 !important;
}
a {
color: revert !important;
}
}
@ -115,3 +127,9 @@ img {
border: 1px solid;
//black;
}
.monospaced {
font-family: $monospace-font-family;
font-size: 0.8em;
//overflow-wrap: break-word;
}

View File

@ -8,7 +8,11 @@ excerpt: "I am a Highly Sensitive Autistic Pirate with Linux experience since 20
<a class="h-card" href="https://aminda.eu/">
<img src="{{site.avatar}}" alt="Photo of me" />Aminda Suomalainen</a
>
<small><a href="https://cv.aminda.eu/">Curriculum Vitae</a></small>
<small
><a rel="prefetch me" href="https://cv.aminda.eu/"
>Curriculum Vitae</a
></small
>
</p>
<p id="bio">
@ -126,6 +130,7 @@ excerpt: "I am a Highly Sensitive Autistic Pirate with Linux experience since 20
<li id="ssh">
SSH:
<a
class="monospaced"
href="https://gitea.blesmrt.net/mikaela/ssh-allowed_signers/src/branch/cxefa/aminda/aminda.pub"
>SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q,
SHA256:y2OpGEbett3Fqn8XFrP0X4mWfCVKf4rWkxERzqPY81U</a

2
ir

@ -1 +1 @@
Subproject commit a8e4ced8e130cde773472715566c1b67eb1a292a
Subproject commit 6a920216f777426c14c7e5001e985ae9f14b2934