Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Stylus

From Roll20 Wiki

Revision as of 23:56, 4 March 2022 by Andreas J. (Talk | contribs)

Jump to: navigation, search
Main Page: Browser

Stylus is a plugin that can change how webpages look, and many roll20 users have created their own tricks and minor adjustments to Roll20 for personal use. Things like changing how certain tools look in Roll20, making a Dark Mode, adjusting looks on character sheets, or how things look in the q Text Chat.

Note: there is a similarly named extension "Stylish", but it's stealing your browser history "Stylish" is back, and you still shouldn't use it

Dark Mode options:


Stylus Snippets

Display filesize/dimensions in P Art Library

(by Keith)

#marketplaceresults li::after,
#recentuploads li::after{
    background-color: white;
    content: attr(data-grid-width)"x"attr(data-grid-height);
    display: inline-block;
    font-size: 1em;
    padding-left: 30px;
    position: absolute;
    right: 0;
}

5E Sheet Dark Mode Red to purple

by keith

Stylus can use the CSS variable names. This code will change all D&D 5E by Roll20
Character   Sheet
red to purple, when you have Dark Mode on:
.sheet-darkmode .npc .display .red span {
    color: var(--dark-primary);
}