Theme update

This commit is contained in:
Patrick Neff 2019-01-07 19:43:28 +01:00
parent 20d2919cde
commit 7108be6ada
5 changed files with 195 additions and 56 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,4 @@
#index {
#index-hero {
#index-hero {
div {
text-align: center;
@ -14,13 +13,13 @@
text-align: left;
}
}
}
}
#index-title {
#index-title {
display: none;
}
}
#index-short-contact {
#index-short-contact {
font-size: 1.1rem;
align-items: top;
background-color: rgba(255, 255, 255, 0.9);
@ -54,5 +53,10 @@
& > * {
flex: 1 0 0;
}
}
#index-contact {
.address {
flex: 1 0 0;
}
}

View File

@ -6,7 +6,7 @@
{{- with .ctx.Params.alt -}}
{{- $alt = . -}}
{{- end -}}
{{- $imageSm := .image.Fill "300x300 Top" -}}
{{- $imageSm := .image.Fill "301x301 Top" -}}
{{- $imageMd := .image.Fill "450x450 Top" -}}
{{- $imageLg := .image.Fill "900x900 Top" -}}
<img alt="{{ $alt }}"

View File

@ -13,15 +13,19 @@ window.addEventListener('scroll', (e) => {
header.classList.add('small')
header.classList.remove('large')
header.classList.add('hidden')
if(banner !== null) {
banner.classList.add('hidden')
}
checkbox.checked = false;
}
else {
if (st < scrollPosition) {
header.classList.add('large')
header.classList.remove('small')
if(banner !== null) {
banner.classList.remove('hidden')
}
}
if (st < lastScrollPosition) {
setTimeout(() => {
header.classList.remove('hidden')

View File

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg896"
version="1.1"
viewBox="0 0 52.916665 52.916668"
height="200"
width="200"
sodipodi:docname="qualitaet.svg"
inkscape:version="0.92.2 2405546, 2018-03-11">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="721"
id="namedview8"
showgrid="false"
inkscape:zoom="1.18"
inkscape:cx="-93.374148"
inkscape:cy="88.393407"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="svg896" />
<defs
id="defs890" />
<metadata
id="metadata893">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<circle
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path1466"
cx="26.458334"
cy="26.458336"
r="23.916712" />
<g
transform="matrix(0.06969791,0,0,0.06969791,8.6156927,8.6156606)"
id="g90">
<g
id="g6">
<g
id="g4">
<path
inkscape:connector-curvature="0"
id="path2"
d="m 226.932,399.948 c -19.96,18.445 -47.567,22.576 -72.053,10.786 -8.852,-4.263 -16.322,-10.149 -22.17,-17.199 l -33.341,73.744 c -1.517,3.355 0.177,5.884 0.975,6.815 0.798,0.93 3.039,2.989 6.585,2.003 l 24.272,-6.756 c 2.766,-0.769 5.562,-1.14 8.319,-1.14 11.631,0 22.578,6.583 27.849,17.492 l 10.962,22.685 c 1.601,3.315 4.604,3.646 5.854,3.621 1.226,-0.016 4.242,-0.414 5.758,-3.769 l 53.033,-117.304 c -5.827,1.677 -11.345,4.68 -16.043,9.022 z" />
</g>
</g>
<g
id="g12">
<g
id="g10">
<path
inkscape:connector-curvature="0"
id="path8"
d="M 412.631,467.279 379.29,393.535 c -5.848,7.051 -13.318,12.937 -22.17,17.199 -24.487,11.79 -52.093,7.659 -72.053,-10.786 -4.698,-4.342 -10.216,-7.345 -16.045,-9.022 l 53.033,117.304 c 1.517,3.356 4.533,3.753 5.758,3.769 1.25,0.025 4.253,-0.306 5.854,-3.621 l 10.962,-22.685 c 5.27,-10.909 16.218,-17.492 27.849,-17.492 2.757,0 5.554,0.371 8.319,1.14 l 24.272,6.756 c 3.546,0.987 5.788,-1.072 6.585,-2.003 0.8,-0.932 2.494,-3.461 0.977,-6.815 z" />
</g>
</g>
<g
id="g18">
<g
id="g16">
<path
inkscape:connector-curvature="0"
id="path14"
d="m 438.821,207.791 c -27.69,-18.96 -36.282,-56.605 -19.56,-85.702 10.051,-17.491 4.82,-34.775 -3.427,-45.118 C 407.586,66.631 391.898,57.686 372.611,63.591 340.527,73.418 305.734,56.666 293.41,25.45 286.002,6.686 269.227,0 256,0 242.773,0 225.998,6.686 218.59,25.451 206.266,56.668 171.476,73.418 139.389,63.592 120.1,57.688 104.415,66.631 96.166,76.972 c -8.247,10.343 -13.478,27.625 -3.427,45.118 16.722,29.096 8.13,66.742 -19.56,85.702 -16.646,11.399 -19.431,29.24 -16.489,42.136 2.942,12.896 13.194,27.761 33.137,30.808 33.174,5.068 57.248,35.256 54.809,68.727 -1.468,20.121 10.745,33.423 22.662,39.163 11.918,5.739 29.932,6.995 44.748,-6.698 12.322,-11.387 28.141,-17.083 43.953,-17.083 15.818,0 31.628,5.693 43.952,17.083 14.818,13.694 32.833,12.438 44.75,6.698 11.917,-5.739 24.129,-19.041 22.662,-39.162 -2.439,-33.471 21.635,-63.659 54.809,-68.728 19.943,-3.047 30.193,-17.913 33.137,-30.808 2.943,-12.898 0.156,-30.739 -16.488,-42.137 z M 256,335.923 c -72.575,0 -131.619,-59.044 -131.619,-131.619 0,-72.575 59.043,-131.62 131.619,-131.62 72.576,0 131.619,59.044 131.619,131.619 -0.001,72.575 -59.044,131.62 -131.619,131.62 z" />
</g>
</g>
<g
id="g24">
<g
id="g22">
<path
inkscape:connector-curvature="0"
id="path20"
d="m 255.999,97.225 c -59.044,0 -107.079,48.036 -107.079,107.079 0,59.043 48.034,107.079 107.079,107.079 59.045,0 107.079,-48.036 107.079,-107.079 0,-59.043 -48.035,-107.079 -107.079,-107.079 z m 54.875,96.697 -66.642,48.675 c -2.115,1.545 -4.653,2.362 -7.237,2.362 -0.666,0 -1.335,-0.054 -2.001,-0.164 -3.249,-0.537 -6.147,-2.358 -8.041,-5.054 l -19.934,-28.382 c -3.895,-5.547 -2.556,-13.2 2.989,-17.095 5.546,-3.895 13.198,-2.557 17.094,2.989 l 12.75,18.154 56.548,-41.302 c 5.473,-3.995 13.15,-2.803 17.146,2.671 3.997,5.472 2.8,13.148 -2.672,17.146 z" />
</g>
</g>
<g
id="g26" />
<g
id="g28" />
<g
id="g30" />
<g
id="g32" />
<g
id="g34" />
<g
id="g36" />
<g
id="g38" />
<g
id="g40" />
<g
id="g42" />
<g
id="g44" />
<g
id="g46" />
<g
id="g48" />
<g
id="g50" />
<g
id="g52" />
<g
id="g54" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.4 KiB