百度-黑暗模式
百度-黑暗模式 by Krysl
Details
AuthorKrysl
LicenseNo License
Categorybaidu.com
Created
Updated
Size8.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name 百度-黑暗模式
@version 20240731.03.29
@namespace ?
==/UserStyle== */
@-moz-document domain("baidu.com") {
html,
body {
color: #ccc;
background-color: #333 !important;
}
.wrapper_new #head,
#head ~ .result-molecule.new-pmd,
#head {
color: #ccc3;
background-color: #0006 !important;
}
:root {
--a: #546ed7;
--a-hover: #7185dc;
--a-white: #ccc;
--a-hover-white: #eee;
}
.cos-pc,
:root {
--cos-color-text: #ccc;
--cos-color-text-link: #6a78b3;
}
/* 链接 */
.opr-toplist1-link_2Ag1v a,
.opr-toplist1-link_2Ag1v a:link,
.page_2muyV a,
.hot-news-wrap .hot-content-wrap .hot-news-item .hot-news-content:hover,
a {
color: var(--a) !important;
}
.opr-toplist1-link_2Ag1v a:hover,
.page_2muyV a:hover,
.hot-news-wrap .hot-content-wrap .hot-news-item .hot-news-content:hover,
a:hover {
color: var(--a-hover) !important;
}
/* 主页顶栏 */
.s-top-wrap {
color: #ccc;
background-color: #333;
box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, .8);
}
.s-top-left-new .mnav:hover .s-bri,
.s-top-left-new a:hover {
color: var(--a-hover);
}
.s-top-left-new .mnav:hover .s-bri,
.s-top-left-new a {
color: var(--a);
}
.c-color-t {
color: #ccc;
}
.s-top-left-new .s-top-more {
background-color: #383838;
}
.s-top-left-new .s-top-more .s-top-more-content > a:hover {
background-color: #666;
}
.s-top-left-new .s-top-more .s-top-more-content > a:hover .s-top-more-title {
color: #3f3fff;
font-weight: bold;
}
/* 主页搜索框 */
#head_wrapper #kw {
background: #222;
color: #ccc;
}
#head_wrapper .soutu-btn {
filter: invert(.85);
}
.s_ipt_wr {
border-color: #7b7b7b #b6b6b6 #b6b6b6 #7b7b7b;
background: #333;
}
.wrapper_new .s_ipt_wr {
border-radius: 10px 0 0 10px;
}
.wrapper_new .s_ipt {
height: 35px;
border-radius: 10px 0 0 10px;
}
input#kw {
color: #ccc;
background-color: #333;
}
.wrapper_new #form .bdsug-new {
background-color: #000000D0 !important;
}
.wrapper_new #form .bdsug-new ul li {
color: #ccc;
}
.wrapper_new #form .bdsug-new .bdsug-s {
color: #eee;
background-color: #5d5d5e!important
}
.wrapper_new #form .bdsug-new ul li b,
#head_wrapper #form .bdsug-new ul li b {
color: #888;
}
/* 主页底栏 */
#bottom_layer {
color: #ccc;
background-color: #333;
box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, .8);
}
/* 搜索页顶栏 */
.wrapper_new #u > a,
.wrapper_new #head.peak-down {
color: #ccc !important;
}
.rs-link_2DE3Q {
color: #ccc;
background-color: #00000080;
}
.wrapper_new #s_tab .cur-tab {
color: hsl(237, 76%, 70%);
font-weight: bold;
}
/* 底部相关搜索标签 */
.item_3WKCf,
.page_2muyV strong,
.page_2muyV a {
background-color: #00000080;
}
.item_3WKCf:hover,
.rs-link_2DE3Q:hover {
background-color: #00000040;
}
/* 搜索页底栏 */
#page,
.foot-container_2X1Nt {
color: #ccc;
background-color: #00000080;
}
/* 搜索结果文本 */
#container.sam_newgrid .c-container ._head-title_zc167_142 ._link_zc167_146,
#container.sam_newgrid .c-container ._head-title_zc167_142 ._link_zc167_146:hover,
#container.sam_newgrid .c-container ._head-title_zc167_142 ._link_zc167_146:active,
#container.sam_newgrid .c-container ._head-title_zc167_142 ._link_zc167_146.c-showurl-hover,
.cos-pc .dict-content_3ulTX .mean-text_4MwRe,
.cu-color-text,
.new-pmd.c-container,
.new-pmd .c-color-text,
.cosd-markdown .marklang .marklang-paragraph,
.cosd-markdown .marklang,
/* .cosd-markdown .marklang mark, */
.black-underline_3XIHf a,
.new-pmd .c-color-t {
color: #bbb;
}
.wenda-abstract-single_1BMV8 em {
color: #ddd;
}
.pause-icon_7A3oB {
fill: #ccc !important;
}
.under-line_5X592 {
color: #ccc;
}
.fy-dictwisenew-liju-cont_6Pfdf {
color: #ccc !important;
}
._vertical-gradient_zc167_197 {
background-image: linear-gradient(to top, #333, #222);
}
._radial-gradient-box_zc167_100 {
background-color: #222;
}
.FYB_RD {
border-radius: 10px;
padding: 20px;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .8);
}
.danmaku_XMaBo .mask_AW7gR {
background: linear-gradient(180deg, #333, hsla(0, 0%, 100%, 0));
}
.wrap_f1met {
color: #ccc;
background-color: #222;
}
.button_1I6J3 {
background-color: #383838;
}
.cos-pc .brand-logo_6Lv5s .img-light_7jMUg,
.cos-pc .brand-logo_6Lv5s .img-dark_5FkOX {
filter: invert(1);
}
/* 天气 */
.s-mod-setweather .setweather-content {
color: #ccc;
background-color: #222;
}
.c-color-text,
.s-mod-setweather .setweather-content .warn-mod .warn-title {
color: #ccc;
}
.s-mod-setweather .setweather-content .everyday-mod .everyday-item:hover,
.s-mod-setweather .setweather-content .warn-mod {
background-color: #383838;
}
/* 搜索标签 */
.tag-container_ksKXH {
color: #ccc;
background-color: #00000060;
}
.tags_2yHYj {
background-color: #00000030;
}
.tag-container_ksKXH .tag-selected_1iG7R {
background-color: #00000030;
}
#container.sam_newgrid .result .c-tools .c-icon,
#container.sam_newgrid .result-op .c-tools .c-icon {
color: rgba(255, 255, 255, .2);
}
.cu-border {
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .8);
}
/* 新闻 */
.header,
.content {
background-color: #333;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .3);
}
.publisher-wrap_x5sK8 {
background-color: #333 !important;
}
.publisher-wrap_x5sK8 .textarea_SITY3 {
color: #ccc;
}
.page:before {
content: " ";
filter: brightness(0.2);
}
.menu-wrap .header-index,
.xcp-list-title,
.user-name,
.xcp-list-loader.is-second,
.danmu-title-wrap .title {
color: #ccc;
}
.publisher-wrap_x5sK8 .opt-emoji_L2LHq,
.hot-news-wrap .hot-title-wrap .title .icon-title,
.xcp-list-loader.is-second .icon-down {
filter: invert(1);
}
/* 百家号顶栏 */
.MtsE-,
._3pYTO a {
color: #ccc;
background-color: #0008;
}
/* 百家号主要区域 */
.q1J1i,
._2gGWi,
._3RDss h2,
.user-bar-uname,
.x-interact-rich-text,
.interact-bar-right,
._1Kia5 h2,
.czRn-,
._1dGiW,
.xcp-publish-title,
._18p7x .bjh-strong,
._18p7x .dpu8C._2kCxD,
._18p7x .dpu8C._2kCxD p {
color: #ccc;
background-color: #333;
}
.Qu0U2,
._3XLti {
color: #ccc;
background-color: #0003;
}
.Km2pT,
._1Pjif {
color: #ccc;
}
._143e- a:hover {
color: var(--a-hover-white);
}
.a6vtg,
._1Kia5 ._1jYwa a,
._143e- a {
color: var(--a-white)
}
.YHR87 ._3R_7x,
.interact-bar-right .icon {
filter: invert(.75);
}
._3PLyv img {
filter: invert(.75);
}
/* 新闻 */
.z1FTI34EDr0bJC1QmFREIw\=\= {
color: #ccc;
background-color: #333d;
backdrop-filter: blur(1px);
}
.z1FTI34EDr0bJC1QmFREIw\=\=.uWzIr\ + g\ + Y3R2Ynjuqbb3Ug\=\=a {
color: #ccc;
}
#page-comment {
color: #ccc;
background-color: #333;
}
/* */
.search-box-new .search-block,
#body.container,
.head-wrap {
color: #ccc;
background-color: #333;
}
.wgt-ask,
#wgt-best,
.wgt-answers .bd-wrap,
.wgt-replyer-all .wgt-replyer-all-uname,
.wgt-replyer-all .wgt-replyer-all-follow-box .wgt-replyer-all-follow,
.wgt-related,
.wgt-bottom-union,
.wgt-asp-top,
body ._886bxmw a,
body ._886bxmw div,
body a.xny78f9,
body div.xny78f9,
.wgt-related .related-list ul li a,
.wgt-related .related-more a,
._1uevpeq,
.qb-section .qb-side,
.mod-noshadow,
.wgt-push,
.cms-inner #cms-link li a,
.wgt-push .push-ul li .push-item-link,
.wgt-push .wgt-push-golist,
.wgt-answers .answer-text {
color: #ccc;
background-color: #444;
}
.nav-menu-container .nav-show-control .nav-menu-layout .nav-menu {
background-color: hsl(137, 46%, 50%) !important;
}
.wgt-header-title,
div.wgt-best .best-text,
div.wgt-footer-new,
div.wgt-footer-new .footer-new {
color: #ccc;
background-color: #333
}
div.wgt-best .best-text .wgt-best-mask {
height: 80px;
background: linear-gradient(180deg, transparent, #222 50%);
}
/* 奥运 */
#wrapper_wrapper,
.bac-img_1y_h2,
.main-card-all_3mcze,
.container_through_bottom #container.sam_newgrid,
.bac-box_1Og9c {
color: #ccc;
background-color: #333 !important;
background-image: unset !important;
}
}