X-Git-Url: https://git.njae.me.uk/?p=ghost-theme-willow.git;a=blobdiff_plain;f=source%2Fsass%2Fcomponents%2F_post-view.scss;fp=source%2Fsass%2Fcomponents%2F_post-view.scss;h=eafe5305a3fcb7833bea7bfa7902e86b6b191eca;hp=ee85398d41c2b95b522aabb1044177c4c4334ff9;hb=4a2232b967c7d0a53bd6177f41707aaa9598d768;hpb=66216acad1510360046c2e52815ecca6b9efea79 diff --git a/source/sass/components/_post-view.scss b/source/sass/components/_post-view.scss index ee85398..eafe530 100644 --- a/source/sass/components/_post-view.scss +++ b/source/sass/components/_post-view.scss @@ -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