Twitter X Sleek

Makes twitter.com and x.com sleek ... and requires ':has' functionality from your browser.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           Twitter X Sleek
@namespace      https://greasyfork.org/en/users/844240-madmanmoon
@version        1.3.16
@description    Makes twitter.com and x.com sleek ... and requires ':has' functionality from your browser.
@author         MadManMoon
@license        GPLv3
@preprocessor   stylus
==/UserStyle== */
  
@-moz-document domain(twitter.com), domain(x.com) {
  :root{
  	--mmmLoader: 0;
  /* this is just here so that this loads for every twitter page*/
    --mmmBrdCl: #ef03ca00;
  }
 
  /* This changes the borders to pink but completely seethrough, play with the last two digits in the variable to lessen opacity */
  .r-1kqtdi0, .r-1igl3o0 {
    border-color: var(--mmmBrdCl) !important;
  }
  
  /* REMOVALS_LEFT */
  /* This removes these left menu items entirely */
  [aria-label="Twitter"], [aria-label="Home"], [aria-label="Search and explore"], [aria-label="Lists"], [aria-label="Bookmarks"], [aria-label="Communities"], [aria-label="Verified"], [aria-label="X"], [aria-label="x"], div.css-1dbjc4n.r-dnmrzs.r-1vvnge1 {
    display: none !important;
  }
  
  /* REMOVALS_RIGHT */
  /* This removes these right side items entirely */
  div:has( > div > section > [aria-label="Timeline: Trending now"]), div:has( > div > [aria-label="Who to follow"]), div:has( > [aria-label="Footer"]) {
    display: none !important;
  }
}