X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=sidebyside;f=source%2Fsass%2Fcomponents%2F_post-view.scss;fp=source%2Fsass%2Fcomponents%2F_post-view.scss;h=aeaa58f54204303253d6d75f5157320b60267c00;hb=bb0c8d6b1f70068f8167579f0cf7228a7f81ae60;hp=bc7e55178cd09fcc7242255a33b32be3c75d00d3;hpb=64ba86b83bd93f69dbde10e24271d40e0aa791ea;p=ghost-theme-willow.git diff --git a/source/sass/components/_post-view.scss b/source/sass/components/_post-view.scss index bc7e551..aeaa58f 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