Skip to content

Lorem Ipsum Dark Mode by Avistella

Screenshot of Lorem Ipsum Dark Mode

Details

AuthorAvistella

LicenseCC-BY-NC-SA-4.0

Categorylipsum.com

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dark mode for Lorem Ipsum Generator

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Lorem Ipsum Dark Mode
@namespace      Lorem Ipsum Dark Mode | Avistella
@version        1.0.0
@description    Dark mode for Lorem Ipsum Generator
@author         Avistella
@license        CC-BY-NC-SA-4.0
@preprocessor   stylus

@var color      mbg             "Background color"              "#232323"
@var color      txt             "Text"                          "#e8e8e8"
@var color      lks             "Links"                         "#5b9bd1"
@var color      lksh            "Links on hover"                "#c8e6ff"
@var checkbox   rcnt            "Remove content"                0
@var text       fnt             "Font size"                     "1rem"
==/UserStyle== */

@-moz-document domain("lipsum.com") {
    
    body {
        overflow-x:hidden;
        background-color:mbg;
        color:txt;
        font-size:fnt;
    }
    
    #Languages a.zz, #Languages a.zz:hover {
        color:txt;
    }
    
    a, a:active, a:link, a:visited, a.lnk:active, a.lnk:hover, a.lnk:link, a.lnk:visited {
        color:lks;
    }
    
    a:hover {
        color:lksh;
    }
    
    if rcnt == 1 {
        #Languages, hr, h1, h4, h5, .boxed, #Translation, #Panes div:not(:last-of-type), #Panes div:last-of-type p, #Panes div:last-of-type h2 {
            display:none;
        }
        #Panes div:last-of-type {
            float:none;
            margin:0 auto;
        }
        .banner {
            min-height:0 !important;
            margin:3rem !important;
        }
    }
    
}

@-moz-document url-prefix("https://www.lipsum.com/feed/") {
    .boxed {
        display:block !important;
    }
}

Reviews

No reviews yet.