// ==UserScript== // @name 暗色的biliscope // @namespace https://scriptcat.org/zh-CN/script-show-page/3168 // @version 0.2 // @description 给biliscope添加暗色样式 // @author beibeibeibei // @license MIT // @match https://www.bilibili.com/* // @match https://www.bilibili.com/video/* // @match https://search.bilibili.com/* // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; const css = ` /*视频卡片*/ /*视频卡片基础*/ .biliscope-ai-summary-popup-header, .biliscope-ai-summary-popup-tips-text, .biliscope-ai-summary-popup-body, #biliscope-hot-comment-wrapper, #biliscope-hot-comment, #biliscope-hot-comment-author, #biliscope-hot-comment-text { background: #181a1b; color: #d8d4cf !important; } /*悬停效果*/ .biliscope-ai-summary-popup-body-outline .ai-summary-section:hover { background-color: #181a1b !important; outline: 1px solid #666 !important; } /*图标眼睛*/ .biliscope-ai-summary-popup-header svg { filter: drop-shadow(0 0 1px #d8d4cf); } .biliscope-ai-summary-popup-header svg>g>path:nth-last-child(1), .biliscope-ai-summary-popup-header svg>g>path:nth-last-child(2) { filter: brightness(0); } /*滚动条*/ .biliscope-ai-summary-popup-body::-webkit-scrollbar { width: 8px; border-radius: 4px; background: #222; } .biliscope-ai-summary-popup-body::-webkit-scrollbar-thumb { background: #444; } /*id卡片*/ /*id卡片基础*/ #biliscope-id-card { background: #181a1b; } /*用户名*/ #biliscope-id-card .idc-uname { text-shadow: 0 0 5px #d8d4cf; } /*备注输入框*/ #biliscope-id-card #biliscope-card-note-textarea { background: #181a1b; } /*数据*/ #biliscope-id-card .idc-meta-item { color: #d8d4cf; } /*tag*/ #biliscope-id-card .biliscope-badge-video-tag { background: #004b66; } /*gaogaotiantian的粉丝名*/ #biliscope-id-card .fans-uname { color: #d8d4cf; } `; GM_addStyle(css); })();