summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2016-02-11 11:31:23 +0800
committerLi Zhineng <[email protected]>2016-02-11 11:31:23 +0800
commit4e0eb400d47e9ef3ded2b719348c0aa7b56a4530 (patch)
treed094af77cc9a17bbfaa7ac0d68040f5d4c91a7a7 /css
parente46f1f131101a24910c5073d6cb6ff7189891663 (diff)
parent8c81bfbcdf3451ae634927a1270c40941ba02d5e (diff)
downloadword-search-game-4e0eb400d47e9ef3ded2b719348c0aa7b56a4530.tar.gz
word-search-game-4e0eb400d47e9ef3ded2b719348c0aa7b56a4530.zip
Merge pull request #1 from stvnthomas/master
Functionality
Diffstat (limited to 'css')
-rw-r--r--css/style.css1
-rw-r--r--css/style.min.css2
-rw-r--r--css/wordseach.css28
-rw-r--r--css/wordseach.min.css1
-rw-r--r--css/wordsearch.css65
-rw-r--r--css/wordsearch.min.css1
6 files changed, 68 insertions, 30 deletions
diff --git a/css/style.css b/css/style.css
index f68994c..6c4a5ef 100644
--- a/css/style.css
+++ b/css/style.css
@@ -32,6 +32,7 @@ body {
margin: 0 auto;
padding: 40px 0;
text-align: center;
+ position:relative;
}
.logo, #gameArea {
diff --git a/css/style.min.css b/css/style.min.css
index 36d31ef..98940d1 100644
--- a/css/style.min.css
+++ b/css/style.min.css
@@ -1 +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
+body,h1{margin:0;padding:0}h1{text-transform:uppercase}body{color:#333}.fix{zoom:1}.fix:after{display:table;clear:both;content:''}.wrap{width:960px;text-align:center;position:relative;margin:0 auto;padding:40px 0}.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
deleted file mode 100644
index 4f13702..0000000
--- a/css/wordseach.css
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Wordseach */
-
-.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
diff --git a/css/wordseach.min.css b/css/wordseach.min.css
deleted file mode 100644
index ac2f261..0000000
--- a/css/wordseach.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.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
diff --git a/css/wordsearch.css b/css/wordsearch.css
new file mode 100644
index 0000000..149c36e
--- /dev/null
+++ b/css/wordsearch.css
@@ -0,0 +1,65 @@
+/* Wordsearch */
+
+.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;
+}
+
+.ws-game-over-outer {
+ background: rgba(0, 0, 0, 0.85);
+ height: 100%;
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 100%;
+}
+
+.ws-game-over-inner {
+ width:100%;
+ height:100%;
+ padding:0;
+ margin:0;
+ display:table;
+}
+
+.ws-game-over {
+ display:table-cell;
+ vertical-align:middle;
+}
+
+.ws-game-over h2 {
+ color:#FFFFFF;
+ font-size:2em;
+ text-transform:uppercase;
+ padding:0;
+ margin:0 0 9px 0;
+}
+
+.ws-game-over p {
+ color:#FFFFFF;
+ font-size:1em;
+ padding:0;
+ margin:0;
+} \ No newline at end of file
diff --git a/css/wordsearch.min.css b/css/wordsearch.min.css
new file mode 100644
index 0000000..0e49dc3
--- /dev/null
+++ b/css/wordsearch.min.css
@@ -0,0 +1 @@
+.ws-area{background:#fafafa;display:inline-block;border-radius:10px;-moz-user-select:0;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:20px}.ws-row{line-height:0}.ws-col{cursor:pointer}.ws-col.ws-selected{background:#eee}.ws-found{background:#FF0}.ws-game-over-outer{background:rgba(0,0,0,0.85);height:100%;left:0;position:absolute;top:0;width:100%}.ws-game-over-inner{width:100%;height:100%;display:table;margin:0;padding:0}.ws-game-over{display:table-cell;vertical-align:middle}.ws-game-over h2{color:#FFF;font-size:2em;text-transform:uppercase;margin:0 0 9px;padding:0}.ws-game-over p{color:#FFF;font-size:1em;margin:0;padding:0} \ No newline at end of file