2026-04-12 14:44:05 +08:00

79 lines
1.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.container {
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 90%;
max-width: 400px;
}
h1 {
color: #333;
margin-bottom: 30px;
}
.controls {
display: flex;
justify-content: space-around;
margin-bottom: 30px;
}
.btn {
width: 120px;
height: 50px;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-forward {
background-color: #4CAF50;
color: white;
}
.btn-backward {
background-color: #f44336;
color: white;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.status {
margin-top: 20px;
padding: 10px;
background-color: #f5f5f5;
border-radius: 5px;
min-height: 40px;
}
.status p {
color: #666;
}