Skip to content

2212.bili.t by oeisus

Screenshot of 2212.bili.t

Details

Authoroeisus

LicenseMIT

Categorybilibili.com

Created

Updated

Size7.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

动态页
4列动态卡片,鼠标移到左上角显示正在直播的up
移除一些不重要的卡片(转发 抽奖 投票 预约 充电 购物等)
移除一些不重要的元素(装饰 热评 转评赞 稍后观看等)
精简卡片评论区

2212

Notes

2212

Source code

/* ==UserStyle==
@name           2212.bili.t
@namespace      github.com/openstyles/stylus
@version        2212
@description    2212.t
@author         orisms@outlook.com
==/UserStyle== */
@-moz-document url-prefix("https://t.bilibili.com/")
{
    /***t2.dtkp***/
    .bili-avatar-pendent-dom,
    .bili-avatar-right-icon,
    .bili-dyn-item__ornament,
    .bili-dyn-item__more,
    .bili-dyn-card-video__mark
    {
        display: none !important;
    }

    /**/
    .bili-rich-text__content,
    .bili-rich-text__content span
    {
        max-height: 800px !important;
        height: auto !important;
        -webkit-line-clamp: 40 !important;
    }

    /***kplb***/
    .bili-dyn-list__items
    {
        display: flex;
        flex-wrap: wrap;
    }

    .bili-dyn-list__item
    {
        margin: 0px 7px 7px 0px !important;
        padding: 0 0 0 0 !important;
    }

    .bili-dyn-content__orig__desc,
    .bili-dyn-content__forw__desc
    {
        pointer-events: none;
    }

    .bili-dyn-card-video,
    .bili-dyn-card-live
    {
        display: flex;
        flex-wrap: nowrap;
    }

    .bili-dyn-card-video__title,
    .bili-dyn-card-live__title
    {
        min-height: 40px;
        height: 40px !important;
        line-height: 20px !important;
        -webkit-line-clamp: 4;
    }

    .bili-dyn-card-video__title:hover,
    .bili-dyn-card-live__title:hover
    {
        height: auto !important;
    }

    /*简介*/
    .bili-dyn-card-video__desc
    {
        min-height: 57px !important;
        height: 57px !important;
        -webkit-line-clamp: 4;
        opacity: 0.5;
    }

    .bili-dyn-card-video__desc:hover
    {
        height: auto !important;
    }
}

@-moz-document url-prefix("https://t.bilibili.com/")
{
    /*t.ads.dt*/
    /*普通抽奖 普通抽奖 拼多多 充电抽奖 购物*/
    .bili-dyn-list__item:has(.bili-rich-text-link),
    .bili-dyn-list__item:has(.bili-rich-text-module.lottery),
    .bili-dyn-list__item:has([data-type="lottery"]),
    .bili-dyn-list__item:has(.dyn-upower-lottery),
    .bili-dyn-list__item:has(.dyn-goods)
    {
        display: none !important;
    }

    /*投票*/
    .bili-dyn-list__item:has(.dyn-vote)
    {
        display: none !important;
    }

    /*直播预约&预告&去观看*/
    .bili-dyn-list__item:has(.dyn-reserve)
    {
        display: block !important;
    }

    /*电影&充电*/
    .bili-dyn-list__item:has(.bili-dyn-card-common)
    {
        display: block !important;
    }

    /*追番追剧&国创*/
    .bili-dyn-list__item:has(.bili-dyn-card-pgc)
    {
        display: none !important;
    }

    /*bangumi.肥志百科*/
    .bili-dyn-list__item:has(.dyn-ugc)
    {
        display: none !important;
    }

    /*追番&追剧*/
    .bili-dyn-list__item:has(.dyn-additional-common)
    {
        display: none !important;
    }

    /*合集*/
    .bili-dyn-list__item:has(.bili-dyn-title__label)
    {
        display: none;
    }

    /*转发*/
    .bili-dyn-list__item:has(.bili-dyn-content__orig.reference)
    {
        display: block;
    }

    .dyn-orig-author__action
    {
        display: none;
    }

    /*图片 文章*/
    .bili-dyn-list__item:has(.bili-album),
    .bili-dyn-list__item:has(.bili-dyn-card-article)
    {
        display: block;
    }

    .bili-dyn-card-article__desc
    {
        -webkit-line-clamp: 1 !important;
    }

    /*热评*/
    .bili-dyn-item__interaction
    {
        display: block;
    }
}

