Code for the littler Buttons the Computer used in the Turing Machine portion of the book.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buttons-computer/sass/_navbar.scss

34 lines
587 B

// Navbar
.navbar {
align-items: stretch;
display: flex;
flex-wrap: wrap;
padding-left: $unit-3;
padding-right: $unit-3;
justify-content: space-between;
border-bottom: 2px solid $secondary-color-light;
.navbar-section {
align-items: center;
display: flex;
flex: 1 0 0;
&:not(:first-child):last-child {
justify-content: flex-end;
}
}
.navbar-center {
align-items: center;
display: flex;
flex: 0 0 auto;
}
.navbar-brand {
position: relative;
top: 15%;
font-size: $font-size-lg;
text-decoration: none;
}
}