simplify nav heiarchy

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-09 14:43:48 -08:00
parent dd2ceffd5d
commit 388912f8a5
2 changed files with 7 additions and 8 deletions

View File

@ -64,7 +64,7 @@ p {
background-color: #008800;
}
.nav-container {
.nav {
background-color: #00ff00;
}
@ -79,6 +79,7 @@ nav a {
nav a:hover {
background-color: #008800;
color: white;
}
nav a.active {

View File

@ -10,14 +10,12 @@
</head>
<body>
<header>
<div class="nav-container">
<nav>
<a class="active" href="index.html">Instances</a>
<a>Logout</a>
</nav>
</div>
<nav>
<a class="active" href="index.html">Instances</a>
<a>Logout</a>
</nav>
</header>
<div id="instance-container" class="center-div"></div>
<main><div id="instance-container" class="center-div"></div></main>
</body>
<template id="instance-template">
<article>