diff --git a/views/application.scss b/views/application.scss index 5002fe1..c5b5810 100644 --- a/views/application.scss +++ b/views/application.scss @@ -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; } diff --git a/views/layout.slim b/views/layout.slim index 44a7989..387fb39 100644 --- a/views/layout.slim +++ b/views/layout.slim @@ -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 - == yield - + div#main + == yield