aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/scss/_nav.scss
blob: bc1ab6cc47151d4ab211c104070922d44a23f3e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// Main navbar
//

.bd-navbar {
  font-size: 87.5%; // 14px

  .navbar-nav {
    .nav-link {
      color: $bd-graphite-light;

      &.active,
      &:hover,
      &:focus {
        color: $gray-dark;
        background-color: transparent;
      }

      &.active {
        font-weight: 500;
      }
    }
  }

  .dropdown-menu {
    font-size: inherit;
  }

  @include media-breakpoint-down(sm) {
    .nav-link {
      float: none;

      + .nav-link {
        margin-left: 0;
      }
    }
  }
}