diff options
| author | Li Zhineng <[email protected]> | 2016-02-11 11:31:23 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2016-02-11 11:31:23 +0800 |
| commit | 4e0eb400d47e9ef3ded2b719348c0aa7b56a4530 (patch) | |
| tree | d094af77cc9a17bbfaa7ac0d68040f5d4c91a7a7 /css/wordsearch.css | |
| parent | e46f1f131101a24910c5073d6cb6ff7189891663 (diff) | |
| parent | 8c81bfbcdf3451ae634927a1270c40941ba02d5e (diff) | |
| download | word-search-game-4e0eb400d47e9ef3ded2b719348c0aa7b56a4530.tar.gz word-search-game-4e0eb400d47e9ef3ded2b719348c0aa7b56a4530.zip | |
Merge pull request #1 from stvnthomas/master
Functionality
Diffstat (limited to 'css/wordsearch.css')
| -rw-r--r-- | css/wordsearch.css | 65 |
1 files changed, 65 insertions, 0 deletions
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 |
