This commit is contained in:
gribse 2025-10-06 19:21:06 +02:00
parent 2fe0c9a830
commit 7b9c07b83e
1444 changed files with 11476 additions and 42112 deletions

View file

@ -0,0 +1,32 @@
<!-- https://oostens.me/posts/hugo-inline-spoiler-shortcode/ -->
<style>
.inline-spoiler {
position: relative;
display: inline-block;
cursor: help;
}
.inline-spoiler::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 1px;
color: white;
background: black;
opacity: 1;
transition: opacity 0.7s ease, transform 0.3s ease;
}
.inline-spoiler:hover::before {
opacity: 0;
transform: translateY(-50%)rotateX(80deg);
transition: opacity 1.0s ease, transform 0.5s ease;
transition-delay: 0.3s;
}
</style>
<span class="inline-spoiler">{{- .Inner | safeHTML -}}</span>