From 07b26c8e57c0238e930da96b1ed64cfbb62a86dd Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 7 Jul 2011 14:31:09 +0200 Subject: [PATCH] emphasis keys in help --- css/star.css | 1 + js/star.js | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/css/star.css b/css/star.css index 1fe04e6..927b90a 100644 --- a/css/star.css +++ b/css/star.css @@ -1,4 +1,5 @@ .gstar{float:left;width:100%} +.gstar em{font-weight:bold} .gstar #blackboard{width:320px;height:180px;background:#333;float:left} .gstar #blackboard .starcell{width:20px;height:20px;display:block;float:left;text-align:center} .gstar #blackboard .wall{color:#000} diff --git a/js/star.js b/js/star.js index d06ece5..303df68 100644 --- a/js/star.js +++ b/js/star.js @@ -137,11 +137,11 @@ function format_infos( state ) { return infos; } function format_help( ) { - var help = "←↑→↓ to move around
"; - help += "Space to switch actor
"; - help += "'r' to reload
"; - help += "'n' to pass to the next level
"; - help += "'p' to go back to the previous level
"; + var help = "←↑→↓ to move around
"; + help += "Space to switch actor
"; + help += "r to reload
"; + help += "n to pass to the next level
"; + help += "p to go back to the previous level
"; return help; }