presentation version

This commit is contained in:
2020-06-10 01:25:47 +02:00
parent 5b9410cf1c
commit 1855f50d0d
35 changed files with 1282 additions and 187 deletions
+412 -118
View File
@@ -174,6 +174,12 @@ p {
margin-top: -10px;
}
.resultsProdukt {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
.results li {
list-style: none;
padding: 10px 15px;
@@ -196,10 +202,7 @@ p {
.jumbo {
padding: 50px;
background: #f6f6f6;
}
.jumbo:hover {
background-color: #f3f3f3;
}
.jumbo h2 {
@@ -220,76 +223,81 @@ p {
}
/**
* Individual kategorie Listing
* Individual rezept Listing
*/
.rezept label span {
font-size: 140%;
margin: 50px auto 20px;
display: block;
text-align: center;
font-style: italic;
}
.kategorie {
.rezept input {
padding: 11px;
font-size: 18px;
width: 500px;
margin: 20px auto 50px;
background-color: rgba(255, 255, 255, 0.75);
border: solid 1px lightgray;
display: block;
}
.rezept {
margin-top: 15px;
background-color: #f6f6f6;
background-color: white;
padding: 20px 25px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
text-align: center;
width: 100%;
border: #677ae4;
border-width: 15px;
}
.kategorie:hover {
.rezept.selected{
border: #016aba;
border-width: 7px;
border-style: solid;
border-radius: 5px;
font-size: 100%;
}
.rezept:hover {
border: #016aba;
border-width: 2px;
border-style: solid;
border-radius: 5px;
font-size: 100%;
}
.rezept.selected:hover {
background-color: #f3f3f3;
border-width: 5px;
}
.kategorie img {
.rezept img {
border-radius: 5px;
}
.kategorie .image {
.rezept .image {
flex-grow: 0;
flex-basis: 150px;
margin: 20px 25px;
text-align: center;
}
.kategorie button.image {
position: relative;
cursor: pointer;
border: none;
background: transparent;
z-index: 1;
}
.kategorie button.image:focus {
outline: none;
}
.kategorie button.image:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
margin: -20px;
padding: 20px;
border-radius: 5px;
background: #016aba;
opacity: 0;
transition: opacity 0.25s ease-in-out;
}
.kategorie button.image:focus:after, .kategorie button.image:hover:after {
opacity: 0.1;
}
.kategorie .image img {
.rezept .image img {
max-width: 100%;
}
.kategorie .image.large {
.rezept .image.large {
margin: 30px 25px 50px 25px;
flex-basis: 100%;
}
.kategorie .image small {
.rezept .image small {
display: block;
margin-top: 5px;
margin-bottom: -15px;
@@ -300,12 +308,369 @@ p {
position: relative;
}
.kategorie .image.large small {
.rezept .image.large small {
margin-top: 10px;
margin-bottom: 0px;
font-size: 110%;
}
.rezept .details {
flex-basis: 50%;
flex-grow: 2;
display: flex;
height: 150px;
margin: 20px 25px;
justify-content: space-between;
flex-wrap: wrap;
align-content: space-around;
text-align: center;
}
.rezept h3 {
flex-basis: 100%;
}
.rezept h3 a {
display: inline;
}
.rezept .detail {
flex-basis: 50%;
font-weight: 300;
font-style: italic;
white-space: pre-wrap ;
text-align: center;
}
.rezept .detail h3 h4{
text-align: center;
}
.rezept .detail span {
font-weight: 400;
font-style: normal;
}
.rezept .bild span {
width: 50;
}
.rezept .map {
flex-grow: 0;
flex-basis: 150px;
font-size: 0;
margin: 0px 25px;
}
.rezept .map img {
width: 150px;
height: 150px;
}
.rezept.detailed {
background: none;
align-items: flex-start;
}
.rezept.detailed .image {
flex-basis: 320px;
}
.rezept.detailed .image.large {
margin: 30px 25px 50px 25px;
flex-basis: 100%;
}
.rezept.detailed .details {
height: auto;
}
.rezept.detailed h3 {
font-size: 200%;
margin-bottom: 10px;
}
.rezept.detailed .detail {
margin: 5px 0px;
flex-basis: 100%;
flex-shrink: 2;
}
.rezept.detailed .description {
white-space: normal;
flex-basis: 100%;
flex-shrink: 1;
}
.rezept.detailed .map {
flex-basis: 100%;
margin: 50px 25px 25px 25px;
}
.rezept.detailed .map img {
width: 100%;
height: auto;
}
@media only screen and (max-width: 919px) {
.rezept.detailed .image, .rezept.detailed .image.large {
margin: 30px 25px 25px 25px;
flex-basis: 100%;
cursor: default;
}
.rezept.detailed .image:hover {
flex-basis: 100%;
cursor: default;
}
.rezept.detailed .image small {
display: none;
}
.rezept.detailed button.image:hover:after {
opacity: 0;
}
.rezept.detailed button.image:focus:after {
opacity: 0.1;
}
.rezept.detailed .map {
margin-top: 25px;
}
}
/**
* Individual produkt Listing
*/
.produkt label span {
font-size: 140%;
margin: 50px auto 20px;
display: block;
text-align: center;
font-style: italic;
}
.produkt input {
padding: 11px;
font-size: 18px;
width: 500px;
margin: 20px auto 50px;
background-color: rgba(255, 255, 255, 0.75);
border: solid 1px lightgray;
display: block;
}
.produkt {
margin: 15px;
background-color: white;
padding: 20px 25px;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
flex-wrap: wrap;
width:20%;
border: none;
}
.produkt.selected{
border: #016aba;
border-width: 7px;
border-style: solid;
border-radius: 5px;
font-size: 100%;
}
.produkt:hover {
border: #016aba;
border-width: 2px;
border-style: solid;
border-radius: 5px;
font-size: 100%;
}
.produkt.selected:hover {
background-color: #f3f3f3;
border-width:5px;
}
.produkt img {
border-radius: 5px;
width: 100%;
}
.produkt .image {
flex-grow: 0;
flex-basis: 150px;
margin: 20px 25px;
text-align: center;
}
.produkt .image img {
max-width: 100%;
}
.produkt .image.large {
margin: 30px 25px 50px 25px;
flex-basis: 100%;
}
.produkt .image small {
display: block;
margin-top: 5px;
margin-bottom: -15px;
text-align: center;
color: #016aba;
/* This is needed to fix a safari clipping issue */
position: relative;
}
.produkt .image.large small {
margin-top: 10px;
margin-bottom: 0px;
font-size: 110%;
}
.produkt .details {
flex-basis: 50%;
flex-grow: 2;
display: flex;
height: 150px;
margin: 20px 25px;
justify-content: space-between;
flex-wrap: wrap;
align-content: space-around;
text-align: center;
align-items: center;
}
.produkt h3 {
flex-basis: 100%;
}
.produkt h3 a {
display: inline;
}
.produkt .detail {
flex-basis: 50%;
font-weight: 300;
font-style: italic;
white-space: pre-wrap;
text-align: center;
flex: auto;
list-style-type: none;
}
.produkt .detail span {
font-weight: 400;
font-style: normal;
}
.produkt .map {
flex-grow: 0;
flex-basis: 150px;
font-size: 0;
margin: 0px 25px;
}
.produkt .map img {
width: 150px;
height: 150px;
}
.produkt.detailed {
background: none;
align-items: flex-start;
}
.produkt.detailed .image {
flex-basis: 320px;
}
.produkt.detailed .image.large {
margin: 30px 25px 50px 25px;
flex-basis: 100%;
}
.produkt.detailed .details {
height: auto;
}
.produkt.detailed h3 {
font-size: 200%;
margin-bottom: 10px;
}
.produkt.detailed .detail {
margin: 5px 0px;
flex-basis: 100%;
flex-shrink: 2;
}
.produkt.detailed .description {
white-space: normal;
flex-basis: 100%;
flex-shrink: 1;
}
.produkt.detailed .map {
flex-basis: 100%;
margin: 50px 25px 25px 25px;
}
.produkt.detailed .map img {
width: 100%;
height: auto;
}
@media only screen and (max-width: 919px) {
.produkt.detailed .image, .produkt.detailed .image.large {
margin: 30px 25px 25px 25px;
flex-basis: 100%;
cursor: default;
}
.produkt.detailed .image:hover {
flex-basis: 100%;
cursor: default;
}
.produkt.detailed .image small {
display: none;
}
.produkt.detailed button.image:hover:after {
opacity: 0;
}
.produkt.detailed button.image:focus:after {
opacity: 0.1;
}
.produkt.detailed .map {
margin-top: 25px;
}
}
/**
* Individual kategorie Listing
*/
.kategorie {
margin-top: 15px;
background-color: #f6f6f6;
padding: 20px 25px;
display: flex;
justify-content: space-between;
/**align-items: center;*/
flex-wrap: wrap;
align-items: flex-start;
}
.kategorie .details {
flex-basis: 50%;
flex-grow: 2;
@@ -337,32 +702,11 @@ p {
font-style: normal;
}
.kategorie .map {
flex-grow: 0;
flex-basis: 150px;
font-size: 0;
margin: 0px 25px;
}
.kategorie .map img {
width: 150px;
height: 150px;
}
.kategorie.detailed {
background: none;
align-items: flex-start;
}
.kategorie.detailed .image {
flex-basis: 320px;
}
.kategorie.detailed .image.large {
margin: 30px 25px 50px 25px;
flex-basis: 100%;
}
.kategorie.detailed .details {
height: auto;
}
@@ -384,45 +728,6 @@ p {
flex-shrink: 1;
}
.kategorie.detailed .map {
flex-basis: 100%;
margin: 50px 25px 25px 25px;
}
.kategorie.detailed .map img {
width: 100%;
height: auto;
}
@media only screen and (max-width: 919px) {
.kategorie.detailed .image, .kategorie.detailed .image.large {
margin: 30px 25px 25px 25px;
flex-basis: 100%;
cursor: default;
}
.kategorie.detailed .image:hover {
flex-basis: 100%;
cursor: default;
}
.kategorie.detailed .image small {
display: none;
}
.kategorie.detailed button.image:hover:after {
opacity: 0;
}
.kategorie.detailed button.image:focus:after {
opacity: 0.1;
}
.kategorie.detailed .map {
margin-top: 25px;
}
}
/**
* Utilities
*/
@@ -447,17 +752,6 @@ p {
position: relative;
}
.tomster {
background: url(../assets/images/teaching-tomster.png);
background-size: contain;
background-repeat: no-repeat;
height: 200px;
width: 200px;
position: relative;
top: -25px;
}
.screen-reader{
position: absolute;
overflow: hidden;