summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2023-07-31 18:34:51 +0200
committermarcellus <msimon_fr@hotmail.com>2023-07-31 18:34:51 +0200
commit8364f786783ffe93d72d6803af9f918bdc4ee0cf (patch)
treefdafdfe8afab7169d3f16ac90d36f5aac3cb05b7 /style.css
parenteb642afd922cf1edd0dc977e1be49ee45c1d1a6f (diff)
fix: final fixes before (lol no) deployment
Diffstat (limited to 'style.css')
-rw-r--r--style.css14
1 files changed, 12 insertions, 2 deletions
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{