restructuring caption area
authorIan Weller <ian@gaslightmedia.com>
Mon, 11 Apr 2016 18:00:36 +0000 (14:00 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 11 Apr 2016 18:00:36 +0000 (14:00 -0400)
css/app.css
scss/_slideshow.scss

index b189a29..96ea994 100644 (file)
@@ -6700,14 +6700,16 @@ h2#block-title {
           margin-bottom: 15px; } }
   #slideshow .nivo-caption {
     background: transparent;
-    max-width: 1200px;
     position: absolute;
-    right: 0;
-    left: 0;
+    max-width: 500px;
+    left: 20%;
     float: none;
     margin: 0 auto;
     top: 10%;
     max-height: 250px; }
+    @media screen and (max-width: 929px) {
+      #slideshow .nivo-caption {
+        background: #000000; } }
     @media only screen and (max-width: 40em) {
       #slideshow .nivo-caption {
         position: relative; } }
@@ -6718,8 +6720,7 @@ h2#block-title {
       padding: 0 5px; }
       @media screen and (max-width: 929px) {
         #slideshow .nivo-caption h6 {
-          width: auto;
-          background: #000000; } }
+          width: auto; } }
     #slideshow .nivo-caption p {
       width: 400px;
       letter-spacing: 0.1em;
@@ -6727,8 +6728,7 @@ h2#block-title {
       padding: 0; }
       @media screen and (max-width: 929px) {
         #slideshow .nivo-caption p {
-          width: auto;
-          background: #000000; } }
+          width: auto; } }
     #slideshow .nivo-caption a.button {
       text-transform: uppercase;
       background: transparent;
index 68ec232..7ec3cee 100644 (file)
     }
     .nivo-caption {
         background: transparent;
-        max-width: 1200px;
         position: absolute;
-        right: 0;
-        left: 0;
+        max-width: 500px;
+        left: 20%;
         float: none;
         margin: 0 auto;
         top: 10%;
         max-height: 250px;
+        @media screen and (max-width: 929px) {
+            background: $black; 
+        }
         @media #{$small-only}{
             position: relative;
         }
@@ -60,7 +62,6 @@
             padding: 0 5px;
             @media screen and (max-width: 929px) {
                 width: auto;
-                background: $black;
             }
         }
         p {
@@ -70,7 +71,6 @@
             padding: 0;
             @media screen and (max-width: 929px) {
                 width: auto;
-                background: $black;
             }
         }
         a.button {