解决概况介绍不换行问题,网格页方便选择链接文本。
/* ==UserStyle==
@name mikanime 蜜柑计划 优化
@namespace userstyles.world/user/liweishu
@version 1.0.0
@description 解决概况介绍不换行问题,网格页方便选择链接文本。
@author vveishu
==/UserStyle== */
@-moz-document regexp("https://mikanime\\.tv/(|Home(|/MyBangumi|/Bangumi/.+|/Search\\?.+))") {
/*主页 订阅 节目PC&Phone 搜索PC -广告*/
div[style^="margin-top: 10p"] {
display: none;
}
}
@-moz-document regexp("https://mikanime\\.tv/(|Home(|/MyBangumi))") {
/*主页 订阅*/
/*方便选择链接文本*/
.sk-bangumi,
.central-container {
.list-inline.an-ul .an-info {
padding-left: 0;
/*信息组加宽*/
& > .an-info-group {
width: auto;
max-width: 146px;
& > * {
margin-left: 12px;
}
/*更新时间缩进*/
& > .date-text {
text-indent: 0.5em;
}
/*链接*/
& > .an-text {
white-space: normal!important;
width: auto!important;
/*border-right:1px dotted silver;*/
}
}
}
}
/*Phone -广告*/
div[style^="margin-top: 0p"] {
display: none;
}
}
@-moz-document regexp("https://mikanime\\.tv/Home/(Classic|Episode/.+)") {
/*列表 节目 -广告*/
div[style^="margin-top: -10px; m"] {
display: none;
}
}
@-moz-document regexp("https://mikanime\\.tv/Home/Bangumi/.+") {
/*节目- 概况介绍 换行兼容*/
.header2-desc {
white-space: pre-wrap;
}
}
@-moz-document regexp("https://mikanime\\.tv/Home/(Bangumi|Episode)/.+") {
/*节目 集*/
/*左栏边距*/
#sk-container>.leftbar-container{
margin-right: 3px;
margin-left: 10px;
}
/*海报去边框*/
.bangumi-poster {
border: 0;
margin: 0;
}
}