From eabde5c2262f4efa8a6a0b229652bb8aacded506 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 21 Mar 2012 21:51:47 -0400 Subject: [PATCH] Added menu to top of game "window" (non-functional) --- index.html | 8 ++++++++ style.css | 29 ++++++++++++++++++++++++----- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index ae2f46b..c7c8050 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,14 @@
+ + Your web browser does not support the canvas element. diff --git a/style.css b/style.css index 7dd8b3b..dad61f5 100644 --- a/style.css +++ b/style.css @@ -14,6 +14,30 @@ body { width: 696px; } +.game ul.menu { + list-style: none; + + margin: 0; + padding: 0; + + line-height: 1.4em; + cursor: default; +} + +.game ul.menu li { + margin: 0px 1px; + padding: 0px 0.4em; + + float: left; +} + +.game ul.menu li:hover { + border-left: 1px solid #d3d7cf; + border-right: 1px solid #888a85; + + margin: 0px; +} + /* 16x16 board */ .game canvas { width: 512px; @@ -32,8 +56,3 @@ body { right: 0px; top: 0px; } - -/** temporary during development **/ -.load { - background-color: rgba( 255, 255, 255, 0.5 ); -}