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

github.com/meibenny/elephants.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Mei <meibenny@gmail.com>2022-07-20 19:46:21 +0300
committerBenny Mei <meibenny@gmail.com>2022-07-20 19:46:21 +0300
commit66dbbf388a0524f38e4526d3e29ead2ca15cb991 (patch)
treef4d23d41f13dbb910aec26ad0dfb4d123bc9182b
parent8838e7504aed7240485163fe9a98731ae50ea3b8 (diff)
dates on front page are monospaced
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/header.html1
-rw-r--r--static/css/stylesheet.css6
-rw-r--r--theme.toml4
4 files changed, 9 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 7520810..55be404 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,7 +4,7 @@
<ul class=posts_listing>
{{ range .Site.RegularPages.ByPublishDate.Reverse }}
<div id="posts">
- <div id=date class="date-time-title">
+ <div id=date class="date-time-title date-time-font">
<time>{{ .Date.Format (.Site.Params.dateform | default "Jan 02 2006") }}</time>
</div>
<div class="date-time-title post">
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 02fc7bb..67fe561 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
+ <link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
<title>{{.Title}}</title>
diff --git a/static/css/stylesheet.css b/static/css/stylesheet.css
index 4ead4e1..3542356 100644
--- a/static/css/stylesheet.css
+++ b/static/css/stylesheet.css
@@ -25,6 +25,10 @@ a {
display: inline-block;
}
+.date-time-font {
+ font-family: 'Ubuntu Mono';
+}
+
#posts {
padding-left: 2em;
}
@@ -35,4 +39,4 @@ a {
.blog-post {
padding-left: 1em;
-} \ No newline at end of file
+}
diff --git a/theme.toml b/theme.toml
index 84ca198..79d6d6f 100644
--- a/theme.toml
+++ b/theme.toml
@@ -3,8 +3,8 @@ license = "MIT"
licenselink = "https://github.com/meibenny/elephants/blob/master/LICENSE.md"
description = "Minimal theme using the Ubuntu font."
homepage = "https://gitlab.com/meibenny/elephants"
-tags = ["blog"]
-features = ["blog"]
+tags = ["blog", "personal", "minimal"]
+features = ["blog", "personal", "minimal"]
min_version = "0.57.2"
[author]