Adjusted menu
This commit is contained in:
parent
a6372dadd3
commit
6ecd9c605c
@ -20,6 +20,7 @@ body {
|
||||
.topnav {
|
||||
background-color: #333;
|
||||
overflow: hidden;
|
||||
margin: auto; /* TESTING, ORIGINALLY NO MARGIN DECLARATION */
|
||||
}
|
||||
|
||||
/* Style the links inside the navigation bar */
|
||||
@ -33,12 +34,6 @@ body {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
/* Add an active class to highlight the current page */
|
||||
.active {
|
||||
background-color: #04AA6D;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Hide the link that should open and close the topnav on small screens */
|
||||
.topnav .icon {
|
||||
display: none;
|
||||
|
@ -12,9 +12,8 @@
|
||||
<body>
|
||||
|
||||
<div class="topnav" id="myTopnav">
|
||||
<a href="#home" class="active">Home</a>
|
||||
<a href="#news">News</a>
|
||||
<a href="#contact">Contact</a>
|
||||
<a href="/">Home</a>
|
||||
<a href="/gpg.php">GPG</a>
|
||||
<div class="dropdown">
|
||||
<button class="dropbtn">Dropdown
|
||||
<i class="fa fa-caret-down"></i>
|
||||
@ -25,7 +24,7 @@
|
||||
<a href="#">Link 3</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#about">About</a>
|
||||
<a href="/projects.php">Projects</a>
|
||||
<a href="javascript:void(0);" class="icon" onclick="hamburger()">☰</a>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user