User:顶呱呱的阿杰/测试.css:修订间差异

来自有兽档案馆
无编辑摘要
无编辑摘要
第94行: 第94行:
right: 0;
right: 0;
}
}
.latest-item img{
*{
width: 100%;
margin: 0;
padding: 0;
}
}

.container{
.container{
width: 90%;
width: 90%;

2023年10月2日 (一) 15:31的版本

.latest-item {
   flex-wrap: wrap;
    display: flex; 
    position: relative;
    justify-content: left;
    margin: 0 60px;
    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: 60px;
}
.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;
}
.latest-btn {
			    position: absolute;
			    display: block;
			    width: 2em;
			    height: 2em;
			    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: 99px;
			    transition: all .2s;
			    line-height: 2em;
			    font-size: 1.2em;
			    background-color: #fff;
			    text-align: center;
			    z-index: 1;
			}
			#latest-last-btn{
			   position:absolute;
			   top:45%;
			   left: 0;
			}
			#latest-next-btn{
			   position:absolute;
			   top:45%;
			   right: 0;
			}
.latest-item img{
	        width: 100%;
}

.container{
   width: 90%;
	height: 300px;
    margin: 10px auto;
	border: 2px outset rgb(197, 24, 24);
    position: relative;
	overflow: hidden;
}
.carousel{
    width: 90%;
	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;
}