无编辑摘要 |
小无编辑摘要 |
||
第37行: | 第37行: | ||
} | } | ||
.landmark-image img:hover { | .landmark-image img:hover { | ||
transform: scale(1. | transform: scale(1.1); | ||
transition: cubic-bezier(0,0,0,1) 0.2s; | transition: cubic-bezier(0,0,0,1) 0.2s; | ||
} | } | ||
第48行: | 第48行: | ||
.landmark-foreground-title { | .landmark-foreground-title { | ||
color: white; | color: white; | ||
font-size: | font-size: 18px !important; | ||
font-weight: 500; | font-weight: 500; | ||
margin: 2px 0px 6px 12px !important; | margin: 2px 0px 6px 12px !important; | ||
text-shadow: 2px 2px 4px #000000; | |||
} | } | ||
.landmark-foreground-subtitle { | .landmark-foreground-subtitle { | ||
color: white; | color: white; | ||
font-size: | font-size: 15px !important; | ||
opacity: .75; | opacity: .75; | ||
margin: 0px 0px 0px 12px !important; | margin: 0px 0px 0px 12px !important; | ||
text-shadow: 2px 2px 4px #000000; | |||
} | } |
2023年9月19日 (二) 22:59的版本
#home-landmark {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.landmark-flexcontainer {
display: flex;
flex-direction: column;
margin-top: 8px;
padding-top: 12px;
border-top: 1px solid #ddd !important;
}
.landmark-card {
width: 100%;
position: relative;
height: 200px;
}
.landmark-image {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 8px;
overflow: hidden;
}
.landmark-image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
border-radius: 8px;
}
.landmark-image img:hover {
transform: scale(1.1);
transition: cubic-bezier(0,0,0,1) 0.2s;
}
.landmark-foreground {
position: absolute;
bottom: 0px;
}
.landmark-foreground-title {
color: white;
font-size: 18px !important;
font-weight: 500;
margin: 2px 0px 6px 12px !important;
text-shadow: 2px 2px 4px #000000;
}
.landmark-foreground-subtitle {
color: white;
font-size: 15px !important;
opacity: .75;
margin: 0px 0px 0px 12px !important;
text-shadow: 2px 2px 4px #000000;
}