aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-11 23:15:13 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-11 23:15:13 +0800
commit6879d8e3d3144086737542049d282a832240ebc8 (patch)
tree7e25206bbd9d92bdbc8c53d7ca34c0a52c47e258 /src
parent10eacc006661779a5bea51ff011080d535e8c446 (diff)
feat: config to show more post meta
word count and read time
Diffstat (limited to 'src')
-rw-r--r--src/css/_partial/_post/_header.scss13
-rw-r--r--src/css/_variables.scss7
2 files changed, 12 insertions, 8 deletions
diff --git a/src/css/_partial/_post/_header.scss b/src/css/_partial/_post/_header.scss
index c9ac667..90dc15d 100644
--- a/src/css/_partial/_post/_header.scss
+++ b/src/css/_partial/_post/_header.scss
@@ -13,15 +13,15 @@
}
.post-meta {
+ font-size: 14px;
+ color: $post-meta-font-color;
+
.post-time {
font-size: 15px;
- color: $post-time-font-color;
}
.post-category {
display: inline;
- font-size: 14px;
- color: $post-category-font-color;
&::before {
content: '·';
@@ -35,5 +35,12 @@
}
}
}
+
+ .more-meta {
+ &::before {
+ content: '·';
+ }
+ }
+
}
}
diff --git a/src/css/_variables.scss b/src/css/_variables.scss
index 07b78e5..47dd63e 100644
--- a/src/css/_variables.scss
+++ b/src/css/_variables.scss
@@ -128,11 +128,8 @@ $post-title-font-weight: 400 !default;
// Margin top of the post meta (post time).
$post-meta-margin-top: 5px !default;
-// Font color of the post time.
-$post-time-font-color: $dark-gray !default;
-
-// Font color of the post category
-$post-category-font-color: $dark-gray !default;
+// Font color of the post meta.
+$post-meta-font-color: $dark-gray !default;
// Border bottom of the read more link when hover it.
$post-readMore-border-bottom: 1px solid $theme-color !default;