summaryrefslogtreecommitdiff
path: root/css/wordsearch.css
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-04-30 10:33:23 +0800
committerZhineng Li <[email protected]>2026-04-30 10:34:20 +0800
commit68c9b7560642c802ca3bfe6d7e0f7a8c54412c40 (patch)
treea262f6e37f4991cc5c8d88b50993c58af722e70c /css/wordsearch.css
parent6f2282ca7c13fdb43f21e8f52ac20235ff7e4ded (diff)
downloadword-search-game-68c9b7560642c802ca3bfe6d7e0f7a8c54412c40.tar.gz
word-search-game-68c9b7560642c802ca3bfe6d7e0f7a8c54412c40.zip
keyboard & touch navigation, configurable settings, and refactor
- keyboard support: arrow keys or `hjkl` to move cursor, Space to start selection, Enter to confirm, Escape to cancel - configurable settings: word placement directions, grid size, cell size, colors, fonts, debug mode, and more via `GameSettings` - modernize CSS (logical properties, grid layout) and HTML semantics - refactor JavaScript code around single-responsibility principles
Diffstat (limited to 'css/wordsearch.css')
-rw-r--r--css/wordsearch.css65
1 files changed, 0 insertions, 65 deletions
diff --git a/css/wordsearch.css b/css/wordsearch.css
deleted file mode 100644
index 149c36e..0000000
--- a/css/wordsearch.css
+++ /dev/null
@@ -1,65 +0,0 @@
-/* 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