Biang

Persnal Style For bing.com

Stan na 06-04-2021. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

@-moz-document domain("bing.com") {
    /* ==UserStyle==
@name:zh-CN     必应不再绿
@name         Biang 
@namespace     doufu.ru
@version       1.0.6
@description:zh-CN 必应个性化样式
@description    Persnal Style For bing.com
@author         Ryan
==/UserStyle== */
}

@-moz-document domain("bing.com") {
    /** 公共样式 */
    #ev_talkbox_min,
    #b_opalpers,
    [aria-label="更多结果"] {
        display: none !important;
    }
    :root {
        --max-width: 1600px;
    }
    h2 {
        line-height: 24px;
        font-size: 20px;
    }
    em,
    strong {
        font-style: normal;
        color: #c00 !important;
    }
    a,
    #b_tween a:visited,
    #b_results .b_no a {
        color: rgb(0, 0, 204);
    }
    cite,
    #b_results cite.sb_crmb a,
    #b_results cite a.sb_metalink,
    #b_results .b_adurl cite a,
    #bk_wr_container cite a {
        color: #626675;
    }
    #b_header {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        position: relative;
        align-items: center;
    }
    #id_h {
        position: absolute;
        float: none;
        top: 0px;
        z-index: 99;
    }
    .as-horizontal .as-menu {
        justify-content: center;
    }
    .sp-separator {
        flex: 0 1 100% !important;
    }
}

@-moz-document regexp("https?://.*\\.bing\\.com/((\\?.*?)?)$") {
    /** 首页样式 */
    #hp_scroll,
    #hp_container .hpcLogoWhite {
        display: none !important;
    }
    #sbox {
        top: 45%;
    }
}

@-moz-document regexp("https?://.*\\.bing\\.com/search.*$") {
    /** 搜索列表样式 */
    body {
        overflow: hidden;
    }
    html body,
    body #b_header,
    #b_content {
        width: 98% !important;
        min-width: unset !important;
        max-width: var(--max-width) !important;
        margin: 0 auto;
    }
    #sb_form,
    .b_scopebar,
    #ScopeRow {
        width: 100%;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .trans_button_group {
        top: 53px;
    }
    #b_pole {
        display: none;
    }
    .b_scopebar .b_active {
        border-bottom-color: #38f;
    }

    .trans_button {
        background-color: #e4e4e4;
    }

    .b_attribution,
    #b_content .b_attribution {
        font-size: 13px;
        line-height: 20px;
    }
    #b_results {
        width: unset !important;
        display: flex;
        flex-wrap: wrap;
    }
    #b_results > li a {
        color: rgb(0, 0, 204);
    }
    /* 搜索结果二级标题 */
    .deeplink_title > a {
        font-size: 15px;
    }

    #b_results .b_algo .b_vlist2col.b_deep li {
        padding: 0 0 5px;
    }

    #b_context,
    .rc_rnDesktop_vlHorizontalImage,
    .tipContainer,
    .bottomTipContainer {
        display: none;
    }

    #b_tween {
        margin: 10px 0;
        display: flex;
        justify-content: center;
    }

    #b_content {
        padding: 0;
        width: 1260px;
        margin: 0 auto;
    }

    #b_results {
        width: unset !important;
    }

    #b_results > li:not(#mfa_root):not(.b_pag) {
        display: inline-block !important;
        width: 100%;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
        padding: 10px !important;
        border-top: 2px dotted #ddd;
        background-clip: padding-box !important;
        margin: 0 !important;
        vertical-align: top !important;
        counter-increment: gOrder 1;
    }

    #b_results > li.b_ans.b_topborder,
    #b_results > li.b_ans.b_topborder.b_tophb.b_topshad {
        box-shadow: unset;
        border-top: 2px dotted #ddd;
    }
    #b_results > li.b_pag {
        width: 100% !important;
        display: flex !important;
        justify-content: center;
        margin: 10px;
        padding: 0;
    }
    #b_results > li.b_pag > .b_mpref {
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .b_rs ul {
        display: flex;
        flex-wrap: wrap;
    }
    .b_rs ul > li {
        margin-right: 16px;
    }
    /** 词典结果 */
    #dict_ans {
        box-shadow: 0 0 0 1px rgba(0,0,0,.05),0 2px 3px 0 rgba(0,0,0,.1);
        margin: 0;
        padding: 10px;
    }
    .b_ans .b_sideBleed,
    .b_algo .b_sideBleed,
    .b_ad .b_sideBleed {
        margin-left: 0;
        margin-right: 0;
    }
    .rqnaContainerwithfeedback,
    .rqnaContainer {
        padding-bottom: 0;
    }
    @media (min-width: 768px) {
        .b_searchboxForm {
            width: auto;
        }
        #b_results > li:not(#mfa_root):not(.b_pag) {
            width: 50%;
        }
        #b_tween {
            display: flex;
            align-items: center;
            margin: 10px 0 !important;
        }
        /** 国内国际版 切换 */
        #est_switch {
            display: flex;
            margin-left: 0 !important;
            width: 490px;
        }
        #est_switch.est_sb_hover .est_selected::after,
        .b_focus #est_switch .est_selected::after {
            border: 1px solid;
            border-color: rgba(0, 0, 0, .34);
            box-shadow: unset;
        }
        /** 搜索框 Flex 布局 */
        .b_searchboxForm {
            border-radius: 0;
            display: flex;
            align-items: center;
        }
        /** 清空按钮垂直居中 */
        #sb_clt #sw_clx {
            margin-top: 0;
        }
        .b_searchboxForm:hover,
        .b_focus .b_searchboxForm {
            box-shadow: unset;
            border: 1px solid rgba(0, 0, 0, .34);
            border-radius: 0;
        }
        .b_searchboxForm:hover {
            border: 1px solid rgba(0, 0, 0, .34) !important;
        }
        .est_sb_hover #est_cn.est_selected::before,
        .b_focus #est_cn.est_selected::before,
        .est_sb_hover #est_en.est_selected::before,
        .b_focus #est_en.est_selected::before {
            display: none;
        }
        #sw_as {
            margin-left: -1px !important;
            margin-right: -1px !important;
        }
        #sw_as #sa_ul:not(:empty) {
            box-shadow: unset;
            border: 1px solid rgba(0, 0, 0, .34) !important;
        }
    }
}

@-moz-document regexp("https?://.*\\.bing\\.com/(images|videos|academic|dict)/search.*$") {
    body {
        overflow: hidden;
    }
    #b_header #sb_form {
        flex-direction: row;
        display: flex;
        margin: 0;
    }
    #b_header .b_scopebar {
        position: relative;
        width: 100%;
        margin: 0;
    }
    #b_content {
        width: 100% !important;
        min-width: unset !important;
        margin: 0 auto;
    }
    #fbpgbt {
        display: none;
    }
}