mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-10-20 10:24:18 +00:00
various content, html and css changes
This commit is contained in:
parent
aec6bf8eb6
commit
c50bdde525
@ -3,6 +3,7 @@
|
||||
src: url("../fonts/Data_70_LET.ttf");
|
||||
}
|
||||
body {
|
||||
display: none;
|
||||
font-family: "Data 70";
|
||||
background-color: #000;
|
||||
}
|
||||
@ -13,12 +14,12 @@ h1, h2, h3, p, label {
|
||||
h1 {
|
||||
font-size: 80px;
|
||||
}
|
||||
p {
|
||||
font-size: 18px;
|
||||
h2 {
|
||||
font-size: 24px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
p {
|
||||
font-size: 18px;
|
||||
}
|
||||
.centerer {
|
||||
margin: auto;
|
||||
@ -41,6 +42,6 @@ label {
|
||||
background-color: #000;
|
||||
color: #3ef74e;
|
||||
font-family: "Data 70";
|
||||
font-size: 25px;
|
||||
font-size: 24px;
|
||||
border: 0;
|
||||
}
|
||||
|
@ -10,11 +10,12 @@
|
||||
<body>
|
||||
<div class="centerer">
|
||||
<h1>RobotWar</h1>
|
||||
<p>Welcome to the future. It is the year 2002. Wars still rage, but they are only fought by robots.</p>
|
||||
<form>
|
||||
<label>Type in the names of the robots you want to pit against each other, then press return:</label>
|
||||
<input id="programsInput" type="text" autofocus></input>
|
||||
</form>
|
||||
<h2>Welcome to the future. It is the year 2002. <br />
|
||||
Wars still rage, but they are only fought by robots.</h2>
|
||||
<p>Type the names of up to five programs to load into the battle robots.</p>
|
||||
<p>You may choose more than one of each.</p>
|
||||
<p>Then press return.</p>
|
||||
<input id="programsInput" type="text" autofocus></input>
|
||||
<canvas id="canvas" width="600" height="600"></canvas>
|
||||
</div>
|
||||
<audio id="shotSound1" preload="auto">
|
||||
|
Loading…
Reference in New Issue
Block a user