Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions assets/scss/academic/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,17 @@
color: $sta-menu-text;
}

&:hover,
&:focus {
text-decoration: underline;
text-underline-offset: 3px;
}

&.active {
font-weight: bold !important;
color: $sta-menu-text-active !important;
text-decoration: underline;
text-underline-offset: 3px;
}
}
}
Expand Down Expand Up @@ -212,6 +220,14 @@ ul.nav-icons li.nav-item a.nav-link {
.dropdown-item {
background-color: $sta-menu-primary !important;
color: $sta-menu-text !important;

&:hover,
&:focus {
background-color: rgba(255, 255, 255, 0.12) !important;
color: $sta-menu-text !important;
text-decoration: underline;
text-underline-offset: 3px;
}
}

/******************************************************************************
Expand Down
9 changes: 9 additions & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
// add your own SCSS styling.

/* -------------------------------------------------- */
/* Navbar accessibility & readability fonts */
/* -------------------------------------------------- */

.navbar-light {
font-family: "Inter", "Open Sans", "Lexend", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.border-3 {
border-width: 3px !important;
}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$align_menu "r" }}justify-content-end{{else}}justify-content-start{{ end }}" id="navbar-content">

<!-- Left Nav Bar -->
<ul class="navbar-nav d-md-inline-flex font-weight-bold text-uppercase">
<ul class="navbar-nav d-md-inline-flex font-weight-bold">
{{ range site.Menus.main }}

{{ if .HasChildren }}
Expand Down
Loading