Skip to content

Revert Scrap.tf logo by DavieJones

Screenshot of Revert Scrap.tf logo

Details

AuthorDavieJones

LicenseNo License

Categoryscrap.tf

Created

Updated

Size641 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Revert scrap.tf logo to the pre-2020. Replacement logo for dark mode is pulled from marketplace.tf cuz scrap.tf only has the dark text version.

Notes

There's an option to select dark or light mode.

Source code

/* ==UserStyle==
@name revert scrap.tf logo
@version 2.0
@namespace oldscraptflogo
@preprocessor   stylus
@var            select select-theme "scrap.tf theme" ["Light","Dark"]
==/UserStyle== */

@-moz-document domain("scrap.tf"){
    
    :root {
        if select-theme == "Light" {
            --leURL: url(/img/logo.svg);
        }        
        if select-theme == "Dark" {
            --leURL: url("https://marketplace.tf/images/ScrapLogo.png");
        }   
    }
    
    img.navbar-brand.big-logo {
        content: var(--leURL);
    }

    img.navbar-brand {
        content: url(/img/emblem.svg);
    }
}

Reviews

No reviews yet.