forked from prlbkj9i7/wzy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.5 KiB
77 lines
1.5 KiB
body {
|
|
font-family: Arial, sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: #1E9FFF;
|
|
}
|
|
|
|
.top-right {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 200px;
|
|
color: #ffffff;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.logout-btn {
|
|
background-color: #ff5722;
|
|
color: white;
|
|
padding: 10px 10px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
margin-left: 10px;
|
|
position: absolute;
|
|
right: 30px;
|
|
}
|
|
|
|
.main-title {
|
|
font-size: 24px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.service-boxes {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 20px;
|
|
width: 80%;
|
|
}
|
|
|
|
.service-box {
|
|
width: 600px;
|
|
height: 600px;
|
|
border: 3px solid #ccc;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
padding: 50px;
|
|
box-sizing: border-box;
|
|
background-color: rgba(125, 177, 156, 0.87);
|
|
position: relative;
|
|
display: flex; /* 使用flex布局 */
|
|
|
|
}
|
|
|
|
.service-box h3 {
|
|
margin-bottom: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
.service-box img {
|
|
max-width: 60px;
|
|
height: auto;
|
|
display: block;
|
|
margin: auto;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
} |