// ==UserScript== // @name B站仿旧版样式(播放页) // @namespace github.com/openstyles/stylus // @version 1.0.1 // @description B站仿旧版样式,仅播放页 // @author CZX Fuckerman // @license GPL // @grant GM_addStyle // @run-at document-start // @match https://www.bilibili.com/video/* // @downloadURL none // ==/UserScript== (function() { let css = ` body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif; font-size: 12px; line-height: 1.5; color: #222; background-color: #fff; } .harmony-font { -webkit-font-smoothing: antialiased; font: 14px -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif; position: relative; z-index: 1000; margin: 0; padding: 0; } a { color: #222; background-color: transparent; text-decoration: none; outline: none; cursor: pointer; transition: color .3s; -webkit-text-decoration-skip: objects; } /* 在此插入代码... */ /* header */ #biliMainHeader { height: 56px!important; } .bili-header { min-height: 56px; } .bili-header .bili-header__bar { padding: 10px 24px; height: 56px; } .bili-header .left-entry__title .mini-header__logo { width: 70px; height: 32px; } .bili-header .left-entry__title .mini-header__logo path { fill: #00a1d6; } .bili-header .left-entry .default-entry { margin-right: 12px!important; } .bili-header .center-search-container .center-search__bar.is-focus { box-shadow: none; border-radius: 0px; } .bili-header .center-search-container .center-search__bar #nav-searchform { display: block; padding: 0 48px 0 16px; border-radius: 2px!important; background: #F4F4F4; border: 1px solid #E7E7E7; position: inherit; height: inherit; background: var(--bg3)!important; } .bili-header .center-search-container .center-search__bar .nav-search-content { padding: 0px; background: inherit!important; } .bili-header .center-search-container .center-search__bar .nav-search-content .nav-search-input { word-break: break-all; overflow: hidden; width: 100%; height: 34px; border: none; background-color: transparent; box-shadow: none; color: #999; font-size: 14px; line-height: 34px; transition: all 0.2s; } .bili-header .center-search-container .center-search__bar .nav-search-content .nav-search-input:focus { background-color: inherit; color: #999; } .bili-header .center-search-container .center-search__bar .is-actived .nav-search-content .nav-search-input:focus { color: #222222; } .bili-header .center-search-container .center-search__bar .nav-search-btn { position: absolute; top: 0px; right: 0; margin: 0; padding: 0; width: 48px; height: 36px; border: none; border-radius: 2px; background: #e7e7e7; line-height: 26px; cursor: pointer; display: inherit; transition: none; } .bili-header .center-search-container .center-search__bar .nav-search-btn svg { position: absolute; top: 7px; right: 16px; margin: 0; padding: 0; border: none; background: none; color: #505050; font-size: 16px; line-height: 20px; cursor: pointer; transition: all 0.2s; } .bili-header .search-panel { background: #ffffff; border: 1px solid #e6e9ee; box-sizing: border-box; box-shadow: 0px 2px 4px rgb(0 0 0 / 10%); border-radius: 2px; padding: 16px 0; margin-top: 2px; font-family: PingFang SC, sans-serif; font-style: normal; font-weight: normal; color: #212121; -webkit-font-smoothing: antialiased; } .bili-header .right-entry__outside { -webkit-font-smoothing: antialiased; font: 14px -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif; min-width: 0px; margin: 0px 0px 0px 12px!important; } .bili-header .right-entry__outside.go-login-btn { width: 64px; } .bili-header .v-popover-wrap.right-entry__outside.right-entry--message { margin: 0px 0px 0px 0px!important; } .bili-header .header-entry-mini { width: 40px; height: 40px; left: 0px; top: 0px; } .bili-header .header-entry-mini .v-img > img { border: 0px; } .bili-header .header-avatar-wrap { width: 50px; height: 40px; margin-left: 12px; padding-right: 0px; } .bili-header .header-upload-entry { cursor: pointer; position: relative; color: #fff; font-size: 14px; display: block; width: 100px; height: 36px; line-height: 36px; text-align: center; background: #fb7299; border-radius: 2px; margin-left: 14px; } .bili-header .header-upload-entry .header-upload-entry__text { display: block!important; } .bili-header .header-upload-entry__icon { display: none; } .mini-header .right-entry .right-entry__outside .right-entry-icon { display: none; } .mini-header .right-entry .right-entry__outside .right-entry-text { color: #212121; text-shadow: none; line-height: 30px; display: block!important; } .bili-header .right-entry .right-entry-item { min-width: 0px; margin-right: 0px; } .bili-header .right-entry .right-entry-item--upload .v-popover-wrap { margin-left: 0px; } .bili-header .right-entry--vip .red-point { right: -8px; } .bili-header .red-num--message { background-color: #FA5A57; text-align: center; color: #fff; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; line-height: 16px; font-size: 12px; top: -7px; right: -10px; left: auto; } .right-entry .v-popover-wrap.right-entry--message { margin-left: 12px!important; } /*header项目菜单 动态 */ .v-popover-content { border-radius: 2px; box-shadow: 0 3px 6px 0 rgb(0 0 0 / 20%); } .dynamic-panel-popover { width: 350.63px; } .dynamic-panel-popover .header-tabs-panel__content { min-height: 113.717px; max-height: 444.445px; } .v-popover.is-bottom { padding-top: 13px!important; } .v-popover.is-bottom::before { content: ''; width: 10px; height: 7px; display: block; position: absolute; top: 11px; left: calc(50% - 5px) !important; -webkit-transform: rotate(45deg); transform: rotate(45deg); background-color: white; -webkit-box-shadow: -1px -1px 1px rgb(0 0 0 / 5%); box-shadow: -1px -1px 1px rgb(0 0 0 / 5%); z-index: 1; } .bili-header .message-entry-popover { min-width: 173px; } .bili-header .message-entry-popover .message-inner-list { padding: 10.058px 0; color: #212121; } .bili-header .message-entry-popover .message-inner-list__item { padding: 0px 0px 0px 20.116px; line-height: 36.2093px; font-size: 14px; color: inherit; } .dynamic-article .tip-box { color: #999!important; font-size: 13.267px!important; display: flex!important; justify-content: center!important; align-items: center!important; height: 94.75px!important; } .dynamic-video-item { line-height: normal!important; } .bili-header .header-dynamic-avatar { width: 34.1px!important; height: 34.1px!important; border: 0px!important; } .bili-header .header-dynamic-list-item { transition: 0.3s!important; } .bili-header .header-dynamic-list-item:hover { background-color: #f4f4f4!important; } .bili-header .header-dynamic-list-item .header-dynamic__box--right { top: 0px!important; width: auto!important; } .cover { width: 60.641px!important; height: 34.109px!important; border-radius: 1.895px!important; } .watch-later { width: 20.844px!important; height: 20.844px!important; } .watch-later .bili-watch-later__icon { width: 15px!important; height: 15px!important; } .bili-avatar-right-icon { width: 15.1px; height: 15.1px; } .bili-header .header-dynamic-list-item .dynamic-name-line, .publish-time { font-size: 12px!important; color: #505050!important; } .bili-header .header-dynamic-list-item .dynamic-info-content { font-size: 13.267px!important; font-weight: 500!important; color: #212121!important; margin: 5.68px 0px!important; line-height: normal!important; } .wnd_bottom { height: 60.64px; display: flex; justify-content: center; align-items: center; margin: 0px 18.95px; } .wnd_bottom .r-l { height: 30.313px; width: auto; margin: 0px; border-radius: 0px; color: #212121; font-size: 13.267px; background-color: #f4f4f4; line-height: normal; transition: box-shadow 0.1s; flex: 1; display: flex; justify-content: center; align-items: center; font-family: auto; } .wnd_bottom .r-l:hover { background-color: #e7e7e7; } .dynamic-panel-popover .header-tabs-panel { font-size: 12px; color: #999; line-height: 15.1px; height: 45.5px; display: flex; flex-direction: row; align-items: center; padding-left: 19px; border-bottom: 1px solid #e7e7e7; user-select: none; justify-content: normal; } .dynamic-panel-popover .header-tabs-panel__item { display: flex; justify-content: center; align-items: center; margin: 0px 22.743px 0px 0px; padding: 0px; border-radius: 30px; cursor: pointer; transition: 0.3s ease; z-index: 1; flex: inherit; font-size: 12px; line-height: 15px; border-bottom: none; } .dynamic-panel-popover .header-tabs-panel__item--active { background-color: #00a1d6; color: #fff; padding: 3.79px 9.5px; margin: 0px 13.267px 0px 0px; border-bottom: none; } /* 左侧项目↓ */ .left-container { max-width: 1085px; } /* 视频标题 */ .video-info-container { height: 96px!important; padding-top: 27px!important; box-sizing: border-box!important; } .video-info-detail { font-size: 12px!important; height: 16px!important; color: #999!important; display: flex!important; align-items: center!important; text-overflow: ellipsis!important; white-space: nowrap!important; } .video-info-detail .video-info-detail-list .pubdate-ip { font-size: inherit!important; } .video-info-detail .video-info-detail-list .pubdate-ip .pubdate .pubdate-text { font-size: inherit!important; } /* 视频下方工具栏 */ .video-toolbar-left-item .video-toolbar-item-icon { width: 28px!important; height: 28px!important; } .video-toolbar-container .video-toolbar-left .toolbar-left-item-wrap { margin-right: 8px!important; } .video-toolbar-left-item { width: 92px!important; } .video-toolbar-right-item { font-size: 12px!important; } .video-toolbar-right-item .video-toolbar-item-icon.video-complaint-icon { display: none; } .video-toolbar-container .video-toolbar-right .toolbar-right-note { /* position: relative; */ margin-right: 25px!important; width: 71px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 2px; cursor: pointer; font-size: 12px!important; line-height: 20px; border: 1px solid #00a1d6; color: #00a1d6; background: #fff; transition: 0.3s; } .video-toolbar-container .video-toolbar-right .toolbar-right-note:hover { color: #fff!important; background: #00a1d6!important; } .video-toolbar-right-item .video-toolbar-item-icon { width: 16px; height: 20px; fill: #00a1d6; transition: 0.3s; } .toolbar-right-note:hover .video-toolbar-item-icon { fill: #fff!important; } .toolbar-right-note .video-toolbar-item-text { transition: 0.3s; } .toolbar-right-note:hover .video-toolbar-item-text { color: #fff!important; } .video-tool-more .video-tool-more-reference .video-tool-more-icon { width: 20px!important; height: 24px!important; } .video-tool-more-popover { display: block; position: absolute; width: 80px; min-width: 0px; left: -65px; z-index: 30; text-align: center; padding: 10px 0; background: #ffffff; border: 1px solid #e5e9ef; box-shadow: 0 2px 4px 0 rgb(0 0 0 / 14%); border-radius: 2px; font-size: 14px; color: #222; } .video-tool-more-popover .video-tool-more-dropdown .dropdown-item { position: relative; height: 34px; line-height: 34px; cursor: pointer; transition: all 0.3s; justify-content: center; padding: 0px; } .video-tool-more-popover .video-tool-more-dropdown .dropdown-item svg { display: none; } .video-tool-more-popover .video-tool-more-dropdown .dropdown-item .video-toolbar-item-text { font-size: 14px!important; } .video-share-popover { border-radius: 2px; -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 14%); box-shadow: 0 2px 4px 0 rgb(0 0 0 / 14%); border: 1px solid #e5e9ef; } .video-share-popover .video-share-dropdown .dropdown-top { padding: 20px 10px 12px 10px; } .video-share-popover .video-share-dropdown .dropdown-bottom { padding: 20px 10px; } /* 视频 */ #bilibili-player:has(.bpx-player-container[data-screen = "normal"]) { max-width: 1085px; } /* 视频简介 */ .video-desc-container .basic-desc-info { font-size: 12px!important; line-height: 18px!important; } /* 视频标签 */ .video-tag-container .tag-panel { /* width: 670px!important; */ } .video-tag-container .tag-panel .tag { margin: 0px!important; } .video-tag-container .tag-panel .tag-link { float: left; margin: 0 10px 8px 0; background: #F6F7F8; border-radius: 100px; padding: 0 12px; position: relative; height: 22px; line-height: 22px; transition: all 0.3s; font-size: 12px; border: 1px solid transparent; box-sizing: content-box; } .video-tag-container .tag-panel .tag-link:hover { border-color: #00a1d6; } .newchannel-tag .tag-link.newchannel-link .newchannel-tag-icon { width: 11px!important; height: 10px!important; fill: #9499a0; margin-right: 5px!important; } .newchannel-tag .tag-link.newchannel-link .newchannel-tag-icon path { fill: inherit; } .video-tag-container .tag-panel .tag .show-more-btn { /* width: 22px!important; height: 22px!important; display: flex; justify-content: center; align-items: center; */ display: none; } .video-tag-container .tag-panel .tag.not-btn-tag { display: block!important; } /* 评论上面的广播公告栏 */ .reply-header .reply-notice { box-sizing: content-box; background-color: #FFF1D3!important; border: 1px solid #F8DFAA!important; color: #E78B1F!important; border-radius: 4px; padding: 0px 15px 0px 10px!important; } .reply-header .reply-notice::after { background-color: inherit!important; opacity: 0!important; } .reply-header .reply-notice .svg-icon.notice { width: 21px!important; height: 21px!important; } .reply-header .reply-notice .svg-icon.notice svg path { fill: #e78b1f; } .reply-header .reply-notice .notice-content { line-height: 20px; font-size: 14px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; padding-left: 13px!important; } /*评论*/ .bili-comment.browser-pc * { font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; } .bili-comment.browser-pc * a { outline: none; color: #00a1d6; text-decoration: none; cursor: pointer; } .bili-comment.browser-pc * a:hover { color: #f25d8e; } .reply-header .reply-navigation .nav-bar .nav-title { font-size: 18px!important; line-height: 24px!important; font-weight: normal!important; } .reply-header .reply-navigation .nav-bar .nav-title .nav-title-text { font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif!important; } .reply-header .reply-navigation .nav-bar .nav-title .total-reply { color: inherit!important; font-size: 18px!important; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif!important; } .reply-header .reply-navigation .nav-bar .nav-sort { font-size: 14px!important; color: #222!important; } .reply-header .reply-navigation .nav-bar .nav-sort .hot-sort { font-weight: bold!important; } .reply-header .reply-navigation .nav-bar .nav-sort .time-sort { font-weight: bold!important; } .reply-header .reply-navigation .nav-bar .nav-sort.hot .hot-sort, .reply-header .reply-navigation .nav-bar .nav-sort.time .time-sort { color: #00a1d6!important; } .emoji-panel { margin-top: 7px; margin-bottom: 10px; box-shadow: 0 11px 12px 0 rgb(106 115 133 / 30%); top: 27px; } .emoji-panel .emoji-content { height: 196px!important; } .reply-list .login-prompt { /* 评论登录按钮 */ border-radius: 4px!important; } .reply-box .box-normal { height: 65px!important; } .reply-box .box-normal .reply-box-send { width: 70px!important; height: 64px!important; background-color: #00a1d6; border: 1px solid #00a1d6; transition: 0.1s; } .reply-box .box-normal .reply-box-send:hover { background-color: #00b5e5; border-color: #00b5e5; } .reply-box .box-normal .reply-box-send:after { content: none!important; } .reply-box.disabled .box-normal .reply-box-send { background-color: #e5e9ef !important; border-color: #e5e9ef !important; color: #b8c0cc !important; } .reply-box .box-normal .reply-box-warp .reply-box-textarea { height: 65px!important; font-size: 12px; line-height: normal!important; } .reply-box .box-normal .reply-box-warp .reply-box-textarea:hover { border-color: #00a1d6!important; background-color: #fff!important; } .reply-item .root-reply-container { padding-left: 85px!important; padding-top: 24px!important; } .reply-item .sub-reply-container { padding-left: 78px!important; } .reply-item .root-reply-container .root-reply-avatar { width: 82px!important; padding-top: 6px!important; } .reply-item .root-reply-container .content-warp .user-info { font-size: 12px!important; font-weight: bold!important; line-height: 18px!important; word-wrap: break-word!important; } .reply-item .root-reply-container .content-warp .root-reply { font-size: 14px!important; line-height: 20px!important; } .reply-item .root-reply-container .content-warp .user-info .user-name { font-family: inherit!important; font-weight: inherit!important; } .reply-item .root-reply-container .content-warp .user-info .user-level { margin-left: 11px!important; } .reply-item .root-reply-container .content-warp .root-reply .reply-info { font-size: 12px!important; margin-top: 6px!important; } .reply-item .root-reply-container .content-warp .root-reply .reply-info .reply-time { margin-right: 20px!important; } .reply-item .root-reply-container .content-warp .root-reply .reply-info .reply-dislike { margin-right: 15px!important; } .reply-item .root-reply-container .content-warp .root-reply .reply-info .reply-btn { padding: 0 5px; border-radius: 4px; margin-right: 15px; cursor: pointer; } .reply-item .root-reply-container .content-warp .root-reply .reply-info .reply-btn:hover { color: #00a1d6!important; background: #e5e9ef!important; } .reply-item.login-limit-reply-end .login-limit-mask { /* 未登录遮罩 */ display: none!important; } .reply-content-container .reply-content { line-height: inherit; } .reply-operation .operation-list { padding: 10px 0!important; } .sub-reply-item { font-size: 14px!important } .sub-reply-item .sub-user-info .sub-user-name { font-size: 12px!important; font-weight: bold!important; line-height: 18px!important; word-wrap: break-word!important; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif!important; } .sub-reply-item .sub-user-info .sub-user-level { margin-left: 11px; } .sub-reply-item .sub-reply-info { line-height: 14px!important; margin-top: 6px!important; font-size: 12px!important; } .sub-reply-list .view-more { font-size: 12px!important; color: #6d757a!important; font-weight: bolder!important; } .sub-reply-list .view-more .view-more-default .view-more-btn { color: #00a1d6; padding: 2px 3px; border-radius: 4px; } .sub-reply-list .view-more .view-more-default .view-more-btn:hover { background: #e5e9ef; color: #00a1d6; } .sub-reply-list .view-more .view-more-pagination span { transition: color .3s; line-height: 26px } /* 左侧项目↑ */ /* 右侧项目↓ */ .video-container-v1 .right-container { max-width: 320px!important; } /* 头像框 */ .up-info-container { box-sizing: border-box!important; height: 96px!important; padding-top: 15px!important; padding-bottom: 12px!important; display: flex!important; align-items: flex-start!important; } .up-detail .up-detail-top .up-name { position: relative!important; font-size: 14px!important; color: #FB7299!important; font-weight: 500!important; display: inline-block!important; max-width: 180px!important; overflow: hidden!important; text-overflow: ellipsis!important; white-space: nowrap!important; vertical-align: top!important; margin-right: 0px!important; } .up-detail .up-detail-top .send-msg { margin-left: 12px!important; font-size: 12px!important; color: #505050!important; display: inline-block!important; vertical-align: middle!important; } .up-detail .up-detail-top .send-msg i { color: #999!important; font-size: 16px; margin-right: 4px; height: 16px; width: 16px; vertical-align: text-bottom; } .up-detail .up-description { margin-top: 4px!important; width: 256px!important; font-size: 12px!important; line-height: 16px!important; height: 16px!important; color: #999!important; overflow: hidden!important; text-overflow: ellipsis!important; white-space: nowrap!important; } /* 广告 */ .ad-report.video-card-ad-small { /* display: none!important; */ } .next-button { font-size: 12px!important; color: #999!important; line-height: 22px!important; cursor: pointer!important; } /*右侧项目容器及分隔线*/ .recommend-list-v1 .rec-title { font-size: 16px!important; color: #222!important; display: flex!important; justify-content: space-between!important; margin-bottom: 6px!important; } .recommend-list-v1 .split-line { background: #E5E9EF!important; margin: 6px 0 12px!important; } .recommend-list-v1 .rec-list { margin: 0px!important; } /*右侧项目*/ .video-page-card-small, .video-page-special-card-small, .video-page-operator-card-small { padding: 6px 0!important; margin-bottom: 0px!important; } .video-page-card-small:first-child, .video-page-special-card-small:first-child, .video-page-operator-card-small:first-child { padding-top: 0px!important; } .video-page-card-small .card-box .info .upname, .video-page-special-card-small .card-box .info .upname, .video-page-operator-card-small .card-box .info .upname { height: 16px; } .video-page-card-small .card-box .info .upname a svg, .video-page-special-card-small .card-box .info .upname a svg, .video-page-operator-card-small .card-box .info .upname a svg { display: none; } .video-page-card-small .card-box .info, .video-page-special-card-small .card-box .info, .video-page-operator-card-small .card-box .info { font-size: 12px!important; } .video-page-card-small .card-box .pic-box .pic, .video-page-special-card-small .card-box .pic-box .pic, .video-page-operator-card-small .card-box .pic-box .pic { position: relative!important; border-radius: 2px!important; border-top-left-radius: 2px!important; border-top-right-radius: 2px!important; border-bottom-right-radius: 2px!important; border-bottom-left-radius: 2px!important; } .video-page-card-small .card-box .info .playinfo .play, .video-page-special-card-small .card-box .info .playinfo .play, .video-page-operator-card-small .card-box .info .playinfo .play { /* display: none; */ height: 14px!important; } .video-page-card-small .card-box .info .playinfo .dm, .video-page-special-card-small .card-box .info .playinfo .dm, .video-page-operator-card-small .card-box .info .playinfo .dm { /* display: none; */ height: 14px!important; } .is-in-large-ab .video-page-card-small .card-box .info .upname, .is-in-large-ab .video-page-special-card-small .card-box .info .upname, .is-in-large-ab .video-page-operator-card-small .card-box .info .upname { margin: 0px 0px 4px 0px; } .is-in-large-ab .video-page-card-small .card-box .info .title, .is-in-large-ab .video-page-special-card-small .card-box .info .title, .is-in-large-ab .video-page-operator-card-small .card-box .info .title { display: block!important; font-size: 14px!important; font-weight: 500!important; height: 36px!important; line-height: 18px!important; margin-bottom: 6px!important; word-break: break-word!important; overflow: hidden!important; text-overflow: ellipsis!important; display: box!important; } .is-in-large-ab .video-page-card-small .card-box .info .desc, .is-in-large-ab .video-page-special-card-small .card-box .info .desc, .is-in-large-ab .video-page-operator-card-small .card-box .info .desc { font-size: 12px!important; } .is-in-large-ab .video-page-card-small .card-box .pic-box, .is-in-large-ab .video-page-special-card-small .card-box .pic-box, .is-in-large-ab .video-page-operator-card-small .card-box .pic-box { width: 141px!important; height: 80px!important; border-radius: 2px!important; } .is-in-large-ab .video-page-card-small .card-box .pic-box .framepreview-box .video-awesome-img, .is-in-large-ab .video-page-special-card-small .card-box .pic-box .framepreview-box .video-awesome-img, .is-in-large-ab .video-page-operator-card-small .card-box .pic-box .framepreview-box .video-awesome-img { width: 141px; height: 80px; } .is-in-large-ab .video-page-card-small .card-box .pic-box .pic .duration, .is-in-large-ab .video-page-special-card-small .card-box .pic-box .pic .duration, .is-in-large-ab .video-page-operator-card-small .card-box .pic-box .pic .duration { font-size: 12px; line-height: inherit; height: 14px; } /* 接下来播放上面的广告 */ .video-card-ad-small .vcd .cover .b-img[data-v-eba1a9e8], .video-card-ad-small .vcd .cover img { border-radius: 2px!important; } .is-in-large-ab .video-card-ad-small .vcd .cover { width: 141px!important; height: 80px!important; border-radius: 2px!important; } .is-in-large-ab .video-card-ad-small .vcd .info { line-height: 12px!important; font-size: 12px!important; word-break: keep-all!important; display: flex; flex-direction: column; justify-content: space-between; } .is-in-large-ab .video-card-ad-small .vcd .info .title { font-size: 14px!important; font-weight: 500; line-height: 18px!important; word-break: break-word; text-overflow: ellipsis; -webkit-line-clamp: 2; } /*下面的广告和直播推荐*/ .video-container-v1 .right-container #right-bottom-banner { height: 160px!important; border-radius: 2px!important; } .pop-live-small-mode .pl__cover, .pop-live-small-mode .pl__mask { height: 180px!important; border-radius: 2px!important; } .pop-live-small-mode .pl__title { font-size: 14px!important; } .pop-live-small-mode .pl__name__text { font-size: 12px!important; } .pop-live-small-mode .pl__user { font-size: 12px!important; } /* 右侧项目↑ */ @media (min-width: 1681px) { .video-info-container .video-title { font-size: 18px!important; font-weight: 500!important; line-height: 26px!important; } } `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();