From 84f041aa401c18ddedf63efd8c93da4fedcd75c8 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Thu, 11 Jul 2019 05:49:41 +0200 Subject: [PATCH 1/2] Create github-wide.txt --- github-wide.txt | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 github-wide.txt diff --git a/github-wide.txt b/github-wide.txt new file mode 100644 index 0000000..fcb6692 --- /dev/null +++ b/github-wide.txt @@ -0,0 +1,50 @@ +! Title: GitHub Wide — uBlock Origin version +! Version: 11July2019v1 +! Updates: 30 days + +! Basic layout +github.com##.container:style(width: 100% !important; padding-right: 30px !important; padding-left: 30px !important) + +! Responsive containers on some pages +github.com##.container-lg:style(max-width: 100% !important; padding-right: 30px !important; padding-left: 30px !important) +github.com##.container-xl:style(max-width: 100% !important; padding-right: 30px !important; padding-left: 30px !important) + +! Match the header to container padding +github.com##.Header:style(padding-right: 30px !important; padding-left: 30px !important) + +! Profile pages +github.com##.pinned-repo-item:style(width: calc(50% - 10px) !important) +github.com##.org-pinned-repos-list .pinned-repo-item:style(width: calc(33.3% - 10px) !important) +github.com##.u-photo, +github.com##.user-status-container:style(max-width: 250px) +github.com##.u-photo .avatar:style(width: 100% !important; height: auto !important) + +! Repo-specific stuff +github.com##.repository-content:style(width: 100% !important) + +! Undo container changes for the Projects tab on repos which have unnecessary nested container-lg's */ +github.com##.repository-content > .container-lg:style(padding-right: 0 !important; padding-left: 0 !important) + +! Issues/PRs +github.com##.discussion-sidebar:style(width: 280px !important) +github.com##.discussion-timeline:style(width: calc(100% - 300px) !important) +! Undo for profile timeline +github.com##.contribution-activity-listing .discussion-timeline:style(width: 100% !important) + +! Fix #18 - props: @auscompgeek +github.com##.file-header:after:style(clear: left !important) + +! Network graph +github.com###network:style(max-width: 730px) + +! Issues & Dashboard +github.com###dashboard:style(position: relative !important) +github.com##.new-issue-form:style(position: relative !important) +github.com##.new-issue-form .discussion-sidebar:style(position: absolute !important; top: 0 !important; right: 0 !important) +github.com##button.discussion-sidebar-toggle:style(width: 100% !important) +github.com##.timeline-new-comment:style(max-width: none !important) +! Commits: extended message under "..." +github.com##.commit-desc pre:style(max-width: none) + +! Alert messages +github.com###js-flash-container .flash-messages:style(width: 100% !important; padding-left: 30px !important; padding-right: 30px !important) From d3765a1c6d3df74e6cdba90da65f76d4c20b0670 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Thu, 11 Jul 2019 06:00:36 +0200 Subject: [PATCH 2/2] Corrected 2 small errors --- github-wide.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github-wide.txt b/github-wide.txt index fcb6692..5796971 100644 --- a/github-wide.txt +++ b/github-wide.txt @@ -15,14 +15,14 @@ github.com##.Header:style(padding-right: 30px !important; padding-left: 30px !im ! Profile pages github.com##.pinned-repo-item:style(width: calc(50% - 10px) !important) github.com##.org-pinned-repos-list .pinned-repo-item:style(width: calc(33.3% - 10px) !important) -github.com##.u-photo, +github.com##.u-photo:style(max-width: 250px) github.com##.user-status-container:style(max-width: 250px) github.com##.u-photo .avatar:style(width: 100% !important; height: auto !important) ! Repo-specific stuff github.com##.repository-content:style(width: 100% !important) -! Undo container changes for the Projects tab on repos which have unnecessary nested container-lg's */ +! Undo container changes for the Projects tab on repos which have unnecessary nested container-lg's github.com##.repository-content > .container-lg:style(padding-right: 0 !important; padding-left: 0 !important) ! Issues/PRs