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

View File

@ -18,6 +18,6 @@
{{ end }} {{ end }}
{{ with $image }} {{ with $image }}
<li class="col-xs-6 col-sm-4"> <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> </li>
{{ end }} {{ end }}

View File

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

View File

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

View File

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