z css

a

// ==UserScript==
// @name        z css
// @description a
// @match       https://chat.z.ai/*
// @run-at      document-start
// @version 0.0.1.20250730064106
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function () {
    const css = `
:root {
color-scheme: light dark !important;
}

*:not(div[data-language="python"]):not(div[data-language="python"] *):not(code):not(code *) {
    color: revert !important;
}

*{
    background: revert !important;
min-width: revert !important;
}

nav {
    background-color: canvas !important;
} 

div:has(> div > div > div > button > svg > path[d^="M10 3a.75.75 0 01.75.75v10.638l3.96-4.158a.75.75"]) {
    display: none !important;
}

div.chat-user > div > div > div.rounded-xl {
    background-color: blue !important;
}

button:has(> svg.rotate-45 > path[d^="M512 853.333333c-25.6"]) {
    display: none !important;
}

div:has(> div > div.suggestionContainer) {
    display: none !important;
}
  `;
    const style = document.createElement('style');
    style.textContent = css;
    document.head.appendChild(style);
})();