Skip to content

简约背景 by daiwenzh5

Details

Authordaiwenzh5

LicenseNo License

CategoryGoogle

Created

Updated

Size1.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

用于 google 搜索的简约风样式。配合深色模式(谷歌设置)使用。

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         简约背景
@version      20220522.12.34
@namespace    userstyles.world/user/daiwenzh5
@description  用于 google 搜索的简约风样式。配合深色模式(谷歌设置)使用。
@author       daiwenzh5
@license      No License
==/UserStyle== */

@-moz-document regexp("https?://((www)\\.)?google?.com(\\..*)?/search(.*)?") {
/*  搜索页面 */
body.srp,
body {
    background-image: url(https://mocah.org/thumbs/910818-anime-manga-anime-girls-illustration-fan-art-game-characters.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    overflow-x: hidden;
}
#appbar,
#extabar,
#kO001e,
#yDmH0d > div.T1diZc.KWE8qe > c-wiz > div.ndYZfc > div {
    background: transparent;
}
#extabar {
    margin-top: 8px;
    margin-bottom: 8px;
}
#result-stats {
    border: 1px solid #3c4043;
    border-radius: 5px;
    padding: 0 8px;
}
/* 搜索栏 */
#searchform > div.sfbg,
#pTwnEc {
    background-color: transparent;
}
#searchform > div.sfbg,
#yDmH0d > c-wiz {
    backdrop-filter: blur(15px);
}
.cG5GOd {
    background: unset;
}
/* 侧边栏 */
#rhs {
    display: none;
}
}

@-moz-document regexp("https?://((www)\\.)?google?.com(\\..*)?/webhp(.*)?") {
/* 首页 */
body {
    background-image: url(https://mocah.org/thumbs/910818-anime-manga-anime-girls-illustration-fan-art-game-characters.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    overflow-y: hidden;
}
#gb {
    background: transparent !important;
    backdrop-filter: blur(15px);
}
#gb > div > div:nth-child(3) {
    display: none !important;
}
}

Reviews

No reviews yet.