Gartic right column chat

Moves the chat to the right column.

目前為 2024-04-04 提交的版本,檢視 最新版本

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

GM_addStyle(`
#screenRoom .content {
  margin-left: -150px;
}

#chat .history .msg {
  font-size: 14px !important;
  margin: 0 8px !important;
  line-height: 8px !important;
}

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

#chat {
  padding: 5px;
  border: thin solid black;
  position: absolute !important;
  background-color: white;
  width: 200px !important;
  margin-right: -225px !important;
}

@media screen and (min-width: 1151px) {
  #chat {
    top: 65px;
    right: 0;
    height: 560px;
  }
}
@media screen and (max-width: 1151px) {
  #chat {
    top: 5px;
    right: 0;
    height: 495px;
  }
}

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

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

#screenRoom :is(.scroll:before, .scroll:after) {
  display: none !important;
}
`)