styling seikhlasnya hhe

This commit is contained in:
Daud 2025-12-07 16:10:43 +07:00
parent d0459d99f8
commit bec50810ef
7 changed files with 44 additions and 17 deletions

View File

@ -5,6 +5,12 @@ 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">

View File

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

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

BIN
succes/logsuc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB