five line code ,make your sourcegraph better

Change the font size on sourcegraph. Current font is too small. Used code from https://somethingididnotknow.wordpress.com/2013/07/01/change-page-styles-with-greasemonkeytampermonkey/

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        five line code ,make your sourcegraph better
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Change the font size on sourcegraph. Current font is too small. Used code from https://somethingididnotknow.wordpress.com/2013/07/01/change-page-styles-with-greasemonkeytampermonkey/
// @author       https://github.com/daidaiJ
// @match        http*://sourcegraph.com/*
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
  // --code-font-family -> font-family
  // default is Cascadia Code
    document.documentElement.style.setProperty(`--code-font-family`, 'Cascadia Code');
    document.documentElement.style.setProperty(`--code-font-size`, '16px');
    // --font-weight-base: 400;
    document.documentElement.style.setProperty(`--font-weight-base`, 'normal');
})();