Trying out some bits with a post cover image
[ghost-theme-willow.git] / source / sass / components / _post-view.scss
index ee85398d41c2b95b522aabb1044177c4c4334ff9..eafe5305a3fcb7833bea7bfa7902e86b6b191eca 100644 (file)
@@ -25,6 +25,31 @@ img[src$="#full"] { max-width:none;width:100vw }
   border-top: 1px solid $c-gray;
 }
 
+// Feature image
+.c-post-full-image {
+    height: 800px;
+    margin: 0 -10vw -165px;
+    background: var(--lightgrey) center center;
+    background-size: cover;
+    border-radius: 5px;
+}
+
+
+@media (max-width: 1170px) {
+    .c-post-full-image {
+        height: 600px;
+        margin: 0 -4vw -100px;
+        border-radius: 0;
+        background-size: cover; 
+    }
+}
+
+@media (max-width: 800px) {
+    .c-post-full-image {
+        height: 400px;
+    }
+}
+
 /*
 |-------------------------------------------------------------------------------
 | Post view meta - date & tags