]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
updates responsicve footer styles
authorRafiBomb <rafi@zurb.com>
Wed, 28 Jun 2017 22:33:19 +0000 (15:33 -0700)
committerRafiBomb <rafi@zurb.com>
Wed, 28 Jun 2017 22:33:19 +0000 (15:33 -0700)
docs/assets/scss/_docs-footer.scss

index d858b06c18b48c3e7e00e37fced6e8377f113d7c..7d8c387f7c99cff9617da91408807e9ab58b01da 100755 (executable)
@@ -4,10 +4,7 @@
   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;
@@ -38,7 +35,7 @@
 }
 
 .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;
@@ -50,7 +47,7 @@
 }
 
 .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.