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

github.com/xaprb/story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaron Schwartz <xaprb@users.noreply.github.com>2019-01-28 03:58:13 +0300
committerBaron Schwartz <xaprb@users.noreply.github.com>2019-01-28 03:58:13 +0300
commitf3a57457d8f508857f24766af36adb8ee9edb7aa (patch)
treef6e69bb55c628d3ae02526e36d71fa3b195b87ff
parent3152c0a37f92ccc6d36ad76143151d2a25f820ed (diff)
Fix typography bugs, omit needless lines
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/li.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index aa95b23..48a3d70 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,7 @@
{{ define "title" }}{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) }}{{ end }}
{{ define "main" }}
-<article class="center bg-white br-3 pv1 ph4 nested-copy-line-height lh-copy f4 nested-links mw-100 measure-wide">
+<article class="center bg-white br-3 pv1 ph4 lh-copy f5 nested-links mw7">
{{ .Content }}
</article>
{{ end }}
diff --git a/layouts/partials/li.html b/layouts/partials/li.html
index ab87312..a2919df 100644
--- a/layouts/partials/li.html
+++ b/layouts/partials/li.html
@@ -1,12 +1,12 @@
{{- $hdr := cond (or (in .Site.Params.classes "feature-nohdr") (in .Params.classes "feature-nohdr")) false true -}}
<div class="relative w-100">
- <article class="bb b--black-10">
+ <article>
<div class="db pv4 {{ cond $hdr "ph3" "" }} ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">
{{ if $hdr }}
<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover {{ if lt .Date.Unix now.Unix }}hide-child{{ end }}" style="background-image: url('{{ absURL (default "img/default-header-img.tn-500x500.jpg" (default .Params.image .Params.thumbnail)) }}'); background-position: center;">
- <a href="{{ .Permalink }}" class="db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
- <i class="mt3 mt5-l child far {{ cond (gt .Date.Unix now.Unix) "fa-hourglass" "fa-calendar-alt" }}"> {{ .Date.Format "Jan 2, 2006" }}</i>
+ <a href="{{ .Permalink }}" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
+ <i class="mt3 mt5-l child far {{ cond (gt .Date.Unix now.Unix) "fa-hourglass" "fa-calendar-alt" }}"></i> {{ .Date.Format "Jan 2, 2006" }}
</a>
</div>
{{ end }}