Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google暗黑模式下,居中,样式并没匹配 #433

Open
twbworld opened this issue Feb 10, 2022 · 7 comments
Open

google暗黑模式下,居中,样式并没匹配 #433

twbworld opened this issue Feb 10, 2022 · 7 comments

Comments

@twbworld
Copy link

google暗黑模式下,居中,样式并没匹配
image

@JasonLamv-t
Copy link

+1

1 similar comment
@leic4u
Copy link

leic4u commented May 25, 2022

+1

@leic4u
Copy link

leic4u commented May 25, 2022

@twbworld @JasonLamv-t
临时解决办法,在附加10内修改样式为以下并启用。

body[google] {

  &:before {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
  }
  
  #rso .g, .sfbg, .f6F9Be, .k8XOCe {
    background-color: rgba(32,33,36, 1) !important; 
  }
  
  .sfbg{
    margin-top: -10px;
  }
  
  .yg51vc{
    background-color: transparent !important; 
  }
}

效果如下:

@UzJu
Copy link

UzJu commented Jul 26, 2022

&:before {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
content: '';
}

#rso .g, .sfbg, .f6F9Be, .k8XOCe {
background-color: rgba(32,33,36, 1) !important;
}

.sfbg{
margin-top: -10px;
}

.yg51vc{
background-color: transparent !important;
}

nice bro fix!

@BaiBuCYBGT
Copy link

@twbworld @JasonLamv-t 临时解决办法,在附加10内修改样式为以下并启用。

body[google] {

  &:before {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
  }
  
  #rso .g, .sfbg, .f6F9Be, .k8XOCe {
    background-color: rgba(32,33,36, 1) !important; 
  }
  
  .sfbg{
    margin-top: -10px;
  }
  
  .yg51vc{
    background-color: transparent !important; 
  }
}

效果如下:

老哥,这个改哪一行啊

@leic4u
Copy link

leic4u commented Jul 27, 2022

@BaiBuCYBGT 全部替换就行了

@BaiBuCYBGT
Copy link

@BaiBuCYBGT 全部替换就行了

老哥牛逼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants