Skip to content

Yourpixel by blstx

Details

Authorblstx

LicenseNo License

Categoryhypixel.net

Created

Updated

Size23 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Numerous customisation options for the Hypixel Forums.

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         Yourpixel
@version      1.0.3
@namespace    https://hypixel.net/members/najimi.6671425/
@description  Makes it so you can customise the Hypixel Forums however you want!
@author       Najimi
@license      No License
@preprocessor stylus

@var select fontName "Font Family" ["Default", "Arial", "Cambria", "Helvetica", "Raleway", "Times New Roman", "Tahoma", "Trebuchet MS", "Verdana"]

@var color textColor "Text Color" #000
@var checkbox dark "Darkpixel Toggle" 0

@var select userFrame "User Frame" {
"Default": "inital",
"None": "none",
"VIP": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/vip.png')",
"VIP+": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/vip-plus.png')",
"MVP": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/mvp.png')",
"MVP+": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/mvp-plus.png')",
"MVP++": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/mvp-plus-plus.png')",
"YouTuber": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/youtuber.png')",
"Helper": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/helper.png')",
"Game Master": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/gamemaster.png')",
"Admin": "url('https://hypixel.net/styles/hypixel-v2/images/avatar-frames/admin.png')"
}

@var checkbox frameAnimate "Animated MVP++ Frame" 0
@var checkbox custToggle "Enable Custom Frames" 0

@var select custFrame "Custom Frames" {
"None": "inherit",
"Pink MVP++":"url('https://i.imgur.com/PoliSQz.png')",
"Red MVP++": "url('https://i.imgur.com/iodVodF.png')",
"Orange MVP++": "url('https://i.imgur.com/rTjDw5r.png')",
"Yellow MVP++": "url('https://i.imgur.com/1uzCDQq.png')",
"Green MVP++": "url('https://i.imgur.com/4cJKtpf.png')",
"Blue MVP++": "url('https://i.imgur.com/ATCn1ka.png')",
"Cyan MVP++": "url('https://i.imgur.com/EIb2Rp5.png')",
"Purple MVP++": "url('https://i.imgur.com/vOmFCLW.png')",
"Brown MVP++": "url('https://i.imgur.com/FSo9RZx.png')",
"Grey MVP++": "url('https://i.imgur.com/Aa4ZMz0.png')",
"Black MVP++": "url('https://i.imgur.com/lo0YiJ0.png')",
}

@var text forumRank "Forum Rank" Default
@var checkbox rankWeight "Bold Forum Rank" 0

@var checkbox userBanner "User Banner" 0
@var color bannerColor "User Banner Color" #000
@var color borderColor "Banner Border Color" #fff
@var text bannerTitle "Banner Title" ""Forumer""

@var text joinDate "Join Date" Default
@var text maxYap "Message Count" 0
@var text maxScore "Reaction Score" 0

@var checkbox tooltip-reactToggle "Toggle Reactions Tooltip" 0
@var checkbox reactToggle "Toggle Reactions Bar" 0
@var color posColor "Postive Bar Color" #62a201
@var color negColor "Negative Bar Color" #d90b00
@var number posBar 'Positive Bar Size' [0, 0, 100, 1, "%"]
@var number negBar 'Negative Bar Size' [0, 0, 100, 1, "%"]

@var checkbox noArrow "No Message Arrow" 0
@var checkbox noIgnored "Erase Ignored Members" 0
@var checkbox igCat "Turn Ignored Members into Dumb Cats" 0

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

@var select forumType "Forum Preset" {
"Default": "default",
"NO FORUMS": "none !important"
}

