I honstly lost of what I did, but its definitly worth it

This commit is contained in:
reverend 2020-07-27 18:45:07 +02:00
parent 8828318854
commit 87cc27bcc8
21 changed files with 403 additions and 110 deletions

View File

@ -4,7 +4,14 @@
font-size: 1.7rem;
padding-top: 0px;
margin-top: 0px;
padding-bottom: 0.2rem;
padding-bottom: 0px;
margin-bottom: 0px;
&--main{
position: relative;
top: 2rem;
font-size: 2rem;
}
&--inline{
display: inline;

View File

@ -1,5 +1,14 @@
{
"context": {
"headline": "Hello here is my headline"
},
"title": "Headline",
"variants": [
{
"name": "main",
"context": {
"modifier": "--main"
}
}
]
}

View File

@ -1 +1 @@
<h1 class="LP-Headline">{{headline}}</h1>
<h1 class="LP-Headline LP-Headline{{modifier}}">{{headline}}</h1>

View File

@ -13,3 +13,7 @@
}
}
}
.LP-Link__IconWrapper{
display: inline;
}

View File

@ -1 +1 @@
<p class="LP-Text">{{text}}</p>
<p class="LP-Text LP-Content">{{text}}</p>

View File

@ -5,9 +5,10 @@
margin: 0;
.LP-SecurityMeasure__Item{
margin: 0 5px;
padding: 5px 8px;
margin: 0 8px;
padding: 8px 14px;
background-color: #D7CEC7;
border-radius: 2px;
.LP-Text{
font-family: $-primary-sans-serif-font;
font-size: 1.2rem;

View File

@ -1,6 +1,12 @@
.LP-Content{
padding: 35px;
}
@media (max-width: 1290px){
.LP-Content{
padding: 15px;
}
}
.LP-TextSection{

View File

@ -1,4 +1,4 @@
<article class="LP-TextSection LP-Content">
<article class="LP-TextSection">
{{> @headline headline=headline}}
{{> @text text=text}}
</article>

View File

@ -3,3 +3,5 @@
@import 'introduction/introduction';
@import 'placeGrid/placeGrid';
@import 'placeList/placeList';
@import 'linkList/linkList';
@import 'footer/footer';

View File

@ -0,0 +1,30 @@
.LP-Footer{
margin-top: 75px;
width: 100%;
background-color: $-secondary-color;
padding: 25px;
.LP-LinkList__List{
display: flex;
align-items: center;
justify-content: center;
.LP-LinkList__Item{
border: none;
padding: 5px;
width: auto;
.LP-Text{
color: $-secondary-background-color;
font-size: 17px;
}
.LP-Link{
display: inline;
&:hover{
background-color: inherit;
}
}
}
}
}

View File

@ -0,0 +1,3 @@
{
"title": "Footer"
}

View File

@ -0,0 +1,7 @@
<article class="LP-Footer">
<ul class="LP-LinkList__List">
<li class="LP-LinkList__Item"><a href="" class="LP-Link"><span class="LP-Text">Impressum</span></a></li>
<li class="LP-LinkList__Item"><a href="" class="LP-Link"><span class="LP-Text">Kontakt</span></a></li>
<li class="LP-LinkList__Item"><a href="" class="LP-Link"><span class="LP-Text">Datenschutz</span></a></li>
</ul>
</article>

View File

@ -0,0 +1,59 @@
.LP-LinkList__List{
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fit, 300px);
margin: 0;
padding: 0;
.LP-LinkList__Item{
border-left: 1px solid $-secondary-accent-color;
width: 100%;
margin-top: 12px;
height: 55px;
.LP-Link{
$-link-padding: 1em;
padding: $-link-padding 0 $-link-padding $-link-padding;
width: calc(100% - $-link-padding);
display: block;
color: $-secondary-color;
&--iconized{
padding-top: 0;
padding-bottom: 1.1em;
&:hover{
background-color: #ccc !important;
}
.LP-Text{
padding-top: .1em;
}
}
&:hover{
background-color: $-secondary-background-color;
color: $-primary-accent-color;
}
.LP-Text{
color: inherit;
}
}
}
}
.LP-Link__Icon{
width: 2em;
height: 2em;
fill: $-primary-accent-color;
line-height: 5em;
}
.LP-LinkList__Item .LP-Link__Icon{
position: relative;
top: .7em;
margin-right: .6em;
}

View File

@ -0,0 +1,3 @@
{
"title": "LinkList"
}

View File

@ -0,0 +1,19 @@
<ul class="LP-LinkList__List">
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link LP-Link--iconized">
<div class="LP-Link__IconWrapper">
<svg class="LP-Link__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
xml:space="preserve">
<g>
<path d="M492,236H276V20c0-11.046-8.954-20-20-20c-11.046,0-20,8.954-20,20v216H20c-11.046,0-20,8.954-20,20s8.954,20,20,20h216
v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z" />
</g>
</svg>
</div>
<span class="LP-Text">Link hinzufügen</span></a></li>
</ul>

View File

@ -1,3 +1,4 @@
<div class="LP-Content__Wrapper">
<div class="LP-Content">
{{> @headline headline='Explorere the latest locations'}}
<ul class="LP-Place__Grid">
@ -33,3 +34,4 @@
</li>
</ul>
</div>
</div>

View File

@ -2,3 +2,7 @@
margin: 0 auto;
max-width: 1280px;
}
.LP-HorizontalLine{
color: $-secondary-color;
}

View File

@ -1,10 +1,9 @@
.LP-PlaceOverview{
.LP-PlaceOverview__Info{
margin-bottom: 40px;
.LP-PlaceOveriew__Image{
width: 600px;
height: 400px;
width: 700px;
height: 450px;
box-shadow: 0 0 10px $-secondary-color;
object-fit: cover;
@ -13,7 +12,7 @@
margin-bottom: 35px;
}
.LP-PlaceOverView__Description{
padding: 0 25px;
padding: 0px;
position: relative;
top: -15px;
}
@ -21,18 +20,48 @@
.LP-PlaceOverView__ImageList{
list-style-type: none;
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(auto-fit,300px);
margin: 0px;
padding: 0px;
.LP-PlaceOverView__ImageItem{
padding: 15px;
img {
box-shadow: 0 0 5px $-secondary-color;
height: 200px;
width: 300px;
width: 290px;
object-fit: cover;
margin-top:10px;
}
}
}
}
@media (max-width: 1290px){
.LP-PlaceOverview{
.LP-PlaceOverview__Info{
.LP-TextSection{
margin-top: -100px;
}
.LP-Headline{
position: relative;
top: -400px;
margin-bottom: 100px;
width: 100vw;
display: block;
}
.LP-PlaceOveriew__Image{
float: none;
width: calc(100vw - 30px);
margin: 0;
padding: 0;
margin-left: 7px;
}
}
}
}

View File

@ -2,23 +2,36 @@
<div class="LP-PlaceOverview__Info">
<img class="LP-PlaceOveriew__Image" src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png">
<article class="LP-PlaceOverView__Description">
{{> @textsection headline='Kokerei Wiescherhöfen' 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?
<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?
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?
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.'}}
</div>
</article>
</div>
<article>
{{> @headline headline='Map Links'}}
<a class="LP-Link" href="https://www.google.com/maps?q={{object.latitude}},{{object.longitude}}" target="blank"><span class="LP-Text">Google Maps</span></a>
<a class="LP-Link" href="https://www.tim-online.nrw.de/tim-online2/?center={{object.latitude}},{{object.longitude}}&icon=true&bg=dop" target="blank"><span class="LP-Text">TIM Online (GER/NRW Only)</span></a>
<a class="LP-Link" href="http://www.openstreetmap.org/?mlat={{object.latitude}}&mlon={{object.longitude}}&zoom=16" target="blank"><span class="LP-Text">Open Street Map</span></a>
{{> @headline headline='Sicherheitsmaßnahmen'}}
<div class="LP-Content__Wrapper">
<div class="LP-Content">
{{> @securitymeasurelist}}
</div>
</div>
</article>
<article>
{{> @headline headline='Sicherheitsmaßnahmen'}}
{{> @securitymeasurelist}}
{{> @headline headline='Links'}}
<div class="LP-Content__Wrapper">
<div class="LP-Content">
{{> @linklist}}
</div>
</div>
</article>
<article class="">
{{> @headline headline='Bilder'}}
<div class="LP-Content__Wrapper">
<div class=" LP-Content">
<ul class="LP-PlaceOverView__ImageList">
<li class="LP-PlaceOverView__ImageItem">
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
@ -39,8 +52,7 @@ Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
</li>
</ul>
{{> @headline headline='Lade deine Bilder hoch'}}
<form>
<input type="file"/>
</form>
</div>
</div>
</article>
</article>

View File

@ -7,6 +7,9 @@
</head>
<body>
{{> @header}}
<article class="LP-MainContainer">{{{ yield }}}</article>
<article class="LP-MainContainer">
{{{ yield }}}
</article>
{{> @footer}}
</body>
</html>

View File

@ -9,13 +9,21 @@
.LP-Link .LP-Text:hover {
color: #C09F80; }
.LP-Link__IconWrapper {
display: inline; }
.LP-Headline {
font-family: "Trebuchet MS", Helvetica, sans-serif;
color: #565656;
font-size: 1.7rem;
padding-top: 0px;
margin-top: 0px;
padding-bottom: 0.2rem; }
padding-bottom: 0px;
margin-bottom: 0px; }
.LP-Headline--main {
position: relative;
top: 2rem;
font-size: 2rem; }
.LP-Headline--inline {
display: inline; }
@ -44,7 +52,11 @@
object-fit: contain; }
.LP-Content {
padding: 15px; }
padding: 35px; }
@media (max-width: 1290px) {
.LP-Content {
padding: 15px; } }
.LP-TextSection .LP-Text {
line-height: 1.4rem; }
@ -86,9 +98,10 @@
padding: 0;
margin: 0; }
.LP-SecurityMeasure__List .LP-SecurityMeasure__Item {
margin: 0 5px;
padding: 5px 8px;
background-color: #D7CEC7; }
margin: 0 8px;
padding: 8px 14px;
background-color: #D7CEC7;
border-radius: 2px; }
.LP-SecurityMeasure__List .LP-SecurityMeasure__Item .LP-Text {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 1.2rem; }
@ -179,33 +192,113 @@
height: 168px;
width: 280px; }
.LP-LinkList__List {
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fit, 300px);
margin: 0;
padding: 0; }
.LP-LinkList__List .LP-LinkList__Item {
border-left: 1px solid #C09F80;
width: 100%;
margin-top: 12px;
height: 55px; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link {
padding: 1em 0 1em 1em;
width: calc(100% - $-link-padding);
display: block;
color: #565656; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized {
padding-top: 0;
padding-bottom: 1.1em; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized:hover {
background-color: #ccc !important; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized .LP-Text {
padding-top: .1em; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
background-color: #f9f9f9;
color: #76323F; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link .LP-Text {
color: inherit; }
.LP-Link__Icon {
width: 2em;
height: 2em;
fill: #76323F;
line-height: 5em; }
.LP-LinkList__Item .LP-Link__Icon {
position: relative;
top: .7em;
margin-right: .6em; }
.LP-Footer {
margin-top: 75px;
width: 100%;
background-color: #565656;
padding: 25px; }
.LP-Footer .LP-LinkList__List {
display: flex;
align-items: center;
justify-content: center; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item {
border: none;
padding: 5px;
width: auto; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Text {
color: #f9f9f9;
font-size: 17px; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link {
display: inline; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
background-color: inherit; }
.LP-MainContainer {
margin: 0 auto;
max-width: 1280px; }
.LP-PlaceOverview .LP-PlaceOverview__Info {
margin-bottom: 40px; }
.LP-HorizontalLine {
color: #565656; }
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image {
width: 600px;
height: 400px;
width: 700px;
height: 450px;
box-shadow: 0 0 10px #565656;
object-fit: cover;
float: right;
margin-left: 35px;
margin-bottom: 35px; }
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOverView__Description {
padding: 0 25px;
padding: 0px;
position: relative;
top: -15px; }
.LP-PlaceOverview .LP-PlaceOverView__ImageList {
list-style-type: none;
display: flex;
flex-wrap: wrap; }
.LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem {
padding: 15px; }
display: grid;
grid-template-columns: repeat(auto-fit, 300px);
margin: 0px;
padding: 0px; }
.LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem img {
box-shadow: 0 0 5px #565656;
height: 200px;
width: 300px;
object-fit: cover; }
width: 290px;
object-fit: cover;
margin-top: 10px; }
@media (max-width: 1290px) {
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-TextSection {
margin-top: -100px; }
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-Headline {
position: relative;
top: -400px;
margin-bottom: 100px;
width: 100vw;
display: block; }
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image {
float: none;
width: calc(100vw - 30px);
margin: 0;
padding: 0;
margin-left: 7px; } }