master
*anna* 4 years ago
parent c761347934
commit 77611803c9

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

@ -28,7 +28,7 @@
body{
font-size: 4vw;
padding:2.5%;
margin:2.5%;
font-family: sinistre;
line-height: 5.3vw;
max-width: 100%;

@ -50,56 +50,56 @@
<label class="radio" for="player5">
<span class="radio__input">
<input class="avatar"type="radio" id="player5" name="player_avatar" value="imgs/avatars/avatar5.gif">
<span class="radio__control"></span><img id="player_img_5" src="imgs/avatars/avatar5.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_5" src="imgs/avatars/avatar5.gif" height="70vh">
</span>
</label>
,
<label class="radio" for="player6">
<span class="radio__input">
<input class="avatar"type="radio" id="player6" name="player_avatar" value="imgs/avatars/avatar6.gif">
<span class="radio__control"></span><img id="player_img_6" src="imgs/avatars/avatar6.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_6" src="imgs/avatars/avatar6.gif" height="70vh">
</span>
</label>
,
<label class="radio" for="player7">
<span class="radio__input">
<input class="avatar"type="radio" id="player7" name="player_avatar" value="imgs/avatars/avatar7.gif">
<span class="radio__control"></span><img id="player_img_7" src="imgs/avatars/avatar7.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_7" src="imgs/avatars/avatar7.gif" height="70vh">
</span>
</label>
,
<label class="radio" for="player8">
<span class="radio__input">
<input class="avatar"type="radio" id="player8" name="player_avatar" value="imgs/avatars/avatar8.gif">
<span class="radio__control"></span><img id="player_img_8" src="imgs/avatars/avatar8.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_8" src="imgs/avatars/avatar8.gif" height="70vh">
</span>
</label>
,
<label class="radio" for="player9">
<span class="radio__input">
<input class="avatar"type="radio" id="player9" name="player_avatar" value="imgs/avatars/avatar9.gif">
<span class="radio__control"></span><img id="player_img_9" src="imgs/avatars/avatar9.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_9" src="imgs/avatars/avatar9.gif" height="70vh">
</span>
</label>
,
<label class="radio" for="player10">
<span class="radio__input">
<input class="avatar"type="radio" id="player10" name="player_avatar" value="imgs/avatars/avatar10.gif">
<span class="radio__control"></span><img id="player_img_10" src="imgs/avatars/avatar10.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_10" src="imgs/avatars/avatar10.gif" height="70vh">
</span>
</label>
,
<label class="radio" for="player11">
<span class="radio__input">
<input class="avatar"type="radio" id="player11" name="player_avatar" value="imgs/avatars/avatar11.gif">
<span class="radio__control"></span><img id="player_img_11" src="imgs/avatars/avatar11.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_11" src="imgs/avatars/avatar11.gif" height="70vh">
</span>
</label>
or like
<label class="radio"for="player12">
<span class="radio__input">
<input class="avatar"type="radio" id="player12" name="player_avatar" value="imgs/avatars/avatar12.gif">
<span class="radio__control"></span><img id="player_img_12" src="imgs/avatars/avatar12.gif" height="60vw">
<span class="radio__control"></span><img id="player_img_12" src="imgs/avatars/avatar12.gif" height="70vh">
</span>
</label>

@ -4,8 +4,11 @@
var f = document.querySelector("form#avatar_form")
f.onchange = updateAvatar
f.checked = updateAvatar
/*
document.querySelector("#player1").onchange = updateAvatar
document.querySelector("#player1").checked = updateAvatar
document.querySelector("#player2").onchange = updateAvatar
document.querySelector("#player3").onchange = updateAvatar
document.querySelector("#player4").onchange = updateAvatar
@ -16,7 +19,9 @@ document.querySelector("#player8").onchange = updateAvatar
document.querySelector("#player9").onchange = updateAvatar
document.querySelector("#player10").onchange = updateAvatar
document.querySelector("#player11").onchange = updateAvatar
document.querySelector("#player12").onchange = updateAvatar
document.querySelector("#player12").onchange = updateAvatar*/
function updateAvatar () {
//console.log("CHANGE");

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Monteferro</title>
<link rel="icon" href="imgs/park/flower2.gif">
<link rel="icon" href="imgs/monteferro/corn.gif">
<link rel="stylesheet" href="monteferro.css">
</head>

@ -30,18 +30,15 @@
body {
font-family: jolyregular;
font-size: 1.8vw;
/*font-size: 22px;*/
}
.instructions{
font-family:jolyregularitalic
font-family:jolyregularitalic;
}
body.park_body{
overflow: hidden;
}
::-moz-selection { /* Code for Firefox */
background: transparent;
@ -50,57 +47,56 @@
background: transparent;
}
#player_img {
bottom: 20%;
left: 15%;
div#player_img {
bottom: 25%;
left: 40%;
position:absolute ;
z-index: 20;
}
/*
#ground{
position:relative ;
height:90vh;
width:4000px;
}
*/
#groundline {
position: fixed;
bottom:0px;
height:83%;
top:130px;
height:0%;
width: 100%;
border-top: 0.1vw solid;
border-top: 1px solid;
}
div.text_container {
bottom: 2%;
left:3%;
right:3%;
position:fixed;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 1em;
margin-inline-end: 1em;
bottom: 40px;
left:40px;
right:40px;
position:absolute;
margin: auto;
line-height: 1.4em;
}
button{
-webkit-appearance: none;
background-color: white;
border: 0.11vw black solid;
border-radius: 25vw;
border: 0.1em black solid;
border-radius: 25em;
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;
border: 0.1em transparent solid;
-webkit-box-shadow: 0px 0px 8px 1px black;
-moz-box-shadow: 0px 0px 8px 1px black;
box-shadow: 0px 0px 8px 1px black;
}
@ -203,6 +199,7 @@ span.button_text{
font-family:sinistre;
font-size: 3.5vw;
}
#baloon1 {
width: 20vw;
height: 4vw;
@ -261,140 +258,83 @@ span.button_text{
/*images*/
#bench {
bottom: 30%;
left: 8%;
bottom: 32%;
left: 24%;
position: absolute;
z-index:18;
}
#tree1 {
top:5%;
left: 12%;
top:8%;
left: 40%;
position: absolute;
}
#tree2 {
bottom:45%;
left: 3%;
bottom:40%;
left: 10%;
position: absolute;
z-index:16;
}
#tree3 {
bottom:50%;
left: 28%;
bottom:45%;
left: 75%;
position: absolute;
}
#newspaperimg {
bottom: 38%;
left: 9.5%;
position: absolute;
z-index:19;
}
#flower1 {
bottom:75%;
left: 5%;
bottom:68%;
left: 20%;
position: absolute;
}
#flower2{
bottom: 38%;
left: 2%;
bottom: 28%;
left: 6%;
position: absolute;
z-index:17;
}
#flower3{
bottom: 30%;
left: 25%;
bottom: 50%;
left: 52%;
position: absolute;
z-index:17;
}
#flower4{
bottom: 48%;
left: 20%;
bottom: 35%;
left: 88%;
position: absolute;
z-index:17;
}
#flower5{
bottom: 60%;
left: 35%;
position: absolute;
z-index:17;
}
#grass1{
bottom: 30%;
left: 40%;
position: absolute;
z-index:17;
}
#grass2{
bottom: 60%;
left: 45%;
#flower5{
bottom: 65%;
left: 71%;
position: absolute;
z-index:17;
}
#statue{
bottom: 70%;
left: 60%;
position: absolute;
z-index:17;
}
#tree4{
#grass1{
bottom: 25%;
left: 70%;
position: absolute;
}
#flower6{
bottom: 65%;
left: 72%;
position: absolute;
}
#flower7{
bottom: 50%;
left: 55%;
position: absolute;
}
#flower8{
bottom: 30%;
left: 95%;
position: absolute;
}
#dog{
bottom: 32%;
left: 50%;
position: absolute;
z-index:17;
}
#tree5{
bottom: 50%;
left: 90%;
position: absolute;
}
/* fries kiosk*/
#kiosk{
bottom: 60%;
left: 20%;
bottom: 57%;
left: 57%;
position: absolute;
z-index:2;
}
.bubble1 {
bottom: 80%;
left: 13%;
bottom: 74%;
left: 43%;
position: absolute;
background: #ffffff;
color: #000000;
@ -407,6 +347,7 @@ span.button_text{
border-radius: 13px;
padding: 0px;
border: 1px black solid;
z-index: 10;
}
.bubble1:after {
content: '';
@ -436,9 +377,8 @@ span.button_text{
}
.bubble2 {
z-index: 1;
bottom: 75%;
left: 26.5%;
left: 70%;
position: absolute;
background: #ffffff;
color: #000000;
@ -451,6 +391,7 @@ span.button_text{
border-radius: 13px;
padding: 1vw;
border: #000000 solid 1px;
z-index: 10;
}
.bubble2:after {
content: '';
@ -479,338 +420,6 @@ span.button_text{
display: block;
}
/* looking for ned scene*/
#woman{
bottom: 60%;
left: 22%;
position: absolute;
cursor: pointer;
}
#newspaper_seller{
bottom: 55%;
left: 48%;
position: absolute;
cursor: pointer;
}
#sport1{
bottom: 30%;
left: 64%;
position: absolute;
cursor: pointer;
}
#sport2{
bottom: 65%;
left: 63%;
position: absolute;
cursor: pointer;
}
#ned{
bottom: 47%;
left: 86%;
position: absolute;
cursor: pointer;
}
.woman_bubble {
bottom:75%;
left: 24%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 25px;
text-align: center;
width: 14vw;
height: 4.2vw;
border-radius: 10px;
padding: 1vw;
border: #000000 solid 1px;
}
.woman_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 24px 20px 0 0;
border-color: #ffffff transparent transparent transparent;
bottom: -24px;
left: 15%;
margin-left: -10px;
}
.woman_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 25px 21px 0 0;
border-color: #000000 transparent transparent transparent;
bottom: -26px;
left: 15%;
margin-left: -11px;
display: block;
}
.vendor_bubble {
bottom:75%;
left: 42%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 25px;
text-align: center;
width: 14vw;
height: 4.2vw;
border-radius: 10px;
padding: 13px;
border: #000000 solid 1px;
}
.vendor_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 20px 24px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -24px;
left: 76%;
margin-left: -10px;
}
.vendor_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 21px 25px 0;
border-color: transparent #000000 transparent transparent;
bottom: -26px;
left: 76%;
margin-left: -10px;
display: block;
}
.fit2_bubble {
bottom:40%;
left: 64%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 2vw;
text-align: center;
width: 3vw;
height: 2.5vw;
border-radius: 10px;
padding: 0px;
border: #000000 solid 1px;
}
.fit2_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 15px 20px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -20px;
left: 70%;
margin-left: -7.5px;
}
.fit2_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 16px 21px 0;
border-color: transparent #000000 transparent transparent;
bottom: -22px;
left: 70%;
margin-left: -7.5px;
display: block;
}
.fit1_bubble {
bottom:75%;
left: 65%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 2vw;
text-align: center;
width: 3vw;
height: 2.5vw;
border-radius: 10px;
padding: 0px;
border: #000000 solid 1px;
}
.fit1_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 20px 15px 0 0;
border-color: #ffffff transparent transparent transparent;
bottom: -20px;
left: 42%;
margin-left: -7.5px;
}
.fit1_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 21px 16px 0 0;
border-color: #000000 transparent transparent transparent;
bottom: -22px;
left: 42%;
margin-left: -8.5px;
display: block;
}
.ned_bubble1 {
bottom:69%;
left: 81%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 25px;
text-align: center;
width: 12vw;
height: 5vw;
border-radius: 10px;
padding: 9px;
border: #000000 solid 1px;
}
.ned_bubble1:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 15px 20px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -20px;
left: 85%;
margin-left: -7.5px;
}
.ned_bubble1:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 16px 21px 0;
border-color: transparent #000000 transparent transparent;
bottom: -22px;
left: 85%;
margin-left: -7.5px;
display: block;
}
.ned_bubble2 {
bottom:42%;
left: 74%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
text-align: center;
width: 20vw;
height: 11.5vw;
border-radius: 10px;
padding: 14px;
border: #000000 solid 1px;
}
.ned_bubble2:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: transparent #ffffff;
border-width: 15px 0 15px 25px;
top: 49%;
right: -25px;
margin-top: -15px;
}
.ned_bubble2:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: transparent #000000;
border-width: 16px 0 16px 26px;
top: 49%;
right: -26.5px;
margin-top: -16px;
display: block;
}
.ned_bubble3 {
bottom:15%;
left: 85%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
text-align: center;
width: 20vw;
height: 10vw;
border-radius: 10px;
padding: 14px;
border: #000000 solid 1px;
}
.ned_bubble3:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: #ffffff transparent;
border-width: 0 15px 25px;
top: -25px;
left: 14%;
margin-left: -15px;
}
.ned_bubble3:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: #000000 transparent;
border-width: 0 16px 26px;
top: -26.5px;
left: 14%;
margin-left: -16px;
display: block;
}

