remove home nav because it's already there by clicking on the name
This commit is contained in:
parent
fad7332519
commit
469d7aa18b
2 changed files with 2 additions and 8 deletions
|
@ -26,11 +26,10 @@
|
||||||
<script src="scripts/main.js"></script>
|
<script src="scripts/main.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body data-spy="scroll" data-target="#navbar">
|
<body data-spy="scroll" data-target="#navbar">
|
||||||
<a class="anchor home" id="home"></a>
|
|
||||||
<!-- Navbar -->
|
<!-- Navbar -->
|
||||||
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light" id="navbar">
|
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light" id="navbar">
|
||||||
<!-- Navbar brand and logo -->
|
<!-- 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
|
<img src="res/logo.png" width="40" height="40" alt=""> Ellpeck.de
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@
|
||||||
<!-- Navbar content -->
|
<!-- Navbar content -->
|
||||||
<div class="collapse navbar-collapse" id="navbar-content">
|
<div class="collapse navbar-collapse" id="navbar-content">
|
||||||
<div class="navbar-nav">
|
<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="#projects">Projects</a>
|
||||||
<a class="nav-item nav-link" href="#social">Social</a>
|
<a class="nav-item nav-link" href="#social">Social</a>
|
||||||
<a class="nav-item nav-link" href="#about">About</a>
|
<a class="nav-item nav-link" href="#about">About</a>
|
||||||
|
|
|
@ -62,17 +62,13 @@ body {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.anchor {
|
.anchor {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -46px;
|
top: -46px;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.anchor.home {
|
|
||||||
top: -106px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
|
|
Loading…
Reference in a new issue