Browse Source

minor css tweaks

master
jk 4 years ago
parent
commit
24d3c4d071
  1. 2
      themes/nipponalba/layouts/_default/single.html
  2. 17
      themes/nipponalba/static/css/style.css

2
themes/nipponalba/layouts/_default/single.html

@ -31,7 +31,7 @@
<section class="info"> <section class="info">
{{ if not (eq .Type "article") }}<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span>{{ end }} {{ if not (eq .Type "article") }}<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span>{{ end }}
{{ $pathJSON := (print .Permalink "bridgy.json") }} {{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ $relpathJSON := (print .Permalink "bridgy.json") }}
{{ if fileExists $relpathJSON }} {{ if fileExists $relpathJSON }}
<span class="syndication"> <span class="syndication">
{{ $mJSON := getJSON $pathJSON }} {{ $mJSON := getJSON $pathJSON }}

17
themes/nipponalba/static/css/style.css

@ -161,6 +161,11 @@ nav > li:nth-child(9) {
padding-right:0; padding-right:0;
margin-left: auto; margin-left: auto;
} }
nav i{
margin-bottom:20px;
position:relative;
top:-5px;
}
main { main {
max-width: 1000px; max-width: 1000px;
margin: 0 auto; margin: 0 auto;
@ -350,13 +355,21 @@ line-height: 2;
width:100%; width:100%;
min-height:30px; min-height:30px;
} }
.interaction.like h4, .interaction.share h4{
margin-right: 20px;
}
.interaction.like img,.interaction.share img{ .interaction.like img,.interaction.share img{
display:inline-flex;
display:inline;
width:30px; width:30px;
height:30px; height:30px;
margin:0;
margin:2px;
padding:0px;
border-radius: 50%; border-radius: 50%;
border:1px solid var(--text-colour);
position:relative;
top:-10px;
} }
.interaction.mention, .interaction.reply{ .interaction.mention, .interaction.reply{
border:1px dotted var(--text-colour); border:1px dotted var(--text-colour);
display:flex; display:flex;