353 lines
6.7 KiB
CSS

.scroll-content {
background: url("../img/Background/background.svg");
background-size: cover;
color: #333;
font: 100% Arial, Sans Serif;
height: 100%;
margin: 0;
padding: 0;
overflow-x: hidden;
}
.farmhaus {
background: url("../img/Background/Farmhaus.svg");
background-size: cover;
position:fixed;
bottom:60px;
Right:10px;
width: 30px;
height: 40px;
overflow: hidden;
}
.windrad {
background: url("../img/Background/Windrad.svg");
background-size: cover;
position:fixed;
bottom:65px;
Right:50px;
width: 60px;
height: 80px;
overflow: hidden;
}
.kornspeicher {
background: url("../img/Background/Kornspeicher.svg");
background-size: cover;
background-position:bottom;
position:fixed;
bottom:40px;
Left:275px;
width: 60px;
height: 90px;
overflow: hidden;
}
.suchspielbutton {
position: absolute;
bottom:15px;
left:370px;
width: 128px;
height: 128px;
overflow: hidden;
}
.baumhaus {
background: url("../img/Background/treehouse.svg");
background-size: cover;
position:fixed;
bottom:0;
left:-25px;
width: 256px;
height: 256px;
overflow: hidden;
}
/* Bild groessen */
.suchspielbuttonsizebig{
width:128px;
height:128px;
}
.gras {
background: url("../img/Background/Grasbuechel.svg");
background-size: cover;
position:absolute;
width: 16;
height: 16px;
overflow: hidden;
}
.baumhausaction {
position: absolute;
top: 100px;
left: 110px;
width: 60px;
height: 60px;
overflow: hidden;
}
.mentorborderbaumhaus {
position: absolute;
top: 122px;
left: 120px;
width: 32px;
height: 32px;
overflow: hidden;
}
.mentorbaumhaus {
width: 32px;
height: 320px;
background: url('../img/Mentor/mentor_32px.png') left center;
-webkit-animation: mentorspritebaumhaus 3.8s steps(10) infinite;
}
@-webkit-keyframes mentorspritebaumhaus {
100% { background-position: 0 -320px; }
}
#background-wrap {
bottom: 0;
left: 0;
padding-top: 50px;
position: fixed;
right: 0;
top: 0;
z-index: -1;
}
/* KEYFRAMES */
/* Wolken */
@-webkit-keyframes animateCloud {
0% {
margin-left: -500px;
}
100% {
margin-left: 100%;
}
}
@-moz-keyframes animateCloud {
0% {
margin-left: -500px;
}
100% {
margin-left: 100%;
}
}
@keyframes animateCloud {
0% {
margin-left: -500px;
}
100% {
margin-left: 100%;
}
}
/* ANIMATIONS */
.x1 {
-webkit-animation: animateCloud 35s linear infinite;
-moz-animation: animateCloud 35s linear infinite;
animation: animateCloud 35s linear infinite;
-webkit-transform: scale(0.65);
-moz-transform: scale(0.65);
transform: scale(0.65);
}
.x2 {
-webkit-animation: animateCloud 20s linear infinite;
-moz-animation: animateCloud 20s linear infinite;
animation: animateCloud 20s linear infinite;
-webkit-transform: scale(0.3);
-moz-transform: scale(0.3);
transform: scale(0.3);
}
.ufox {
-webkit-animation: animateCloud 8s linear infinite;
-moz-animation: animateCloud 8s linear infinite;
animation: animateCloud 8s linear infinite;
-webkit-transform: scale(0.3);
-moz-transform: scale(0.3);
transform: scale(0.3);
}
.ufo {
background: url('../img/ufo.png');
background-size: cover;
height: 128px;
width: 128px;
position: relative;
}
.cloud {
background: #fff;
background: -moz-linear-gradient(top, #fff 5%, #f1f1f1 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#fff), color-stop(100%,#f1f1f1));
background: -webkit-linear-gradient(top, #fff 5%,#f1f1f1 100%);
background: -o-linear-gradient(top, #fff 5%,#f1f1f1 100%);
background: -ms-linear-gradient(top, #fff 5%,#f1f1f1 100%);
background: linear-gradient(top, #fff 5%,#f1f1f1 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f1f1f1',GradientType=0 );
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;
-webkit-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
height: 120px;
position: relative;
width: 350px;
}
.cloud:after, .cloud:before {
background: #fff;
content: '';
position: absolute;
z-indeX: -1;
}
.cloud:after {
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;
height: 100px;
left: 50px;
top: -50px;
width: 100px;
}
.cloud:before {
-webkit-border-radius: 200px;
-moz-border-radius: 200px;
border-radius: 200px;
width: 180px;
height: 180px;
right: 50px;
top: -90px;
}
/* ----------- Kindle Fire HD 7" ----------- */
/* Landscape */
@media only screen
and (min-device-width: 800px)
and (max-device-width: 1280px)
and (-webkit-min-device-pixel-ratio: 1.5)
and (orientation: landscape) {
.farmhaus {
background: url("../img/Background/Farmhaus.svg");
background-size: cover;
position:fixed;
bottom:130px;
right:20px;
width: 60px;
height: 80px;
overflow: hidden;
}
.windrad {
background: url("../img/Background/Windrad.svg");
background-size: cover;
position:fixed;
bottom:130px;
right:130px;
width: 120px;
height: 160px;
overflow: hidden;
}
.kornspeicher {
background: url("../img/Background/Kornspeicher.svg");
background-size: cover;
background-position:bottom;
position:fixed;
bottom:80px;
left:330px;
width: 120px;
height: 180px;
overflow: hidden;
}
.suchspielbutton {
position: absolute;
bottom:15px;
left:485px;
width: 128px;
height: 128px;
overflow: hidden;
}
}
/* ----------- Galaxy S5 Mini----------- */
/* Landscape */
@media screen
and (device-width: 640px)
and (device-height: 360px)
and (-webkit-device-pixel-ratio: 2)
and (orientation: landscape) {
.farmhaus {
background: url("../img/Background/Farmhaus.svg");
background-size: cover;
position:fixed;
bottom:40px;
right:10px;
width: 30px;
height: 40px;
overflow: hidden;
}
.windrad {
background: url("../img/Background/Windrad.svg");
background-size: cover;
position:fixed;
bottom:45px;
right:50px;
width: 60px;
height: 80px;
overflow: hidden;
}
.kornspeicher {
background: url("../img/Background/Kornspeicher.svg");
background-size: cover;
background-position:bottom;
position:fixed;
bottom:20px;
left:275px;
width: 60px;
height: 90px;
overflow: hidden;
}
.suchspielbutton {
position: absolute;
bottom:5px;
left:370px;
width: 128px;
height: 128px;
overflow: hidden;
}
}