aboutsummaryrefslogtreecommitdiff
path: root/scss/_navbar.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_navbar.scss')
-rw-r--r--scss/_navbar.scss20
1 files changed, 12 insertions, 8 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index 61c212144..ffe133b9f 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -19,8 +19,8 @@
// Display the navbar across the entirety of the page or fixed it to the top or
// bottom of the page.
-// Static top (unfixed, but 100% wide) navbar
-.navbar-static-top {
+// A static, full width modifier with no rounded corners.
+.navbar-full {
z-index: $zindex-navbar;
@include media-breakpoint-up(sm) {
@@ -35,7 +35,6 @@
right: 0;
left: 0;
z-index: $zindex-navbar-fixed;
- margin-bottom: 0; // override .navbar defaults
// Undo the rounded corners
@include media-breakpoint-up(sm) {
@@ -70,9 +69,9 @@
.navbar-brand {
float: left;
- margin-right: 1rem;
padding-top: .25rem;
padding-bottom: .25rem;
+ margin-right: 1rem;
font-size: $font-size-lg;
@include hover-focus {
@@ -90,12 +89,12 @@
width: 1px;
padding-top: .425rem;
padding-bottom: .425rem;
- overflow: hidden;
- margin-left: $navbar-padding-horizontal;
margin-right: $navbar-padding-horizontal;
+ margin-left: $navbar-padding-horizontal;
+ overflow: hidden;
- &:before {
- content: '\00a0';
+ &::before {
+ content: "\00a0";
}
}
@@ -130,6 +129,11 @@
display: block !important;
}
}
+ &-md {
+ @include media-breakpoint-up(lg) {
+ display: block !important;
+ }
+ }
}