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.
96 lines
1.5 KiB
96 lines
1.5 KiB
6 months ago
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
background-color: #becad3;
|
||
|
}
|
||
|
|
||
|
.top {
|
||
|
text-align: center;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.box {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.message {
|
||
|
display: flex;
|
||
|
align-items: flex-start;
|
||
|
margin-bottom: 10px;
|
||
|
justify-content: space-between;
|
||
|
border: 1px solid #d66d6d;
|
||
|
border-radius: 5px;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.age, .time {
|
||
|
flex: 1;
|
||
|
max-width: calc(50% - 20px);
|
||
|
padding: 10px;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.age dl {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.age dt,
|
||
|
.age dd {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.age img {
|
||
|
width: 100px;
|
||
|
height: 100px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 50%;
|
||
|
position: relative;
|
||
|
margin: 0 auto;
|
||
|
border: 3px solid #cf9393;
|
||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
||
|
}
|
||
|
.time {
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 5px;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
background-color: #66b4e4;
|
||
|
}
|
||
|
|
||
|
|
||
|
.time dl {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.time dt {
|
||
|
width: 100%;
|
||
|
box-sizing: border-box;
|
||
|
padding: 5px;
|
||
|
margin-bottom: 5px;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
}
|
||
|
.time a {
|
||
|
text-decoration: none;
|
||
|
color: #3685da;
|
||
|
display: inline-block;
|
||
|
width: 100%;
|
||
|
padding: 10px 20px;
|
||
|
font-size: 16px;
|
||
|
font-weight: bold;
|
||
|
text-align: center;
|
||
|
border: 2px solid #007BFF;
|
||
|
border-radius: 4px;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
/* 悬停状态 */
|
||
|
.time a:hover {
|
||
|
color: white;
|
||
|
background-color: #4bd6c3;
|
||
|
border-color: #658fc6;
|
||
|
}
|