made several styling changes for mobile view
authorIan Weller <ian@gaslightmedia.com>
Wed, 13 Apr 2016 15:44:18 +0000 (11:44 -0400)
committerIan Weller <ian@gaslightmedia.com>
Wed, 13 Apr 2016 15:44:18 +0000 (11:44 -0400)
css/app.css
front-page.php
scss/_main.scss
scss/_settings.scss
scss/_slideshow.scss

index 037f792..5d8779b 100644 (file)
@@ -4855,10 +4855,10 @@ h1, h2, h3, h4, h5, h6 {
     line-height: 0; }
 
 h1 {
-  font-size: 2.5625rem; }
+  font-size: 2.3125rem; }
 
 h2 {
-  font-size: 2.4375rem; }
+  font-size: 2.25rem; }
 
 h3 {
   font-size: 1.6875rem; }
@@ -6526,6 +6526,9 @@ main {
   @media only screen and (max-width: 40em) {
     .statements h1 img {
       display: none; } }
+  @media only screen and (max-width: 40em) {
+    .statements {
+      padding: 10px 0; } }
 
 #statement-pre-slider {
   display: inline-block;
@@ -6552,6 +6555,9 @@ main {
     display: block;
     float: none;
     margin: 0 auto 20px; }
+  @media only screen and (max-width: 40em) {
+    #services {
+      margin: 40px 0 20px; } }
 
 main.page-inside .statements {
   margin-bottom: 15px; }
@@ -6562,7 +6568,7 @@ main.page-inside #content-wrapper #main-content h1 {
   color: #0568b3; }
   @media only screen and (max-width: 40em) {
     main.page-inside #content-wrapper #main-content h1 {
-      font-size: 2.4375rem; } }
+      font-size: 2.25rem; } }
 main.page-inside #content-wrapper #main-content h2 {
   font-size: 1.5rem;
   letter-spacing: 0.1em;
@@ -6722,14 +6728,16 @@ h2#block-title {
         margin: 0; } }
     #slideshow .nivo-caption h6 {
       width: 450px;
-      font-weight: bold;
-      font-size: 28; }
+      font-weight: bold; }
       @media screen and (max-width: 1024px) {
         #slideshow .nivo-caption h6 {
           margin-bottom: 23px; } }
       @media only screen and (max-width: 40em) {
         #slideshow .nivo-caption h6 {
-          margin-bottom: 18px; } }
+          margin-bottom: 5px;
+          font-size: 1.125rem;
+          white-space: pre-wrap;
+          max-width: 170px; } }
     #slideshow .nivo-caption p {
       width: 450px;
       letter-spacing: 0.1em;
@@ -6757,7 +6765,10 @@ h2#block-title {
         text-decoration: none; }
       @media only screen and (max-width: 40em) {
         #slideshow .nivo-caption a.button {
-          padding: 8px 10px; } }
+          padding: 5px 9px;
+          display: block;
+          font-size: 0.875rem;
+          letter-spacing: normal; } }
 
 /* NextGen Gallery */
 [class*="block-grid-"] > li {
index 06eea45..ef9a4db 100644 (file)
@@ -50,7 +50,7 @@
             <div class="small-11 medium-5 columns small-centered medium-uncentered small-text-center medium-text-right">
                 <a id="portfolio" href="<?php echo get_permalink(94); ?>"></a>
             </div>
-            <div class="small-11 small-offset-0 medium-5 medium-offset-2 columns small-centered medium-uncentered small-text-center medium-text-left">
+            <div class="small-11 medium-5 medium-offset-2 columns small-centered medium-uncentered small-text-center medium-text-left">
                 <a id="contact-button" href="<?php bloginfo('url');?>/contact-us/"></a>
             </div>
         </div>
index 8384d87..83e4823 100644 (file)
@@ -15,6 +15,9 @@ a:hover {
             }
         }
     }
+    @media #{$small-only}{
+        padding: 10px 0;
+    }
 }
 #statement-pre-slider {
     display: inline-block;
@@ -44,6 +47,9 @@ a:hover {
         float: none;
         margin: 0 auto 20px;
     }
+    @media #{$small-only}{
+        margin: 40px 0 20px;
+    }
 }
 main.page-inside {
     .statements {
@@ -57,7 +63,7 @@ main.page-inside {
                 letter-spacing: 0.05em;
                 color: $blue;
                 @media #{$small-only}{
-                    font-size: rem-calc(39);
+                    font-size: rem-calc(36);
                 }
             }
             h2 {
index 13e8f8d..9334b94 100644 (file)
@@ -228,8 +228,8 @@ $h5-font-size: rem-calc(24);
 $h6-font-size: rem-calc(22);
 
 // We use these to control header size reduction on small screens
-$h1-font-reduction: rem-calc(11);
-$h2-font-reduction: rem-calc(9);
+$h1-font-reduction: rem-calc(15);
+$h2-font-reduction: rem-calc(12);
 $h3-font-reduction: rem-calc(5);
 $h4-font-reduction: rem-calc(2);
 $h5-font-reduction: rem-calc(2);
index 2a8ef58..eec6422 100644 (file)
         h6 {
             width: 450px;
             font-weight: bold;
-            font-size: (28);
+//            font-size: rem-calc(28);
             @media screen and (max-width: 1024px) {
                 margin-bottom: 23px;
             }
             @media #{$small-only}{
-                margin-bottom: 18px;
+                margin-bottom: 5px;
+                font-size: rem-calc(18);
+//                letter-spacing: normal;
+                white-space: pre-wrap;
+                max-width: 170px;
             }
         }
         p {
                 text-decoration: none;
             }
             @media #{$small-only}{
-                padding: 8px 10px;
+                padding: 5px 9px;
+                display: block;
+                font-size: rem-calc(14);
+                letter-spacing: normal;
             }
         }
     }