hexo-bilibili-bangumi
Version:
331 lines (273 loc) • 4.86 kB
CSS
.bangumi-tabs {
margin-bottom: 15px;
margin-top: 15px;
}
.bangumi-tab {
padding: 5px;
}
a.bangumi-tab {
text-decoration: none;
}
.bangumi-active {
background: #657b83;
color: #fff;
}
.bangumi-item {
padding-bottom: 10px;
position: relative;
clear: both;
padding: 10px 0;
border-bottom: 1px #ddd solid;
min-height: 180px;
}
@media screen and (max-width: 600px) {
.bangumi-item {
width: 100%;
}
}
.bangumi-picture {
position: absolute;
left: 0;
top: 10px;
width: 110px;
}
.bangumi-picture img {
margin: 10px 0;
}
.bangumi-info {
padding-left: 120px;
margin-top: 10px;
min-height: 160px;
}
.bangumi-meta {
font-size: 12px;
padding-right: 10px;
height: 45px;
}
.bangumi-summary {
font-size: 12px;
margin-top: 10px;
}
.bangumi-summary>p {
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
height: 72px;
white-space: normal;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
}
.bangumi-summary>p.has-bangumi-progress {
height: 48px;
-webkit-line-clamp: 2;
line-clamp: 2;
}
.bangumi-comments {
font-size: 12px;
}
.bangumi-pagination {
margin-top: 15px;
text-align: center;
margin-bottom: 10px;
}
.bangumi-button {
padding: 5px;
}
.bangumi-button:hover {
background: #657b83;
color: #fff;
}
.bangumi-hide {
display: none;
}
.bangumi-show {
display: block;
}
.bangumi-title {
font-size: 18px;
font-weight: bold;
}
.bangumi-title a {
line-height: 1;
text-decoration: none;
}
.bangumi-info-items {
font-size: 12px;
color: #2fd8d8;
padding-top: 10px;
line-height: 1;
float: left;
width: 100%;
height: 45px;
}
.bangumi-info-item {
display: inline-block;
width: 13%;
border-right: 1px solid #2fd8d8;
text-align: center;
height: 34px;
}
.bangumi-info-label {
display: block;
line-height: 12px;
}
.bangumi-info-item em {
display: block;
padding-top: 6px;
line-height: 17px;
font-style: normal;
font-weight: 700;
}
.bangumi-info-total {
padding-top: 11px;
display: block;
line-height: 12px;
font-weight: bold;
}
.bangumi-info-item-score {
border-right: 1px solid #0000;
width: 50px;
}
.bangumi-info-label-em {
color: rgba(0, 0, 0, 0);
opacity: 0;
visibility: hidden;
line-height: 6px ;
padding: 0 ;
}
@media (max-width:650px) {
.bangumi-coin,
.bangumi-type {
display: none;
}
.bangumi-info-item {
width: 16%;
}
}
@media (max-width:590px) {
.bangumi-danmaku,
.bangumi-wish {
display: none;
}
.bangumi-info-item {
width: 19%;
}
}
@media (max-width:520px) {
.bangumi-play,
.bangumi-doing {
display: none;
}
.bangumi-info-item {
width: 24%;
}
}
@media (max-width:480px) {
.bangumi-follow,
.bangumi-info-item-follow,
.bangumi-collect {
display: none;
}
.bangumi-info-item {
width: 30%;
}
}
@media (max-width:400px) {
.bangumi-area,
.bangumi-tag {
display: none;
}
.bangumi-info-item {
width: 45%;
}
}
@media (max-width:270px) {
.bangumi-info-item-score {
display: none;
}
.bangumi-info-item {
width: 100%;
border-right: none;
}
}
.bangumi-my-comments {
border: 1px dashed #8f8f8f;
padding: 3px;
border-radius: 5px;
}
.bangumi-starstop {
background: transparent url(https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.7.9/lib/img/rate_star_2x.png);
height: 10px;
background-size: 10px 19.5px;
background-position: 100% 100%;
background-repeat: repeat-x;
width: 50px;
display: inline-block;
float: none;
}
.bangumi-starlight {
background: transparent url(https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.7.9/lib/img/rate_star_2x.png);
height: 10px;
background-size: 10px 19.5px;
background-position: 100% 100%;
background-repeat: repeat-x;
display: block;
width: 100%;
background-position: 0 0;
}
.bangumi-starlight.stars1 {
width: 5px;
}
.bangumi-starlight.stars2 {
width: 10px;
}
.bangumi-starlight.stars3 {
width: 15px;
}
.bangumi-starlight.stars4 {
width: 20px;
}
.bangumi-starlight.stars5 {
width: 25px;
}
.bangumi-starlight.stars6 {
width: 30px;
}
.bangumi-starlight.stars7 {
width: 35px;
}
.bangumi-starlight.stars8 {
width: 40px;
}
.bangumi-starlight.stars9 {
width: 45px;
}
.bangumi-starlight.stars10 {
width: 50px;
}
.bangumi-info .bangumi-progress {
width: 100%;
height: 24px;
background-color: #f2f2f2;
border-radius: 5px;
overflow: hidden;
font-size: 16px;
text-align: center;
position: relative;
}
.bangumi-info .bangumi-progress-text {
z-index: 100;
position: relative;
color: #3c4858;
line-height: 24px;
}
.bangumi-info .bangumi-progress .progress-bar {
z-index: 50;
height: 100%;
background-color: #007bffad;
border-radius: 5px;
position: absolute;
top: 0;
}