Skip to content

bilibili dark theme by doowind

Screenshot of bilibili dark theme

Details

Authordoowind

LicenseNo License

Categorywww.bilibili.com

Created

Updated

Size34 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

b站的深色模式

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           www.bilibili.com - 2023年10月
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("bilibili.com") {
    /* 在此插入代码... */
    :root {
        --brand_pink: var(--Pi5);
        --brand_pink_thin: var(--Pi1);
        --brand_blue: var(--Lb5);
        --brand_blue_thin: var(--Lb1);
        --stress_red: var(--Re5);
        --stress_red_thin: var(--Re1);
        --success_green: var(--Gr5);
        --success_green_thin: var(--Gr1);
        --operate_orange: var(--Or5);
        --operate_orange_thin: var(--Or1);
        --pay_yellow: var(--Ye5);
        --pay_yellow_thin: var(--Ye1);
        --bg1: #252525;
        --bg2: #414141;
        --bg3: #404040;
        --bg1_float: var(--Ga11);
        --bg2_float: var(--Ga12);
        --text_white: var(--Wh0_u);
        --text1: #999999;
        --text2: var(--Ga7);
        --text3: var(--Ga5);
        --text4: var(--Ga3);
        --text_link: var(--Lb6);
        --text_notice: var(--Ye6);
        --line_light: var(--Ga1_s);
        --line_regular: var(--Ga2);
        --line_bold: var(--Ga3);
        --graph_white: var(--Wh0_u);
        --graph_bg_thin: var(--Ga0_s);
        --graph_bg_regular: var(--Ga1_s);
        --graph_bg_thick: var(--Ga2);
        --graph_weak: var(--Ga3);
        --graph_medium: var(--Ga5);
        --graph_icon: var(--Ga7);
        --shadow: var(--Ba0);
    }
    #page-fav .fav-sidenav .nav-container {
        border-bottom: 1px solid #282828;
    }


    .space-left[data-v-20f352ce] {
        width: 140px;
        min-width: 140px;
        background-color: rgb(16 16 16 / 80%);
    }
    .feed-roll-btn .primary-btn[data-v-7b96dfea] {
        background-color: #2c2c2c !important;
    }

    .feed-roll-btn .primary-btn[data-v-7b96dfea]:hover {
        background-color: #0a0a0a !important;
    }

    .watchlater-pip-button .watchlater-pip-button-inner-wrap .watchlater-pip-button-inner[data-v-fc6e3eda] {
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 40px;
        padding: 0 7px;
        border-radius: 6px;
        /* border: 1px solid var(--line_regular); */
        background: #333333;
        color: var(--text1);
        transition: all .2s linear;
    }

    .title[data-v-382f660f] {
        height: 62px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        color: #919191;
    }

    .love-item[data-v-6a842a45]:not(:last-child)::after {
        content: '';
        display: block;
        width: 100%;
        width: calc(100% - 44px);
        height: 1px;
        border-bottom: 1px solid #3f3f3f;
        position: absolute;
        bottom: 0;
        left: 60px;
    }

    .card[data-v-fb77dc7a] {
        padding: 24px 16px;
        background-color: #161616;
        /* -webkit-box-shadow: 0 2px 4px 0 rgba(121, 146, 185, 0.54); */
        /* box-shadow: 0 2px 4px 0 rgba(121, 146, 185, 0.54); */
        margin-bottom: 10px;
        border-radius: 4px;
    }
    .space-right .space-right-top .title[data-v-20f352ce] {
        height: 42px;
        background-color: #121212;
        /* -webkit-box-shadow: 0 2px 4px 0 rgba(121, 146, 185, 0.54); */
        /* box-shadow: 0 2px 4px 0 rgba(121, 146, 185, 0.54); */
        -ms-flex-negative: 0;
        flex-shrink: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 0 16px;
        font-size: 15px;
        color: #666;
        border-radius: 4px;
    }

    .space-right[data-v-20f352ce] {
        width: calc(100% - 140px);
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        background-color: rgb(30 30 30 / 50%);
    }

    .divided-line[data-v-382f660f] {
        border-top: 1px solid #494949;
        margin: 10px 0;
    }

    .base-video-sections-v1 .border-bottom-line[data-v-538c7b9a] {
        height: 1px;
        background: var(--line_regular);
        background: #4f4f4f;
        margin: 0 15px;
    }
    .base-video-sections-v1[data-v-538c7b9a] {
        width: 100%;
        padding-top: 10px;
        margin-bottom: 18px;
        background: var(--graph_bg_regular);
        background: #1a1a1a;
        position: relative;
        border-radius: 6px;
    }

    .single-card.floor-card .floor-card-inner[data-v-d96f6b6e] {
        background: #1c1c1c;
        border-radius: 6px;
        transition: background-color .2s;
    }
    #page-fav .fav-main .filter-item.search {
        height: 28px;
        margin: 0;
        font-size: 0;
        border: 1px solid #3d3d3d;
        border-radius: 14px;
        white-space: nowrap;
        transition: border-color .2s ease;
    }
    .single-card.floor-card .layer.tiny[data-v-d96f6b6e] {
        z-index: -2;
        width: 80%;
        transform: translate(-50%, 12px);
        background: #0c0c0c;
    }

    #page-fav .fav-main .favList-info {
        padding: 20px 0;
        margin: 0 20px;
        box-sizing: border-box;
        border-bottom: 1px solid #4b4b4b;
    }

    #page-fav .fav-main .small-item {
        padding: 0;
        margin: 0 20px 20px 0;
        border-radius: 4px;
        border: 1px solid #292929;
        box-sizing: border-box;
    }

    .single-card.floor-card[data-v-d96f6b6e] {
        padding: 0;
        position: relative;
        z-index: 1;
        border: 1px solid #101010;
        --info-margin-bottom: 8px;
        --title-line-height: 22px;
        --subtitle-line-height: 17px;
        --title-font-size: 15px;
        --subtitle-font-size: 13px;
    }

    .single-card.floor-card .layer[data-v-d96f6b6e] {
        width: 90%;
        height: 100%;
        z-index: -1;
        left: 50%;
        transform: translate(-50%, 6px);
        top: 0;
        position: absolute;
        background: #161616;
        border-radius: 6px;
    }


    .contribution-sidenav {
        position: relative;
        float: left;
        width: 180px;
        margin-right: -1px;
        font-size: 14px;
        color: #222;
        border-right: 1px solid #555;
        box-sizing: border-box;
    }

    body {
        color: #a8a8a8;
        font-size: 12px;
        font-family: PingFang SC, Helvetica Neue, Microsoft YaHei, sans-serif;
        line-height: 1.7em;
        margin: 0;
        overflow-y: scroll;
        background-color: #2d2d2d!important;
    }

    #page-video #submit-video-type-filter {
        background: #3a3a3a;
        border-radius: 4px;
        line-height: 36px;
        margin: 18px 0 10px;
        padding: 0 20px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }


    .fixed-sidenav-storage .fixed-sidenav-storage-item[data-v-a3c4b752]:hover {
        background: #2f2f2f;
    }

    .base-video-sections-v1 .border-bottom-line[data-v-5bb503ba] {
        height: 1px;
        background: #2b2b2b;
        margin: 0 15px;
    }

    .video-toolbar-container[data-v-5c65f1ec] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 16px;
        padding-bottom: 12px;
        line-height: 28px;
        border-bottom: 1px solid #3b3b3b;
    }

    .base-video-sections-v1[data-v-5bb503ba] {
        width: 100%;
        padding-top: 10px;
        margin-bottom: 18px;
        background: #2b2b2b;
        position: relative;
        border-radius: 6px;
    }

    .upinfo-btn-panel .follow-btn.following[data-v-186e9fac] {
        color: #9499A0;
        color: var(--text3);
        background-color: #21364a;
    }

    .bili-dyn-content__orig.reference {
        background-color: #1e1e1e;
        margin: 12px -20px 0 -88px;
        padding: 12px 20px 14px 88px;
    }

    .g-search input {
        position: absolute;
        height: 30px;
        width: 134px;
        padding: 0 29px 0 10px;
        line-height: 30px;
        color: #222;
        font-size: 12px;
        border: 1px solid #545454;
        border-radius: 15px;
        box-shadow: none;
        box-sizing: border-box;
        background-color: #363636;
    }

    .bili-dyn-interaction:before {
        background-color: #535353;
        border-radius: 1px;
        content: "";
        display: inline-block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 2px;
    }

    .bili-header .live {
        background: #242424;
        display: flex;
        width: 552px;
        height: 284px;
        border-radius: 8px;
    }

    .bili-tabs__header {
        background-color: var(--bg1);
        border-bottom: 1px solid #3e3e3e;
        height: 48px;
    }

    #page-follows .list-item:last-child {
        border-bottom: 1px solid #424242;
    }

    .be-pager-next,
    .be-pager-prev {
        padding: 0 14px;
        border: 1px solid #202020;
        border-radius: 4px;
        background-color: #2d2d2d;
    }

    .be-pager-options-elevator input {
        border-radius: 4px;
        margin: 0 8px;
        width: 50px;
        background-color: #2d2d2d;
    }

    .be-pager-item {
        display: inline-block;
        line-height: 38px;
        padding: 0 15px;
        margin-right: 4px;
        text-align:...

Reviews

No reviews yet.