Tema Krypta

Aplica um tema com cores da Krypta ao site do Kogama

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         Tema Krypta
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Aplica um tema com cores da Krypta ao site do Kogama
// @author       eminent
// @match        https://kogama.com.br/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    const newLogoURL = 'https://cdn.discordapp.com/attachments/1236439431574065162/1253841882463866912/krypta.png?ex=667752c0&is=66760140&hm=33ea6f0df57cb049c7cf29620f3b783deafcb148e51cea4a14107c962c5962d9&';

    const logoCSS = `
        .logo .logo-image {
            background-image: url('${newLogoURL}') !important;
            background-size: contain !important;
            background-repeat: no-repeat !important;
            width: 100px;
            height: 50px;
        }
    `;

    const darkThemeCSS = `
        #game-index, #profile-page {
            background: linear-gradient(to bottom, #004d00, #004d00) !important;
            color: #e0e0e0 !important;
        }

        footer.authenticated {
            background-color: #000000 !important;
            color: #e0e0e0 !important;
        }

        .links-container {
            color: #000000 !important;
        }

        .links-container a {
            color: #000000 !important;
        }

        .links-container a i {
            color: inherit !important;
        }

        .icon-gamepad,
        .icon-cubes,
        .icon-basket,
        .icon-news,
        .icon-crown {
            color: #2C6E2E !important;
        }

        #mobile-page-content,
        #content-container {
            background: linear-gradient(to bottom, #004d00, #004d00) !important;
            color: #e0e0e0 !important;
        }

        .vKjpS {
            color: #ffffff !important;
        }

        ._1uoCS {
            fill: #39FF14 !important;
        }

        ._2ZFY8 {
            color: #39FF14 !important;
        }

        .pageheader-inner {
            background: linear-gradient(to bottom, #003500, #000000) !important;
            color: #e0e0e0 !important;
        }

        #footer-header,
        #footer-company,
        #footer-about,
        #footer-links {
            background-color: #0E2302 !important;
            color: #e0e0e0 !important;
        }
    `;

    GM_addStyle(logoCSS + darkThemeCSS);
})();