Skip to content

Center Google Result by jadevane

Screenshot of Center Google Result

Details

Authorjadevane

LicenseMozilla Public License Version 2.0

CategoryGoogle

Created

Updated

Size3.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Just center the results of all Google searches, nothing more.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Center Google Result
@version      20241209.02.44
@namespace    https://userstyles.world/user/jadevane
@description  Just center the results of all Google searches, nothing more.
@author       jadevane
@license      Mozilla Public License Version 2.0
==/UserStyle== */

@-moz-document regexp(".*google.com.*") {
.srp { --center-width: 670px; } .emcav.A8SBwf.h3L8Ub { width: var(--center-width); } #rcnt:not(.gIatYd) { width: var(--center-width); display: flex; flex-wrap: nowrap; } #rcnt > #center_col:not(.xKxVbb) { display: flex; flex-flow: column; margin: auto; } #center_col:not(.xKxVbb) { min-width: 100%; } #rhs { margin-left: 24px; } form[role="search"] + div { position: absolute; right: 0; } form[role="search"] { margin: 0 auto; width: var(--center-width); flex-grow: 0; } form[role="search"] > div:first-child > div:first-child { margin: 0 !important; padding-left: 0 !important; transform: unset; } .emcav .iblpc, .logo + div > div > div:first-of-type { padding-right: 6px; margin-left: 0 !important; } .logo + div > div > div:first-of-type > div { display: none; } .JcyVnf { right: -168px; } form[role="search"] .logo + div, form[role="search"] .logo + div + div > div:first-child > div:nth-of-type(4) { width: var(--center-width) !important; margin: 0 !important; box-sizing: border-box; } form[role="search"] .logo + div + div { margin: 0; width: var(--center-width); } .logo { margin-left: 0 !important; } .y3NyWc .TrmO7 { min-width: unset; max-width: var(--center-width); } .sBbkle { padding-left: unset; } #hdtb-msb { margin: auto !important; float: unset !important; width: 690px; min-width: 690px; } #hdtb-msb > div > div { margin-left: 0 !important; } .xhjkHe { display: flex; flex: 1; max-width: unset; } .appbar, #result-stats { padding-left: 0; } .y3NyWc { width: unset; } .y3NyWc .TrmO7 { margin: auto; } #tn_1 { max-width: var(--center-width); margin: auto; } .LkcePc { display: none; } .JsW2z { margin: 0 auto 8px auto; max-width: var(--center-width); padding-left: 10px; } .zNFAfd { width: 670px; margin: 24px auto 4px auto; } #slim_appbar > div { margin: auto; width: 690px; position: unset; } .appbar { margin-left: 0 !important; } #result-stats { padding-left: 10px; } #center_col { margin: 0 auto; } .YNk70c, #w7tRq { display: block; } .M8OgIe { margin-left: 0px; width: calc(var(--center-width) + 320px); } #rcnt { margin: auto !important; } #center_col.xKxVbb { margin-left: 20px; } div[role="navigation"][data-st-tgt="mode"] > div:first-of-type > div:first-of-type > div:first-of-type > h1 + div > div:first-of-type, #main > div > style + div > div[role="navigation"] { padding: 0; margin: 0 auto; width: var(--center-width); } div[data-st-tgt="mode"] h1 + div > div > div { margin-left: 0; } div[id^="abss_"] { margin: 0; } div[id^="abss_"] > ol[role="none"] { position: absolute; right: 0; } #searchform > div:last-of-type { margin-left: 0; } .appbar { width: 100% !important; } div[data-st-tgt="appbar"] > div:first-of-type > div:last-of-type { margin: 0 auto; width: var(--center-width); } .GyAeWb { display: block; } .XqFnDf { width: var(--center-width); margin: 0 auto; } .GCSyeb { position: static; } .b0KoTc { padding-left: 0; margin-left: 0; } .B4GxFc, .fbar + .fbar { width: var(--center-width); margin: auto; } .Fx4vi:first-child { padding-left: 0; } .appbar { width: var(--center-width); margin: auto !important; } .XKnPEd, .aHd5n { margin-left: 0; } .jOYx5b { width: 100%; } .o6juZc { margin: auto; width: 580px; } .dAEiw.dXdtIf > div:first-child { width: 100%; } .iSZmU { margin-left: 0; } .tAcEof { margin-top: 2px; } .tAcEof { min-width: 580px; margin: auto; padding-right: 0; padding-left: 194px; } .Si7Nvc { padding-left: 156px; } .rNl3nf .qcTKEe { padding-left: 0; } .qcTKEe .D0HoIc { width: 580px; margin: auto; -moz-box-pack: start; justify-content: flex-start; } 
}

Reviews

No reviews yet.