From e6f82fcaa83ccfb293da354667d0b64a01f0e366 Mon Sep 17 00:00:00 2001 From: Denis Date: Sat, 10 Jan 2015 13:53:49 +0200 Subject: [PATCH] Implementing Translation & Tweaking Mobile --- src/en/index.html | 260 +++++++++++++++++++++--------------------- src/img/ro.png | Bin 0 -> 702 bytes src/img/usa.png | Bin 0 -> 536 bytes src/index.html | 260 +++++++++++++++++++++--------------------- src/m/index.html | 2 +- src/m/words.js | 7 ++ src/styles/styles.css | 25 +++- 7 files changed, 289 insertions(+), 265 deletions(-) create mode 100644 src/img/ro.png create mode 100644 src/img/usa.png create mode 100644 src/m/words.js diff --git a/src/en/index.html b/src/en/index.html index 10f7259..e5c606b 100644 --- a/src/en/index.html +++ b/src/en/index.html @@ -1,131 +1,133 @@ - - - Hagman - - - - - - - - - - - - - - - - - -
-

Hangman!

- -
- - - - - - - + + Hagman + + + + + + + + + + + + + + + +
+

Hangman!

+ +
+ + + + + \ No newline at end of file diff --git a/src/img/ro.png b/src/img/ro.png new file mode 100644 index 0000000000000000000000000000000000000000..5aaee91273cc59c79934ec18f53f729dc57b8e88 GIT binary patch literal 702 zcmV;v0zv(WP)r@eP(z$ilEM;gPFVyl1&7}SmNfA|lOfD4ymVg!GH-wSuHq%Ek4GU&!c z5-@SAi7uwNFtHtwwuF|CcJ6p)rU`UG!kN{~&3W$ozUK@>dodiX{Pu>E*CiNZ2p*5) z=8d1ooUNj%qGJ{VYCkkom*QYr*y{)Na<8(>%u9E^4_qD|P@V@){nZ_T`H2M#^sXU* zg(ZNBtz-R_0j{g?{utf2^ldrI#L#3xo=IC86gYjXY)gEd%Bj&*iF-{gQXqX)=Aj8lCfKnno^U#8xu(LT2Y@W6zR^?Y0vpXoeive1Gc!|&YRHj{%Bj@gqWKwyDK z3hrjrmDC^ZHKMQ?$u7+bReWTS0zXpV`}k0=+DyMV?&#fCQe$DZ_*darna-(eX}8US zOMt%w(99qMg*b)&zE-iBxNytSyR0Ph8Z-liYTd+g0LZk5csL+4=EOS_q`(hXp;|Yv zGLt0$DQNNo02u)cL>5#FU}VM$;@CNhGs=LHEN=-cKg_GE{RaT#+s#G*-a+rw9HS}N zwGEqf4UQLNXTo9>LZG6&W#IDz8e_WM!di|(d>Sc$M;0irg?f3BC59&pq9b8(-m*}W zu~1vYzhaDP0-~Aq2E|EZl`AjnDIGSN+z{Ney)1(-Cd4hi215 kV|N!jjlEw-{e2Iu|GdIF11w%cQUCw|07*qoM6N<$g2mlLfB*mh literal 0 HcmV?d00001 diff --git a/src/img/usa.png b/src/img/usa.png new file mode 100644 index 0000000000000000000000000000000000000000..f027ed8367e3c24a5b556735bedfff70a7855cfd GIT binary patch literal 536 zcmV+z0_XjSP)PL~N zsQB@6yb~vwrnpFR;qZI&X6DYBnL7qaS%!B`i5Ih6j-4gB6gww6zws)=!G6lY%Bm!I z`H7w5yA1ulBzi(z+7tRxTx3v - - - Spanzuratoarea - - - - - - - - - - - - - - - - - -
-

Spanzuratoarea!

- -
- - - - - - - + + Spanzuratoarea + + + + + + + + + + + + + + + +
+

Spanzuratoarea!

+ +
+ + + + + \ No newline at end of file diff --git a/src/m/index.html b/src/m/index.html index 0e5bb57..7f463a2 100644 --- a/src/m/index.html +++ b/src/m/index.html @@ -11,7 +11,7 @@ - + diff --git a/src/m/words.js b/src/m/words.js new file mode 100644 index 0000000..f0f4c01 --- /dev/null +++ b/src/m/words.js @@ -0,0 +1,7 @@ +var animale_eu = ["pisica", "caine", "lup", "vulpe", "urs", "caprioara", "vaca", "cal", "oaie", "sobolan", "soarece"]; + +var tari_eu = ["romania", "moldova", "germania", "spania", "franta", "rusia","italia", "elvetia", "suedia", "norvegia"]; + +var firme = ["google", "yahoo", "microsoft", "oracle", "amazon", "emag", "ebay", "apple", "siemens", "intel", "toyota", "dacia", "volvo"]; + +var ldp = ["javascript", "html", "css", "java", "c", "c++", "ruby", "pascal", "lisp", "erlang", "sql", "python", "perl", "lua"]; diff --git a/src/styles/styles.css b/src/styles/styles.css index 544add0..74445c0 100644 --- a/src/styles/styles.css +++ b/src/styles/styles.css @@ -4,11 +4,11 @@ } html, body { height: 100%; -} -body { background-color: #eef7fb; } + h1 { + margin: 0; text-align: center; text-overflow: ellipsis; -webkit-text-stroke: 1px #375449; @@ -30,7 +30,7 @@ h3, h5 { color: #3b7998; } footer, #content:after { - height: 50px; + height: 30px; } a { text-decoration: none; @@ -48,12 +48,24 @@ footer { color: #c9e7f3; background-color: #8aa3c8; } +.language_menu a, img { + padding: 1px; + margin: 1px auto; + display: inline; +} + +.language_menu { + display: inline; + padding: 2px; + height: 18px; + width: auto; +} .game p { color: #448aae; } .game { padding: 30px; - margin: 20px 80px 20px; + margin: 0 80px; height: 400px; border: solid 5px black; background-color: #C9E7F3; @@ -64,8 +76,8 @@ footer { #content { min-height: 100%; /* equal to footer height */ - -margin-bottom: -50px; + top: 0; + margin-bottom: -30px; } #left { float: left; @@ -146,6 +158,7 @@ margin-bottom: -50px; right: 108px; } .footer-content { + display: inline; margin: 0px 10px 0px 10px; padding-top: 15px; }