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; background-color: #008800;
} }
.nav-container { .nav {
background-color: #00ff00; background-color: #00ff00;
} }
@ -79,6 +79,7 @@ nav a {
nav a:hover { nav a:hover {
background-color: #008800; background-color: #008800;
color: white;
} }
nav a.active { nav a.active {

View File

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