IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 85988b5d authored by Bit Borealis's avatar Bit Borealis
Browse files

update css and template to fix nav item length bug

parent 58616c5d
Pipeline #94 failed with stage
......@@ -12,12 +12,12 @@ nav {
background-color: black;
height: 42px;
display: grid;
grid-template-columns: repeat(3, 0fr) 1fr 0fr;
grid-template-columns: repeat(4, 0fr) 1fr 0fr;
grid-gap: 18px;
padding-left: 30px;
}
nav a {
nav > * {
color: white;
text-decoration: none;
font-weight: bold;
......@@ -45,7 +45,7 @@ nav a.selected {
border-top: 3px solid black;
}
nav a:nth-last-child(2) {
nav div.spacer {
flex-grow: 1;
}
......
......@@ -13,6 +13,7 @@
<a href="/projects" {% if selected is sameas "projects" %}class='selected'{% endif %}>PROJECTS</a>
<a href="/new" {% if selected is sameas "new" %} class='selected'{% endif %}>NEW</a>
<a href="/stats" {% if selected is sameas "stats" %} class='selected'{% endif %}>STATS</a>
<div class="spacer"></div>
<a href="{{login[1]}}" {% if selected is sameas "login" %} class='selected'{% endif %}>{{login[0]}}</a>
</nav>
<main>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment