无编辑摘要 |
小 (已保护“模板:Main page/landmark/styles.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
||
(未显示2个用户的29个中间版本) | |||
第2行: | 第2行: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: | justify-content: flex-start; | ||
} | } | ||
第9行: | 第9行: | ||
flex-direction: column; | flex-direction: column; | ||
margin-top: 8px; | margin-top: 8px; | ||
border-top: 1px solid #ddd !important; | border-top: 1px solid #ddd !important; | ||
} | } | ||
第16行: | 第15行: | ||
width: 100%; | width: 100%; | ||
position: relative; | position: relative; | ||
height: 200px; | |||
margin-top: 12px; | |||
} | } | ||
.landmark- | .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; | border-radius: 8px; | ||
transition: cubic-bezier(0,.8,.2,1) 0.5s; | |||
} | |||
.landmark-image img:hover { | |||
transform: scale(1.1); | |||
transition: cubic-bezier(0,.8,.2,1) 0.5s; | |||
} | } | ||
第25行: | 第45行: | ||
position: absolute; | position: absolute; | ||
bottom: 0px; | bottom: 0px; | ||
} | |||
.landmark-foreground-title { | |||
color: white; | |||
font-size: 18px !important; | |||
font-weight: 800 !important; | |||
margin: 2px 0px 6px 12px !important; | |||
text-shadow: 2px 2px 4px #000000; | |||
} | |||
.landmark-foreground-subtitle { | |||
color: rgb(230,230,230); | |||
font-size: 15px !important; | |||
margin: 0px 0px 0px 12px !important; | |||
text-shadow: 2px 2px 4px #000000; | |||
} | } |
2023年9月23日 (六) 22:20的最新版本
#home-landmark {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.landmark-flexcontainer {
display: flex;
flex-direction: column;
margin-top: 8px;
border-top: 1px solid #ddd !important;
}
.landmark-card {
width: 100%;
position: relative;
height: 200px;
margin-top: 12px;
}
.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;
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}
.landmark-image img:hover {
transform: scale(1.1);
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}
.landmark-foreground {
position: absolute;
bottom: 0px;
}
.landmark-foreground-title {
color: white;
font-size: 18px !important;
font-weight: 800 !important;
margin: 2px 0px 6px 12px !important;
text-shadow: 2px 2px 4px #000000;
}
.landmark-foreground-subtitle {
color: rgb(230,230,230);
font-size: 15px !important;
margin: 0px 0px 0px 12px !important;
text-shadow: 2px 2px 4px #000000;
}