|
|
/* 🌟 Nền Gradient Đẹp & Hài Hòa */
|
|
|
body {
|
|
|
background: linear-gradient(135deg, #1E2A38, #4C6EF5);
|
|
|
min-height: 100vh;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
color: white;
|
|
|
font-family: 'Arial', sans-serif;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
/* 🪟 Hiệu ứng kính mờ đẹp mắt */
|
|
|
.container {
|
|
|
background: rgba(255, 255, 255, 0.15);
|
|
|
backdrop-filter: blur(20px);
|
|
|
border-radius: 12px;
|
|
|
padding: 25px;
|
|
|
box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
|
|
|
max-width: 95%;
|
|
|
width: 900px;
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
}
|
|
|
|
|
|
.container:hover {
|
|
|
transform: translateY(-3px);
|
|
|
}
|
|
|
|
|
|
/* 📋 Bảng hiển thị với màu sắc rõ ràng */
|
|
|
table {
|
|
|
background: rgba(255, 255, 255, 0.95);
|
|
|
border-radius: 8px;
|
|
|
overflow: hidden;
|
|
|
color: #000;
|
|
|
width: 100%;
|
|
|
border-collapse: collapse;
|
|
|
}
|
|
|
|
|
|
/* 🌟 Header bảng */
|
|
|
th {
|
|
|
background: #222;
|
|
|
color: white;
|
|
|
padding: 12px;
|
|
|
font-weight: bold;
|
|
|
text-transform: uppercase;
|
|
|
}
|
|
|
|
|
|
/* ✏️ Hàng trong bảng */
|
|
|
td {
|
|
|
color: #000;
|
|
|
padding: 10px;
|
|
|
text-align: center;
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
}
|
|
|
|
|
|
/* 🖱️ Hiệu ứng hover khi rê chuột vào hàng */
|
|
|
tbody tr:hover {
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
}
|
|
|
|
|
|
/* 🔘 Nút chạy lệnh */
|
|
|
.run-btn {
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
padding: 8px 12px;
|
|
|
border: none;
|
|
|
border-radius: 6px;
|
|
|
background: #4CAF50;
|
|
|
color: white;
|
|
|
font-weight: bold;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.run-btn:hover {
|
|
|
transform: scale(1.1);
|
|
|
background: #45a049;
|
|
|
}
|
|
|
|
|
|
/* 📱 Responsive: Bảng cuộn ngang trên màn hình nhỏ */
|
|
|
@media (max-width: 768px) {
|
|
|
.container {
|
|
|
width: 100%;
|
|
|
padding: 15px;
|
|
|
}
|
|
|
|
|
|
table {
|
|
|
display: block;
|
|
|
overflow-x: auto;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* 👣 Footer đẹp và chuyên nghiệp */
|
|
|
footer {
|
|
|
background: rgba(0, 0, 0, 0.85);
|
|
|
padding: 15px 0;
|
|
|
text-align: center;
|
|
|
width: 100%;
|
|
|
margin-top: auto;
|
|
|
color: #ddd;
|
|
|
font-size: 14px;
|
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
|
|
|
}
|
|
|
|