aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-03-05 11:24:38 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-03-05 11:24:38 +0800
commit1c3434d6d1c510fb40ed66644ec01fed2d6a9f88 (patch)
tree33b4deb17fb89c1c337c966525aa4261c938359b /index.html
parent003dac913d919168543a8e618ea6b8f06c94ff3b (diff)
downloadminesweeperjs-1c3434d6d1c510fb40ed66644ec01fed2d6a9f88.tar.xz
A little code refactoring and minor bug fixes.gh-pages
Diffstat (limited to 'index.html')
-rw-r--r--index.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/index.html b/index.html
index 3c814ec..3b1decf 100644
--- a/index.html
+++ b/index.html
@@ -15,6 +15,12 @@ div#OptionsContainer
text-align:center;
margin:auto;
}
+select
+{
+ background-color:#CCC;
+ border:1px #999 solid;
+ padding:0.5em 0.2em;
+}
button
{
border:none;
@@ -127,23 +133,23 @@ document.getElementsByTagName("head")[0].appendChild(link);
<li><h3>Minesweeper</h3></li>
<li>
Difficulty:
- <select id="bsize">
+ <select id="bsize" class="TText">
<option value="1">Easy</option>
<option value="2">Normal</option>
<option value="3">Hard</option>
</select>
</li>
<li>Multimine:
- <button id="multim" onclick="multiminetoggle();" class="off">Off</button>
+ <button id="multim" onclick="multiminetoggle();" class="off TText">Off</button>
</li>
<li>Effects:
- <button id="efx" onclick="efxtoggle();">On</button>
+ <button id="efx" class="TText" onclick="efxtoggle();">On</button>
</li>
<li>Sounds:
- <button id="sfx" onclick="sfxtoggle();">On</button>
+ <button id="sfx" class="TText" onclick="sfxtoggle();">On</button>
</li>
<li><a href="javascript:void(0);" onclick="document.getElementById('help').style.opacity='1';document.getElementById('help').style.zIndex='1000';">Help</a></li>
- <li>version: 0.8.7+b1</li>
+ <li>version: 0.8.7+b3</li>
</div>
<div id="OptionsContainer" class="TText">
<button id="start" onclick="gameInit();">New Game</button>