Files
2026-09-16 23:20:08 +07:00

133 lines
2.5 KiB
CSS

/* Base Styles for LIFF & Magic UI Feel */
body {
font-family: 'Sarabun', 'Prompt', sans-serif;
background-color: #f4f7f6;
margin: 0;
padding: 0;
color: #333;
}
/* Shiny Effect for Logo */
.shiny-logo {
position: relative;
display: inline-block;
overflow: hidden;
border-radius: 12px; /* adjust based on logo shape */
}
.shiny-logo img {
display: block;
max-width: 100%;
height: auto;
}
.shiny-logo::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(
to right,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.6) 50%,
rgba(255, 255, 255, 0) 100%
);
transform: skewX(-25deg);
animation: shine 3s infinite;
}
@keyframes shine {
0% {
left: -100%;
}
20% {
left: 200%;
}
100% {
left: 200%;
}
}
/* Magic UI Style Buttons & Cards */
.card {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
padding: 20px;
margin-bottom: 20px;
}
.btn-magic {
background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
color: white;
border: none;
border-radius: 8px;
padding: 10px 20px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
text-align: center;
display: inline-block;
text-decoration: none;
width: 100%;
box-sizing: border-box;
}
.btn-magic:hover {
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(0, 114, 255, 0.3);
}
.menu-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-top: 20px;
}
.menu-item {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 12px;
padding: 20px 10px;
text-align: center;
text-decoration: none;
color: #333;
font-weight: 600;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.02);
transition: all 0.3s ease;
}
.menu-item:hover {
background: #f0f7ff;
border-color: #0072ff;
transform: translateY(-3px);
}
.menu-icon {
font-size: 32px;
margin-bottom: 10px;
color: #0072ff;
}
/* Header */
.header {
text-align: center;
padding: 30px 20px;
background: #fff;
border-bottom: 1px solid #eaeaea;
}
.header h1 {
font-size: 24px;
margin: 10px 0 0;
color: #0072ff;
}