Move responseive

This commit is contained in:
reverend 2020-08-02 23:02:56 +02:00
parent 96882aef12
commit 09d1ab522b
4 changed files with 39 additions and 38 deletions

View File

@ -1,7 +1,7 @@
.LP-LinkList__List{
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fit, 300px);
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
margin: 0;
padding: 0;

View File

@ -3,64 +3,66 @@
.LP-PlaceOveriew__Image{
width: 700px;
height: 450px;
box-shadow: 0 0 10px $-grey;
object-fit: cover;
object-position: 0 0;
float: right;
margin-left: 35px;
margin-bottom: 35px;
overflow: hidden;
}
.LP-PlaceOverView__Description{
padding: 0px;
position: relative;
top: -15px;
.LP-Headline{
position: relative;
top: 15px;
}
}
}
.LP-PlaceOverView__ImageList{
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fit,300px);
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
margin: 0px;
padding: 0px;
.LP-PlaceOverView__ImageItem{
img {
margin-top:10px;
.LP-Link{
overflow: hidden;
}
.LP-Image {
box-shadow: 0 0 5px $-grey;
height: 200px;
width: 290px;
object-fit: cover;
margin-top:10px;
}
}
}
}
@media (max-width: 1290px){
@media (max-width: $-viewport-normal){
.LP-PlaceOverview{
.LP-PlaceOverview__Info{
.LP-TextSection{
margin-top: -100px;
}
.LP-Headline{
position: relative;
top: -400px;
margin-bottom: 100px;
width: 100vw;
display: block;
margin-top: 30px;
}
.LP-PlaceOveriew__Image{
float: none;
width: calc(100vw - 30px);
width: 100%;
height: auto;
margin: 0;
padding: 0;
margin-left: 7px;
}
}
}

View File

@ -1 +1,11 @@
{}
{
"context": {
"images": [
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
"/images/photo_2020-05-02_18-11-21.jpg",
"/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
"/images/photo_2020-05-02_18-11-21.jpg",
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"
]
}
}

View File

@ -1,10 +1,12 @@
<article class="LP-PlaceOverview">
<div class="LP-PlaceOverview__Info">
<img class="LP-PlaceOveriew__Image" src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png">
<div class="LP-PlaceOveriew__Image">
{{> @image source='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png'}}
</div>
<article class="LP-PlaceOverView__Description">
<div class="LP-TextSection">
{{> @headline--main headline='Kokerei Wiescherhöfen'}}
{{> @text text='Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?
{{> @paragraph text='Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?
Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb.Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?
@ -16,7 +18,7 @@ Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to
{{> @headline headline='Sicherheitsmaßnahmen'}}
<div class="LP-Content__Wrapper">
<div class="LP-Content">
{{> @securitymeasurelist}}
{{> @taglist}}
</div>
</div>
</article>
@ -33,24 +35,11 @@ Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to
<div class="LP-Content__Wrapper">
<div class=" LP-Content">
<ul class="LP-PlaceOverView__ImageList">
{{#each images}}
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
</li>
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
</li>
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
</li>
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png"></a>
</li>
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
</li>
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
<a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a>
</li>
{{/each}}
</ul>
</div>
</div>