Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

New button for rules #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
<audio src="point_sound.mp3" id="sound">
Audio tag not supported!
</audio>
<a href="https://brilliant.org/wiki/chain-reaction-game/" target="_blank">Rules</a>
<br><br>
<a class="Rules" href="https://brilliant.org/wiki/chain-reaction-game/" target="_blank">Rules</a>
<script src="script.js"></script>
<div class='undoMessage' style='display:none' id ='undoError' >Only one move can be Undone!</div>
</div>
Expand Down
24 changes: 23 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,26 @@ canvas
-webkit-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
-moz-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
}
}

.Rules {
background-color:#f9f9f9;
border-radius:10px;
border:1px solid #dcdcdc;
display:inline-block;
cursor:pointer;
color:#666666;
font-family:Arial;
font-size:19px;
padding:2px 11px;
text-decoration:none;
}
.Rules:hover {
background-color:#e9e9e9;
}
.Rules:active {
position:relative;
top:1px;
}