Skip to content

Official Collection Checkmark // Kbin by NeighborlyFedora

Screenshot of Official Collection Checkmark // Kbin

Details

AuthorNeighborlyFedora

LicenseGPL v3 or later

Categorykbin.social

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Adds a checkmark next to the names of official collections on Kbin.

Notes

Current Version: 1.0.1

This feature is from my larger userstyle idkbin.

Source code

/* ==UserStyle==

@name           Official Collection Checkmark // Kbin
@namespace      github.com/openstyles/stylus
@version        1.0.1
@description    Adds a checkmark next to the names of official collections on Kbin.
@author         NeighborlyFedora

==/UserStyle== */

@-moz-document domain("kbin.social") {

    .table-responsive tr td:first-of-type:has( a[href*="/c/"]:not(a[href*="/u/"]) ):after,
    #sidebar .magazine h4:has( a[href*="/c/"]:not(a[href*="/u/"]) ):after,
    .related-magazines li:has( a[href*="/c/"]:not(a[href*="/u/"]) ):after{
        content: " \f058";
        font-family: "Font Awesome 6 Free";
    }
    
    .table-responsive tr td:first-of-type:has( a[href*="/c/"]:not(a[href*="/u/"]) ):hover:after,
    #sidebar .magazine h4:has( a[href*="/c/"]:not(a[href*="/u/"]) :hover):after,
    .related-magazines li:has( a[href*="/c/"]:not(a[href*="/u/"]) ):hover:after{
        color: var(--kbin-meta-link-hover-color);
    }

    .related-magazines li:has( a[href*="/c/"]:not(a[href*="/u/"]) ):after {
        margin-left: 0.3em;
    }

    .related-magazines li {
        justify-content: flex-start !important;
    }

}

Reviews

No reviews yet.