diff --git a/_includes/pinned.njk b/_includes/pinned.njk index 53f6801..31764ce 100644 --- a/_includes/pinned.njk +++ b/_includes/pinned.njk @@ -2,9 +2,9 @@
-
-

- {{ title | markdown | safe }} +
+

+ {{ title | markdown | safe }}

{{ content | safe }} diff --git a/styles.css b/styles.css index cde95ce..fe7c8fb 100644 --- a/styles.css +++ b/styles.css @@ -157,3 +157,25 @@ pre { margin-bottom: 0; } } + +@keyframes blink-animation { + to { + visibility: hidden; + } +} + +.typing { + width: 0.4em; + height: .75em; + background: linear-gradient(to bottom right, + rgb(var(--ctp-peach)), + rgb(var(--ctp-mauve)) + ); + opacity: 0.4; +} + +@media (prefers-reduced-motion: no-preference) { + .typing { + animation: blink-animation 1s steps(5, start) infinite; + } +}