Twitter X Sleek

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==UserStyle==
@name           Twitter X Sleek
@namespace      https://greatest.deepsurf.us/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;
  }
}