Skip to content

Commit

Permalink
Merge pull request #20 from elixir-europe-training/feature/fixed-navber
Browse files Browse the repository at this point in the history
Add fixed navbar
  • Loading branch information
janslifka authored Nov 1, 2023
2 parents 481e478 + c391255 commit cc9e80c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions _sass/_custom_classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@
}
}

body {
padding-top: 5.5rem;
}

header {
.navbar {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1030;

.navbar-brand {
min-height: 54px;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion _sass/_custom_variables.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Find out which theme variables you can use to fine tune the styling of your website here: https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/blob/main/_sass/_variables.scss
// Copy paste theme here and change where necessary .

$topnav-bg: transparent;
$topnav-bg: $white;

0 comments on commit cc9e80c

Please sign in to comment.