Template:漫画总导航/styles.css:修订间差异

模板页面
(// Edit via Wikiplus)
标签已被回退
(// Edit via Wikiplus)
标签已被回退
第83行: 第83行:
z-index:8;
z-index:8;
position:absolute;
position:absolute;
margin-left: 65px;
margin-left: 0;
opacity: 0;
opacity: 0;
height: 4em;
height: 2.5em;
width: 12em;
}
}

2023年8月6日 (日) 21:39的版本

.comic-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 12.5em);
    grid-template-rows: auto ;
    justify-content: space-between;
    justify-items: center;
    overflow: hidden;
    padding: 1em;
    align-items: center;
    margin-bottom: 1em;
}

.comic-list p {
    display: none;
}

.comic-item {
    display: flex;
    font-size: 1em;
    height: 2.5em;
    width: 12em;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: .4em;
    align-items: center;
    cursor: pointer;
    margin: 1em;
    margin-bottom: 0;
    transition: border-color .5s;
}

.comic-item:hover {
    border-color: #4096ff;
    transition: border-color .5s;
}

.comic-episode {
	display: flex;
    padding-left: 1em;
    padding-right: 1em;
	width: 1.5em;
	justify-content: center;
}
.comic-episode a:hover {
    text-decoration: none;
}

.comic-title{
	position: relative;
    white-space: nowrap;
	flex: 1;
	text-overflow: ellipsis;
	overflow: hidden;
    font-size: .9em;
    padding-right: 1em;
	text-align: left;
}
.comic-title a:hover {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .comic-list {
        grid-template-columns: repeat(auto-fill, 4em);
    }
    .comic-item {
        justify-content: center;
        width: 4em;
        height: 2.5em;
    }
    .comic-title {
        display: none;
    }
}

.navbox-list {
    display: block;
	overflow: auto;
	height: 30em;
}

.character-bg {
	z-index:8;
	position:absolute;
	margin-left: 0;
	opacity: 0;
	height: 2.5em;
	width: 12em;
}