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

github.com/pavel-pi/kiss-em.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Herman Schumacher Elgesem <oleherman93@gmail.com>2019-03-24 13:22:22 +0300
committerOle Herman Schumacher Elgesem <oleherman93@gmail.com>2019-04-02 11:59:31 +0300
commit917ef95d97149352d65deac4e52ee7945beb5d5c (patch)
treee9679863eaf2ae1b1e9c43130d8506c462ac891a
parentbb80301b1029c02f50544a203fc724907412b782 (diff)
Bigger line height in tags and date
This makes it look better on phones / smaller windows. Signed-off-by: Ole Herman Schumacher Elgesem <oleherman93@gmail.com>
-rw-r--r--layouts/index.html2
-rw-r--r--static/css/style.css7
2 files changed, 7 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 4f4ad80..f4c67a5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -10,7 +10,7 @@
{{ partial "tags" .Params.tags }}
{{ end }}
</div>
- <h2 class="subtitle is-6">{{ .Date.Format "January 2, 2006" }}</h2>
+ <h2 class="subtitle is-6 date">{{ .Date.Format "January 2, 2006" }}</h2>
<h1 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }}</h1>
<div class="content">
{{ .Summary | plainify | safeHTML }}
diff --git a/static/css/style.css b/static/css/style.css
index 6aa39d3..349c9b6 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -2600,6 +2600,11 @@ a.box:active {
font-size: 14px;
}
+.subtitle.tags,
+.subtitle.date {
+ line-height: 1.5em;
+}
+
.subtitle.is-normal {
font-weight: 400;
}
@@ -6879,4 +6884,4 @@ div.subtitle.tags {
.highlight pre {
margin: 0;
-} \ No newline at end of file
+}