Tema Preto Roxo

Aplica um tema preto e roxo ao site do Kogama

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

(function() {
    'use strict';

    const customThemeCSS = `
        body {
            background: linear-gradient(to bottom, #1c1c1c, #000000) !important;
            color: #dcdcdc !important;
        }

        footer {
            background-color: #0d0d0d !important;
            color: #dcdcdc !important;
        }

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

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

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

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

        #mobile-page-content,
        #content-container {
            background: linear-gradient(to bottom, #1c1c1c, #000000) !important;
            color: #dcdcdc !important;
        }

        #footer-header,
        #footer-company,
        #footer-about,
        #footer-links {
            background-color: #0d0d0d !important;
            color: #FFFFF !important;
        }

        #pageheader {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .pageheader-inner {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        #nav-menu {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-grow: 1;
        }
        #nav-menu ol {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            margin: 0;
            list-style: none;
        }
        #nav-menu li {
            margin: 0 10px;
        }
        #header-xp-level {
            visibility: hidden;
        }

        .data.tool-tip .icon-gamepad {
            color: #E3E1D3 !important;
        }
    `;

    GM_addStyle(customThemeCSS);
})();