.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;
}