remove home nav because it's already there by clicking on the name

This commit is contained in:
Ellpeck 2018-07-25 20:29:32 +02:00
parent fad7332519
commit 469d7aa18b
2 changed files with 2 additions and 8 deletions

View file

@ -26,11 +26,10 @@
<script src="scripts/main.js"></script>
</head>
<body data-spy="scroll" data-target="#navbar">
<a class="anchor home" id="home"></a>
<!-- Navbar -->
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light" id="navbar">
<!-- Navbar brand and logo -->
<a class="navbar-brand mb-0 h1" href="#home">
<a class="navbar-brand mb-0 h1" href="#">
<img src="res/logo.png" width="40" height="40" alt=""> Ellpeck.de
</a>
@ -42,7 +41,6 @@
<!-- Navbar content -->
<div class="collapse navbar-collapse" id="navbar-content">
<div class="navbar-nav">
<a class="nav-item nav-link" href="#home">Home</a>
<a class="nav-item nav-link" href="#projects">Projects</a>
<a class="nav-item nav-link" href="#social">Social</a>
<a class="nav-item nav-link" href="#about">About</a>

View file

@ -62,17 +62,13 @@ body {
text-align: center;
}
a.anchor {
.anchor {
display: block;
position: relative;
top: -46px;
visibility: hidden;
}
a.anchor.home {
top: -106px;
}
.footer {
bottom: 0;
line-height: 30px;