diff options
Diffstat (limited to 'src/css/_partial/_post/_header.scss')
-rw-r--r-- | src/css/_partial/_post/_header.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/css/_partial/_post/_header.scss b/src/css/_partial/_post/_header.scss new file mode 100644 index 0000000..c9ac667 --- /dev/null +++ b/src/css/_partial/_post/_header.scss @@ -0,0 +1,39 @@ +.post-header { + margin-bottom: 20px; + + .post-title { + margin: 0; + font-size: $post-title-font-size; + font-weight: $post-title-font-weight; + font-family: $global-serif-font-family; + } + + .post-link { + @include underline-from-center; + } + + .post-meta { + .post-time { + font-size: 15px; + color: $post-time-font-color; + } + + .post-category { + display: inline; + font-size: 14px; + color: $post-category-font-color; + + &::before { + content: 'ยท'; + } + + a { + color: inherit; + + &:hover { + color: $theme-color; + } + } + } + } +} |