From f3e8e5b379114bff3efdd4a387276231e6d1c56f Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Wed, 21 Aug 2024 15:38:02 -0400 Subject: headless render + terminal display pages --- sass/style.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'sass') diff --git a/sass/style.scss b/sass/style.scss index bab3a7b..0a6684a 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,5 +1,28 @@ @use "everforest"; +/// Stole this from Stack Overflow (https://stackoverflow.com/a/54702294) {{{ + +.rainbow_text_animated { + background: linear-gradient(to right, everforest.$red, everforest.$orange, everforest.$yellow, everforest.$green, everforest.$blue, everforest.$purple); + -webkit-background-clip: text; + background-clip: text; + color: transparent; + animation: rainbow_animation 1s ease-in-out infinite; + background-size: 400% 100%; +} + +@keyframes rainbow_animation { + 0%,100% { + background-position: 0 0; + } + + 50% { + background-position: 100% 0; + } +} + +/// }}} + body { color: everforest.$fg; background-color: everforest.$bg0; -- cgit v1.2.3