@-moz-document url-prefix("https://t.bilibili.com/")
{
    /***评论***/
    .bb-comment .reply-notice
    {
        display: none !important;
    }

    .bb-comment .medal,
    .bb-comment .nameplate,
    .bb-comment .sailing,
    .bb-comment .operation.more-operation
    {
        display: none !important;
    }

    .bili-dyn-item__panel
    {
        max-width: 632px;
    }
}

@-moz-document url-prefix("https://t.bilibili.com/")
{
    /*kj*/
    /*ads*/
    .bili-dyn-banner,
    .bili-dyn-ads
    {
        display: none !important;
    }

    #bili-header-container,
    .z-top-container,
    .bili-backtop
    {
        display: none !important;
    }

    .bili-dyn-live-users__more,
    .bili-dyn-live-users__item__left
    {
        display: none !important;
    }

    .right,
    .right .sticky,
    .topic-panel
    {
        display: none !important;
    }

    main > section:has(.bili-dyn-publishing),
    .bili-dyn-list-tabs__highlight,
    .bili-dyn-list-loading,
    .bili-dyn-list-empty
    {
        display: none !important;
    }

    /*kj*/
    #app
    {
        padding-top: 0 !important;
    }

    /*左栏 右栏*/
    .left section > div,
    .right section > div
    {
        background-color: #ff0 !important;
        box-shadow: 0 0 32px 4px #f00 inset;
    }

    .left
    {
        width: 244px !important;
        position: absolute !important;
        left: -243.9px !important;
        z-index: 11;
    }

    .left:hover
    {
        left: 0px !important;
    }

    .left .bili-dyn-live-users__item__uname
    {
        color: #f00 !important;
    }

    main
    {
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
        width: 100% !important;
    }

    .bili-dyn-up-list__window
    {
        padding-top: 0;
        padding-bottom: 0;
    }

    /**/
    div,
    span,
    a,
    b,
    p,
    li,
    h1,
    h2,
    h3,
    h4,
    button,
    input
    {
        font-family: "harmonyos sans sc", "smiley sans", "nsimsun", "system-ui", "sans-serif" !important;
        text-shadow: 0 0 1px !important;
    }

    i
    {
        font-family: iconfont !important;
    }

    .bilifont
    {
        font-family: bilifont !important;
    }

    .icon-font
    {
        font-family: icon-font !important;
    }

    .iconfont
    {
        font-family: iconfont !important;
    }

    html::-webkit-scrollbar
    {
        width: 3px !important;
        height: 0px !important;
    }

    html::-webkit-scrollbar-thumb
    {
        background: #f00 !important;
    }

    html::-webkit-scrollbar-track
    {
        background: #00f !important;
    }
}

@-moz-document url-prefix("https://t.bilibili.com/topic/")
{
    /*topic*/
    #internationalHeader,
    .international-header
    {
        display: none;
    }

    #app .top-bg[data-v-8cdc3718]
    {
        margin-bottom: -53px;
    }

    /*综合*/
    .publish-panel-container
    {
        display: none;
    }

    .right-container.f-left
    {
        margin-left: 0 !important;
        width: 268px;
        z-index: 1;
        position: fixed;
        top: 0;
        bottom: unset;
        left: -267.9px;
        right: unset;
    }

    .right-container.f-left:hover
    {
        left: 0px;
    }

    #app .page-container[data-v-8cdc3718]
    {
        width: 100%;
    }

    #app .page-container .center-container[data-v-8cdc3718]
    {
        width: 100%;
    }

    .feed-topic
    {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap !important;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .card-offset[data-v-54d921ce] > .card
    {
        margin-top: 8px !important;
    }

    .feed-topic > div[data-v-b5713636][data-v-54d921ce]
    {
        margin: 0 3px 0px 2px;
        padding: 0 0 0 0;
    }

    /*视频*/
    .video-topic .video-list[data-v-479d07d0]
    {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .content-list .content-item[data-v-23ab063d]
    {
        margin: 0 0px 10px 10px !important;
    }

    .v[data-v-23ab063d],
    .v .preview[data-v-23ab063d]
    {
        width: 263px;
        height: auto;
    }

    .v .t[data-v-23ab063d]
    {
        min-height: 40px;
    }
}

Reviews

No reviews yet.