diff --git a/game/begin.coffee b/game/begin.coffee index ee74dc5..481ed6b 100644 --- a/game/begin.coffee +++ b/game/begin.coffee @@ -34,23 +34,11 @@ $(document).ready(() -> salet.goBack() ) $("#night").on("click", () -> + $("#night").toggleClass("active") + $("body").toggleClass("night") if (window.night) - styles = { - "-webkit-filter": "" - "filter": "" - "background-color": "" - } - $("body").css(styles) - $("#night").removeClass("active") window.night = false else - styles = { - "-webkit-filter": "invert(1)hue-rotate(180deg)" - "filter": "invert(1)hue-rotate(180deg)" - "background-color": "#000" - } - $("body").css(styles) - $("#night").addClass("active") window.night = true ) diff --git a/game/language/en.coffee b/game/language/en.coffee index 5cf7f0d..ad44da0 100644 --- a/game/language/en.coffee +++ b/game/language/en.coffee @@ -55,16 +55,16 @@ en_lang = meet_alexey: """ — Good evening. - - Hello to you. I'm Alex. + — Hello to you. I'm Alex. You introduce yourself. """ meet_margo: """ - - Good evening. + — Good evening. You introduce yourself. Lady burns your eyes and replies: - - Margarita. + — Margarita. — Very nice. @@ -96,7 +96,7 @@ en_lang = alexey_speed_answ: """ — What do you think will come soon? - - We will arrive as the come. + — We will arrive as the come. They also have a schedule. You want to play cards? @@ -228,13 +228,13 @@ en_lang = He's hiding in the far corner, where you can see it well. When Margaret discovers the loss, it raises a cry. - - Help! Julia! Julia! She could be anywhere in the car! + — Help! Julia! Julia! She could be anywhere in the car! Apparently, the ferret was a girl. Hostess goes, but after a while returned with a guide wagon. - - I do speak, she could not run away. + — I do speak, she could not run away. Let's look for first in your compartment. Just then you and I need a guide. @@ -286,7 +286,7 @@ en_lang = And if your plan succeeds, it will remain here with you. """ final: """ - - Ah, there you are! + — Ah, there you are! The conductor goes to the ferret, but instead slips on a puddle of your blood. He falls and hits his head on the corner of the shelf. If it survives, it will be a long time to be ill. diff --git a/sass/main.scss b/sass/main.scss index 4dfd629..f61fab8 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -187,3 +187,18 @@ hr { .center { text-align: center; } +.night { + background-color: #000; + #content_wrapper, + #tools_wrapper { + background: transparent; + } + color: #fff; + .muted, + #legal { + color: #eee; + } + a { + color: lighten($link-color, 30%); + } +}