From 62b4ceadd3ecd667d14873ee756fa7c8cb7a45d2 Mon Sep 17 00:00:00 2001 From: Shmuel83 Date: Tue, 21 Jun 2016 13:26:54 +0200 Subject: Fix minor Bug If user re-select a word always find, this.solved is increment. Now : To increment variable if the word of the list isn't I fix a bug for me : in list, First letter Upper, with CSS instead of javascript --- css/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'css') diff --git a/css/style.css b/css/style.css index 6c4a5ef..51304ed 100644 --- a/css/style.css +++ b/css/style.css @@ -51,4 +51,8 @@ body { .ws-word { margin-bottom: 4px; +} + +.ws-words ::first-letter{ + text-transform : capitalize; } \ No newline at end of file -- cgit v1.2.3 From 7b2f828cb982c6a05db9370963186cbee97a3b5f Mon Sep 17 00:00:00 2001 From: Shmuel83 Date: Wed, 22 Jun 2016 11:04:34 +0200 Subject: Minify To resume : Fix minor bug : If user select the same word, do nothing On list : First letter Upper On grid : Delete accents for lattin letters (french, Spanish...) and hebrew letters Write on grid the same letters : available to Latin/Hebrew/Greek/Cyrillic/Arab/Chinese/Hiragana --- css/style.min.css | 2 +- index.html | 10 +++++----- js/wordsearch.js | 4 +--- js/wordsearch.min.js | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) (limited to 'css') diff --git a/css/style.min.css b/css/style.min.css index 98940d1..6754647 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}.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 +body,h1{margin:0;padding:0}h1{text-transform:uppercase}body{color:#333}.fix:after{display:table;clear:both;content:''}.wrap{width:960px;margin:0 auto;padding:40px 0;text-align:center;position:relative}#gameArea,.logo{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}.ws-words ::first-letter{text-transform:capitalize} \ No newline at end of file diff --git a/index.html b/index.html index acf1913..28574fc 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,8 @@ Word search game - - + +
@@ -13,11 +13,11 @@
    Fork me on GitHub - - + +