summaryrefslogtreecommitdiff
path: root/css/style.css
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2013-06-10 16:40:34 +0800
committerLi Zhineng <[email protected]>2013-06-10 16:40:34 +0800
commita92f6af5807669013aa40771690e0472d7f5da9d (patch)
tree9423367249ab2032ad1d0d7b0007144759bea247 /css/style.css
parent006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152 (diff)
downloadword-search-game-a92f6af5807669013aa40771690e0472d7f5da9d.tar.gz
word-search-game-a92f6af5807669013aa40771690e0472d7f5da9d.zip
Code refactoring
Diffstat (limited to 'css/style.css')
-rw-r--r--css/style.css21
1 files changed, 18 insertions, 3 deletions
diff --git a/css/style.css b/css/style.css
index b84e219..682d445 100644
--- a/css/style.css
+++ b/css/style.css
@@ -52,14 +52,29 @@ body {
/* ==========================================
/*
-/* GAMEAREA
+/* Game area
/*
/* ========================================== */
-#ws-area {
+.ws-area {
background: #fafafa;
display: inline-block;
padding: 20px;
border-radius: 10px;
- position: relative;
+ -moz-user-select: -moz-none;
+ -khtml-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+}
+
+.ws-row {
+ line-height: 0;
+}
+
+.ws-col {
+ cursor: pointer;
+}
+
+.ws-selected {
+ background: #ddd;
} \ No newline at end of file