aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-13 15:24:43 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-13 15:24:43 +0200
commit36d0b61b6875bcc119d739a587974b1b09f9d978 (patch)
tree9d114960cdc65c163537cebb20c352aae1abca12
parentRevert "lowercase category names" (diff)
downloadjekyll-theme-36d0b61b6875bcc119d739a587974b1b09f9d978.tar.gz
jekyll-theme-36d0b61b6875bcc119d739a587974b1b09f9d978.zip
posts: more zing to the side font
Diffstat (limited to '')
-rw-r--r--_includes/jekyll-theme/posts/header.html8
-rw-r--r--assets/css/jekyll-theme/utils.css3
2 files changed, 7 insertions, 4 deletions
diff --git a/_includes/jekyll-theme/posts/header.html b/_includes/jekyll-theme/posts/header.html
index cadbb95..e58f966 100644
--- a/_includes/jekyll-theme/posts/header.html
+++ b/_includes/jekyll-theme/posts/header.html
@@ -7,7 +7,7 @@
{% endif %}
<{{ h }}>{{ post.title }}</{{ h }}>
<div class="post-date">
- <p class="text-muted">
+ <p class="text-muted font-size-90">
{%- comment -%}
Collapse the Liquid whitespace here, so that no extra spaces
between <span>s are introduced.
@@ -15,9 +15,9 @@
{%- if post.category -%}
<span class="glyphicon glyphicon-folder-open"></span>&nbsp;
{%- if include.feed -%}
- <span class="category">
+ <span class="category text-monospace">
{%- else -%}
- <a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">
+ <a class="category text-monospace" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">
{%- endif -%}
{{ post.category }}
{%- if include.feed -%}
@@ -26,7 +26,7 @@
</a>
{%- endif -%}
{%- endif -%}
- <span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date: '%-d&nbsp;%b&nbsp;%Y' }}
+ <span class="glyphicon glyphicon-time"></span>&nbsp;<span class="text-monospace">{{ post.date | date: '%-d-%b-%Y' }}</span>
</p>
</div>
</div>
diff --git a/assets/css/jekyll-theme/utils.css b/assets/css/jekyll-theme/utils.css
index f7c4d6f..99920c8 100644
--- a/assets/css/jekyll-theme/utils.css
+++ b/assets/css/jekyll-theme/utils.css
@@ -22,3 +22,6 @@ html * {
display: none;
}
}
+.font-size-90 {
+ font-size: 90%;
+}