You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

421 lines
7.6 KiB
CSS

4 years ago
@font-face {
font-family: sinistre;
4 years ago
src: url(fonts/Sinistre-StCaroline.woff),
url(fonts/Sinistre-StCaroline.otf);
4 years ago
}
@font-face {
font-family: jolybolditalic;
src: url(fonts/JolyDisplay-BoldDisplayItalic.woff),
url(fonts/JolyDisplay-BoldDisplayItalic.otf);
}
@font-face {
font-family: jolyregularitalic;
src: url(fonts/JolyDisplay-RegularDisplayItalic.woff),
url(fonts/JolyDisplay-RegularDisplayItalic.otf);
}
@font-face {
font-family: jolyregular;
src: url(fonts/JolyDisplay-RegularDisplay.woff),
url(fonts/JolyDisplay-RegularDisplay.otf);
}
@font-face {
font-family: jolybold;
src: url(fonts/JolyDisplay-BoldDisplay.woff),
url(fonts/JolyDisplay-BoldDisplay.otf);
}
::-moz-selection { /* Code for Firefox */
background: transparent;
}
::selection {
background: transparent;
}
body {
font-family: jolyregular;
font-size: 1.8vw;
}
.instructions{
4 years ago
font-family:jolyregularitalic;
4 years ago
}
4 years ago
span.instructions_arrow{
padding-left:40px;
font-size: 2.4vw;
font-family:jolybolditalic;
}
4 years ago
#ground {
position: fixed;
4 years ago
top: 130px;
bottom: 0px;
height: inherit;
4 years ago
width: 100%;
border-top: 0.1vw solid;
4 years ago
z-index: -1;
4 years ago
}
div.text_container {
4 years ago
bottom: 35px;
4 years ago
left:40px;
right:40px;
4 years ago
position:fixed;
4 years ago
margin: auto;
line-height: 1.4em;
}
.game_bar {
top:40px;
right:80px;
position:fixed;
border-radius: 25vw;
4 years ago
padding-left: 10px;
padding-right: 10px;
4 years ago
font-family: sinistre;
4 years ago
background-color: white;
border: 0.11vw black solid;
color:black;
font-size: 1.4vw;
3 years ago
line-height: normal ;
}
.game_bar_glow{
border: 0.11vw transparent solid;
background-color: transparent;
-webkit-box-shadow: 0px 0px 8px 1px black ;
-moz-box-shadow: 0px 0px 8px 1px black ;
box-shadow: 0px 0px 8px 1px black ;
4 years ago
}
button{
-webkit-appearance: none;
background-color: white;
border: 0.11vw black solid;
border-radius: 25vw;
color:black;
cursor:pointer;
font-family: jolybolditalic;
}
button:hover{
border: 0.11vw transparent solid;
-webkit-box-shadow: 0px 0px 8px 2px black;
-moz-box-shadow: 0px 0px 8px 2px black;
box-shadow: 0px 0px 8px 2px black;
}
span.button_text{
font-size: 1.6vw;
padding: 8px;
}
#ned {
4 years ago
bottom: 26%;
4 years ago
left: 15%;
4 years ago
position:absolute ;
z-index: 1;
4 years ago
cursor: pointer;
4 years ago
}
#player_img {
bottom: 24%;
4 years ago
left: 8%;
position:absolute ;
4 years ago
z-index: 0;
4 years ago
}
4 years ago
#gallina1{
bottom: 20%;
right: 7%;
4 years ago
position:absolute ;
4 years ago
z-index: 5;
4 years ago
cursor: pointer;
4 years ago
}
4 years ago
4 years ago
#gallina2{
bottom: 63%;
right: 20%;
4 years ago
position:absolute ;
z-index: 5;
4 years ago
cursor: pointer;
}
#gallina3{
bottom: 52%;
left: 24%;
position:absolute ;
z-index: 5;
cursor: pointer;
4 years ago
}
4 years ago
4 years ago
#tree1 {
bottom: 47%;
left: 8%;
position:absolute ;
4 years ago
4 years ago
}
4 years ago
4 years ago
4 years ago
#farmer_figure {
4 years ago
bottom: 29%;
right: 15%;
4 years ago
position:absolute ;
4 years ago
}
#farmer_baloon {
4 years ago
bottom: 52%;
right: 19%;
4 years ago
position:absolute ;
4 years ago
z-index: 10;
4 years ago
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 16px;
line-height: 17px;
text-align: center;
4 years ago
width: 90px;
height: 50px;
4 years ago
border-radius: 10px;
padding: 18px;
border: #000000 solid 1px;
}
#farmer_baloon:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 20px 20px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -20px;
left: 68%;
margin-left: -10px;
}
#farmer_baloon:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 21px 21px 0;
border-color: transparent #000000 transparent transparent;
bottom: -22px;
left: 68%;
margin-left: -10px;
display: block;
4 years ago
}
4 years ago
#chicken1_baloon {
bottom: 31%;
right: 10%;
position:absolute ;
z-index: 10;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 16px;
line-height: 17px;
text-align: center;
width: 90px;
height: 50px;
border-radius: 10px;
padding: 18px;
border: #000000 solid 1px;
z-index: 50;
cursor: pointer;
}
#chicken1_baloon:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 20px 20px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -20px;
left: 68%;
margin-left: -10px;
}
#chicken1_baloon:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 21px 21px 0;
border-color: transparent #000000 transparent transparent;
bottom: -22px;
left: 68%;
margin-left: -10px;
display: block;
}
4 years ago
4 years ago
#mulino {
4 years ago
bottom: 65%;
left: 22%;
4 years ago
position:absolute ;
z-index: 10;
}
.field{
4 years ago
max-width: 30%;
max-height: 55%;
top: 15%;
bottom: 10%;
4 years ago
left: 31%;
4 years ago
right: 32.5%;
4 years ago
position: absolute;
display: grid;
4 years ago
grid-template-columns: 25% 25% 25% 25% 25%;
grid-template-rows: 25% 25% 25% 25%;
4 years ago
z-index: 1;
4 years ago
}
4 years ago
.field_cover {
max-width: 47%;
max-height: 55%;
top: 15%;
bottom: 10%;
left: 31%;
right: 32.5%;
position: absolute;
background-color:transparent;
z-index: 5;
}
4 years ago
img.corn{
max-width: 100%;
max-height: 100%;
margin: auto;
}
4 years ago
.corn {
cursor: pointer;
}
/* baloons*/
.ned_baloon1 {
left: 5%;
4 years ago
bottom: 43%;
4 years ago
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 16px;
line-height: 17px;
text-align: center;
width: 285px;
height: 135px;
border-radius: 10px;
padding: 18px;
border: #000000 solid 1px;
z-index:10;
4 years ago
cursor: pointer;
4 years ago
}
.ned_baloon1:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: #ffffff transparent;
border-width: 20px 20px 0;
bottom: -20px;
left: 60%;
margin-left: -20px;
}
.ned_baloon1:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: #000000 transparent;
border-width: 21px 21px 0;
bottom: -21.5px;
left: 60%;
margin-left: -21px;
display: block;
}
.ned_baloon2 {
4 years ago
bottom:29%;
left: 28%;
4 years ago
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 16px;
line-height: 17px;
text-align: center;
width: 285px;
height: 85px;
border-radius: 10px;
padding: 18px;
border: #000000 solid 1px;
z-index: 11;
4 years ago
cursor: pointer;
4 years ago
}
.ned_baloon2:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: transparent #ffffff;
border-width: 20px 20px 20px 0;
top: 50%;
left: -20px;
margin-top: -20px;
}
.ned_baloon2:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: transparent #000000;
border-width: 21px 21px 21px 0;
top: 50%;
left: -21.5px;
margin-top: -21px;
display: block;
}
4 years ago
4 years ago
.stop_touch{
z-index: -10;
}
4 years ago
/* hide scroll bar */
/* width */
::-webkit-scrollbar {
color:white;
}
/* Track */
::-webkit-scrollbar-track {
background: white;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: white;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: white;
}