deepseek css

a

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

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

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

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

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

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

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

Advertisement:

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

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

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

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

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

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

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

Advertisement:

// ==UserScript==
// @name         deepseek css
// @description  a
// @match        https://chat.deepseek.com/*
// @version 0.0.1.20251120075957
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

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

  style.textContent = `
* {
margin-left: revert !important;
margin-right: revert !important;
flex-shrink: revert !important;
}

:root {
    color-scheme: light dark !important;
}

body {
    background-color: revert !important;
}

body > div#root > div.ds-theme > div {
    margin: 0px 8px !important;
}

div:has(> div > div > svg > path[d^="M1.00008 2.41429C0.609551"]) {
background: linear-gradient(to bottom, transparent 0%, transparent 30%, black 30%, black 100%);
}

div:has(> div > div > svg > path[d^="M23.7222 4H4.27776C3.57207"]) {
    background-color: revert !important;
}

div:has(> svg > path[d^="M1.00008 2.41429C0.609551 2.02376"]) {
    display: none !important;
}

div:has(> div > svg > path[d^="M5.856 17.121a.979.979"]):has(> div > span) {
    display: none !important;
}

div:has(> button[role="button"] > div.ds-icon > svg > path[d*="M7.00003 0.500061C3.41018"]) {
    display: none !important;
}

div:not([style]) > div.ds-message > div {
    background-color: red;
    color: black !important;
}

.ds-scroll-area__vertical-gutter {
    display: none !important;
}

div[class*='ds-message'] > div[style*='--collapsible-area-title'] > div:nth-of-type(1) > div[style*='opacity: 1;'] {
    display: none !important;
}
  `;
  document.head.appendChild(style);
})();