From 4305da195153514068cd9b92192f993e0fcf9815 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Thu, 13 Jun 2024 14:41:19 +0200 Subject: [PATCH] style.cc --- static/style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/static/style.css b/static/style.css index a3eda6b9..08850bac 100644 --- a/static/style.css +++ b/static/style.css @@ -177,7 +177,9 @@ h2{ color: transparent; background-image: repeating-linear-gradient(-45deg, var(--darkpurple) 0, var(--darkpurple) 2px, var(--offwhite) 2px, var(--offwhite) 4px); } - +h2:hover{ + animation: dash; +} svg{ background:transparent } @@ -189,9 +191,9 @@ svg text{ /*letter-spacing:4px;*/ animation:effect 3s, dash 3s; } -/*svg text:hover{ - fill: -}*/ +svg text:hover{ + fill: var(--darkpurple) +} @keyframes effect{ 0%{ @@ -220,4 +222,8 @@ svg text{ } } - +@keyframes dashy { + to { + stroke-dashoffset: 1000; + } +} -- GitLab