stepfun css

a

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         stepfun css
// @description  a
// @match        *://stepfun.ai/*
// @version 0.0.1.20251112161915
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function() {
  const style = document.createElement('style');
style.id = 'stepfunCssStyleId';

  style.textContent = `
body {
    background-color: revert !important;
}

div#root {
    box-shadow: inset 0 0 0 1px red;
}

.bg-gold {
    background-color: revert !important;
}

div[data-message-id="message"] > div > div > div:nth-of-type(2), #contentContainer > div:nth-of-type(3), div:has(> a[title="About StepFun"][href="https://www.stepfun.com/company"]), div:has(> button > div > svg.custom-icon-image-edit-new-outline) + div  {
    display: none !important;
}

div.flex-col-reverse:has(> div > div[data-message-id="message"]) {
    flex-direction: column !important;
}

:nth-child(even of div[data-message-id="message"]) > div > div > div > div:nth-of-type(1) {
    background-color: red;
    color: black;
}

div:has(> div[class*='duration-300 animate-slide-in'] > div[style*='url("/_next/static/media/invitation-card.68366090.png");'] > button > svg > path[d*='M36.3744 13.7469C36.9602 13.1612 36.9602 12.2114 36.3744 11.6256C35.7886']) {
    display: none !important;
}
  `;
  document.head.appendChild(style);
})();