From 8364f786783ffe93d72d6803af9f918bdc4ee0cf Mon Sep 17 00:00:00 2001 From: marcellus Date: Mon, 31 Jul 2023 18:34:51 +0200 Subject: fix: final fixes before (lol no) deployment --- style.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index 3f04ec4..3172af1 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,7 @@ +:root{ + --shadow-size: 8px; +} + body{ display: flex; background: url(img/bg.jpg) no-repeat fixed; @@ -24,8 +28,14 @@ nav{ left: 0; } -nav img{ - width: 100%; +nav a{ + text-shadow: 1px 1px var(--shadow-size) white, -1px -1px var(--shadow-size) white, -1px 1px var(--shadow-size) white, 1px -1px var(--shadow-size) white; + transition-property: var(--shadow-size); + transition-duration: 1s; +} + +nav a:hover{ + --shadow-size: 15px; } .content{ -- cgit v1.2.3