Gartic.io Dark Mode

Gartic.io dark theme

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Gartic.io Dark Mode
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  Gartic.io dark theme
// @author       iQuez
// @license      MIT
// @match        *://gartic.io/*
// @grant        GM_addStyle
// ==/UserScript==

GM_addStyle(`
    body, html, #background { background-color: #202225 !important; }

    #fundo { background-color: #202225 !important; }

    div#canvas {
        background-color: #ffffff !important;
        border-radius: 8px;
    }

    #drawing, #drawing svg, #drawing canvas, #events {
        background-color: transparent !important;
    }

    #content, #popUp .content, .scrollElements,
    #screenRoom .ctt #interaction, .rooms .scroll a:not(.emptyList):not(.loading),
    #screens>div, .rooms .scroll a:not(.emptyList):not(.loading) .figure,
    .users, .chat, .ranking, .home .lastRooms ul li {
        background-color: #202225 !important;
        border-color: #2f3136 !important;
    }

    .rooms .scroll a:not(.emptyList):not(.loading).selected,
    .rooms .scroll a:not(.emptyList):not(.loading):hover {
        border: 3px solid #00b4fa !important;
    }

    h1, h2, h3, h4, h5, p, span:not(.win), label, strong, .text, .home .lastRooms ul li .infosRoom * {
        color: #dcddde !important;
    }

    span.win {
        color: #000000 !important;
        font-weight: bold !important;
    }

    .home .lastRooms>div ul li:not(.emptyList):not(.empty)>span {
        background-color: rgba(32, 34, 37, 0.9) !important;
        color: #dcddde !important;
    }

    .btBlueBig strong, .btYellowBig strong {
        color: #000000 !important;
    }

    input, select {
        background-color: #2f3136 !important;
        color: #dcddde !important;
        border: 1px solid #18191c !important;
        border-radius: 4px;
        outline: none !important;
    }
`);