Improve the readability of the Nix Home Manager manual, especially in dark mode.
Readability Fixes for Home Manager Manual by montchr
Details
Authormontchr
LicenseGPL-3.0-or-later
Categorynix-community.github.io
Created
Updated
Size560 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
- Increases font weight from
300
to normal on option names - Increases font size slightly for the link to source
Source code
/* ==UserStyle==
@name Readability Fixes for Home Manager Manual
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Improve the readability of the Nix Home Manager manual, especially in dark mode.
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://nix-community.github.io/home-manager/options.html") {
dt .term {
/**
* The default as of <2023-09-01> was `300`,
* which is unreadable at this font size.
*/
font-weight: unset;
}
dt code {
font-size: unset;
}
}