Dont underline logo on hover

This commit is contained in:
jholdstock 2020-08-24 11:29:16 +01:00 committed by David Hill
parent c7f8cea4dc
commit f2ae9a81ea
2 changed files with 19 additions and 17 deletions

View File

@ -8,6 +8,10 @@ body {
flex-direction: column; flex-direction: column;
} }
.navbar a {
text-decoration: none;
}
.page-content { .page-content {
flex: 1 0 auto; flex: 1 0 auto;
} }

View File

@ -47,23 +47,21 @@
<nav class="py-sm-3 px-sm-5 navbar"> <nav class="py-sm-3 px-sm-5 navbar">
<div class="container"> <div class="container">
<div class=""> <a class="py-1 border-0 d-flex justify-content-start align-items-center" href="/">
<a class="py-1 border-0 d-flex justify-content-start align-items-center" href="/"> <div class="logo--logo">
<div class="logo--logo"> <svg xmlns="http://www.w3.org/2000/svg" width="38" height="32" fill="none" viewBox="0 0 23 20">
<svg xmlns="http://www.w3.org/2000/svg" width="38" height="32" fill="none" viewBox="0 0 23 20"> <path fill="#000" fill-opacity="0" d="M0 0h23v19.167H0z" />
<path fill="#000" fill-opacity="0" d="M0 0h23v19.167H0z" /> <path fill="#091440"
<path fill="#091440" d="M4.792 4.792L0 0h5.175l7.667 7.667H7.667a3.834 3.834 0 1 0 0 7.666h1.917l3.833 3.834h-5.75A7.667 7.667 0 0 1 0 11.5c0-3.11 1.533-5.615 4.792-6.708z" />
d="M4.792 4.792L0 0h5.175l7.667 7.667H7.667a3.834 3.834 0 1 0 0 7.666h1.917l3.833 3.834h-5.75A7.667 7.667 0 0 1 0 11.5c0-3.11 1.533-5.615 4.792-6.708z" /> <path fill="#091440"
<path fill="#091440" d="M18.208 14.375L23 19.167h-5.175L10.158 11.5h5.175a3.834 3.834 0 0 0 0-7.667h-1.917L9.583 0h5.75A7.667 7.667 0 0 1 23 7.667c0 3.109-1.533 5.615-4.792 6.708z" />
d="M18.208 14.375L23 19.167h-5.175L10.158 11.5h5.175a3.834 3.834 0 0 0 0-7.667h-1.917L9.583 0h5.75A7.667 7.667 0 0 1 23 7.667c0 3.109-1.533 5.615-4.792 6.708z" /> </svg>
</svg> </div>
</div> <div class="logo--text">
<div class="logo--text"> VSP<br>
VSP<br> <b>{{ .VspStats.Designation }}</b>
<b>{{ .VspStats.Designation }}</b> </div>
</div> </a>
</a>
</div>
</div> </div>
</nav> </nav>