SteamStat.us - Witcher 3 Theme

SteamStat.us - Witcher 3 style

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

/* ==UserStyle==
@name         SteamStat.us - Witcher 3 Theme
@version      20241115.16.05
@namespace    nick2bad4u.github.io
@supportURL   https://github.com/Nick2bad4u/UserStyles/issues
@description  SteamStat.us - Witcher 3 style
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */
@-moz-document domain("steamstat.us") {
    /* Main title styling with Witcher-inspired colors */
    .title {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0;
        animation: title-animation 3s ease-in-out infinite alternate;
        background: linear-gradient(
            135deg,
            #8b0000 30%,
            #ffd700 70%
        ); /* Dark Red to Gold */
        background-clip: text;
        color: #b22222; /* Witcher Red */
        font-size: 2.5em;
        font-weight: 700;
        text-align: center;
        -webkit-text-fill-color: transparent;
        text-shadow: 2px 2px 5px rgb(0 0 0 / 60%);
        -webkit-text-stroke-color: #ffffff96;
        -webkit-text-stroke-width: 1px;
        @media screen and (prefers-reduced-motion: reduce) {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 10px 0;
            animation: none;
            background: linear-gradient(
                135deg,
                #8b0000 30%,
                #ffd700 70%
            ); /* Dark Red to Gold */
            background-clip: text;
            color: #b22222; /* Witcher Red */
            font-size: 2.5em;
            font-weight: 700;
            text-align: center;
            -webkit-text-fill-color: transparent;
            text-shadow: 2px 2px 5px rgb(0 0 0 / 60%);
            -webkit-text-stroke-color: #ffffff96;
            -webkit-text-stroke-width: 1px;
        }
    }
    /* Animation for the title */
    @keyframes title-animation {
        0% {
            transform: scale(1);
        }
        100% {
            transform: scale(1.08);
        }
    }
    /* Logo addition with Witcher medallion effect */
    .title::after {
        display: inline-block;
        width: 200px;
        height: 60px;
        margin-left: 10px;
        background: url("https://i.gyazo.com/f2d821c47cc5df51c893d7333c1c93b1.png")
            no-repeat center; /* Witcher medallion */
        background-size: auto 100%;
        content: "";
        transition: transform 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            display: inline-block;
            width: 200px;
            height: 60px;
            margin-left: 10px;
            background: url("https://i.gyazo.com/f2d821c47cc5df51c893d7333c1c93b1.png")
                no-repeat center; /* Witcher medallion */
            background-size: auto 100%;
            content: "";
            transition: none;
        }
    }
    .title:hover::after,
    .title:focus::after {
        transform: scale(1.5);
    }
    /* Link styling with hover effect */
    a {
        color: #ffd700; /* Gold */
        font-weight: 700;
        text-decoration: none;
        text-shadow: 1px 1px 2px rgb(0 0 0 / 40%);
        transition:
            color 0.3s ease,
            text-shadow 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            color: #ffd700; /* Gold */
            font-weight: 700;
            text-decoration: none;
            text-shadow: 1px 1px 2px rgb(0 0 0 / 40%);
            transition: none;
        }
        &:hover,
        &:focus {
            color: #b22222; /* Witcher Red */
            text-decoration: underline;
            text-shadow: 2px 2px 6px rgb(0 0 0 / 70%);
        }
    }
    /* Status colors with Witcher theme */
    .good {
        color: #6b8e23; /* Olive Green */
        text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
        transition: color 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            color: #6b8e23; /* Olive Green */
            text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
            transition: none;
        }
    }
    .minor {
        color: #ffffff; /* White */
        font-weight: 700;
        text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
        transition: color 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            color: #ffffff; /* White */
            font-weight: 700;
            text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
            transition: none;
        }
    }
    .major {
        color: #b22222; /* Witcher Red */
        font-weight: 700;
        text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
        transition: color 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            color: #b22222; /* Witcher Red */
            font-weight: 700;
            text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
            transition: none;
        }
    }
    /* Refresh button styling */
    #js-refresh {
        color: #ffd700; /* Gold */
        font-weight: bolder;
        text-shadow: 0 0 3px rgb(0 0 0 / 80%);
        transition:
            color 0.3s ease,
            transform 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            color: #ffd700; /* Gold */
            font-weight: bolder;
            text-shadow: 0 0 3px rgb(0 0 0 / 80%);
            transition: none;
        }
        &:hover,
        &:focus {
            color: #8b0000; /* Dark Red */
            transform: scale(1.1);
        }
    }
    /* Container with Witcher-inspired accents */
    .services,
    #psa,
    noscript,
    footer {
        position: relative;
        border: 1px solid #b22222;
        border-radius: 4px;
        background: linear-gradient(
            135deg,
            rgb(139 0 0 / 80%) 30%,
            rgb(218 165 32 / 80%) 70%
        );
        box-shadow: 0 4px 12px rgb(0 0 0 / 80%);
        color: #ffffff;
        font-size: 1em;
        line-height: 1.5;
        text-shadow: 0 0 4px rgb(0 0 0 / 90%);
        transition:
            box-shadow 0.3s ease,
            background 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            position: relative;
            border: 1px solid #b22222;
            border-radius: 4px;
            background: linear-gradient(
                135deg,
                rgb(139 0 0 / 80%) 30%,
                rgb(218 165 32 / 80%) 70%
            );
            box-shadow: 0 4px 12px rgb(0 0 0 / 80%);
            color: #ffffff;
            font-size: 1em;
            line-height: 1.5;
            text-shadow: 0 0 4px rgb(0 0 0 / 90%);
            transition: none;
        }
    }
    .services:hover,
    #psa:hover,
    noscript:hover,
    footer:hover,
    .services:focus,
    #psa:focus,
    noscript:focus,
    footer:focus {
        background: rgb(0 0 0 / 95%);
        box-shadow: 0 6px 15px rgb(0 0 0 / 90%);
    }
    /* Body styling with Witcher backdrop */
    body {
        margin: 0;
        background: url("https://i.gyazo.com/1ebf57cc6e04b6d589057fdc5b637365.jpg")
            no-repeat center center fixed; /* Witcher backdrop */
        background-size: cover;
        color: #ffd700; /* Gold */
        font-family: Georgia, serif;
        font-size: 16px;
        font-weight: 300;
        text-shadow: 2px 2px 4px rgb(0 0 0 / 70%);
        transition: background 0.3s ease;
        @media screen and (prefers-reduced-motion: reduce) {
            margin: 0;
            background: url("https://i.gyazo.com/1ebf57cc6e04b6d589057fdc5b637365.jpg")
                no-repeat center center fixed; /* Witcher backdrop */
            background-size: cover;
            color: #ffd700; /* Gold */
            font-family: Georgia, serif;
            font-size: 16px;
            font-weight: 300;
            text-shadow: 2px 2px 4px rgb(0 0 0 / 70%);
            transition: none;
        }
    }
    /* Tooltip customization */
    [data-tooltip]::before {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 2%;
        width: 96%;
        padding: 8px;
        border-radius: 8px;
        background: rgb(139 0 0 / 90%); /* Dark Red */
        color: #ffffff;
        content: attr(data-tooltip);
        font-size: 0.875em;
        opacity: 0%;
        text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
        transition:
            visibility 0s,
            opacity 0.3s ease-in-out;
        visibility: hidden;
        @media screen and (prefers-reduced-motion: reduce) {
            position: absolute;
            z-index: 1;
            top: 0;
            left: 2%;
            width: 96%;
            padding: 8px;
            border-radius: 8px;
            background: rgb(139 0 0 / 90%); /* Dark Red */
            color: #ffffff;
            content: attr(data-tooltip);
            font-size: 0.875em;
            opacity: 0%;
            text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
            transition: none;
            visibility: hidden;
        }
    }
    [data-tooltip]:hover::before,
    [data-tooltip]:focus::before {
        opacity: 100%;
        visibility: visible;
    }
    /* Advanced feature: Animated border */
    .gradient-border {
        position: relative;
        padding: 12px;
        border-radius: 6px;
        background-color: rgb(0 0 0 / 90%);
        box-shadow: 0 0 10px rgb(139 0 0 / 80%);
        color: #ffffff;
        font-weight: 700;
        text-align: center;
    }
    .gradient-border::before {
        position: absolute;
        z-index: -1;
        border-radius: 6px;
        animation: gradient-border 4s linear infinite;
        background: linear-gradient(45deg, #8b0000, #ffd700, #8b0000);
        background-size: 300% 300%;
        content: "";
        inset: 0;
        @media screen and (prefers-reduced-motion: reduce) {
            position: absolute;
            z-index: -1;
            border-radius: 6px;
            animation: none;
            background: linear-gradient(45deg, #8b0000, #ffd700, #8b0000);
            background-size: 300% 300%;
            content: "";
            inset: 0;
        }
    }
    @keyframes gradient-border {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }
}