ubah login dan merapihkan
This commit is contained in:
commit
1cc5168362
68
gameboard.css
Normal file
68
gameboard.css
Normal file
@ -0,0 +1,68 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: linear-gradient(135deg, #8a2be2 0%, #cc2b89 50%, #ff8a3d 100%);
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
font-family: "Poppins", sans-serif;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 6px 10px;
|
||||
width: 100%;
|
||||
|
||||
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
backdrop-filter: blur(14px);
|
||||
|
||||
border-top: 2px solid rgba(255, 255, 255, 0.4);
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.4);
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
.back-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 26px;
|
||||
cursor: pointer;
|
||||
color: #1a1a1a;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
|
||||
.right-info {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
|
||||
.pill {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
padding: 4px 10px;
|
||||
border-radius: 20px;
|
||||
|
||||
background: rgba(173, 216, 255, 0.45);
|
||||
backdrop-filter: blur(10px);
|
||||
|
||||
border: 1.8px solid rgba(255, 255, 255, 0.8);
|
||||
|
||||
font-size: 16px;
|
||||
color: #002a60;
|
||||
|
||||
box-shadow:
|
||||
0 2px 4px rgba(0,0,0,0.15),
|
||||
inset 0 0 4px rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
|
||||
.icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
@ -3,9 +3,29 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<title>Memory Card</title>
|
||||
<link rel="stylesheet" href="gameboard.css">
|
||||
</head>
|
||||
<body>
|
||||
test
|
||||
<div id = "container">
|
||||
<header class="topbar">
|
||||
<button class="back-btn">←</button>
|
||||
|
||||
<div class="right-info">
|
||||
<div class="pill">
|
||||
<span class="icon">⏱</span> 60s
|
||||
</div>
|
||||
|
||||
<div class="pill">
|
||||
<span class="icon">⭐</span> 0
|
||||
</div>
|
||||
|
||||
<div class="pill">
|
||||
<span class="icon">🎯</span> 0
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user