Compare commits

..

No commits in common. "445d195adfdff538eb0018cf8421376bd352ae02" and "d0459d99f891dc6416b5a9e58ade2e8a3dc9c656" have entirely different histories.

8 changed files with 65 additions and 44 deletions

View File

@ -5,12 +5,6 @@ include "koneksi.php";
<!DOCTYPE html>
<html lang="en">
<style>
body {
background: linear-gradient(to bottom right, #A3D438, #004D40);
height: 568px;
}
</style>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

48
home.html Normal file
View File

@ -0,0 +1,48 @@
<html>
<style>
body {
background-image: url();
}
h1 {
text-align: center;
margin-top: 10%;
font-size: 85px;
}
.container {
padding: 5px;
border: 2px solid; /* Nanti dihapus */
border-radius: 7pt; /* Nanti dihapus */
width: 70%;
justify-self: center;
background-image: url();
}
#button {
font-size: 35px;
margin-top: 5%;
width: 50%;
margin-bottom: 5%;
border: 1px solid;
border-radius: 3pt;
padding: 2px;
justify-self: center;
text-align: center;
}
</style>
<body>
<h1>EAT THAT APPLE</h1>
<div class="container">
<a href="game.html">
<div id="button">Play Game</div>
</a>
<div id="button">Leaderboard</div>
<div id="button">Logout</div>
</div>
<input type="text">
</body>
<script></script>
</html>

View File

@ -10,24 +10,21 @@ if(!isset($_SESSION['users'])) {
<html lang="id">
<style>
body {
background: linear-gradient(to bottom right, #A3D438, #004D40);
height: 526px;
background-image: url();
}
h1 {
text-align: center;
margin-top: 10%;
font-size: 40px;
box-sizing: border-box;
font-size: 85px;
}
.container {
padding: 5px;
border: 2px solid; /* Nanti dihapus */
border-radius: 7pt; /* Nanti dihapus */
width: 65%;
height: 55%;
width: 70%;
justify-self: center;
/* background-image: url(); */
background-image: url();
}
#button {
@ -41,8 +38,6 @@ if(!isset($_SESSION['users'])) {
justify-self: center;
text-align: center;
}
</style>
@ -62,21 +57,16 @@ if(!isset($_SESSION['users'])) {
<!-- <h1>EAT THAT APPLE</h1> -->
<div class="container">
<div class="b2">
<a href="game.html">
<div id="button">Play Game</div>
</a>
</div>
<div class="b2">
<a href="http://localhost/uas_sem_1/leaderboard.php">
<div id="button">Leaderboard</div>
</a>
</div>
<div class="b2">
<a href="http://localhost/uas_sem_1/logout.php">
<div id="button">Logout</div>
</a>
</div>
</div>
</body>
</html>

View File

@ -31,13 +31,7 @@ if($result) {
<!DOCTYPE html>
<html lang="id">
<style>
body {
background: linear-gradient(to bottom right, #A3D438, #004D40);
height: 568px;
}
</style>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

View File

@ -23,15 +23,10 @@ if(isset($_POST['username'])) {
<html lang="id">
<style>
body {
background: linear-gradient(to bottom right, #A3D438, #004D40);
/* height: 568px; */
background-color: limegreen;
}
.login {
/* background-image: url('login/login.png'); */
background-repeat: no-repeat;
background-size: 300px 190px;
background-position: center top;
height: 568px;
background-image: url('login/log.png');
}
</style>
<head>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB