From 0b910512e809e815b213d778afe8eb05bc73af3f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 4 Nov 2020 00:38:06 +0100 Subject: Mess around with brand --- commun.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'commun.css') diff --git a/commun.css b/commun.css index 16531a9..42ae00c 100644 --- a/commun.css +++ b/commun.css @@ -9,12 +9,26 @@ header .brand { max-width: 40%; } +header .brand img { + transition: filter 1s; +} +header .brand h1 { + transition: color 1s; +} +header .brand:hover img { + filter: brightness(100%) sepia(100%); +} +header .brand:hover h1 { + color: #d82; +} + .brand h1 { margin: 0; } .brand img { height: 3em; + filter: brightness(0%); } nav { -- cgit v1.2.3