readable Quora

Wider screen, bigger font-size, eye-protecting background color.

目前为 2022-04-02 提交的版本。查看 最新版本

// ==UserScript==
// @name        readable Quora
// @author      qianjunlang
// @description Wider screen, bigger font-size, eye-protecting background color.
// @match       *.quora.com/*
// @exclude     *://www.quora.com/
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @version     2.5
// @run-at      document-idle
// @license MIT License
// @namespace https://greasyfork.org/users/861664
// ==/UserScript==



    $("#root").css({
        "background": "#d4ebc7", //"#EBF4BD",//"#CCE8CF",
    });

    $(".ioqSAj").css({
        "width": (window.innerWidth -60) + "px",
    });

    $("#mainContent").css({
        "width": parseInt(window.innerWidth * 1.8)+"px",
        "font-size":"26px",
        "font-family":"copperplate, Calibri, Verdana, YouYuan, 'Source Han Sans', Arial, Sans-serif",
    });

    $(".ioqSAj div.q-box").css({
        "margin-left": 10 + "px",
    });
    $(".ioqSAj div.q-box").find("div").css({
        "margin-left": 0,
    });

    $(".qu-mb--large div div.q-box").css({
        "font-size":"14px",
        "font-family":"'Source Han Sans', Arial, Verdana, Sans-serif",
    });

    $(".q-box.qu-display--inline-flex.qu-mr--large.Link___StyledBox-t2xg9c-0.KlcoI.SiteHeader___StyledLink-us2uvv-1.ZMeFq.qu-cursor--pointer.qu-hover--textDecoration--underline").hide();

    $(".qu-bg--red").css("background-color", "blue");
    $(".qu-color--red").css("color", "blue");