Bigger Pagination Numbers on Knife

Increases the font size of the pagination numbers at the bottom of the page to 200%, so that they are eassier reachable on tablets.

  1. // ==UserScript==
  2. // @name Bigger Pagination Numbers on Knife
  3. // @namespace prantlf
  4. // @version 0.2
  5. // @description Increases the font size of the pagination numbers at the bottom of the page to 200%, so that they are eassier reachable on tablets.
  6. // @author prantlf
  7. // @license MIT
  8. // @match https://www.knife.cz/*
  9. // @icon https://www.google.com/s2/favicons?domain=knife.cz
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. function addGlobalStyle(css) {
  17. var head = document.getElementsByTagName('head')[0]
  18. var style = document.createElement('style')
  19. style.type = 'text/css'
  20. style.innerHTML = css
  21. head.appendChild(style)
  22. }
  23.  
  24. addGlobalStyle('.commandWithMarg .navlinks, .command .navlinks { font-size: 200% }');
  25. })();