diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index af3d452..81f86ec 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,12 @@ <header
style="
+ width: 95%;
+ max-width: 960px;
+ position: fixed;
+ top: 0;
+ z-index: 10;
+ transition: all 0.3s;
+ height: {{ if not .IsHome}}60px{{ else }}0{{ end }};
box-shadow: {{ if not .IsHome}} 0px 0px 2px 2px black {{ else }} none {{ end }};
background-color: {{ if not .IsHome}} var(--bgDarker) {{ else }} inherit {{ end }};
"
|