Center game in the page

master
Guillaume Dott 2014-12-05 17:58:52 +01:00
parent 1c408c250c
commit c94e19577f
2 changed files with 11 additions and 12 deletions

View File

@ -1,6 +1,14 @@
body {
background-color: #aaa;
font-family: Verdana,Arial,sans-serif;
background-color: #aaa;
margin: 0;
padding: 0;
}
#main {
width: 500px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
.game-container {
cursor: default;
@ -25,15 +33,6 @@ body {
font-size: 1.2em;
}
table {
border-collapse: collapse;
}
td {
border: 1px solid black;
height: 20px;
width: 20px;
text-align: center;
}
.white {
background-color: #fff;
}

View File

@ -6,5 +6,5 @@ html
meta name="viewport" content="initial-scale=1.0, user-scalable=yes"
link rel="stylesheet" media="all" href="/application.css"
body
div#main
== yield