Skip to content

e621.net/posts/floating controls by Mrspirits

Details

AuthorMrspirits

LicenseNo License

Categorye621.net

Created

Updated

Size1.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Floating vote, favorite and fit control for posts.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           e621.net/posts/float
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Floating vote, favorite and fit control for posts.
@author         Shubi
==/UserStyle== */
@-moz-document url-prefix("https://e621.net/posts/") {
    /* Fix the "image-extra-controls" section to float on screen */
    #image-extra-controls {
        position: fixed !important;
        bottom: 10px;
        /* Adjust to place it near the bottom of the screen */
        right: 10px;
        /* Adjust to place it near the right side of the screen */
        z-index: 1000;
        /* Ensure it stays on top of other elements */
        background: rgba(0, 0, 0, .8);
        /* Optional: make it slightly translucent */
        padding: 10px;
        /* Optional: add padding for better appearance */
        border-radius: 5px;
        /* Optional: add rounded corners */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        /* Optional: add a shadow */
    }
}

Reviews

No reviews yet.