condensed some duplicate code
[ryf-theme.git] / css / style.css
index 34874f2fe6224fd9c2fd5b4d28f4404c05e9fac9..578b6890bffaf6ffa245a1bdf15a2011b7a971b8 100644 (file)
@@ -210,6 +210,8 @@ a { transition: 0.3s; }
   .vendors-list {
     margin-bottom: 40px;
     list-style: none;
+
+    overflow: auto;
   }
 
   .vendors-list .views-field-field-icon {
@@ -244,6 +246,8 @@ a { transition: 0.3s; }
   .vendors-list {
     list-style: none;
     clear: left;
+
+    overflow: auto;
   }
 
   .vendors-list .views-field-field-icon {
@@ -279,6 +283,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 */