added some preliminary colors to product page
[ryf-theme.git] / css / style.css
index 84c38ea6dc4f433a1c084d213bc90eb467543893..83cb4414fdb0f4f23f1233048b1a60ba04468017 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;
@@ -180,7 +186,14 @@ a { transition: 0.3s; }
   text-align: right;
 }
 
+.feed-icons {
+  clear: both;
+}
+
 @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 +201,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;
@@ -286,6 +302,14 @@ 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;
+}
+
 @media screen and (max-width: 559px) {
   .view-taxonomy-term .view-header {
     margin: 0 auto 40px auto;
@@ -298,22 +322,15 @@ a { transition: 0.3s; }
     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) {
+@media screen and (min-width: 560px) {
   .view-taxonomy-term .view-header {
     margin: 0 0 40px 0;
 
@@ -326,51 +343,15 @@ a { transition: 0.3s; }
     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;
   }
 }
 
@@ -432,6 +413,24 @@ a { transition: 0.3s; }
   border-radius: 10px;
 }
 
+/* product page colors */
+.page-node-type-product .product .field--name-field-image {
+  background-color: #eee;
+  border-color: #aaa;
+}
+.page-node-type-product .product .field--name-field-extra-images {
+  background-color: #eee;
+  border-color: #aaa;
+}
+.page-node-type-product .product .field--name-field-categories {
+  background-color: #aef;
+  border-color: #0ad;
+}
+.page-node-type-product .product .field--name-field-vendor {
+  background-color: #afb;
+  border-color: #1a2;
+}
+
 @media screen and (max-width: 767px) {
   .page-node-type-product .product .field--name-field-extra-images {
     margin: 10px auto 0px auto;