Skip to content

Bring back the Ancestry.com black bar by gurok

Details

Authorgurok

LicenseNo License

CategoryAncestry.com

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Brings back the black bar on Ancestry.com. Also hides the upgrade button.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           ancestry.com.au - 17/10/2023, 8:55:41 pm
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Bring back the ancestry.com black bar
@author         Benjamin Penney
==/UserStyle== */

@-moz-document regexp("https?://(?:www.)?ancestry\\..*") {

    #HeaderRegion
    {
        background: #1b1b18;

        .navLogo
        {
            &::after
            {
                background: url(//www.ancestrycdn.com/ui-static/i/logo/ancestry-on-dark.svg);
                background-size: 115px 21px;
                width: 115px;
                height: 21px;
                display: block;
                margin-left: 12px;
                margin-right: 34px;
                margin-top: 16px;
                content: '';
            }
            
            & img
            {
                display: none;
            }
        }

        #navSubscriptionOptions
        {
            display: none;
        }
        
        #nav
        {
            .navLink
            {
                color: #ccc;
                
                &.active, &:focus, &:hover
                {
                    color: #fff;
                }
            }
        }
    }

}

Reviews

No reviews yet.