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

View File

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

View File

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