Skip to content

Commit

Permalink
Improved navbar top for index
Browse files Browse the repository at this point in the history
  • Loading branch information
Owez committed Dec 10, 2023
1 parent 2658e1f commit 9aa2d48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ on:
- master

jobs:
build:
build_and_deploy:
name: Publish site
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout master
uses: actions/checkout@v3.0.0
- name: Build and deploy
uses: shalzz/zola-deploy-action@v0.16.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout master
uses: actions/checkout@v4
- name: Build and deploy
uses: shalzz/zola-deploy-action@v0.17.2-1
env:
PAGES_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 4 additions & 3 deletions sass/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ $tagline-colour: #c4c4c4;
background-position: top center;

nav {
background-color: rgba(8, 8, 22, 0.8);
background: rgb(8,8,22);
background: linear-gradient(180deg, rgba(8,8,22,1) 0%, rgba(0,0,0,0) 100%);
}
}

Expand All @@ -48,7 +49,7 @@ $tagline-colour: #c4c4c4;
height: 5rem;
text-align: center;
color: $tagline-colour;
animation: action 1s infinite alternate;
animation: action 1.25s infinite alternate;
}

// Up-down animation keyframes for arrow
Expand All @@ -58,7 +59,7 @@ $tagline-colour: #c4c4c4;
}

100% {
transform: translateY(-10px);
transform: translateY(-7.5px);
}
}

Expand Down

0 comments on commit 9aa2d48

Please sign in to comment.