background-color: $topbar-background;
padding: 2rem;
width: 100%;
-
- @include breakpoint(medium only) {
- justify-content: center;
- }
+ justify-content: center;
@include breakpoint(small only) {
flex-direction: column;
}
.footer-nav-left {
- @include breakpoint(medium only) {
+ @media screen and (min-width: 40em) and (max-width: 76.5em) {
order: 3;
display: flex;
margin-left: 1rem;
}
.footer-nav-right {
- @include breakpoint(medium only) {
+ @media screen and (min-width: 40em) and (max-width: 76.5em) {
order: 2;
display: flex;
margin-right: 1rem;
.footer-nav-center {
@include flex-grid-column;
- @include breakpoint(medium only) {
+ .footer-nav-menu-item {
+ @media screen and (min-width: 40em) and (max-width: 46.25em) {
+ font-size: 0.9rem;
+ }
+ }
+
+ @media screen and (min-width: 40em) and (max-width: 76.5em) {
display: flex;
flex: 1 0 auto;
order: 1;
background-color: darken($white, 8%);
border: 1px solid darken($white, 15%);
border-radius: 5px;
- color: darken($foundation-dark, 25%);
+ color: darken($foundation-dark, 45%);
height: 2.55rem;
padding-left: 1rem;
transition: background-color 0.3s ease;
font-weight: 600;
background: $white;
color: $foundation-dark;
-
- &:hover {
- background: darken($white, 20%);
- color: darken($foundation-dark, 20%);
- }
}
// Responsive newsletter callout above the footer.