Update theme version

This commit is contained in:
Patrick Neff 2019-05-06 03:10:09 +02:00
parent a4f3ae2e52
commit 215b05feaf
5 changed files with 15 additions and 7 deletions

View File

@ -13,7 +13,7 @@
{{- partial "schema/article.html" . -}}
{{- end -}}
{{- if (eq .Kind "section") -}}
{{- partial "schema/collectionPage.html" . -}}
{{- partial "schema/collectionpage.html" . -}}
{{- end -}}
{{ partial "part/style.html" (dict "ctx" . "path" "css/style.css" )}}
<link rel="shortcut icon" href="/img/favicon.ico">
@ -126,7 +126,7 @@
</div>
{{- end }}
<div class="container bottom">
<div clss="row" id="footer-social" class="padding">
<div class="row" id="footer-social" class="padding">
<div class="col-xs-12">
{{- partial "social.html" . -}}
</div>

View File

@ -18,6 +18,6 @@
{{ end }}
{{ with $image }}
<li class="col-xs-6 col-sm-4">
{{- partial "figure.html" (dict "ctx" $ctx "image" . "class" "catalog" "showTitle" true "showDescription" true "showDetails" true "isOverlay" true) -}}
{{- partial "figure.html" (dict "ctx" $ctx "image" . "class" "catalog" "showTitle" true "showDescription" false "showDetails" true "isOverlay" true) -}}
</li>
{{ end }}

View File

@ -1,6 +1,6 @@
{
"name": "neff",
"version": "0.0.1",
"version": "0.2.1",
"description": "A gohugo.io theme for http://www.neff-steindesign.de",
"scripts": {
"build": "webpack --config webpack.prod.js",

View File

@ -11,7 +11,7 @@ body {
line-height: $base-line-height;
display: flex;
flex-direction: column;
padding: calc(5.25rem + #{$gutter-width}) 0 0 0;
padding: calc(5.25rem + #{$gutter-width}) 0 0;
background-color: $background-color;
color: $font-color;
width: 100%;
@ -300,6 +300,10 @@ figure {
figcaption {
&.overlay {
h3 {
font-size: 1.2rem;
}
&.hidden {
visibility: hidden;
}
@ -723,6 +727,9 @@ nav {
@include trim-list-margin-horizontal;
justify-content: center;
font-size: 2rem;
li {
margin: 0 $half-gutter-width;
}
}
}
}
@ -893,4 +900,4 @@ nav {
#banner {
top: calc(9rem + #{$gutter-width});
}
}
}

View File

@ -39,6 +39,7 @@ $gutter-compensation: $half-gutter-width * -1;
.container-fluid {
margin: 0 auto;
padding: 0 $outer-margin;
max-width: calc(90vw - #{$gutter-width} * 2);
}
.row {
@ -149,7 +150,7 @@ $gutter-compensation: $half-gutter-width * -1;
@media only screen and (min-width: $sm-min) {
.container {
width: $sm-min;
width: $sm-min - $gutter-width;
}
.col-sm,