Merge branch 'main' of https://git-eng.ukwms.ac.id/2526-web/Kelompok02-Memory-Card
This commit is contained in:
commit
f6126fe911
@ -12,7 +12,6 @@ body {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TOPBAR */
|
|
||||||
.topbar {
|
.topbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -44,7 +43,6 @@ body {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TITLE */
|
|
||||||
.title {
|
.title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
@ -55,7 +53,6 @@ body {
|
|||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FILTER BUTTONS */
|
|
||||||
.filter-container {
|
.filter-container {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -73,7 +70,6 @@ body {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.filter-btn.active {
|
.filter-btn.active {
|
||||||
background: white;
|
background: white;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
@ -121,7 +117,7 @@ thead {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card h2 {
|
.card h2 {
|
||||||
color: white;
|
color: rgb(255, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button id="leaderboardBtn" class="btn gold">🏆 Leaderboard</button>
|
<button id="leaderboardBtn" class="btn gold" onclick="window.location.href='leaderboard.html'">🏆 Leaderboard</button>
|
||||||
<button id="logoutBtn" class="btn gray">🚪 Logout</button>
|
<button id="logoutBtn" class="btn gray">🚪 Logout</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@ -7,9 +7,8 @@ function selectStage(stage) {
|
|||||||
window.location.href = "gameboard-hard.html";
|
window.location.href = "gameboard-hard.html";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.getElementById("leaderboardBtn").addEventListener("click", () => {
|
|
||||||
alert("Menuju Leaderboard");
|
document.getElementById("leaderboardBtn").addEventListener("click", () => {window.location.href = "Leaderboard.html"});
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById("logoutBtn").addEventListener("click", () => {
|
document.getElementById("logoutBtn").addEventListener("click", () => {
|
||||||
alert("Logout berhasil!");
|
alert("Logout berhasil!");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user