simplify nav heiarchy
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
ba772cfdbb
commit
9fe86b0317
@ -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 {
|
||||
|
12
index.html
12
index.html
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user