Google搜索界面及Gmail邮箱界面
Google by confucianism
Details
Authorconfucianism
LicenseNo License
CategoryGoogle
Created
Updated
Code size7.9 kB
Code checksumc5fccb11
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Google
@version 20211112.15.02
@namespace userstyles.world/user/confucianism
@description Google搜索界面及邮箱界面透明背景
@author confucianism
@license No License
==/UserStyle== */
@-moz-document url("https://images.google.com/"),
url("https://www.google.com/") {
/* 首页 */
@namespace url(http://www.w3.org/1999/xhtml);
/* body#gsr {
background: url(https://z3.ax1x.com/2021/04/03/cuFlJ1.png) center center !important;
background-size: cover !important;
} */
body {
background-image: url(https://raw.githubusercontent.com/LuoHuiRu/CDN/master/img/2021/11/11/BrowerBG-fa2c6bf25a74f3451ac99a450aad7dd1.png) !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-position: center top !important;
background-size: cover !important;
font-family: "Microsoft YaHei" !important;
}
/* 搜索框背景 */
.RNNXgb {
background: transparent !important;
border: 1px solid #334b798c;
}
/* 搜索框内字体颜色 */
.gLFyf {
color: #4d5156
}
/* 隐藏Google 提供 语言 */
.VlcLAe,
#SIvCob {
display: none;
}
.b2hzT {
border-bottom: 1px solid #e4e4e400 !important;
}
/*[[icons]]*/
/* Logo */
#lga {
background-image: url("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png") !important;
background-position: center 111px !important;
background-repeat: no-repeat !important;
background-size: 275px 95px !important;
}
/* 隐藏logo */
.lnXdpd {
display: none
}
/* Google搜索按钮 */
.FPdoLc {
display: none;
}
/* 举报不当的联想查询 */
#sbfblt {
display: none;
}
/* 下拉框 */
.aajZCb[jsname="aajZCb"] {
display: none;
}
/* 底栏分割线 */
.uU7dJb {
display: none;
}
.emcav .RNNXgb {
border-bottom-left-radius: 8px !important;
border-bottom-right-radius: 8px !important;
}
/* Google图片 */
.sfbg {
background: #fff0;
}
/* 脚部 */
body > div.L3eUgb > div.o3j99.c93Gbe {
background: #fff0 !important;
}
}
@-moz-document url-prefix("https://www.google.com/search?") {
/* 搜索结果页 */
/* 使Item透明 */
body {
background-image: url(https://raw.githubusercontent.com/LuoHuiRu/cdn/master/img/2021/11/11/BrowerBG-fa2c6bf25a74f3451ac99a450aad7dd1.png) !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-position: center top !important;
background-size: cover !important;
font-family: "Microsoft YaHei" !important;
}
/* 搜索栏(顶) */
.sfbg {
background: #fff0
}
/* 搜索框 */
.RNNXgb {
background: #ffffff45 !important;
border-radius: 8px;
border: 1px solid #dfe1e500;
}
.minidiv .RNNXgb {
border-radius: 8px;
}
/* 搜索框位置 */
/* #tsf {
margin-left: 350px !important;
} */
/* 搜索建议 */
.aajZCb {
background: #ffffff70 !important;
}
.sbl1 {
color: #008daa !important;
}
/* 搜索建议 图片 */
.h3L8Ub .rLrQHfb {
display: none !important;
}
/* 搜索模式 */
.yg51vc {
background: #fff0
}
#hdtb {
background: #fff0
}
/* .MUFPAc {
margin-left: 30px !important;
} */
/* 搜索结果数量 */
.LHJvCe {
margin-left: 0%;
}
/* 右侧补充 */
.xpdopen {
background: rgba(255, 255, 255, .6) !important;
}
/* 新闻卡片 */
g-inner-card {
background-color: #ffffff9e !important;
}
.AYBNrd {
background: rgba(255, 255, 255, 0) !important;
}
g-section-with-header {
text-align: left;
}
/* 搜索图片建议 */
.S1KrM {
display: none;
}
/* 底部菜单 */
#fbarcnt {
margin-left: -40% !important;
}
#fbar {
background: rgba(255, 255, 255, 0) !important;
}
.b2hzT {
border-bottom: 0px solid #e0dada00 !important;
}
/* 用户还搜索or相关搜索 */
#brs {
display: none
}
.k8XOCe {
background-color: #f1f3f47a;
}
/* 右侧提示 */
/* #rhs {
margin-left: 80px;
} */
/* 其它用户还问了以下问题 */
/* .ULSxyf{
display:none
} */
#rso > div.ULSxyf > .g-blk {
display: none;
}
/* 焦点新闻 */
div.MXl0lf.mtqGb {
background: rgba(255, 255, 255, 0.6) !important;
}
.qmv19b {
background: rgba(255, 255, 255, 0.6) !important;
margin-left: 20px;
}
/* 视频 */
/* #rso > .ULSxyf{
margin-left: 20px;
} */
/* .aNytqb.uVMCKf {
width: 950px;
} */
/* 图片 */
/* #iur {
width: 950px;
} */
.XqFnDf {
display: none !important;
}
.mNh24c{
display: none !important;
}
/* AC-Baidu插件按钮 */
#myuser {
display: none;
}
/* AC-Baidu插件 下一页 */
.sp-separator {
display: none;
}
/* Item */
div[two-father] div[two-child]{
background-color:rgba(255, 255, 255, 0.5) !important;
}
.rsGxI.Ww4FFb, .Ww4FFb{
background-color:rgba(255, 255, 255, 0) !important;
}
.rl_item_base{
background-color:rgba(255, 255, 255, 0.5) !important;
border: none !important;
}
/* 活动内容 */
.r2wkld{
padding-left: 5% !important;
}
.rhHIGd {
background-color: #fff0 !important;
}
/* 右侧信息 */
.hb8SAc{
color: #000 !important;
}
}
@-moz-document url-prefix("1https://www.google.com/search?") {
/* 搜索Item */
/* 自定义 */
#rso .g {
width: 900px !important;
margin-bottom: 20px !important;
background: rgba(255, 255, 255, 0.5) !important;
}
#rso .g:hover {
background: rgba(255, 255, 255, 0.8) !important;
}
#rso .g div.r {
background: rgba(255, 255, 255, 0.6) !important;
}
/* item文字 */
.jtfYYd {
width: 860px !important;
}
.kWxLod > div:nth-child(2) {
flex-shrink: 6 !important;
}
/* 双item 上*/
.g.jNVrwc.Y4pkMc {
width: 860px !important;
margin-left: 0px !important;
}
/* 双item 下*/
.FxLDp .MYVUIe .XN9cAe {
margin-left: -15px !important;
}
/* 滑下时顶栏 */
.minidiv .sfbg {
background: #ffffffdd !important;
}
/* 网页快照小箭头 */
.GHDvEf,
.GHDvEf:hover,
.GHDvEf.selected,
.GHDvEf.selected:hover {
background-color: #ffffff00 !important;
}
/* 底栏 */
#fbar {
background: #f2f2f200 !important;
border-top: 1px solid #e4e4e400 !important;
}
.b2hzT {
border-bottom: 1px solid #e4e4e400 !important;
}
#swml {
border-left: 1px solid #e4e4e400;
}
/* 搜索栏下的横线 */
#hdtb {
border-bottom: 1px solid #ebebeb00;
}
#hdtbSum {
background: #fff0 !important;
}
#appbar {
background: #fff0 !important;
}
/* copy by AC-baidu */
* #rso {
position: relative;
float: unset;
}
#rso .jUmkFb:hover {
margin-bottom: 30px;
margin-left: 20px;
}
#rso .g {
width: 900px;
margin-left: 20px;
overflow: hidden;
padding: 15px 20px 15px;
margin-top: 0px;
margin-bottom: 30px;
border-radius: 10px;
box-sizing: border-box;
transition: all 0.25s cubic-bezier(.23, 1, .32, 1) 0s;
}
.search > #ires #rso > .g {
max-width: unset;
}
#main .mw #rhs {
display: none;
}
#main .mw {
max-width: unset;
}
#main #cnt,
#cnt #center_col,
#cnt #foot {
width: 50vw;
margin: 0 auto;
}
body #appbar,
body .rhscol,
body #top_nav,
body #fbar {
min-width: unset;
}
#rso g-scrolling-carousel {
margin: unset;
margin-left: 20px;
}
.col {
width: 100% !important;
}
.col #center_col {
width: 100% !important;
margin-left: unset !important;
}
.srp .big #tsf {
width: 833px;
}
/* search box align center */
.srp form {
margin: 0 auto;
}
#top_nav {
min-width: unset;
}
/**video box align center**/
.g-section-with-header {
text-align: center;
}
}
@-moz-document url-prefix("1https://mail.google.com") {
/* Google Mail */
/* 详情页 */
.iY .Bu {
background: rgba(225, 225, 225, 0.5)
}
/* 列表栏 */
.yO {
background: rgba(0, 0, 0, 0.5)
}
/* 列表背景 */
.aKh {
background: rgba(0, 0, 0, 0.5)
}
/* 回复栏 */
.nr {
background: rgba(225, 225, 225, 0)
}
/* 回复按钮 */
.amn > .ams {
box-shadow: none
}
/* 页面翻译栏 */
.adI {
background: rgba(225, 225, 225, 0)
}
}