Compare commits

...

2 Commits

Author SHA1 Message Date
tmn b9c458694f Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	style.css
4 years ago
tmn a6688b60c1 +Navigations Bar 4 years ago

@ -7,6 +7,12 @@
<script src="code.js"></script>
</head>
<body>
<ul>
<li><a class="active" href="#index">Play</a></li>
<li><a href="#HighScore">HighScore</a></li>
<li style="float:right"><a href="#Nickname">Nickname</a></li>
</ul>
<table id="gameTable" class="game">
<tr id="row0" class="game rows">
<td id="field0" class="game fields" onclick="selectField(this)"></td>

@ -1,3 +1,35 @@
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
border-right:1px solid #bbb;
}
li:last-child {
border-right: none;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
#gameTable{
position: absolute;
transform: translate(-50%, -50%);

Loading…
Cancel
Save