diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-07-31 18:34:51 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-07-31 18:34:51 +0200 |
| commit | 8364f786783ffe93d72d6803af9f918bdc4ee0cf (patch) | |
| tree | fdafdfe8afab7169d3f16ac90d36f5aac3cb05b7 /style.css | |
| parent | eb642afd922cf1edd0dc977e1be49ee45c1d1a6f (diff) | |
fix: final fixes before (lol no) deployment
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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{ |
