.anime-list {
display: grid;
grid-template-columns: repeat(auto-fill, 10em);
grid-template-rows: auto ;
justify-content: space-between;
justify-items: center;
overflow: hidden;
padding: .1em;
align-items: center;
margin-bottom: 1em;
}
.anime-item {
font-size: 1em;
height: 2.5em;
width: 10em;
background-color: #f9cb8b;
border: 1px solid rgba(0, 0, 0, .12);
border-radius: 3px;
margin: 1em;
margin-bottom: 0;
}
.anime-item a {
display: flex;
height: 100%;
justify-content: center;
align-items: center;
}
.anime-item a:hover {
text-decoration: none;
}
.anime-episode {
width: 2.5em;
text-align: center
}
.anime-title{
white-space: nowrap;
flex: 1;
text-overflow: ellipsis;
overflow: hidden;
font-size: 17px;
}
@media screen and (max-width: 768px) {
.anime-list {
grid-template-columns: repeat(auto-fill, 4em);
}
.anime-item {
width: 4em;
height: 2.5em;
}
.anime-title {
display: none;
}
}
.navbox-list {
display: block;
}