Update theme
This commit is contained in:
parent
6fbedf60e3
commit
b4998530c3
|
|
@ -5,6 +5,7 @@ draft = true
|
||||||
type = "gallery"
|
type = "gallery"
|
||||||
alt = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
alt = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
||||||
description = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
description = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
||||||
|
keywords = []
|
||||||
|
|
||||||
[[resources]]
|
[[resources]]
|
||||||
title = "{{ replace .Name "-" " " | title }} #:counter"
|
title = "{{ replace .Name "-" " " | title }} #:counter"
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,5 @@ title = "{{ replace .Name "-" " " | title }}"
|
||||||
date = "{{ .Date }}"
|
date = "{{ .Date }}"
|
||||||
draft = true
|
draft = true
|
||||||
type = "page"
|
type = "page"
|
||||||
|
keywords = []
|
||||||
+++
|
+++
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ draft = true
|
||||||
type = "gallery"
|
type = "gallery"
|
||||||
alt = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
alt = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
||||||
description = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
description = "Bildergallerie für {{ replace .Name "-" " " | title }}"
|
||||||
|
keywords = []
|
||||||
|
|
||||||
[[resources]]
|
[[resources]]
|
||||||
title = "{{ replace .Name "-" " " | title }} #:counter"
|
title = "{{ replace .Name "-" " " | title }} #:counter"
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ title = "{{ replace .Name "-" " " | title }}"
|
||||||
date = "{{ .Date }}"
|
date = "{{ .Date }}"
|
||||||
draft = true
|
draft = true
|
||||||
type = "news"
|
type = "news"
|
||||||
|
keywords = []
|
||||||
|
|
||||||
[[resources]]
|
[[resources]]
|
||||||
title = "{{ replace .Name "-" " " | title }}"
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ body {
|
||||||
line-height: $base-line-height;
|
line-height: $base-line-height;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 155px 0 0 0;
|
padding: 105px 0 0 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: $background-color;
|
background-color: $background-color;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
|
|
@ -38,9 +38,6 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: $media-query) {
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
header {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -57,29 +54,59 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 1.8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h2 {
|
||||||
font-size: 1.4;
|
font-size: 1.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h3 {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h4 {
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: $media-query) {
|
||||||
|
body {
|
||||||
|
padding: 155px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h6 {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
|
|
@ -231,21 +258,6 @@ figure {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.featured-image {
|
|
||||||
max-width: 300px;
|
|
||||||
height: auto;
|
|
||||||
float: left;
|
|
||||||
clear: both;
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
& + p {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
padding: .5rem 2rem;
|
padding: .5rem 2rem;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
|
|
@ -267,8 +279,31 @@ a.btn-primary {
|
||||||
|
|
||||||
.call-to-action {
|
.call-to-action {
|
||||||
min-height: 2rem;
|
min-height: 2rem;
|
||||||
|
|
||||||
|
div {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.full-width {
|
.full-width {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.youtube {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
padding-bottom: 56.25%;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: $gutter-width 0;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border:0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#index-hero {
|
#index-hero {
|
||||||
div {
|
.hero-container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
img.hero {
|
img.hero {
|
||||||
|
|
@ -61,3 +61,13 @@
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#index-gallery {
|
||||||
|
figure {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -39,13 +39,19 @@
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: center;
|
vertical-align: center;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
.image-container {
|
.image-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
max-height: calc(90vh - calc(8 * #{$gutter-width}));
|
max-height: calc(90vh - calc(8 * #{$gutter-width}));
|
||||||
max-width: calc(90vw - calc(6 * #{$gutter-width}));
|
max-width: calc(90vw - calc(4 * #{$gutter-width}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,28 @@
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.featured {
|
||||||
|
max-width: $min-column-width;
|
||||||
|
height: auto;
|
||||||
|
float: none;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
& + p {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 500px) {
|
||||||
|
#single {
|
||||||
|
.featured {
|
||||||
|
max-width: $min-column-width-desktop;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<section id="index-about">
|
<section id="index-hero">
|
||||||
<a class="anchor" id="{{ i18n "about-us" }}"><h1 class="padding">{{ (replace (replace (i18n "about-us") "-" " ") "ue" "ü") | title}}</h1></a>
|
<a class="anchor" id="{{ i18n "about-us" }}"><h1 class="padding">{{ (replace (replace (i18n "about-us") "-" " ") "ue" "ü") | title}}</h1></a>
|
||||||
<div class="flex row">
|
<div class="flex row">
|
||||||
{{- range (first 3 (where .Site.Pages.ByWeight ".Params.type" "ueber-uns")) -}}
|
{{- range (first 3 (where .Site.Pages.ByWeight ".Params.type" "ueber-uns")) -}}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="padding">
|
<div class="padding hero-container">
|
||||||
<img src="img/hero/{{ .Params.icon }}.svg" class="hero" alt="Hero {{ .Title }}">
|
<img src="img/hero/{{ .Params.icon }}.svg" class="hero" alt="Hero {{ .Title }}">
|
||||||
<header>
|
<header>
|
||||||
<h2>{{ .Title }}</h2>
|
<h2>{{ .Title }}</h2>
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@
|
||||||
{{- with .ctx.Params.alt -}}
|
{{- with .ctx.Params.alt -}}
|
||||||
{{- $alt = . -}}
|
{{- $alt = . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $imageSm := .image.Fill "225x225 Top" -}}
|
{{- $imageSm := .image.Fill "300x300 Top" -}}
|
||||||
{{- $imageMd := .image.Fill "400x400 Top" -}}
|
{{- $imageMd := .image.Fill "500x500 Top" -}}
|
||||||
<img alt="{{ $alt }}"
|
<img alt="{{ $alt }}"
|
||||||
title="{{ $title }}"
|
title="{{ $title }}"
|
||||||
srcset="{{ $imageSm.RelPermalink }} 225w, {{ $imageMd.RelPermalink }} 400w"
|
srcset="{{ $imageSm.RelPermalink }} 300w, {{ $imageMd.RelPermalink }} 500w"
|
||||||
sizes="(max-width: 350px) 225w, 400w"
|
sizes="(max-width: 500px) 300w, 500w"
|
||||||
src="{{ $imageMd.RelPermalink }}" />
|
src="{{ $imageMd.RelPermalink }}" />
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="lightbox-image">
|
<div class="lightbox-image">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<a class="lightbox-prev"><div class="lightbox-nav-prev"><div><i class="fa fa-chevron-left"></div></i></div></a>
|
<a class="lightbox-prev"><div class="lightbox-nav-prev"><div><i class="fa fa-chevron-left"></div></i></div></a>
|
||||||
<a class="lightbox-next"><div class="lightbox-nav-next"><div><i class="fa fa-chevron-right"></div></div></i></a>
|
<a class="lightbox-next"><div class="lightbox-nav-next"><div><i class="fa fa-chevron-right"></div></div></i></a>
|
||||||
<img src="#" alt="image">
|
<img src="#" alt="image">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue