Compare commits

..

2 Commits

Author SHA1 Message Date
a7f203dacd background 2025-12-01 11:06:14 +07:00
47f506b6de test 1 2025-12-01 10:57:38 +07:00
2 changed files with 75 additions and 19 deletions

View File

@ -1,17 +1,68 @@
.header {
/* layout header */
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 10px;
width: 100%;
box-sizing: border-box;
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;
}
/* glass style */
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);
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 10px;
width: 100%;
/* nested element styling */
}
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;
}

View File

@ -4,23 +4,28 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Card</title>
<link rel="stylesheet" href="">
<link rel="stylesheet" href="gameboard.css">
</head>
<body>
<div id = "container">
<div class="header">
<div class="right-info">
<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>
</div>
</header>
</div>
</body>
</html>