diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index f112f9c6..d41ac519 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -31,7 +31,7 @@
{{ if not (eq .Type "article") }}{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}{{ end }} {{ $pathJSON := (print .Permalink "bridgy.json") }} -{{ $relpathJSON := (print .RelPermalink "bridgy.json") }} +{{ $relpathJSON := (print .Permalink "bridgy.json") }} {{ if fileExists $relpathJSON }} {{ $mJSON := getJSON $pathJSON }} diff --git a/themes/nipponalba/static/css/style.css b/themes/nipponalba/static/css/style.css index 722d8c71..4dabffa6 100644 --- a/themes/nipponalba/static/css/style.css +++ b/themes/nipponalba/static/css/style.css @@ -161,6 +161,11 @@ nav > li:nth-child(9) { padding-right:0; margin-left: auto; } +nav i{ + margin-bottom:20px; + position:relative; + top:-5px; +} main { max-width: 1000px; margin: 0 auto; @@ -350,13 +355,21 @@ line-height: 2; width:100%; min-height:30px; } +.interaction.like h4, .interaction.share h4{ + margin-right: 20px; +} .interaction.like img,.interaction.share img{ - display:inline-flex; + display:inline; width:30px; height:30px; - margin:0; + margin:2px; + padding:0px; border-radius: 50%; + border:1px solid var(--text-colour); + position:relative; + top:-10px; } + .interaction.mention, .interaction.reply{ border:1px dotted var(--text-colour); display:flex;