Google search "old style" (local)

Fix style in google search results page

Stan na 19-01-2020. Zobacz najnowsza wersja.

/* ==UserStyle==
@name         Google search "old style" (local)
@namespace    https://github.com/Procyon-b
@version      1.0.1
@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' [.9, .7, 1, .01]
==/UserStyle== */
@-moz-document regexp("^https:\\/\\/www.google\\..*?\\/search\\?.*") {
/* version 20200119.1636 */

/* reduce result blocks font size */
if font-size {
  .g {
    /*zoom: 90%;*/
    zoom: font-sizeV;
    -moz-transform: scale(font-sizeV, font-sizeV);
    -moz-transform-origin: 0 0;
  }
}

/* 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 */
.none {
  dummy:1;
}



}