Skip to content

Legend Keeper Tweaks by Malachi_Draven

Details

AuthorMalachi_Draven

LicenseNo License

Categoryapp.legendkeeper.com

Created

Updated

Size1.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Makes some adjustments and fixes for Legend Keeper's layout. Mostly changes the size of the sidebars and banner images.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           app.legendkeeper.com/a/worlds/clza4zjuh208l0jlcd7w4cciq/clzblalqo0f8m2a68a448b1ox/clzblr6gf0gxb2a68uor71m7g - Aug 2024
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://app.legendkeeper.com/"),
url-prefix("https://www.legendkeeper.com/app/") {
    /* EDITOR */
    /* Smaller Full Width */
    .resource-editor.full-width,
    .w-full > #react-viewer {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }
    /* Nested To Do Lists */
    ul[data-node-type="actionList"] ul {
        margin-top: 0;
    }



    /* BANNER Size */
    img.max-h-full[alt="Display"] {
        height: 300px;
    }



    /* SIDE MENU */
    .MuiPaper-root.MuiDrawer-paper.MuiDrawer-paperAnchorDockedLeft {
        width: 350px !important;
    }
    .MuiDrawer-root.MuiDrawer-docked.lk-embedded-drawer + div.lk-layout-manager > div:not([style="padding-left: 300px"]):not(.lk-help-button):not(.toolbar) > div.jss7[style*="padding-left: 300px"] {
        padding-left: 350px !important;
    }



    /* SIDEBAR */
    /* Width */
    .side {
        width: 350px;
    }
    .resource-viewer {
        grid-template-columns: auto 350px;
    }
    .lk-help-button {
        right: 30px;
    }
    /* Image Size */
    .property canvas {
        width: 310px !important;
        height: auto !important;
    }
    /* Table & Font Size */
    /* -- Editing */
    .property .text-base table {
        font-size: .875rem;
    }
    .property table tr td:first-child {
        width: 120px;
    }
    /* -- Public */
    aside#resource-properties table {
        width: 100%;
    }




    /* CALLOUT ICONS */
    .panel-icon {
        display: none;
    }
}

Reviews

No reviews yet.