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>2018-09-27 03:55:02 +0300
committerBaron Schwartz <xaprb@users.noreply.github.com>2018-09-27 03:55:02 +0300
commitd256d923dd8b080977ddbbf9b830f72285f4305a (patch)
tree7cb60f12b4b38bcf799e8ad362b8ceaab9715622
parentdbf2c7f52859363e9cc2d3f522d0cc2aa6809acf (diff)
tweak responsiveness of date-on-hover
-rw-r--r--layouts/partials/li.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/partials/li.html b/layouts/partials/li.html
index 5a202e9..ab87312 100644
--- a/layouts/partials/li.html
+++ b/layouts/partials/li.html
@@ -5,9 +5,8 @@
<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 pa3 ttu tc bg-black-60">
- <div style="width: 0" class="dn-s dn-m dib-l v-mid h-100"></div>
- <i class="dib v-mid child far {{ cond (gt .Date.Unix now.Unix) "fa-hourglass" "fa-calendar-alt" }}"> {{ .Date.Format "Jan 2, 2006" }}</i>
+ <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>
</div>
{{ end }}