Gartic right column chat

Moves the chat to the right column.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        Gartic right column chat
// @namespace   Violentmonkey Scripts
// @description Moves the chat to the right column.
// @icon        https://gartic.io/favicon.ico
// @match       *://gartic.io/*
// @license     Mit
// @version     1.0.5
// @grant       GM_addStyle
// @author      Mops
// ==/UserScript==

GM_addStyle(`
#interaction {
  position: static !important;
  margin-top: 5px !important;
}

#chat {
  padding: 5px;
  border: 1px solid #979797;
  position: absolute !important;
  background-color: white;
  resize: horizontal;
  overflow: auto;
  min-width: 120px;
  border-radius: 12px;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.5);
}

#chat h5 {
  position: static !important;
}

#screenRoom .ctt #interaction .bar {
  background-color: transparent !important;
  margin: 15px 15px 0 0 !important;
}

#chat {
  top: 60px;
  left: 1175px;
  height: 680px;
}

@media screen and (max-height: 753px), screen and (max-width: 1329px) {
  #chat {
    top: 60px;
    left: 990px;
    height: 570px;
  }
}

@media screen and (max-height: 641px), screen and (max-width: 1151px) {
  #chat {
    top: 0px;
    left: 850px;
    height: 505px;
  }
}

.textGame label, .area {
  pointer-events: none !important;
}
.area {
  display: none !important;
}

.textGame input[type=text] {
  height: 22px !important;
}
`)