Skip to content

Commit

Permalink
Add .nav-link to links in the header
Browse files Browse the repository at this point in the history
This will apply Bootstrap's .nav-link:focus-visible style which coordinates with the background
  • Loading branch information
jcoyne committed Aug 26, 2024
1 parent a42338e commit ab6e7ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions header/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2>With navigation links</h2>
>
<div class="container">
<a
class="mb-0 navbar-brand navbar-logo"
class="mb-0 navbar-brand navbar-logo nav-link"
href="https://library.stanford.edu"
>Stanford Libraries</a
>
Expand Down Expand Up @@ -221,7 +221,9 @@ <h2>With navigation links</h2>
<div
class="col-md-8 d-flex justify-content-center justify-content-md-start"
>
<div class="h1 my-4"><a href="/">Website at Stanford</a></div>
<div class="h1 my-4">
<a class="nav-link" href="/">Website at Stanford</a>
</div>
</div>
<div class="col-md-4 d-none d-md-block">
<nav
Expand Down

0 comments on commit ab6e7ad

Please sign in to comment.