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

github.com/ribice/kiss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmir Ribić <ribice@gmail.com>2019-04-10 07:24:49 +0300
committerGitHub <noreply@github.com>2019-04-10 07:24:49 +0300
commitee876204e8480838d1099f86b0f4d822d3caa463 (patch)
treee9679863eaf2ae1b1e9c43130d8506c462ac891a
parentbb80301b1029c02f50544a203fc724907412b782 (diff)
parent917ef95d97149352d65deac4e52ee7945beb5d5c (diff)
Merge pull request #69 from olehermanse/line_height
Bigger line height in tags and date
-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
+}