@ -105,18 +105,17 @@
<div id="ground">
<div id="player_img"></div>
<img id="bench" src="imgs/park/bench1.gif" height="20%">
<img id="tree1" src="imgs/park/tree1.gif" height="30%">
<img id="tree2" src="imgs/park/tree4.gif" height="25%">
<img id="tree3" src="imgs/park/tree4.gif" height="25%">
<img id="newspaperimg" src="imgs/park/newspaper2.gif" height="7%">
<img id="flower1" src="imgs/park/flower1.gif" height="5%">
<img id="flower2" src="imgs/park/flower3.gif" height="7%">
<img id="flower3" src="imgs/park/flower3.1.gif" height="6%">
<img id="flower4" src="imgs/park/flower1.1.gif" height="5%">
<img id="flower5" src="imgs/park/flower1.gif" height="5%">
<img id="grass1" src="imgs/park/grass1.gif" height="75vw">
<img id="kiosk" src="imgs/park/stand3.gif" height="22%" style="display: none;">
<img id="bench" src="imgs/park/bench.gif" height="150px">
<img id="tree1" src="imgs/park/tree1.gif" height="200px">
<img id="tree2" src="imgs/park/tree4.gif" height="160px">
<img id="tree3" src="imgs/park/tree4.gif" height="160px">
<img id="flower1" src="imgs/park/flower1.gif" height="30px">
<img id="flower2" src="imgs/park/flower3.gif" height="40px">
<img id="flower3" src="imgs/park/flower3.1.gif" height="40px">
<img id="flower4" src="imgs/park/flower1.1.gif" height="30px">
<img id="flower5" src="imgs/park/flower1.gif" height="30px">
<img id="grass1" src="imgs/park/grass1.gif" height="70px">
<img id="kiosk" src="imgs/park/stand3.gif" height="150px" style="display: none;">
<div class="comic_div" style="display: none;" >
<div class="bubble1">Sorry, no fries today</div>

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>looking for</title>
<link rel="icon" href="imgs/park/flower2.gif">
<link rel="stylesheet" href="park.css">
<link rel="stylesheet" href="park_walk.css">
</head>
<body>
@ -14,39 +14,48 @@
<div id="ground">
<div id="player_img"></div>
<img id="bench" src="imgs/park/bench1.gif" height="20%">
<img id="tree1" src="imgs/park/tree1.gif" height="30%">
<img id="tree2" src="imgs/park/tree4.gif" height="25%">
<img id="tree3" src="imgs/park/tree4.gif" height="25%">
<img id="newspaperimg" src="imgs/park/newspaper2.gif" height="7%">
<img id="flower1" src="imgs/park/flower1.gif" height="5%">
<img id="flower2" src="imgs/park/flower3.gif" height="7%">
<img id="flower3" src="imgs/park/flower3.1.gif" height="6%">
<img id="flower4" src="imgs/park/flower1.1.gif" height="5%">
<img id="flower5" src="imgs/park/flower1.gif" height="5%">
<img id="grass1" src="imgs/park/grass1.gif" height="75vw">
<img id="grass2" src="imgs/park/grass1.gif" height="75vw">
<img id="statue" src="imgs/park/statue.gif" height="22%">
<img id="tree4" src="imgs/park/tree4.gif" height="25%">
<img id="flower6" src="imgs/park/flower1.1.gif" height="5%">
<img id="flower7" src="imgs/park/flower3.1.gif" height="6%">
<img id="flower8" src="imgs/park/flower3.1.gif" height="6%">
<img id="tree5" src="imgs/park/tree1.gif" height="30%">
<!-- <img id="dog_guy" src="imgs/park/guy_dog.gif" height="13%">-->
<img id="sport1" src="imgs/park/fitness1.gif" height="10%">
<img id="sport2" src="imgs/park/fitness2.gif" height="10%">
<img id="newspaper_seller" src="imgs/park/newspaper_seller.gif" height="15%">
<img id="woman" src="imgs/park/woman.gif" height="19%">
<img id="ned" src="imgs/park/ned.gif" height="15%">
<div id="player_img"></div>
<img id="bench" src="imgs/park/bench.gif" height="150px">
<img id="tree1" src="imgs/park/tree1.gif" height="200px">
<img id="tree2" src="imgs/park/tree4.gif" height="160px">
<img id="tree3" src="imgs/park/tree4.gif" height="160px">
<img id="flower1" src="imgs/park/flower1.gif" height="30px">
<img id="flower2" src="imgs/park/flower3.gif" height="40px">
<img id="flower3" src="imgs/park/flower3.1.gif" height="40px">
<img id="flower4" src="imgs/park/flower1.1.gif" height="30px">
<img id="flower5" src="imgs/park/flower1.gif" height="30px">
<img id="grass1" src="imgs/park/grass1.gif" height="70px">
<img id="statue" src="imgs/park/statue.gif" height="150px">
<img id="tree4" src="imgs/park/tree4.gif" height="160px">
<img id="flower6" src="imgs/park/flower1.1.gif" height="30px">
<img id="flower7" src="imgs/park/flower3.1.gif" height="40px">
<img id="flower8" src="imgs/park/flower3.1.gif" height="40px">
<img id="tree5" src="imgs/park/tree1.gif" height="230px">
<img id="sport1" src="imgs/park/fitness1.gif" height="70px">
<img id="sport2" src="imgs/park/fitness2.gif" height="70px">
<img id="newspaper_seller" src="imgs/park/newspaper_seller.gif" height="120px">
<img id="woman" src="imgs/park/woman.gif" height="140px">
<img id="ned" src="imgs/park/ned.gif" height="120px">
<div class="woman_bubble" style="display: none;">I don't know, you should try to ask the news vendor.</div>
<div class="vendor_bubble" style="display: none;">I sold a copy to a guy not so long ago. He must be still around.</div>
<div class="fit2_bubble" style="display: none;">...</div>
<div class="fit1_bubble" style="display: none;">...</div>
<div class="ned_bubble1" style="display: none;">I was hoping that someone would find my newspaper.</div>
<div class="ned_bubble2" style="display: none;">My name is Ned, I used to be the school's janitor. I got fired last week because the school noticed I was carrying on some investigations on the kind's conditions there. Believe me, the situation is shadier then it seems. Do you wanna know what I just found out?</div>
<div class="ned_bubble3" style="display: none;">The school is involved in sinister activities: together with the Monteferro Food Enterprise they are poisoning the children's meals. Follow me to the enterprise's headquarter: I can show you the proof of what I'm saying. </div>
</div>
<div class="text_container">
<div class="message1 instructions">
Move around the park with the arrows ←↑↓→ and click on the people to ask them if they saw who left the newspaper on the bench.
Move around the park with the arrows ←↑↓→ and click on the people to ask them if they saw the newspaper's owner.
</div>
<div class="message2" style="display: none;">
You found him! <button class="ned_more"><span class="button_text">Hear more from Ned</span></button> .
</div>
<div class="message3" style="display: none;">
It looks intriguing: <button onclick="location.href='monteferro.html';"><span class="button_text">go to the Monteferro Food Enterprise</span></button> with Ned.
</div>
</div>
@ -101,19 +110,19 @@ $(document).keydown(function(e) {
break;
}
//check the offset
if (offset.left < 100) {
offset.left = 100;
if (offset.left < 80) {
offset.left = 80;
}
if (offset.left > $("#ground").width() - 100) {
offset.left = $("#ground").width() - 100;
if (offset.left > $("#ground").width() - 250) {
offset.left = $("#ground").width() - 250;
}
if (offset.top < 200) {
offset.top = 200;
if (offset.top < 130) {
offset.top = 130;
}
if (offset.top > $("#ground").height() - 220) {
offset.top = $("#ground").height() - 220;
if (offset.top > $("#ground").height() - 250) {
offset.top = $("#ground").height() - 250;
}
@ -149,6 +158,26 @@ $(document).keydown(function(e) {
$(".vendor_bubble").toggle();
});
$("#sport1").click (function(){
$(".fit2_bubble").toggle();
});
$("#sport2").click (function(){
$(".fit1_bubble").toggle();
});
$("#ned").click (function(){
$(".ned_bubble1, .ned_bubble2").toggle();
$(".message1").hide();
$(".message2").show();
});
$(".ned_more").click (function(){
$(".ned_bubble3").toggle();
$(".message2").hide();
$(".message3").show();
});
</script>

@ -0,0 +1,592 @@
@font-face {
font-family: sinistre;
src: url(fonts/Sinistre-SCaroline.woff),
url(fonts/Sinistre-SCaroline.otf);
}
@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);
}
body {
font-family: jolyregular;
font-size: 1.8vw;
overflow-y: hidden;
}
.instructions{
font-family:jolyregularitalic;
}
::-moz-selection { /* Code for Firefox */
background: transparent;
}
::selection {
background: transparent;
}
div#player_img {
bottom: 20%;
left: 12%;
position:absolute ;
z-index: 20;
}
#ground{
position:absolute;
height:100%;
width:5000px;
}
#groundline {
position: fixed;
top:130px;
height:0%;
width: 100%;
border-top: 1px solid;
}
div.text_container {
bottom: 40px;
left:40px;
right:40px;
position:fixed;
margin: auto;
line-height: 1.4em;
}
button{
-webkit-appearance: none;
background-color: white;
border: 0.1em black solid;
border-radius: 25em;
color:black;
cursor:pointer;
font-family: jolybolditalic;
}
button:hover{
border: 0.1em transparent solid;
-webkit-box-shadow: 0px 0px 8px 1px black;
-moz-box-shadow: 0px 0px 8px 1px black;
box-shadow: 0px 0px 8px 1px black;
}
span.button_text{
font-size: 1.6vw;
padding: 8px;
}
#player_name{
font-family: jolybolditalic;
}
/*images*/
#bench {
bottom: 32%;
left: 6%;
position: absolute;
z-index:18;
}
#tree1 {
top:8%;
left: 10%;
position: absolute;
}
#tree2 {
bottom:40%;
left: 2.5%;
position: absolute;
z-index:16;
}
#tree3 {
bottom:45%;
left: 18%;
position: absolute;
}
#flower1 {
bottom:68%;
left: 5%;
position: absolute;
}
#flower2{
bottom: 28%;
left: 1.5%;
position: absolute;
z-index:17;
}
#flower3{
bottom: 50%;
left: 13%;
position: absolute;
z-index:17;
}
#flower4{
bottom: 35%;
left: 22%;
position: absolute;
z-index:17;
}
#flower5{
bottom: 65%;
left: 17%;
position: absolute;
z-index:17;
}
#grass1{
bottom: 30%;
left: 40%;
position: absolute;
z-index:17;
}
#grass2{
bottom: 25%;
left: 10%;
position: absolute;
z-index:17;
}
#statue{
bottom: 70%;
left: 60%;
position: absolute;
z-index:17;
}
#tree4{
bottom: 25%;
left: 70%;
position: absolute;
}
#flower6{
bottom: 65%;
left: 80%;
position: absolute;
}
#flower7{
bottom: 50%;
left: 55%;
position: absolute;
}
#flower8{
bottom: 30%;
left: 95%;
position: absolute;
}
#dog{
bottom: 32%;
left: 50%;
position: absolute;
z-index:17;
}
#tree5{
bottom: 50%;
right: 4%;
position: absolute;
}
/* looking for ned scene*/
#woman{
bottom: 60%;
left: 30%;
position: absolute;
cursor: pointer;
}
#newspaper_seller{
bottom: 55%;
left: 47%;
position: absolute;
cursor: pointer;
}
#sport1{
bottom: 30%;
left: 66%;
position: absolute;
cursor: pointer;
}
#sport2{
bottom: 65%;
left: 63%;
position: absolute;
cursor: pointer;
}
#ned {
bottom: 47%;
right: 8%;
position: absolute;
cursor: pointer;
}
.woman_bubble {
bottom:82%;
left: 31%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 18px;
text-align: center;
width: 14vw;
height: 4.2vw;
border-radius: 10px;
padding: 1vw;
border: #000000 solid 1px;
}
.woman_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 24px 20px 0 0;
border-color: #ffffff transparent transparent transparent;
bottom: -24px;
left: 15%;
margin-left: -10px;
}
.woman_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 25px 21px 0 0;
border-color: #000000 transparent transparent transparent;
bottom: -26px;
left: 15%;
margin-left: -11px;
display: block;
}
.vendor_bubble {
bottom:75%;
left: 43%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 18px;
text-align: center;
width: 14vw;
height: 4.2vw;
border-radius: 10px;
padding: 13px;
border: #000000 solid 1px;
}
.vendor_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 20px 24px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -24px;
left: 76%;
margin-left: -10px;
}
.vendor_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 21px 25px 0;
border-color: transparent #000000 transparent transparent;
bottom: -26px;
left: 76%;
margin-left: -10px;
display: block;
}
.fit2_bubble {
bottom:44%;
left: 65%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 18px;
text-align: center;
width: 5vw;
height: 2.5vw;
border-radius: 10px;
padding: 0px;
border: #000000 solid 1px;
}
.fit2_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 15px 20px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -20px;
left: 70%;
margin-left: -7.5px;
}
.fit2_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 16px 21px 0;
border-color: transparent #000000 transparent transparent;
bottom: -22px;
left: 70%;
margin-left: -7.5px;
display: block;
}
.fit1_bubble {
bottom:78%;
left: 65%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 18px;
text-align: center;
width: 5vw;
height: 2.5vw;
border-radius: 10px;
padding: 0px;
border: #000000 solid 1px;
}
.fit1_bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 20px 15px 0 0;
border-color: #ffffff transparent transparent transparent;
bottom: -20px;
left: 42%;
margin-left: -7.5px;
}
.fit1_bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 21px 16px 0 0;
border-color: #000000 transparent transparent transparent;
bottom: -22px;
left: 42%;
margin-left: -8.5px;
display: block;
}
.ned_bubble1 {
bottom:69%;
left: 83%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 18px;
text-align: center;
width: 12vw;
height: 5vw;
border-radius: 10px;
padding: 9px;
border: #000000 solid 1px;
}
.ned_bubble1:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-width: 0 15px 20px 0;
border-color: transparent #ffffff transparent transparent;
bottom: -20px;
left: 85%;
margin-left: -7.5px;
}
.ned_bubble1:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-width: 0 16px 21px 0;
border-color: transparent #000000 transparent transparent;
bottom: -22px;
left: 85%;
margin-left: -7.5px;
display: block;
}
.ned_bubble2 {
bottom:42%;
left: 78%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.3vw;
line-height: 18px;
text-align: center;
width: 20vw;
height: 11.5vw;
border-radius: 10px;
padding: 14px;
border: #000000 solid 1px;
}
.ned_bubble2:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: transparent #ffffff;
border-width: 15px 0 15px 25px;
top: 49%;
right: -25px;
margin-top: -15px;
}
.ned_bubble2:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: transparent #000000;
border-width: 16px 0 16px 26px;
top: 49%;
right: -26.5px;
margin-top: -16px;
display: block;
}
.ned_bubble3 {
bottom:15%;
left: 86%;
position: absolute;
background: #ffffff;
color: #000000;
font-family: sinistre;
font-size: 1.2vw;
line-height: 18px;
text-align: center;
width: 20vw;
height: 10vw;
border-radius: 10px;
padding: 14px;
border: #000000 solid 1px;
}
.ned_bubble3:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: #ffffff transparent;
border-width: 0 15px 25px;
top: -25px;
left: 14%;
margin-left: -15px;
}
.ned_bubble3:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: #000000 transparent;
border-width: 0 16px 26px;
top: -26.5px;
left: 14%;
margin-left: -16px;
display: block;
}
/* 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;
}
Loading…
Cancel
Save