Improved Doxygen styling

Make the text of Doxygen easier to read

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Improved Doxygen styling
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Make the text of Doxygen easier to read
// @author       Joost Visser
// @match        https://output.circle-artifacts.com/*/doxygen/*
// @match        */*/*/build/docs/html/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    let maxWidth = "55em";

    let doc = document.querySelector("#doc-content");
    let header = document.querySelector(".header");
    let contents = document.querySelector(".contents");

    doc.style.display = "flex";
    doc.style.alignItems = "start";
    doc.style.flexDirection = "column";

    header.style.width = "100%";
    header.style.maxWidth = maxWidth;

    contents.style.width = "100%";
    contents.style.maxWidth = maxWidth;

})();