X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=source%2Fsass%2Fcomponents%2F_post-view.scss;fp=source%2Fsass%2Fcomponents%2F_post-view.scss;h=913cf1273faabcbea15863c61b030892fda9a257;hb=ca309747b3ab36294a5d2d6eba7e2956ee43f024;hp=0000000000000000000000000000000000000000;hpb=650bdc61d1bda30b47a308594be84c8b9e8b1ac8;p=ghost-theme-willow.git diff --git a/source/sass/components/_post-view.scss b/source/sass/components/_post-view.scss new file mode 100644 index 0000000..913cf12 --- /dev/null +++ b/source/sass/components/_post-view.scss @@ -0,0 +1,40 @@ +/* +|------------------------------------------------------------------------------- +| Post view +|------------------------------------------------------------------------------- +*/ +.c-post-view--narrow { + text-align: center; + max-width: 610px; + margin: 0 auto; +} + +// Header +.c-post-view__header { + text-align: center; + padding: 10px 0 40px 0; + margin-bottom: 40px; + border-bottom: 1px solid $c-grayMedium; +} + +.c-post-view__header__title { + line-height: 1.5em; + margin-bottom: 20px; +} + +.c-post-view__header__title--no-meta { + margin-bottom: 0; +} + + // Content +.c-post-view__content { + @extend .markdown; +} + +// Footer +.c-post-view__footer { + text-align: center; + margin-top: 40px; + padding: 40px 0 10px; + border-top: 1px solid $c-grayMedium; +} \ No newline at end of file