diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2023-08-18 23:00:41 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2023-08-18 23:00:41 +0200 |
| commit | 29ab874fc699c1d7bf9042d284539b0a7eea376d (patch) | |
| tree | 7804fb41fca939515238e145b7e2cf551aa06a86 /style.css | |
| parent | 5fb8e842d0634fc694f28d89d084b2cb467b9c15 (diff) | |
| parent | 8364f786783ffe93d72d6803af9f918bdc4ee0cf (diff) | |
Merge branch 'main' of github.com:Laitram31/runninggags
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1,3 +1,7 @@ +:root{ + --shadow-size: 8px; +} + body{ display: flex; background: url(img/bg.jpg) no-repeat fixed; @@ -13,6 +17,27 @@ body.index{ font-family: serif; } +nav{ + display: flex; + flex-direction: column; + justify-content: space-around; + position: fixed; + height: 100vh; + width: 9vw; + top:0; + left: 0; +} + +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{ padding: 5px; margin: auto; |
