Greasy Fork is available in English.

Complete Google Search Font Fix

Return google's font size to what it was prior to the font and line spacing changes

/* ==UserStyle==
@name Complete Google Search Font Fix
@description Return google's font size to what it was prior to the font and line spacing changes
@version 1.2.9
@license MIT
@preprocessor default
@namespace https://greasyfork.org/users/393964
==/UserStyle== */
@-moz-document regexp("http\\w*:\\/\\/w?w?w?\\.?google\\..+?\\/search\\?.*") {

/* Keeps the url the proper size, aka smaller than Google wants to make it nowadays. */
.iUh30 {
    font-size: 14px !important;
    padding-top: 1px !important;
    line-height: 1.43 !important;
    margin-top: 0px !important;
    letter-spacing: 0px !important;
}

/* Non-Better Google script search result url. Makes it the size it used to be. */
.GvPZzd {
    font-size: 14px !important;
}

/* Fixes one of their new Snippet's font sizing from being astronomically and comically large. Also fixes line height. */
.JxiOQc {
    font-size: 16px !important;
    line-height: 1.57;
}

/* Both are important for the vertical elipses positioning. */
.csDOgf.BCF2pd.L48a4c {
    margin-top: 0px;
}
.HGLrXd.iUh30.ojE3Fb + .csDOgf.BCF2pd.L48a4c span[jsname="czHhOd"] {
    top: -2px;
}


/* Adds a bit of padding for the vertical elipses */
.iTPLzd.rNSxBe.lUn2nc {
    padding-left: 12px;
}

/* Not found now, but I swear this had an important purpose. Keeping for memory. */
qLRx3b.tjvcx.GvPZzd.cHaqb {
    max-width: 570px !important;
}

/* Doesn't seem to change when removed. Keeping just in case. */
.r a.fl, .yuRUbf a.fl {
    font-size: 14px;
}

/* Fixes formatting to equal older versions of Google Search */
.yuRUbf, .r {
    line-height: 1.54;
}

/* Fix font size being far too large */
.g, body, html, input, .std, h1 {
    font-size: small;
}

/* Doesn't function anymore? Unsure. */
.st {
    line-height: 1.54;
}

/* Doesn't function anymore? Unsure. */
.mslg .l {
    font-size: 18px;
}

/* Doesn't function anymore? Unsure. */
.knowledge-panel.kp-blk .mod,
.c14z5c .mod {
 line-height:1.54
}
    
/* Change dumb highlighting to bold as it used to be */
.fm06If .ILfuVd b, .c2xzTb .ILfuVd b, .cUnQKe .ILfuVd b, .M8OgIe .cQp1Ab b {
    all: unset;
    font-weight: bold;
}
    
/* Recolor text as for some reason Google made it like a faint grey */
.cUnQKe .ILfuVd, .cUnQKe .UiGGAb.ILfuVd, .M8OgIe .cQp1Ab {
    color:#202124        
}
    
/* Doesn't function anymore? Unsure. */
.fm06If .ILfuVd, .c2xzTb .ILfuVd, .Jb0Zif .c2xzTb .ILfuVd {
    font-size: 16px;
    line-height: 1.57;
}

/* Doesn't function anymore? Unsure. */
#rhs .kp-blk {
    line-height:1.54;
    margin:6px -32px 0 2px;
    margin:6px -33px 0 1px
}

/* Non-Better Google script search result title. Fixes up font size. */
.MBeuO, #res h3, #extrares h3 {
    font-size:18px;
    line-height:1.33;
}

/* Non-Better Google script search result title. Fixes up font size. */
.yuRUbf > a > h3 {
    font-size:18px;
}

/* This fixes up awkward spacing for search result titles. */
.LC20lb {
    line-height: 1.33;
    padding-top: 0px;
    margin-bottom: 0px;
    letter-spacing: 0px;
}

/* This fixes up odd extra spacing Google added at some point. */
.LC20lb.MBeuO.DKV0Md {
    margin-top: 0px;    
}

/* Doesn't seem to exist anymore. I think. This does nothing. Keeping for legacy purposes. */
.knowledge-panel {
 font-size:small
}

