// ==UserScript== // @name GitLab Personal // @namespace https://greasyfork.org/users/399435 // @version 1.0.3 // @description Personal styles for GitLab // @author @flippidippi // @license unlicense // @grant GM_addStyle // @run-at document-start // @match *://*.gitlab.com/* // @downloadURL https://update.greasyfork.icu/scripts/392656/GitLab%20Personal.user.js // @updateURL https://update.greasyfork.icu/scripts/392656/GitLab%20Personal.meta.js // ==/UserScript== (function() { let css = ` textarea.js-gfm-input { background-color: #1e2021; color: #ebdab1; font-size: 14px !important; max-width: none !important; } .zen-backdrop.fullscreen textarea { color: #ebdab1; max-height: calc(100vh); } `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();