This commit is contained in:
Vrifox 2020-11-09 18:49:14 +01:00
parent 9ccc7b5bd7
commit e38d188d00
4 changed files with 13 additions and 3 deletions

2
.gitignore vendored
View file

@ -5,7 +5,7 @@
/resources/* /resources/*
# ignored files # ignored files
deploy.sh notes.md
.directory .directory
*.kate-swp *.kate-swp

View file

@ -0,0 +1 @@
Source code of my website [vrifox.cc](https://vrifox.cc).

View file

@ -5,6 +5,7 @@ nav {
position: sticky; position: sticky;
top: 0; top: 0;
white-space: nowrap; white-space: nowrap;
z-index: 20;
.container { .container {
align-items: center; align-items: center;
display: flex; display: flex;

View file

@ -5,10 +5,18 @@
@import 'import/include.scss'; @import 'import/include.scss';
.section.header { .section.header {
align-items: center;
background: $bg60; background: $bg60;
display: flex;
@include a-underlined; @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 { header {
margin: 60px auto; margin: 60px auto;
max-width: 600px; max-width: 600px;