/* Doesn't seem to exist anymore. I think. This does nothing. */
.gL9Hy {
 font-size:18px
}

/* Doesn't seem to exist anymore. I think. This does nothing. */
.spell_orig {
 font-size:15px
}

/* This must be an old result format. Doesn't exist now I believe. Keeping for legacy purposes. */
a:hover h3.LC20lb {
 text-decoration:underline
}

/* I've not got the faintest idea what this did. */
#foot {
 visibility:inherit
}

/* This was mostly made redunant, they're all written over with similar value. However the line-height is overwritten yet doesn't have any effect despite being different. */
.TbwUpd, .byrV5b {
    padding-bottom: 1px;
    padding-top: 1px;
    line-height: 1.54;
}

/* Adds a bit of padding between the url/title, depending on if BetterGoogle is being used, and the description. */
.yuRUbf > div.btrG > .btrLink {
    padding-top: 1px;
    padding-bottom: 1px;
}
.yuRUbf > a > br + h3 {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

/* Seems to be legacy stuff. Serves no purpose now. */
.rc .s {
    line-height: 1.54;
}

/* Fixes a bit of spacing. */
.g {
    margin-top: 0;
    margin-bottom: 26px;
}

/* Seems to be legacy stuff. Serves no purpose now. */
.Ss2Faf {
    line-height: 1.33;
    font-size: 18px;
}
.JolIg {
    color: #808080;
    font-size: 18px;
    padding: 9px 16px;
    line-height: 1.33;
    font-weight: normal;
    margin: 0;
}
.kcHZBe {
    line-height: 1.375;
}
.kno-ecr-pt {
    font-size: 24px;
}

/* This changes the font size for the People Also Ask thing. However, it's overwritten. an !important could be added to make it dominant, however it honestly doesn't look right with the old font size. 
Just add !important if you want it applying.*/
.UDZeY, .ILfuVd {
    font-size: small;
}

.EvSmmb, .hlcw0c, .MYVUIe:last-child {
    margin-bottom: 0px;
}
.FxLDp {
   padding-top:0px;     
}
div[data-hveid] > .g {
    margin-bottom: 0px;
}
.ULSxyf {
    margin-bottom: 26px;
}
.Jb0Zif .UiGGAb.ILfuVd, .ILfuVd, h3, .yDYNvb {
    letter-spacing: 0px;
}
/*Fix font type for results*/
.c8d6zd, #result-stats, .mfMhoc, .XcVN5d{
    font-family: arial !important;
}
.fm06If .ILfuVd, .c2xzTb .ILfuVd, .Jb0Zif .c2xzTb .ILfuVd, .CSkcDe, .mgAbYb.OSrXXb.RES9jf.IFnjPb, .cUnQKe .ILfuVd, .cUnQKe .UiGGAb.ILfuVd, .M8OgIe .cQp1Ab {
    font-family: Roboto,arial,sans-serif !important;
}
    
.nkGKTb {
    font-weight: bold;    
}
div[data-hveid] > .jtfYYd, div[data-hveid] > .kWxLod, div[data-hveid] > .g, .g.Ww4FFb.vt6azd.tF2Cxc.asEBEc{
    margin-bottom:26px;    
}
div[data-hveid] > .g > div:not(:last-child) {
    margin-bottom:18px;
}
@media (min-width: 1459px) {
    .srp {
        --center-abs-margin:180px !important;
    }
}
.dodTBe, .srp #searchform {
    margin-top: 0px !important;    
}
/* Hides url images if not using Better Google */
.VuuXrf, .H9lube:not(:has(+ .GTRloc > .byrV5b)), .DDKf1c:not(:has(+ .GTRloc > .byrV5b)) {
    display:none;
}

/* Weird border bubble for url images. Needed to match below without the margin moving. */
.H9lube {
    height: 12px !important;
    width: 12px !important;
}
/* This is Google's embedded image for urls if not using Better google. They made the icons too big and it messed everything up. This fixes that. */
.UnOTSe img, .NjwKYd img {
    height: 12px !important;
    width: 12px !important;
    margin-top: -4px !important;
}
}