Google’s search results are left aligned by default, which becomes a pain point when browsing with wide screens. After looking around for a while, I was finally able to center the webpage of google.com or scholar.google.com using the attached TamperMonkey scripts.
Before
After
Centering Google Scholar:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// ==UserScript== // @name Google Scholar Centering // @namespace http://tampermonkey.net/ // @version 1.3 // @description Center the Google Scholar search results. // @author GDUFXRT // @match https://scholar.google.com/* // @run-at document-start // @grant none // ==/UserScript==
(function() { 'use strict'; var style = document.createElement('style'); var cssStyle = '#gs_res_ccl {margin: auto !important;} html, body, p, a {font-family: Calibri !important;}';