twbs--bootstrap/docs/assets/scss/_nav.scss

40 lines
541 B
SCSS
Raw Normal View History

//
// Main navbar
//
.bd-navbar {
2015-08-18 08:27:33 +00:00
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;
color: darken($gray-dark, 25%);
}
}
}
2015-08-19 01:45:08 +00:00
.dropdown-menu {
font-size: inherit;
}
@include media-breakpoint-down(sm) {
.nav-link {
float: none;
+ .nav-link {
margin-left: 0;
}
}
}
}