Did the same stuff as 404.html

This commit is contained in:
Sophia Atkinson 2021-09-21 00:21:51 -07:00 committed by GitHub
parent 63fbd6818f
commit b9a8b13812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 20 deletions

View File

@ -13,12 +13,12 @@
@import url("https://fonts.googleapis.com/css?family=VT323"); @import url("https://fonts.googleapis.com/css?family=VT323");
::selection { ::selection {
color: rgb(68, 233, 27); color: rgb(170,28,255);
background: transparent; background: transparent;
} }
::-moz-selection { ::-moz-selection {
color: rgb(68, 233, 27); color: rgb(170,28,255);
background: transparent; background: transparent;
} }
@ -29,7 +29,7 @@
} }
body { body {
background-color: #000000; background-color: #121212;
} }
.wrap { .wrap {
@ -46,7 +46,7 @@
display: none; display: none;
border-style: solid; border-style: solid;
border-width: 10px; border-width: 10px;
border-color: rgb(68, 233, 27); border-color: rgb(170,28,255);
} }
canvas:focus { canvas:focus {
@ -58,14 +58,14 @@
display: inline-block; display: inline-block;
width: 100px; width: 100px;
font-size: 32px; font-size: 32px;
color: rgb(68, 233, 27); color: rgb(170,28,255);
} }
.score { .score {
display: inline-block; display: inline-block;
width: 240px; width: 240px;
font-size: 20px; font-size: 20px;
color: rgb(68, 233, 27); color: rgb(170,28,255);
text-align: right; text-align: right;
} }
@ -183,7 +183,7 @@
#setting input:checked+label { #setting input:checked+label {
background-color: #FFF; background-color: #FFF;
color: #000; color: #121212;
} }
</style> </style>
<script> <script>
@ -226,7 +226,7 @@
var activeDot = function (x, y) { var activeDot = function (x, y) {
ctx.fillStyle = "rgb(68, 233, 27)"; ctx.fillStyle = "rgb(170,28,255)";
ctx.fillRect(x * 10, y * 10, 10, 10); ctx.fillRect(x * 10, y * 10, 10, 10);
} }
@ -414,7 +414,7 @@
screen_snake.style.borderColor = "#606060"; screen_snake.style.borderColor = "#606060";
} }
if (wall == 1) { if (wall == 1) {
screen_snake.style.borderColor = "rgb(68, 233, 27)"; screen_snake.style.borderColor = "rgb(170,28,255)";
} }
} }
@ -554,9 +554,9 @@
<div id="gameover"> <div id="gameover">
<h2>Game Over</h2> <h2>Game Over</h2>
<p>press <p>press
<span style="background-color: rgb(68, 233, 27); color: #000000">space</span> to begin a</p> <span style="background-color: rgb(170,28,255); color: #000000">space</span> to begin a</p>
<a id="newgame_gameover">new game</a> <a id="newgame_gameover">Play Again</a>
<a id="setting_gameover">settings</a> <a id="setting_gameover">Settings</a>
</div> </div>
<!-- Setting screen --> <!-- Setting screen -->
@ -566,12 +566,16 @@
<a id="newgame_setting">new game</a> <a id="newgame_setting">new game</a>
<p>Speed: <p>Speed:
<input id="speed1" type="radio" name="speed" value="120" checked/> <input id="speed1" type="radio" name="speed" value="1000" checked/>
<label for="speed1">Slow</label> <label for="speed1">|Super Fucking Slow</label>
<input id="speed2" type="radio" name="speed" value="75" /> <input id="speed2" type="radio" name="speed" value="120" checked/>
<label for="speed2">Normal</label> <label for="speed2">|Slow</label>
<input id="speed3" type="radio" name="speed" value="35" /> <input id="speed3" type="radio" name="speed" value="75" />
<label for="speed3">Fast</label> <label for="speed3">|Normal</label>
<input id="speed4" type="radio" name="speed" value="35" />
<label for="speed4">|Fast</label>
<input id="speed5" type="radio" name="speed" value="1" />
<label for="speed5">|Super Fucking Fast</label>
</p> </p>
<p>Wall: <p>Wall:
@ -587,8 +591,8 @@
<div id="menu"> <div id="menu">
<h2>Snake</h2> <h2>Snake</h2>
<a id="newgame_menu">new game</a> <a id="newgame_menu">Play</a>
<a id="setting_menu">settings</a> <a id="setting_menu">Settings</a>
</div> </div>
<!-- <!--