128 lines
2.1 KiB
CSS
128 lines
2.1 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: #f5f7fa;
|
|
color: #333;
|
|
line-height: 1.6;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 500px;
|
|
width: 100%;
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
overflow: hidden;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.header {
|
|
background: linear-gradient(135deg, #4a6cf7, #6a82fb);
|
|
color: white;
|
|
padding: 25px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.header p {
|
|
opacity: 0.9;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.content {
|
|
padding: 25px;
|
|
}
|
|
|
|
.search-section {
|
|
text-align: center;
|
|
}
|
|
|
|
.search-section h2 {
|
|
color: #4a6cf7;
|
|
margin-bottom: 20px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.input-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.license-input {
|
|
width: 100%;
|
|
padding: 15px;
|
|
border: 2px solid #e1e5f0;
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.license-input:focus {
|
|
border-color: #4a6cf7;
|
|
outline: none;
|
|
}
|
|
|
|
.search-button {
|
|
width: 100%;
|
|
background: #4a6cf7;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 50px;
|
|
padding: 16px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
|
|
}
|
|
|
|
.search-button:hover {
|
|
background: #3a5ce5;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 15px rgba(74, 108, 247, 0.4);
|
|
}
|
|
|
|
.error-message {
|
|
color: #e74c3c;
|
|
text-align: center;
|
|
padding: 15px;
|
|
background-color: #fdf2f2;
|
|
border-radius: 8px;
|
|
margin-top: 20px;
|
|
display: none;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.header {
|
|
padding: 20px 15px;
|
|
}
|
|
|
|
.content {
|
|
padding: 20px;
|
|
}
|
|
} |