this post was submitted on 01 Jun 2024
26 points (100.0% liked)

Wikipedia

2694 readers
122 users here now

A place to share interesting articles from Wikipedia.

Rules:

Recommended:

founded 2 years 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
[–] [email protected] 1 points 10 months ago (1 children)

There's some browser extensions you can use too. I think one of the things I linked mentioned some of those

[–] [email protected] 1 points 10 months ago (1 children)

I installed a few but afaik they ALL change a heck lot more than just font size, unfortunately...

[–] [email protected] 1 points 10 months ago (1 children)

A bit more effort but you could also use some extensions that let you put any custom CSS styling on a page to

[–] [email protected] 1 points 10 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');
})();