Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authordataCobra <datacobra@thinkbot.de>2021-07-11 20:26:51 +0300
committerdataCobra <datacobra@thinkbot.de>2021-07-11 20:26:51 +0300
commitd63a590b454bed876bcc204f27ab1e769b47907c (patch)
tree0b60f0f3a003093b55a0b04e32eb3866c8de017d /static
parent79c300822b3b42e001c25e533293c964e78cec9f (diff)
Add metadata (readingTime, wordCount, author) #61
This commits ports the PR #61. This PR changes the way the author is displayed in a list or single post, and also adds the functionality to display reading time and word count.
Diffstat (limited to 'static')
-rw-r--r--static/css/main.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 1e88501..3ce386f 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -395,7 +395,7 @@ table th {
}
.post .title.small {
- margin: 0 0 10px 0;
+ margin: 0;
font-family: "Roboto Slab Regular", serif;
}
@@ -438,6 +438,13 @@ table th {
margin-bottom: 0;
}
+.post-meta {
+ color: var(--hover-color);
+ font-size: 14px;
+ font-style: italic;
+ margin: 0 0 10px;
+}
+
.pagination {
margin: 0;
padding: 0;