From e38d188d006f82cfede77fbf1f8ec2973a046869 Mon Sep 17 00:00:00 2001 From: Vrifox Date: Mon, 9 Nov 2020 18:49:14 +0100 Subject: [PATCH] update --- .gitignore | 2 +- README.md | 1 + assets/import/nav.scss | 1 + assets/index.scss | 12 ++++++++++-- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 423409b..2a24e26 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ /resources/* # ignored files -deploy.sh +notes.md .directory *.kate-swp diff --git a/README.md b/README.md index e69de29..a540e06 100644 --- a/README.md +++ b/README.md @@ -0,0 +1 @@ +Source code of my website [vrifox.cc](https://vrifox.cc). diff --git a/assets/import/nav.scss b/assets/import/nav.scss index d84142d..02b912d 100644 --- a/assets/import/nav.scss +++ b/assets/import/nav.scss @@ -5,6 +5,7 @@ nav { position: sticky; top: 0; white-space: nowrap; + z-index: 20; .container { align-items: center; display: flex; diff --git a/assets/index.scss b/assets/index.scss index c94df27..e28a845 100644 --- a/assets/index.scss +++ b/assets/index.scss @@ -5,10 +5,18 @@ @import 'import/include.scss'; .section.header { - align-items: center; background: $bg60; - display: flex; @include a-underlined; + &::before { + background: linear-gradient(0deg, transparent, #3c3c5a); + content: ""; + display: block; + height: 32px; + margin-top: -32px; + position: sticky; + top: 64px; + width: 100%; + } header { margin: 60px auto; max-width: 600px;