Add ability to restart the game
This commit is contained in:
+21
-9
@@ -3,47 +3,59 @@
|
||||
}
|
||||
|
||||
body {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
font-size: 16px;
|
||||
font-family: monospace;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.entry {
|
||||
background: black;
|
||||
border: none;
|
||||
border-top: 1px solid gray;
|
||||
border-top: 1px solid #444;
|
||||
color: green;
|
||||
flex: 0 0 auto;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
outline: none;
|
||||
padding: 0.5em 1em;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.game {
|
||||
display: flex;
|
||||
flex: 1 1 100%;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
justify-content: stretch;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.log {
|
||||
background: black;
|
||||
color: green;
|
||||
height: 600px;
|
||||
flex: 1 1 100%;
|
||||
overflow-y: auto;
|
||||
padding: 0.25em 1em;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.status {
|
||||
background: black;
|
||||
border: none;
|
||||
border-bottom: 1px solid gray;
|
||||
border-bottom: 1px solid #444;
|
||||
color: green;
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
padding: 0.5em 1em;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.score {
|
||||
|
||||
Reference in New Issue
Block a user