this post was submitted on 01 Jun 2024
25 points (96.3% liked)

Wikipedia

1530 readers
168 users here now

A place to share interesting articles from Wikipedia.

Rules:

Recommended:

founded 1 year ago
MODERATORS
 

this changes the width of the article (resembling the old style a little bit), as well as the SIZE of the text, which is very different from your browser changing the size of the page. Very convenient.

Only seen on the Dutch wikipedia

you are viewing a single comment's thread
view the rest of the comments
[–] dysprosium@lemmy.dbzer0.com 1 points 5 months ago

DONE.

// ==UserScript==
// @name     en.wikipedia font size LARGE
// @version  1
// @match    https://en.wikipedia.org/*
// @grant    none
// @require    http://code.jquery.com/jquery-3.6.0.min.js
// ==/UserScript==

(function(){
  'use strict';
  // Use the .css() method to change CSS properties
  $('.vector-feature-custom-font-size-clientpref--excluded, .vector-feature-custom-font-size-clientpref-0').css('--font-size-medium', '1.10rem');
})();