Google search "old style"

Fix style in google search results page

当前为 2020-01-17 提交的版本,查看 最新版本

/* ==UserStyle==
@name         Google search "old style"
@namespace    https://github.com/Procyon-b
@version      1.0.0
@description  Fix style in google search results page
@author       Achernar
@license      CC BY-NC 4.0
@preprocessor stylus

@var checkbox hide-favicon 'Hide favicons' 1
@var checkbox invert-lines 'Invert lines' 1
@var checkbox font-size    'Reduce results font size' 1
@var range    font-sizeV   'size' [90, 70, 100, 1, '%']
==/UserStyle== */
@-moz-document regexp("^https:\\/\\/www.google\\..*?\\/search\\?.*") {
/* version 20200117.1730 (r.1) */

/* reduce result blocks font size */
if font-size {
  .g {
    /*zoom: 90%;*/
    zoom: font-sizeV;
  }
}

/* hide result favicon */
if hide-favicon {
  img[height="16"][src*="data:image"][width="16"] {
    display: none;
  }
}


/* invert the 2 lines */
if invert-lines {
  br + h3 {
    position: relative;
    top: -1.2em;
  }

  div.r > a > div:first-child {
    position: relative;
    top: 1.9em;
  }
  div.r > a > div:first-child * {
    color: green;
  }

  div.r > a + div {
    top: 1.9em;
  }
}

/* to prevent the userstyle from disappearing from stylus menu when all options are disabled */
.g {
  dummy:1;
}



}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址