diff options
Diffstat (limited to 'docs/assets/scss/_navbar.scss')
-rw-r--r-- | docs/assets/scss/_navbar.scss | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/assets/scss/_navbar.scss b/docs/assets/scss/_navbar.scss new file mode 100644 index 000000000..a5ac281c5 --- /dev/null +++ b/docs/assets/scss/_navbar.scss @@ -0,0 +1,46 @@ +.bd-navbar { + min-height: 4rem; + background-color: $bd-purple-bright; + + @media (max-width: 991.98px) { + .navbar-nav-scroll { + width: 100%; + height: 2.5rem; + margin-top: .25rem; + overflow: hidden; + + .navbar-nav { + padding-bottom: 2rem; + overflow-x: auto; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + } + } + + .navbar-nav { + .nav-link { + padding-right: .5rem; + padding-left: .5rem; + color: rgba($white, .85); + + &.active, + &:hover, + &:focus { + color: $white; + background-color: transparent; + } + + &.active { + font-weight: 600; + } + } + } + + .navbar-nav-svg { + display: inline-block; + width: 1rem; + height: 1rem; + vertical-align: text-top; + } +} |