feat: Blinking cursor

This commit is contained in:
Tibo De Peuter 2025-11-28 11:07:07 +01:00
parent f3c1161d85
commit d59cd80df1
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -389,6 +389,40 @@ ul.links img {
}
}
/* Blinking cursor */
h1::after {
content: '_';
position: absolute;
padding: 0;
margin: 0;
animation: blink 1s steps(24, end) infinite;
animation-play-state: running;
}
@keyframes blink {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@media print {
h1::after {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
h1::after {
display: none
}
}
/* Dictionary */
.dictionary-entry {