improved centering of product thumbnails
[ryf-theme.git] / css / style.css
index 7b42594b4e8cf8c84bac0ad7c69540675bbf0e5b..7b89ed70a2ca3d437e88ba8879e06b7afcc6df63 100644 (file)
@@ -103,6 +103,12 @@ a { transition: 0.3s; }
 /* RYF List */
 
 
+.ryf-list-row ul {
+  padding: 0;
+  margin: 0 auto;
+  overflow: auto;
+}
+
 .ryf-list {
   float: left;
   margin: 0;
@@ -181,6 +187,9 @@ a { transition: 0.3s; }
 }
 
 @media screen and (min-width: 450px) and (max-width: 659px) {
+  .ryf-list-row ul {
+    max-width: 600px;
+  }
   .ryf-list {
     max-width: 300px;
     float: none;
@@ -188,6 +197,9 @@ a { transition: 0.3s; }
   }
 }
 @media screen and (min-width: 660px) and (max-width: 767px) {
+  .ryf-list-row ul {
+    max-width: 600px;
+  }
   .ryf-list-row {
     margin: 0 auto;
     max-width: 660px;
@@ -283,6 +295,67 @@ a { transition: 0.3s; }
 }
 
 
+/* Vendor and Category taxonomy term pages */
+
+
+.view-taxonomy-term .view-header .field--name-field-icon img {
+  margin: 0 auto;
+}
+
+.view-filters {
+  clear: left;
+}
+
+.feed-icons {
+  clear: both;
+}
+
+@media screen and (max-width: 559px) {
+  .view-taxonomy-term .view-header {
+    margin: 0 auto 40px auto;
+
+    overflow: auto;
+  }
+
+  .view-taxonomy-term .view-header .field--name-field-icon {
+    margin: 0 auto 20px auto;
+    width: 220px;
+  }
+
+  .view-taxonomy-term .view-header .field--name-description {
+    max-width: 360px;
+    margin: 0 auto;
+    padding: 0 10px;
+  }
+
+}
+
+@media screen and (min-width: 560px) {
+  .view-taxonomy-term .view-header {
+    margin: 0 0 40px 0;
+
+    overflow: auto;
+  }
+
+  .view-taxonomy-term .view-header .field--name-field-icon {
+    width: 220px;
+
+    float: left;
+  }
+
+  .view-taxonomy-term .view-header .field--name-description {
+    margin-left: 260px;
+  }
+
+}
+
+@media screen and (min-width: 768px) {
+  .view-taxonomy-term .view-header {
+    width: 700px;
+  }
+}
+
+
 /* Product */