Improved Doxygen styling

Make the text of Doxygen easier to read

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==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;

})();