Commit d58fadf7 authored by Eric Schewe's avatar Eric Schewe
Browse files

More CSS clean-up, changed some languge, removed negating of evidence

feature, updated debug message so the original author won't get DMs for
my copy of his site
parent 73a1d01d
......@@ -11,8 +11,9 @@
<style>
html *
{
font-family: 'Courier' !important;
background-color: black; color: white;
font-family: 'Courier' !important;
background-color: black;
color: white;
}
body
{
......@@ -44,11 +45,6 @@
padding: 0em;
border: none;
}
.num
{
color: darkgray;
font-size: 1em;
}
.name
{
color: darkgray;
......@@ -58,25 +54,14 @@
{
float: left;
}
.history
{
float: left;
margin-right: 0.25em;
padding-left: 0.25em;
padding-right: 0.25em;
border: 1px dotted darkgrey;
text-align: center;
}
/* unvisited link */
a:link {
color: red;
}
/* visited link */
a:visited {
color: darkred;
}
/* mouse over link */
a:hover {
color: darkred;
......@@ -123,28 +108,24 @@
buttonArray[i][0] = 0;
document.getElementById(i).style.background='#000000';
}
document.getElementById("Ghosts").innerHTML = "<br/>Please click / tap an evidence above.<br/><br/>Black = Unknown<br/>Green = I found this evidence<br/>Red = It's not this... (careful!)";
document.getElementById("Ghosts").innerHTML = "<br/>Please click / tap an evidence above.<br/><br/>Black = Not found<br/>Green = Found evidence";
document.getElementById("reset").innerHTML = "Reset Evidence";
ghostsLeft = JSON.parse(JSON.stringify(ghostArray));
};
function buttonClick(id)
{
buttonArray[id][0]++;
if (buttonArray[id][0] == 0 || buttonArray[id][0] > 2)
if (buttonArray[id][0] == 0 || buttonArray[id][0] > 1)
{
buttonArray[id][0] = 0;
document.getElementById(id).style.background='#000000';
}
else if (buttonArray[id][0] == 1)
{
document.getElementById(id).style.background='#009900';
}
else
{
document.getElementById(id).style.background='#990000';
document.getElementById(id).style.background='#009900';
}
document.getElementById("Ghosts").innerHTML = "[debug] If you see any of these debug messages, please send a screenshot to Genzzry#9361 on Discord<br/><br/>";
document.getElementById("Ghosts").innerHTML = "[debug] If you see any of these debug messages, please send a screenshot to FiZi#0001 on Discord<br/><br/>";
var Evidence = "ev_" + buttonArray[id][1];
Evidence = Evidence.replace(" ", "_");
......@@ -190,7 +171,7 @@
if (ghostsLeft.length == ghostArray.length)
{
document.getElementById("Ghosts").innerHTML = "<br/>Please click / tap an evidence above.<br/><br/>Black = Unknown<br/>Green = I found this evidence<br/>Red = It's not this... (careful!)";
document.getElementById("Ghosts").innerHTML = "<br/>Please click / tap an evidence above.<br/><br/>Black = Unknown<br/>Green = I found this evidence";
document.getElementById("reset").innerHTML = "Reset Evidence";
}
......@@ -256,9 +237,8 @@
<div>
<p id="Ghosts">
<br/>Please click / tap an evidence above.<br/><br/>
Black = Unknown<br/>
Green = I found this evidence<br/>
Red = It's not this... (careful!)
Black = Not found<br/>
Green = Found evidence
</p>
</div>
<div style="clear: both;"><button id="reset" onClick="buttonReset()">Reset Evidence</button></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment