Add anilist plugin (#69)
This commit is contained in:
@@ -527,6 +527,77 @@
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
/* Anilist */
|
||||
.anilist {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
margin-left: 28px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.anilist .media {
|
||||
display: flex;
|
||||
margin-bottom: 4px;
|
||||
width: 450px;
|
||||
}
|
||||
.anilist .media img {
|
||||
margin: 0 10px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
.anilist .media .about {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.anilist .media .name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
color: #58a6ff;
|
||||
}
|
||||
.anilist .media .infos {
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
}
|
||||
.anilist .media .infos > div {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-right: 16px;
|
||||
}
|
||||
.anilist .media .infos svg {
|
||||
fill: currentColor;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
margin: 0;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.anilist .media .description {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
width: 380px;
|
||||
max-height: 38px;
|
||||
font-size: 12px;
|
||||
white-space: normal;
|
||||
/* May not work in all browsers */
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.anilist .characters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.anilist .characters img {
|
||||
margin: 2px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
/* Fade animation */
|
||||
.af {
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user