Skip to content

freeradical.zone - Toot type solid border by edd

Details

Authoredd

LicenseNo License

Categoryfreeradical.zone

Created

Updated

Size1.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A border to mark what kind of toot (public, unlisted, private, direct) a toot is more noticeably. Requires :has() pseudo-attribute

Notes

Requires :has() pseudo-attribute

Source code

/* ==UserStyle==
@name           freeradical.zone - Toot type solid border
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A border to mark what kind of toot (public, unlisted, private, direct) a toot is more noticeably. Requires :has() pseudo-attribute
@author         @edd@freeradical.zone
==/UserStyle== */

@-moz-document domain("freeradical.zone") {
    article:has(.status__wrapper-public) {
        border-right-style: solid;
        border-right-width: 4px;
        border-right-color: #88CCEE;
    }
    article:has(.status__wrapper-unlisted) {
        border-right-style: solid;
        border-right-width: 4px;
        border-right-color: #332288;
    }
    article:has(.status__wrapper-private) {
        border-right-style: solid;
        border-right-width: 4px;
        border-right-color: #44AA99;
    }
    article:has(.status__wrapper-direct) {
        border-right-style: solid;
        border-right-width: 4px;
        border-right-color: #117733;
    }
}

Reviews

No reviews yet.