summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
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{