diff options
Diffstat (limited to '.config/qutebrowser/greasemonkey/density-github.js')
-rwxr-xr-x | .config/qutebrowser/greasemonkey/density-github.js | 274 |
1 files changed, 274 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey/density-github.js b/.config/qutebrowser/greasemonkey/density-github.js new file mode 100755 index 0000000..38ead9e --- /dev/null +++ b/.config/qutebrowser/greasemonkey/density-github.js @@ -0,0 +1,274 @@ +// ==UserScript== +// @name density github +// @match https://github.com/* +// @grant none +// ==/UserScript== + +GM_addStyle(` + .container-xl { + max-width: unset; + } + .py-lg-3 { + padding: 0 !important; + } + .py-2 { + padding-top: 3px !important; + padding-bottom: 3px !important; + } + .py-4 { + padding-top: 6px !important; + padding-bottom: 6px !important; + } + .py-6 { + padding-top: 9px !important; + padding-bottom: 9px !important; + } + .pt-3 { + padding-top: 4px !important; + } + .p-4 { + padding: 6px !important; + } + .p-2 { + padding: 2px !important; + } + .pt-6 { + padding-top: 10px !important; + } + .pb-2 { + padding-bottom: 2px !important; + } + .mt-6 { + margin-top: 10px !important; + } + .mt-4 { + margin-top: 6px !important; + } + .btn-sm, + .social-count { + padding: 1px 4px; + } + .btn { + padding: 1px 8px; + } + .p-3 { + padding: 4px !important; + } + .mt-2 { + margin-top: 2px !important; + } + .py-md-3 { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + .px-3 { + padding-right: 4px !important; + padding-left: 4px !important; + } + .px-5 { + padding-right: 8px !important; + padding-left: 8px !important; + } + .mb-2 { + margin-bottom: 2px !important; + } + .mb-4 { + margin-bottom: 6px !important; + } + .mb-md-3 { + margin-bottom: 4px !important; + } + .mt-1 { + margin-top: 1px !important; + } + .mb-5 { + margin-bottom: 8px !important; + } + .mb-3 { + margin-bottom: 4px !important; + } + .mt-3 { + margin-top: 4px !important; + } + .mt-md-2 { + margin-top: 2px !important; + } + .my-md-2 { + margin-top: 2px !important; + margin-bottom: 2px !important; + } + .my-2 { + margin-top: 2px !important; + margin-bottom: 2px !important; + } + .my-3 { + margin-top: 4px !important; + margin-bottom: 4px !important; + } + .my-5 { + margin-top: 5px !important; + margin-bottom: 5px !important; + } + .my-6 { + margin-top: 7px !important; + margin-bottom: 7px !important; + } + .UnderlineNav-item { + padding: 0 16px; + line-height: unset; + } + .UnderlineNav { + min-height: 30px; + } + p { + margin-bottom: 3px; + } + .Box-header, + .Box-body, + .Box-row, + .Box-footer { + padding: 4px; + } + .form-control, + .form-select { + padding: 1px 3px; + } + .subnav-search-input { + padding-left: 32px; + } + .subnav-search-icon { + top: 4px; + } + .subnav-item { + padding: 1px 4px; + } + .protip { + margin-top: 5px; + } + .paginate-container { + margin-top: 4px; + margin-bottom: 4px; + } + .f1, + h1 { + font-size: 22px !important; + font-weight: bold; + } + .gh-header-actions { + margin: 0 !important; + } + .gh-header.issue .gh-header-meta { + margin-bottom: 4px; + } + .gh-header-meta { + padding-bottom: 4px; + } + .state, + .State { + padding: 1px 6px; + } + .pl-lg-5, + .px-lg-5 { + padding-right: 8px !important; + padding-left: 8px !important; + } + .timeline-comment-header-text { + padding-top: 2px; + padding-bottom: 2px; + } + .timeline-comment-action { + padding: 0; + } + .comment-body { + padding: 4px 8px; + } + .TimelineItem { + margin-left: 4px; + } + .TimelineItem-avatar { + left: -56px; + } + .gutter-lg { + margin: 0 !important; + } + .gutter-lg>[class*=col-] { + padding-right: 4px !important; + padding-left: 4px !important; + } + .BorderGrid { + margin-top: -4px !important; + } + .BorderGrid-cell { + padding-top: 4px !important; + padding-bottom: 4px !important; + } + .discussion-sidebar-item { + padding-top: 4px; + } + .discussion-sidebar-item+.discussion-sidebar-item { + margin-top: 4px; + } + .TimelineItem { + padding: 4px 0; + } + .timeline-comment-wrapper { + margin-top: 4px; + } + .tabnav-tab { + padding: 2px 4px; + } + .toolbar-item { + padding: 2px 4px; + } + .markdown-body blockquote, + .markdown-body details, + .markdown-body dl, + .markdown-body ol, + .markdown-body p, + .markdown-body pre, + .markdown-body table, + .markdown-body ul { + margin-bottom: 8px; + } + .markdown-body .highlight pre, + .markdown-body pre { + padding: 4px; + } + .py-3 { + padding-top: 4px !important; + padding-bottom: 4px !important; + } + .merge-pr { + margin: 5px 0 0; + } + .branch-action-item { + padding: 4px 4px 4px 44px; + } + .markdown-body h1, + .markdown-body h2, + .markdown-body h3, + .markdown-body h4, + .markdown-body h5, + .markdown-body h6 { + margin-top: 8px; + margin-bottom: 4px; + } + .input-sm { + min-height: unset; + } + svg.octicon.octicon-mark-github { + height: 27px; + } + .avatar-user { + border-radius: unset !important; + } + .Header { + padding: 0; + } + body { + line-height: unset; + } + .f1-light { + font-size: unset !important; + } +`) |