Skip to content

Linkpixel by maxpixels

Details

Authormaxpixels

LicenseNo License

Categoryhypixel.net

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Creates the ability to have a custom color for links rather than the simple fix, alongside some other options.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Linkpixel
@version      1.0.0
@namespace    https://hypixel.net/members/maxpixels.2150269/
@description  Creates the ability to have a custom color for links rather than the simple fix, alongside some other options.
@author       maxpixels
@license      No License
@preprocessor stylus

@var color linkColor "Links" #7289da
@var color hoverColor "Hover On Links" #edc67e
@var color expandColor "Click to Expand" #ffc02e

@var checkbox underline "Underlined Link" 0
==/UserStyle== */

@-moz-document domain("hypixel.net") {
    /*Original code by blstx, modified with his permission*/
    /*Links*/
    div.bbWrapper a:not(.bbWrapper a[href^="/goto/post?id"]) {
        color: linkColor;
        if underline == "0" {
            text-decoration: none;
        } else if underline == "1" {
            text-decoration: underline;
        }
    }
    div.bbWrapper a:not(.bbWrapper a[href^="/goto/post?id"]):hover {   
        color: hoverColor;
        text-decoration: underline !important;
    }
    div.bbWrapper a span[style*="color"]:hover {
        color: inherit;
        text-decoration: underline;
    }
    /*Click to Expand...*/
    div.bbCodeBlock-expandLink a {
        color: expandColor !important;
}
}

Reviews

No reviews yet.