Template:漫画总导航/styles.css

模板页面
< Template:漫画总导航
Baigei留言 | 贡献2023年7月18日 (二) 19:24的版本 (创建页面,内容为“.comic-list { display: grid; grid-template-columns: repeat(auto-fill, 12em); grid-template-rows: auto ; justify-content: space-between; justify-items: center; overflow: hidden; padding: .1em; align-items: center } .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: 3p…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.comic-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 12em);
    grid-template-rows: auto ;
    justify-content: space-between;
    justify-items: center;
    overflow: hidden;
    padding: .1em;
    align-items: center
}

.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: 3px;
    align-items: center;
    cursor: pointer;
    margin: 1em;
}

.comic-episode {
	display: flex;
    padding-left: 1em;
    padding-right: 1em;
	background-color: #fff;
}

.comic-title{
	position: relative;
    white-space: nowrap;
	flex: 1;
	text-overflow: ellipsis;
	overflow: hidden;
    font-size: .9em;
    padding-right: .4em;
}

@media screen and (max-width: 768px) {
    .comic-list {
        grid-template-columns: repeat(auto-fill, 5em);
    }

    .comic-item {
        justify-content: center;
        width: 4em;
        height: 2.5em;
    }

    .comic-title {
        display: none;
    }
}

.navbox-list {
    display: block;
}