Gartic.io Dark Mode

Gartic.io dark theme

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==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;
    }
`);