无编辑摘要 |
(顶呱呱的阿杰将页面User:顶呱呱的阿杰/测试.css的内容模型从“CSS”更改为“已过滤的CSS”:测试首页新板块) 标签:内容模型更改 |
(没有差异)
|
2023年10月2日 (一) 14:56的版本
.latest-item {
flex-wrap: wrap;
display: flex;
position: relative;
justify-content: left;
margin: 0 175px;
width: 10rem;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575);
border: 1px solid rgba(0,0,0,.12);
border-radius: 4px;
transition: border-color .2s;
}
#one{
margin-left: 170px;
}
.latest-item:nth-child(1) {
margin-left: 5%;
}
.latest-item:hover{
border-color: #4096ff;
transition: border-color .2s;
}
.latest-item-now {
border-color: #58a3ff;
transition: all .2s;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), 0 5px 8px rgba(0, 0, 0, 0.0975);
}
.latest-item-info {
padding-left: .6em;
padding-right: .6em;
white-space: nowrap;
width: 8em;
}
.latest-item-info p {
overflow: hidden;
text-overflow: ellipsis;
}
.latest-item-more {
width: 4em;
height: 4em;
border-radius: 999px;
text-align: center;
}
.latest-item-more-text {
width: 4em;
height: 4em;
line-height: 4em;
}
.latest-item-more:hover a {
text-decoration: none;
}
.latest-item-click {
position: absolute;
user-select: none;
}
.latest-item-click a img {
width: 10em;
height: 13em;
opacity: 0;
user-select: none;
}
img{
width: 100%;
}
div,span{
margin: 0;
padding: 0;
}
.container{
width: 500px;
height: 300px;
margin: 10px auto;
border: 2px outset rgb(197, 24, 24);
position: relative;
overflow: hidden;
}
.carousel{
width: 500px;
height: 300px;
float: left;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
align-items: center;
/* transition: 0.5s; */
}
.carousel-one{
display: flex;
border: 2px outset rgb(197, 24, 24);
}
.indicator{
position: absolute;
bottom: 10px;
display: flex;
left: 50%;
/* border: 1px outset #ccc; */
transform: translateX(-50%);
}
.indicator span{
width: 10px;
height: 10px;
border: 1px outset #ccc;
border-radius: 50%;
margin: 0 3px;
}
.indicator span.active{
background-color: #000;
border-color: #000;
}