Merge branch 'master' of git.njae.me.uk:ghost-theme-willow into HEAD
[ghost-theme-willow.git] / source / sass / components / _post-view.scss
index bc7e55178cd09fcc7242255a33b32be3c75d00d3..aeaa58f54204303253d6d75f5157320b60267c00 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