Skip to content

Arch Linux - Legibility by n-upchurch

Screenshot of Arch Linux - Legibility

Details

Authorn-upchurch

LicenseGPL3

Categoryarchlinux.org

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Enlarges text, increases margins, and reduces max line-width to try and make archlinux.org more legible. Only tested on firefox, on my system, so don't come at me if it looks terrible on yours.

Notes

Feel free to submit an issue or PR on the repo.

Source code

/* ==UserStyle==
@name           Arch Linux - Legible
@namespace      github.com/openstyles/stylus
@version        1.2
@description    Enlarges text overall, increases margins, decreases margins, and reduces max line-width with the goal of making the site a little more legible. Shouldn't conflict with color themes.
@author         Nathan Upchurch
==/UserStyle== */

@-moz-document domain("archlinux.org") {
    #news div.article-content {
        margin-bottom: 5rem;
    }
    #content {
        font-size: 1.25rem;
        max-width: 90rem;
    }
    #content-left {
        margin-right: 35rem;
    }
    h1, h2 {
        border-bottom: 0;
    }
    h4 a {
        display: inline-block;
        font-size: 1.75rem;
        max-width: 50rem;
        text-decoration: none;
    }
    .mw-parser-output h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        margin-top: 5rem;
    }
    .mw-parser-output h3 {
        margin-top: 3rem;
    }
    .mw-parser-output h4 {
        margin-top: 2rem;
    }
    #news h4 {
        border-bottom: 0px;
    }
    pre {
        width: 56.325rem;
    }
    table.results {
        font-size: 1.25rem;
    }
   .results td {
        padding-bottom: 1rem;
    }
}

Reviews

No reviews yet.