==/UserStyle== */
@-moz-document domain("hypixel.net") {
    @import url('https://fonts.googleapis.com/css?family=Raleway');
    
    @keyframes frameStyle {
    0% {
        background-position-x: 0px
    }

    85% {
        background-position-x: 0px
    }

    100% {
        background-position-x: -1080px
    }
}
    
    *:not(i) {
        font-family: fontName !important;
    }
    
    
    /*No Coloured Text*/
    div.bbWrapper:not(.message-signature > .bbWrapper),
    div.bbWrapper span[style^="color"]:not(.message-signature > .bbWrapper span) {
        if dark=="0" {
            color: textColor !important;
        }
        else if dark=="1" {
            color: #e4e2df !important;
        }
    }
    
    /*Reaction Bar*/
    div.tooltip--basic {
        if tooltip-reactToggle=="0" {
            display: default;
        } else if tooltip-reactToggle=="1" {
            display: none !important;
        }
    }
    
    h4.message-name:has(a[data-user-id=/*Your User ID*/]) ~ div.sv-rating-count-bar div.sv-rating-count-bar__fragment.sv-rating-type-category2--background {
        if posBar=="0%" {
            width: default;
        } else {
            width: posBar !important;
        } 
        background: posColor !important;
        if reactToggle=="0" {
            display: default;
        } else if reactToggle=="1" {
            display: none;
        }
        
    }
    h4.message-name:has(a[data-user-id=/*Your User ID*/]) ~ div.sv-rating-count-bar div.sv-rating-count-bar__fragment.sv-rating-type-category1--background {
        if negBar=="0%" {
            width: default;
        } else {
            width: negBar !important;
        } 
        background: negColor !important;
        if reactToggle=="0" {
            display: default;
        } else if reactToggle=="1" {
            display: none;
        }
    }
    div.sv-rating-count-bar {
        width: 148px !important
    }
    
    /*Links*/
    /*Maxpixel's code taken from Linkpixel, with his permission.*/
    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;
    }

    
    /*Message Arrow*/
    span.message-userArrow {
        if noArrow=="0" {
            display: initial;
        }
        else if noArrow="1" {
            display: none;
        }
    }

    /*Fonts*/
    div.bbWrapper {
        if fontName=="Cambria" {
            font-size: 16px;
            font-weight: 400;
        }
        else if fontName=="Times New Roman" {
            font-size: 16px;
            font-weight: 400;
        }
    }

    /*Forum Rank*/
    div.message-userDetails:has(a[data-user-id=/*Your User ID*/]) > h5.userTitle::before {
        content: forumRank !important;
        if rankWeight=="0" {
            font-weight: normal;
        }
        else if rankWeight=="1" {
            font-weight: bold;
        }
        visibility: visible;
        letter-spacing: normal;
    }

    div.message-userDetails:has(a[data-user-id=/*Your User ID*/]) > h5.userTitle {
        if forumRank=="Default" {
            visibility: visible;
            letter-spacing: normal;
            if rankWeight=="0" {
                font-weight: normal;
            }
            else if rankWeight=="1" {
                font-weight: bolder;
            }
        }
        else {
            visibility: hidden;
            letter-spacing: -999px;
        }
        position: relative;
    }

    /*User Banner*/
    div.message-userDetails:has(a[data-user-id=/*Your User ID*/]) > h5.userTitle::after {
        if userBanner=="0" {
            display: none;
        }
        else if userBanner=="1" {
            display: block;
        }
        visibility: visible;
        content: bannerTitle;
        letter-spacing: normal;
        margin-top: 3px;
        font-weight: 400;
        font-size: 11.25px;
        font-style: normal;
        padding: 1px 6px;
        border: 1px solid transparent;
        border-radius: 2px;
        text-align: center;
        color: #fff;
        background: bannerColor;
        border-color: borderColor;
    }

    /*Frame*/
    div.message-avatar:has(a[data-user-id=/*Your User ID*/])::after {
        if custToggle=="1" {
            background-image: custFrame;
        }
        else if custToggle=="0" {
            background-image: userFrame;
        }
        if frameAnimate=="1" {
            animation: frameStyle 3s steps(8) infinite;
        }
        else if frameAnimate=="0" {
            animation: none;
        }
    }
    
    /*Erase Ignored Members*/
    :has(>[class^=showIgnored]),
    article.message:has(.messageNotice--ignored) {
        if noIgnored=="0" {
            display: ;
        }
        else if noIgnored=="1" {
            display: none !important;
        }
    }


    /*Extras*/
    div.message-userDetails:has(a[data-user-id=/*Your User ID*/]) + div.message-userExtras dl.pairs.pairs--justified:nth-of-type(1) dd {
        if joinDate=="Default" {
            visibility: visible;
            letter-spacing: normal;
        }
        else {
            visibility: hidden;
            letter-spacing: -999px;
        }
        position: relative;
    }

    div.message-userDetails:has(a[data-user-id=/*Your User ID*/]) + div.message-userExtras dl.pairs.pairs--justified:nth-of-type(1) dd::after {
        if joinDate=="Default" {
            visibility: hidden;
            letter-spacing: -999px;
        }
        else {
            visibility: visible;
            letter-spacing: normal;
            content: joinDate
        }
    }
    div.message-userDetails:has(a[data-user-id=/*Your User ID*/]) + div.message-userExtras dl.pairs.pairs--justified:nth-of-type(2) dd {
        if maxYap=="0" {
            visibility: visible;
            letter-spacing: normal;
        }
        else {
            visibility: hidden;
            letter-spacing: -999px...

Reviews

No reviews yet.