Skip to content

Commit

Permalink
chore: small screen style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
btlghrants committed Mar 5, 2024
1 parent ec3bfff commit 29f0d27
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion site/assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ code {
}

// make version dropdown highling not-so-obnoxious
ul.dropdown-menu {
--bs-dropdown-bg: #0f1443;
}

ul.dropdown-menu > li {
--bs-dropdown-link-hover-bg: color-mix(in srgb, var(--bs-body-bg) 95%, white);
--bs-dropdown-link-hover-bg: color-mix(in srgb, #0f1443 95%, white);
}

// right-align top menu version dropdown
Expand Down Expand Up @@ -68,13 +72,28 @@ video.td-content {
@media screen and (max-width: 991.98px) {
div#main_navbar {
overflow: visible;
font-size: 16px;
}

ul.navbar-nav {
overflow-x: visible !important;
padding-top: 0 !important;
}

li.nav-item {
display: inherit !important;
}

nav.td-navbar {
min-height: auto;
height: 56px;
}

nav.td-navbar > div.container-fluid {
flex-direction: row !important;
}

ul.dropdown-menu {
inset: 0px auto auto 0px !important;
}
}

0 comments on commit 29f0d27

Please sign in to comment.