ADD file via upload

main
ping56ry4 1 month ago
parent bf4f943abd
commit b1aa037084

@ -0,0 +1,105 @@
:root {
--lightColor: #e3f2fd; /* 浅蓝色背景 */
--darkColor: #005fa3; /* 深蓝色文字 */
--primaryColor: #007bff; /* 主题蓝色 */
--secondaryColor: #6c757d; /* 次要灰色 */
}
* {
font-family: '正楷';
}
body {
padding: 0 50px;
background-color: var(--lightColor);
}
h1,
h2 {
animation: changeColor 2s infinite alternate;
animation-direction: alternate;
}
h1 {
padding: 20px 0;
background-color: var(--primaryColor);
color: white;
text-align: center;
}
h2 {
color: var(--darkColor);
}
#content {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#content > div {
width: 120px;
height: 60px;
margin: 10px;
font-size: 18px;
line-height: 60px;
text-align: center;
background-color: white;
color: var(--secondaryColor);
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out;
}
#content .cell.active {
background-color: var(--primaryColor);
color: white;
}
#content .selected {
border: 2px solid var(--primaryColor);
}
button {
display: inline-block;
padding: 10px 20px;
background-color: var(--primaryColor);
color: white;
font-size: 16px;
font-weight: 700;
margin: 10px;
border: none;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
button:active {
background-color: #004080;
}
select {
display: inline-block;
height: 35px;
width: 120px;
border: 1px solid #ced4da;
background-color: white;
color: var(--secondaryColor);
font-size: 14px;
margin: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
@keyframes changeColor {
from {
color: var(--darkColor);
}
to {
color: white;
}
}
Loading…
Cancel
Save