Gartic right column chat

Moves the chat to the right column.

// ==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/*
// @grant       none
// @license     Mit
// @version     1.0.2
// @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;
  width: 200px !important;
  border-radius: 12px;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.5);
}

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

@media screen and (min-width: 1151px) {
  #chat {
    top: 60px;
    right: 0;
    height: 569px;
    margin-right: -187px !important;
  }
  #screenRoom .content {
    margin-left: -200px;
  }
}
@media screen and (max-width: 1151px) {
  #chat {
    top: 0;
    right: 0;
    height: 505px;
    margin-right: -220px !important;
  }
  #screenRoom .content {
    margin-left: -175px;
  }
}

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

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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址