Skip to content

Bing必应毛玻璃主题 by noname

Screenshot of Bing必应毛玻璃主题

Details

Authornoname

LicenseNo License

Categorycn.bing.com/search?

Created

Updated

Size23 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

!!!大型工地警告!!!
大量采用模糊特效,背景使用必应每日壁纸或unsplashapi提供的图片,(试图)提供一些自定义
另,国内尚无维基百科、bing AI等内容且我本人没有梯子,所以这方面的适配会非常欠缺

Notes

V0.1 2022/02/02 大家虎年快乐,此版本可体现部分理念,施工版本不建议使用
V0.2 2023/06/06 上班摸鱼产物,自定义有些可用有些不可用,请自行尝试,部分特殊卡片未适配,仍然为测试版本,强迫症勿用

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           bing.com - 2022/2/2 下午12:17:45
@namespace      github.com/openstyles/stylus
@version        24.0709.0901
@description    !!!大型工地警告!!!
大量采用模糊特效,背景使用必应每日壁纸或unsplashapi提供的图片,(试图)提供一些自定义
另,国内尚无维基百科、bing AI等内容且我本人没有梯子,所以这方面的适配会非常欠缺
@author         noname
@advanced dropdown GLASSY_OPTION "模糊开关" {
	GLASSY_OPTION "开启" <<<EOT
         blur(40px)saturate(180%)
    EOT;
	DISABLE_GLASSY_OPTION "关闭" <<<EOT
    EOT;
}
@advanced dropdown DARK_MODE "深色模式" {
	DISABLE_DARK_MODE "关闭" <<<EOT
         --a-background-regularcolor:255,255,255;
         --a-background-secondcolor:242,242,242;
         --a-background-thirdcolor:0,0,0,0.1;
		 --a-label-border-blue:0,138,255,1;
         --a-text-title-red:255,31,31,1;
         --a-text-title-blue:51,71,255,1;
         --a-text-inverse:255,255,255,0.8;
         --a-text-regularcolor:0,0,0,0.8;
         --a-text-microlightcolor:0,0,0,0.6;
         --a-text-lightcolor:0,0,0,0.4;
    EOT;
	HALF_DARK_MODE "高级黑" <<<EOT
         --a-background-regularcolor:51,51,51;
         --a-background-secondcolor:24,24,24;
         --a-background-thirdcolor:255,255,255,0.2;
		 --a-label-border-blue:16,110,190,0.7;
         --a-text-title-red:255,31,31,0.8;
         --a-text-title-blue:90,130,255,0.8;
         --a-text-title-green:0,219,66,0.8;
         --a-text-titlecolor:255,255,255,1;
         --a-text-inverse:0,0,0,0.8;
         --a-text-regularcolor:255,255,255,0.8;
         --a-text-microlightcolor:255,255,255,0.6;
         --a-text-lightcolor:255,255,255,0.4;
    EOT;
	COMPLETE_DARK_MODE "纯黑" <<<EOT
         --a-background-regularcolor:0,0,0;
         --a-background-secondcolor:24,24,24;
         --a-background-thirdcolor:255,255,255,0.15;
		 --a-label-border-blue:16,110,190,0.7;
         --a-text-title-red:255,31,31,0.8;
         --a-text-title-blue:100,150,255,0.8;
         --a-text-inverse:0,0,0,0.8;
         --a-text-regularcolor:255,255,255,0.8;
         --a-text-microlightcolor:255,255,255,0.6;
         --a-text-lightcolor:255,255,255,0.4;
    EOT;
}
@advanced text CUSTOM_HO "自定义顶栏不透明度,范围:0-100" "60"
@advanced text CUSTOM_SD "自定义顶栏阴影不透明度,范围:0-100" "10"
@advanced text CUSTOM_RCO "自定义结果卡片不透明度,范围:0-100" "70"
@advanced text CUSTOM_BR "自定义结果卡片圆角,范围不限" "14"
==/UserStyle== */
@-moz-document domain("bing.com") {
    /*变量部分*/
    :root{
    --a-glassy-hl:/*[[GLASSY_OPTION]]*/;
    --a-header-opacity: calc(/*[[CUSTOM_HO]]*/ / 100);
    --a-shadow-deepth:calc(/*[[CUSTOM_SD]]*/ / 100);
    --a-resultcard-opacity:calc(/*[[CUSTOM_RCO]]*/ / 100);
    --a-border-radius:/*[[CUSTOM_BR]]*/px;
    /*[[DARK_MODE]]*/
    }
}
@-moz-document domain("bing.com") {
    /*背景*/
    html, body #b_results .b_no/*picsum随机壁纸*/{
        background:url(https://picsum.photos/2560/1440) no-repeat;
        background-size:cover;/*背景图片自动拉伸以铺满全屏*/
	    background-position:top center;
        background-attachment: fixed;
    }
}
@-moz-document domain("bing.com"){
    /*顶栏*/
    #b_header/*顶栏背景*/{
        background-color:rgba(var(--a-background-regularcolor),var(--a-header-opacity))!important;
        backdrop-filter:var(--a-glassy-hl)!important;
        box-shadow:0 10px 20px rgba(0,0,0,var(--a-shadow-deepth));
        border-radius:0 0 var(--a-border-radius) var(--a-border-radius);
        border-bottom:1px solid rgb(var(--a-background-secondcolor));
        position:sticky;
        top:0;
        z-index:1!important;
    }
    #id_a{
        background:rgba(255,255,255,.6);
        border-radius:5px;
        border:0;
    }
}
@-moz-document url-prefix("https://cn.bing.com/search?") {
    /*搜索结果*/
	#b_content/*去除白色背景*/{
	background:0;
	z-index:0;
	}
	/*渐变背景修改*/
	#b_results .b_rc_gb_template.b_rc_gb_template_bg_6{
	background-image: linear-gradient(4deg,#fff0 45.17%,rgba(0, 255, 43, .1) 95.21%);
	}
	#b_results .b_rc_gb_template.b_rc_gb_template_bg_10{
	background-image:linear-gradient(4deg,#fff0 45.17%,rgba(0, 113, 255, .1) 95.21%);
	}
	#b_results .b_algo.b_deeplinks_bg_color_kc{
		background-image:linear-gradient(4deg,#fff0 45.17%,rgba(0,127,255,.1) 95.21%);
	}
	.b_moreExBus/*搜索标签*/{
	 background-color:rgba(var(--a-background-regularcolor),var(--a-resultcard-opacity));
        backdrop-filter:var(--a-glassy-hl);
        border-radius:var(--a-border-radius);
		border:0;
        border-bottom:1px solid rgb(var(--a-label-border-blue));
	}
	.b_buText/*搜索标签文字*/{
        color:rgba(var(--a-text-regularcolor))
	}
    #b_results>li.b_ans.b_topborder, #b_results>li.b_ans.b_topborder.b_tophb.b_topshad{/*搜索结果卡片圆角控制*/
        border-radius:var(--a-border-radius);
    }
    #b_results>li/*普通结果卡片*/{
        background-color:rgba(var(--a-background-regularcolor),var(--a-resultcard-opacity));
        backdrop-filter:var(--a-glassy-hl);
        border-radius:var(--a-border-radius);
        border-bottom:1px solid rgb(var(--a-background-secondcolor));
    }
    #b_context .b_ans, #b_context #wpc_ag/*相关搜索卡片*/{
        background-color:rgba(var(--a-background-regularcolor),var(--a-resultcard-opacity));
        backdrop-filter:var(--a-glassy-hl);
        border-radius:var(--a-border-radius);
    }
	.lite-entcard-main, #b_context .b_ans .b_entityTP, .disambig-outline, .pa_item.pa_vCard, #b_context>li.b_ad .sb_adBrandSidebar, .b_exploreTitle, .b_mgridOuter, #serpvidansrr.vasac, #b_context li:first-child>.b_spa_adblock, #tob_rail_container, #b_context #serpvidans, .richrswrapper, .rrexqp .exploreAns, #b_dynRail .wpvn_ala, #b_context .pa_item{
		background-color:rgba(0,0,0,0);
		backdrop-filter:none;
	}
	#b_results .b_ans.b_nwsAns{/*相关信息卡片*/
        border-radius:var(--a-border-radius);
		   border:0;
	}
	#b_results .b_ans.b_nwsAns .ans_nws .ans_gradient.more_news{/*相关信息卡片底部渐变色*/
		width:100%;
		right:0px;
		border-radius:0 0 var(--a-border-radius) var(--a-border-radius);
	}
	.b_ans.b_mop.b_nwsAns .ans_nws{/*相关信息卡片底部内边距消除*/
		padding-bottom: 0;
	}
    .b_rrsr{/*相关搜索卡片子级背景调整*/
        background-color:transparent;
        border:inherit;
        border-radius:inherit;
    }
    .b_rrsr h2{/*相关搜索卡片标题字体颜色*/
        color:rgba(var(--a-text-regularcolor))
    }
    #b_context .b_rrsr>.b_vList>li{/*相关搜索卡片去描边*/
        border:0;
    }
    #b_context .b_rrsr>.b_vList>li a{/*相关搜索字体颜色*/
        color:rgba(var(--a-text-microlightcolor))
    }
    #b_results>.b_algo/*卡片内布局调整*/{
        padding:14px;
    }
    #b_results .b_algo .b_title{/*自动换行*/
        display:flex;
    }
    #b_results .b_algo .b_title .wr_fav{/*图标回归卡片内*/
        left:0;
        position:unset;
    }
    .sh_favicon+h2{/*图标与标题栏间间距*/
        margin-left:12px;
    }
    #b_results>li:first-child/*搜索结果卡片样式调整1*/{
        padding-top:14px;
    }
    #b_results>li/*搜索结果卡片样式调整*/{
        margin-bottom:14px;
    }
    body .b_overlay .btn.rounded.next/*图片特殊卡片中更多图片箭头位置*/{
        right:-10px
    }
    #b_results .b_algo .b_attribution, #b_results .sb_add .b_attribution{
        display:none;
        line-height:0px;
        font-size:0px;
    }
    .wr_fav/*搜索结果左上图标位置调整*/{
        margin-left:0px;/*-20px时齐边*/
    }
    #b_results .b_algo .tpcn .tpic{
        flex-direction:column;
    }
    .wr_fav .cico img{/*搜索结果左上图标调整*/
        border-radius:3.5px;
    }
    #b_results li.b_ans.b_mop.b_mopb, #b_results li.b_ans.b_nonfirsttopb{
        padding:14px;
    }
    #b_results .b_attribution, .b_ad h2, .b_deep h3, #snct h4{
        display:none;
    }
    #b_results>.b_pag/*页底页码去除背景*/{
        background-color:rgba(0,0,0,0);
        backdrop-filter:blur(0);
        border:0;
        transition:all 0.2s;
    }
    #b_results>.b_pag{/*底部页码部分*/
        background-color:rgba(var(--a-background-regularcolor),var(--a-header-opacity))!Important;
        border-radius:var(--a-border-radius)!important;
        backdrop-filter:var(--a-glassy-hl)!important;
        border-bottom:1px solid rgb(var(--a-background-secondcolor))!important;
    }
    #b_results>li#mfa_root/*页脚搜索按键去除背景*/{
        background-color:rgba(0,0,0,0);
        backdrop-filter:blur(0);
        border:0;
    }
    #b_results .b_pag a.sb_pagS_bp/*选中页底页码背景*/{
        border:0;
    }
    .b_poleContent/*去除真的奇怪的内容*/{
        display:none
    }
    #b_lbOverlay/*聚焦搜索框时遮罩*/{
        z-index:0;
    }
    #b_results li.b_ans.b_mop.b_mopb, #b_results li.b_ans.b_nonfirsttopb/*图片卡片圆角*/{
        border-radius:var(--a-border-radius);
    }
    #lMapContainer{
        background-color:rgba(var(--a-background-regularcolor),var(--a-header-opacity));
        border-radius:var(--a-border-radius);
        backdrop-filter:var(--a-glassy-hl);
    }
    .b_footer{/*页脚*/
        display:none;
    }
    #b_results .b_pag a.sb_pagS_bp/*选中页底页码背景*/{
        background-color:rgba(255,255,255,0.5);
        border-radius:calc(var(--a-border-radius) / 2);
    }
    #b_results .b_ans #brsv3{/*页底搜索结果卡片内容布局调整1*/
        width:610px;
        margin-bottom:15px;
    }
    #b_results #brsv3 .b_vList li{/*页底搜索结果卡片内容布局调整2*/
        width:297px;
    }
    /*变更浏览器主页搜索结果*/
    .tab-menu{/*浏览器栏*/
        border-radius:7px;
    }
    .actionmenu .actIconSvg svg{/*右上图标*/
        fill:rgba(var(--a-text-lightcolor));
    }
    .b_ad .tab-flex li.tab-active, .tab-flex li.tab-active{/*已选中浏览器*/
        background-color:rgba(255,255,255,0.6);
        box-shadow:inset 0 -3px 0 0 rgba(222,55,0,0.6);
        color:rgba(0,0,0,0.8)
    }
    .tab-menu li{/*未选中浏览器*/
        background-color:rgba(var(--a-background-thirdcolor));
        color:rgba(var(--a-text-regularcolor));
    }
    .techStepNumber{/*更改步骤序号*/
        border-radius:10px;
        background:rgba(12,132,132,0.15);
        border:0;
        color:rgb(16, 167, 167);
    }
    /*右侧搜索卡片*/
    #b_content #b_context > .b_ans{
        padding-top:0;
        overflow:hidden;
        background-color:rgba(var(--a-background-regularcolor),var(--a-header-opacity));
    }
    .richrswrapper{/*解决上述卡片和相关搜索卡片冲突的问题*/
        margin-top:0;
        margin-bottom:6px;
        border:0px solid white;
        box-shadow:0 0 0;
    }
    /*地图相关*/
    .mt_desktop.mt_mop.mt_bottom{/*去除外描边*/
        outline:0;
    }
    /*视频相关*/
    .sh...

Reviews

No reviews yet.