Skip to content

More Readable TheAnarchistLibrary by justarandomperson

Screenshot of More Readable TheAnarchistLibrary

Details

Authorjustarandomperson

LicenseNo License

Categorytheanarchistlibrary.org

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Bigger + clearer font and styling for works uploaded to theanarchistlibrary.org

Notes

Found this on my drive and decided to share. Changes are very simple and should work decently with the website's native dark mode.

Will probably not be updated in the future unless the site has a drastic layout change.

Source code

/* ==UserStyle==
@name           More Readable TheAnarchistLibrary
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         justarandomperson
==/UserStyle== */

@-moz-document domain("theanarchistlibrary.org") {
    
    #thework {
        font-size: 16px; /* default */
    }
    
    #thework p {
        font: 18px/2 "Noto Serif",Georgia,"Times New Roman",serif;
        letter-spacing: 0.25px;
        margin: 1em 0;
    }
    
    #thework table, #thework ol {
        font-size: 18px;
    }
    
    .text-justify {
        text-align: left;
    }
    
    blockquote, .verse {
        font-size: 18px;
        border-left: 3px solid rgba(100,100,100,0.35);
        background: rgba(100,100,100,0.1);
        padding: 1em 2em;
    }
    
    div.biblio, div.play {
        padding: 24px 1.5em;
    }
    
    .tableofcontentline {
        font-size: 18px;
    }

    #thework h1, #thework h2, #thework h3, #thework h4, #thework h5, #thework h6 {
        line-height: 1.5;
    }
    
    #thework h4 {
        font-size: 1.8em;
    }
    
    #thework h5 {
        font-size: 1.65em;
    }
    
    #thework h6 {
        font-size: 1.5em;
    }
    
    p.fnline {
        display: table;
        font-size: 18px;
    }
    
    a.footnotebody {
        display: table-cell;
        min-width: 3.5em;
    }
    
    a.footnote, a.footnotebody {
        font-size: 18px;
    }
    
    * + p.fnline, * + p.secondary-fnline {
        border-color:rgba(100,100,100,0.8);
    }
    
}

Reviews

No reviews yet.