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