added css code for taxonomy term page headers
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 29 Jul 2019 20:10:27 +0000 (16:10 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Mon, 29 Jul 2019 20:10:27 +0000 (16:10 -0400)
css/style.css

index 7b42594b4e8cf8c84bac0ad7c69540675bbf0e5b..84c38ea6dc4f433a1c084d213bc90eb467543893 100644 (file)
@@ -283,6 +283,98 @@ a { transition: 0.3s; }
 }
 
 
 }
 
 
+/* Vendor and Category taxonomy term pages */
+
+
+@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-field-icon img {
+    margin: 0 auto;
+  }
+
+  .view-taxonomy-term .view-header .field--name-description {
+    max-width: 360px;
+    margin: 0 auto;
+    padding: 0 10px;
+  }
+
+  .feed-icons {
+    clear: both;
+  }
+}
+
+@media screen and (min-width: 560px) and (max-width: 767px) {
+  .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-field-icon img {
+    margin: 0 auto;
+  }
+
+  .view-taxonomy-term .view-header .field--name-description {
+    margin-left: 260px;
+  }
+
+  .view-filters {
+    clear: left;
+  }
+
+  .feed-icons {
+    clear: both;
+  }
+}
+
+@media screen and (min-width: 768px) {
+  .view-taxonomy-term .view-header {
+    width: 700px;
+    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-field-icon img {
+    margin: 0 auto;
+  }
+
+  .view-taxonomy-term .view-header .field--name-description {
+    margin-left: 260px;
+  }
+
+  .view-filters {
+    clear: left;
+  }
+
+  .feed-icons {
+    clear: both;
+  }
+}
+
+
 /* Product */
 
 
 /* Product */