Giving image representation a top and left border
plus some other minor visual cleanups to web game.
This commit is contained in:
@@ -43,15 +43,32 @@
|
||||
$('#play').click(function() { goToNextState(curState, true); });
|
||||
});
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 0 auto;
|
||||
width: 1024px;
|
||||
}
|
||||
|
||||
#state_container {
|
||||
margin-top: 21px;
|
||||
padding-top: 9px;
|
||||
border-top: 1px solid #999;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Conway's Game of Life</h1>
|
||||
<div id="controls">
|
||||
<button id="step">Step</button>
|
||||
<button id="play">Play</button>
|
||||
</div>
|
||||
<hr />
|
||||
<div id="state_container">
|
||||
<div id="container">
|
||||
<h1>Conway's Game of Life</h1>
|
||||
<div id="controls">
|
||||
<button id="play">Play</button>
|
||||
<button id="step">Step</button>
|
||||
</div>
|
||||
<div id="state_container">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user