// ==UserScript== // @name density-userstyle // @match https://*.stackexchange.com/* // @match https://*.stackoverflow.com/* // @match https://*.askubuntu.com/* // @match https://*.superuser.com/* // @grant none // ==/UserScript== GM_addStyle(` #mainbar, .mainbar { width: calc(100% - 230px - var(--su-static24)); } #sidebar { width: 230px !important; } .question table, .answer table { table-layout: fixed; width: 100%; } .js-comment-form-layout td:last-child { width: 115px; } .js-comment-form-layout textarea { padding: 0; width: 100% !important; } .comments > table > tfoot > tr:first-child > td:first-child, .comments > table > tbody > tr:first-child > td:first-child { width: 15px; } #content, .inner-content, .answer, #answers, .post-text, .comments, #answers-header, .post-editor, #wmd-preview, #questions, #header, .container { width: initial !important; max-width: initial !important; } .wmd-ybutton-bar, .wmd-input, .grippie { width: 100% !important; } .grippie { background-position: 50% -364px !important; } .votecell { width: 45px; } .page { width: unset; } body { --su24: 8px; padding-top: 25px; --lh-md: var(--lh-md); --lh-lg: var(--lh-md); --lh-xl: var(--lh-md); --lh-xxl: var(--lh-md); } .s-navigation .s-navigation--item { padding: 2px 8px; } .s-input, .s-textarea { padding: unset; } .s-topbar .s-topbar--content .s-topbar--item__unset, .s-btn, .s-btn.s-btn__xs { padding: 2px 8px; } .s-topbar { height: unset; } .mb8 { margin-bottom: 2px !important; } .mb16 { margin-bottom: 4px !important; } .mt16 { margin-top: 4px !important; } #answers { padding-top: unset; } .space { padding-top: 4px; } .s-sidebarwidget--header { padding: 2px; } .s-sidebarwidget--item { margin: 2px; padding: 0 !important; } .s-sidebarwidget--content, .s-sidebarwidget--content.s-sidebarwidget__items { padding: 4px; } .py16 { padding-top: 2px !important; padding-bottom: 2px !important; } #sidebar h4, .sidebar h4 { margin-bottom: unset; } .mb24, .mb12 { margin-bottom: 4px !important; } .mt8 { margin-top: 2px !important; } .s-post-summary { padding: 4px; } .s-card { padding: 4px; } .subtabs a, .filter a { padding: 2px; } .user-info { padding: 2px; } .p12 { padding: 2px !important; } .g8 { gap: 2px; } `)