summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorlizhineng <[email protected]>2013-06-29 16:25:38 +0800
committerlizhineng <[email protected]>2013-06-29 16:25:38 +0800
commitceb4ee6845a16ff898b8e54213e490ca6638982c (patch)
treec469949235705335db4cdfcc3fe2dd46d57f57ca /css
parent45f3be5425870f9b4cf9a60f2f950fa3dd7807ef (diff)
downloadword-search-game-ceb4ee6845a16ff898b8e54213e490ca6638982c.tar.gz
word-search-game-ceb4ee6845a16ff898b8e54213e490ca6638982c.zip
Finished the basic framework
Diffstat (limited to 'css')
-rw-r--r--css/style.min.css1
-rw-r--r--css/wordseach.css6
-rw-r--r--css/wordseach.min.css1
3 files changed, 7 insertions, 1 deletions
diff --git a/css/style.min.css b/css/style.min.css
new file mode 100644
index 0000000..36d31ef
--- /dev/null
+++ b/css/style.min.css
@@ -0,0 +1 @@
+body,h1{margin:0;padding:0}h1{text-transform:uppercase}body{color:#333}.wrap{width:960px;margin:0 auto;padding:40px 0;text-align:center}.logo,#gameArea{margin-bottom:40px}.ws-area,.ws-words{display:inline-block;vertical-align:top}.ws-words{margin-left:20px;text-align:left}.ws-word{margin-bottom:4px} \ No newline at end of file
diff --git a/css/wordseach.css b/css/wordseach.css
index 0c26836..4f13702 100644
--- a/css/wordseach.css
+++ b/css/wordseach.css
@@ -19,6 +19,10 @@
cursor: pointer;
}
-.ws-selected {
+.ws-col.ws-selected {
background: #eee;
}
+
+.ws-found {
+ background: yellow;
+} \ No newline at end of file
diff --git a/css/wordseach.min.css b/css/wordseach.min.css
new file mode 100644
index 0000000..ac2f261
--- /dev/null
+++ b/css/wordseach.min.css
@@ -0,0 +1 @@
+.ws-area{background:#fafafa;display:inline-block;padding:20px;border-radius:10px;-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-col.ws-selected{background:#eee}.ws-found{background:yellow} \ No newline at end of file