Last active
August 21, 2020 10:31
-
-
Save pushqrdx/b85a18717ac0b125705d4f9064f271cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Uncomment ↓ for Stylus (don't forget to uncomment the brace at the end of the file!) */ | |
/* @-moz-document domain("github.com") { */ | |
:root { | |
--alternate-row: transparent; /* #e1e4e820 */ | |
--side-bar-order: table-row; /* table-footer-group for better sidebar ordering*/ | |
--border-radius-all: 0px; /* treat yourself */ | |
} | |
#options_bucket > div > form > div > div div div { | |
justify-content: space-between; | |
} | |
nav[role="navigation"] { | |
padding: 0 20px !important; | |
} | |
.Box-row:first-of-type { | |
border-top-left-radius: var(--border-radius-all); | |
border-top-right-radius: var(--border-radius-all); | |
} | |
.Box-row:nth-child(even) { | |
background-color: var(--alternate-row); | |
} | |
.BorderGrid-row { | |
display: var(--side-bar-order); | |
} | |
.menu { | |
border-radius: var(--border-radius-all); | |
} | |
.pagination a, .pagination em, .pagination span, | |
.ajax-pagination-form .ajax-pagination-btn { | |
border-radius: var(--border-radius-all); | |
} | |
.dropdown-menu { | |
border-radius: var(--border-radius-all); | |
} | |
.branch-action-body { | |
border-radius: var(--border-radius-all); | |
} | |
.branch-action-icon { | |
border-radius: var(--border-radius-all); | |
} | |
.branch-action-body .merge-branch-form, | |
.branch-action-body .merge-message, | |
.drag-and-drop { | |
border-bottom-right-radius: var(--border-radius-all); | |
border-bottom-left-radius: var(--border-radius-all); | |
} | |
.filter-item { | |
border-radius: var(--border-radius-all); | |
} | |
.tint-box { | |
border-radius: var(--border-radius-all); | |
} | |
.flash { | |
border-radius: var(--border-radius-all); | |
} | |
.rounded-left-1 { | |
border-top-left-radius: var(--border-radius-all) !important; | |
} | |
.rounded-bottom-1, .rounded-left-1 { | |
border-bottom-left-radius: var(--border-radius-all) !important; | |
} | |
.rounded-right-1, .rounded-top-1 { | |
border-top-right-radius: var(--border-radius-all) !important; | |
} | |
.rounded-top-1 { | |
border-top-left-radius: var(--border-radius-all) !important; | |
} | |
.rounded-1 { | |
border-radius: var(--border-radius-all) !important; | |
} | |
.rounded-2 { | |
border-radius: var(--border-radius-all) !important; | |
} | |
.completeness-indicator { | |
width: 31px; | |
height: 31px; | |
display: flex; | |
} | |
.completeness-indicator .octicon { | |
display: block; | |
margin: auto auto; | |
} | |
.subnav-item:first-child { | |
border-top-left-radius: var(--border-radius-all); | |
border-bottom-left-radius: var(--border-radius-all); | |
} | |
.subnav-item:last-child { | |
border-top-right-radius: var(--border-radius-all); | |
border-bottom-right-radius: var(--border-radius-all); | |
} | |
.tabnav-tab.selected, .tabnav-tab[aria-current]:not([aria-current=false]), .tabnav-tab[aria-selected=true] { | |
border-radius: var(--border-radius-all) var(--border-radius-all) 0 0; | |
} | |
.form-control, .form-select { | |
border-radius: var(--border-radius-all); | |
} | |
.previewable-comment-form .comment-form-head.tabnav { | |
border-radius: var(--border-radius-all) var(--border-radius-all) 0 0; | |
} | |
.timeline-comment { | |
border-radius: var(--border-radius-all); | |
} | |
.timeline-comment-header { | |
border-top-left-radius: var(--border-radius-all); | |
border-top-right-radius: var(--border-radius-all); | |
} | |
.file-header { | |
border-top-left-radius: var(--border-radius-all); | |
border-top-right-radius: var(--border-radius-all); | |
} | |
.js-blob-form { | |
margin: 0 16px; | |
} | |
.js-gist-file { | |
margin: 0 -16px; | |
} | |
.file { | |
border-radius: var(--border-radius-all); | |
} | |
#js-pjax-container div.paginate-container.codesearch-pagination-container>div { | |
display: flex !important; | |
display: grid !important; | |
grid-auto-flow: column; | |
justify-content: start; | |
gap: 4px; | |
} | |
.header-search-current .jump-to-suggestions { | |
border-top-left-radius: 0; | |
border-top-right-radius: 0; | |
border-bottom-right-radius: var(--border-radius-all); | |
border-bottom-left-radius: var(--border-radius-all); | |
} | |
.Header, .Header-item { | |
padding: garbage; | |
} | |
.container-xl { | |
max-width: unset; | |
} | |
.container-lg { | |
max-width: unset; | |
} | |
.container-preview .tabnav-tabs>.selected:first-child { | |
border-top-left-radius: var(--border-radius-all); | |
} | |
.orghead { | |
background-color: transparent !important; | |
padding: 0 16px; | |
} | |
.orghead + div { | |
margin: 0 16px; | |
} | |
.pagehead { | |
border-bottom: 1px solid #e1e4e8 !important; | |
} | |
.Box { | |
border-radius: var(--border-radius-all); | |
} | |
.Box-header { | |
border-top-left-radius: var(--border-radius-all); | |
border-top-right-radius: var(--border-radius-all); | |
} | |
.Box--responsive { | |
border-radius: var(--border-radius-all); | |
} | |
.Box--responsive .Box-header { | |
border-top-left-radius: var(--border-radius-all); | |
border-top-right-radius: var(--border-radius-all); | |
background-color: rgb(246, 248, 250) !important; | |
border-bottom: 1px solid #e1e4e8 !important; | |
} | |
.social-count { | |
border-top-right-radius: var(--border-radius-all); | |
border-bottom-right-radius: var(--border-radius-all); | |
} | |
/* | |
.border-top-0:not(:nth-child(2)) { | |
border-top: 1px solid #e1e4e8 !important; | |
} | |
*/ | |
.UnderlineNav { | |
box-shadow: none; | |
} | |
.select-menu-header, | |
.select-menu-filters, | |
.SelectMenu-header, | |
.SelectMenu-footer, | |
.SelectMenu-filter, | |
.SelectMenu-tabs { | |
background-color: rgb(246, 248, 250); | |
} | |
.select-menu-text-filter input, | |
.SelectMenu-modal { | |
border-radius: var(--border-radius-all); | |
} | |
.select-menu-tabs .select-menu-tab-nav, | |
.select-menu-tabs a, | |
.SelectMenu-tab { | |
border-top-left-radius: var(--border-radius-all); | |
border-top-right-radius: var(--border-radius-all); | |
} | |
.SelectMenu-item:nth-child(even) { | |
background-color: var(--alternate-row); | |
} | |
.State { | |
display: inline-block; | |
padding: 4px 8px; | |
font-weight: 600; | |
line-height: 20px; | |
color: #fff; | |
text-align: center; | |
white-space: nowrap; | |
border-radius: var(--border-radius-all); | |
} | |
.btn { | |
background-repeat: repeat-x; | |
background-position: -1px -1px; | |
background-size: 110% 110%; | |
} | |
.btn-mktg { | |
border-radius: var(--border-radius-all); | |
} | |
.BtnGroup-item:first-child { | |
border-top-left-radius: var(--border-radius-all); | |
border-bottom-left-radius: var(--border-radius-all); | |
border-top-right-radius: 0; | |
border-bottom-right-radius: 0; | |
} | |
.BtnGroup-parent:first-child .BtnGroup-item { | |
border-top-left-radius: var(--border-radius-all); | |
border-bottom-left-radius: var(--border-radius-all); | |
border-bottom-right-radius: 0; | |
border-top-right-radius: 0; | |
} | |
.BtnGroup-item:last-child { | |
border-top-right-radius: var(--border-radius-all); | |
border-bottom-right-radius: var(--border-radius-all); | |
border-top-left-radius: 0; | |
border-bottom-left-radius: 0; | |
} | |
.BtnGroup-parent:last-child .BtnGroup-item { | |
border-top-right-radius: var(--border-radius-all); | |
border-bottom-right-radius: var(--border-radius-all); | |
border-bottom-left-radius: 0; | |
border-top-left-radius: 0; | |
} | |
.btn i { | |
opacity: .75 | |
} | |
.btn-with-count { | |
border-top-right-radius: 0 !important; | |
border-bottom-right-radius: 0 !important; | |
} | |
.btn .Counter { | |
color: #586069; | |
text-shadow: none; | |
background-color: rgba(27, 31, 35, .1) | |
} | |
.btn:hover { | |
text-decoration: none; | |
background-repeat: repeat-x | |
} | |
.btn:focus { | |
outline: 0 | |
} | |
.btn.disabled, .btn:disabled, .btn[aria-disabled=true] { | |
background-position: 0 0 | |
} | |
.btn.selected, .btn:active, .btn[aria-selected=true] { | |
background-image: none | |
} | |
.btn { | |
color: #24292e; | |
border-radius: var(--border-radius-all); | |
background-color: #eff3f6; | |
background-image: linear-gradient(-180deg, #fafbfc, #eff3f6 90%) | |
} | |
.btn.focus, .btn:focus { | |
box-shadow: 0 0 0 .2em rgba(3, 102, 214, .3) | |
} | |
.btn.hover, .btn:hover { | |
background-color: #e6ebf1; | |
background-image: linear-gradient(-180deg, #f0f3f6, #e6ebf1 90%); | |
background-position: -.5em; | |
} | |
.btn.selected, .btn:active, .btn[aria-selected=true], [open]>.btn { | |
background-color: #e9ecef; | |
background-image: none; | |
box-shadow: inset 0 .15em .3em rgba(27, 31, 35, .15) | |
} | |
.btn.disabled, .btn:disabled, .btn[aria-disabled=true] { | |
color: rgba(36, 41, 46, .4); | |
background-color: #eff3f6; | |
background-image: none; | |
box-shadow: none | |
} | |
.btn-primary { | |
color: #fff; | |
background-color: #28a745; | |
background-image: linear-gradient(-180deg, #34d058, #28a745 90%) | |
} | |
.btn-primary.focus, .btn-primary:focus { | |
box-shadow: 0 0 0 .2em rgba(52, 208, 88, .4) | |
} | |
.btn-primary.hover, .btn-primary:hover { | |
background-color: #269f42; | |
background-image: linear-gradient(-180deg, #2fcb53, #269f42 90%); | |
background-position: -.5em; | |
} | |
.btn-primary.selected, .btn-primary:active, .btn-primary[aria-selected=true], [open]>.btn-primary { | |
background-color: #279f43; | |
background-image: none; | |
box-shadow: inset 0 .15em .3em rgba(27, 31, 35, .15) | |
} | |
.btn-primary.disabled, .btn-primary:disabled, .btn-primary[aria-disabled=true] { | |
color: hsla(0, 0%, 100%, .75); | |
background-color: #94d3a2; | |
background-image: none; | |
box-shadow: none | |
} | |
.btn-primary .Counter { | |
color: #29b249; | |
background-color: #fff | |
} | |
.btn-blue { | |
color: #fff; | |
background-color: #0361cc; | |
background-image: linear-gradient(-180deg, #0679fc, #0361cc 90%) | |
} | |
.btn-blue.focus, .btn-blue:focus { | |
box-shadow: 0 0 0 .2em rgba(6, 121, 252, .4) | |
} | |
.btn-blue.hover, .btn-blue:hover { | |
background-color: #035cc2; | |
background-image: linear-gradient(-180deg, #0374f4, #035cc2 90%); | |
background-position: -.5em; | |
} | |
.btn-blue.selected, .btn-blue:active, .btn-blue[aria-selected=true], [open]>.btn-blue { | |
background-color: #045cc1; | |
background-image: none; | |
box-shadow: inset 0 .15em .3em rgba(27, 31, 35, .15) | |
} | |
.btn-blue.disabled, .btn-blue:disabled, .btn-blue[aria-disabled=true] { | |
color: hsla(0, 0%, 100%, .75); | |
background-color: #81b0e5; | |
background-image: none; | |
box-shadow: none | |
} | |
.btn-blue .Counter { | |
color: #0366d6; | |
background-color: #fff | |
} | |
.btn-danger { | |
color: #cb2431; | |
background-color: #fafbfc; | |
background-image: linear-gradient(-180deg, #fafbfc, #eff3f6 90%) | |
} | |
.btn-danger:focus { | |
box-shadow: 0 0 0 .2em rgba(203, 36, 49, .4) | |
} | |
.btn-danger:hover { | |
color: #fff; | |
background-color: #cb2431; | |
background-image: linear-gradient(-180deg, #de4450, #cb2431 90%); | |
} | |
.btn-danger:hover .Counter { | |
color: #fff | |
} | |
.btn-danger.selected, .btn-danger:active, .btn-danger[aria-selected=true], [open]>.btn-danger { | |
color: #fff; | |
background-color: #b5202c; | |
background-image: none; | |
box-shadow: inset 0 .15em .3em rgba(27, 31, 35, .15) | |
} | |
.btn-danger.disabled, .btn-danger:disabled, .btn-danger[aria-disabled=true] { | |
color: rgba(203, 36, 49, .4); | |
background-color: #eff3f6; | |
background-image: none; | |
box-shadow: none | |
} | |
.btn-outline { | |
color: #0366d6; | |
background-color: #fff; | |
background-image: none | |
} | |
.btn-outline .Counter { | |
background-color: rgba(27, 31, 35, .07) | |
} | |
.btn-outline.selected, .btn-outline:active, .btn-outline:hover, .btn-outline[aria-selected=true], [open]>.btn-outline { | |
color: #fff; | |
background-color: #0366d6; | |
background-image: none; | |
} | |
.btn-outline.selected .Counter, .btn-outline:active .Counter, .btn-outline:hover .Counter, .btn-outline[aria-selected=true] .Counter, [open]>.btn-outline .Counter { | |
color: #0366d6; | |
background-color: #fff | |
} | |
.btn-outline:focus { | |
box-shadow: 0 0 0 .2em rgba(3, 102, 214, .4) | |
} | |
.btn-outline.disabled, .btn-outline:disabled, .btn-outline[aria-disabled=true] { | |
color: rgba(27, 31, 35, .3); | |
background-color: #fff; | |
box-shadow: none | |
} | |
.btn-link { | |
color: #0366d6; | |
background-color: initial; | |
} | |
.btn-link:hover { | |
text-decoration: underline | |
} | |
.btn-link:disabled, .btn-link:disabled:hover, .btn-link[aria-disabled=true], .btn-link[aria-disabled=true]:hover { | |
color: rgba(88, 96, 105, .5); | |
} | |
.btn-invisible { | |
color: #0366d6; | |
background-color: #fff; | |
background-image: none; | |
} | |
.btn-invisible.selected, .btn-invisible.zeroclipboard-is-active, .btn-invisible.zeroclipboard-is-hover, .btn-invisible:active, .btn-invisible:focus, .btn-invisible:hover, .btn-invisible[aria-selected=true] { | |
color: #0366d6; | |
background: none; | |
} | |
.btn-octicon { | |
color: #586069; | |
background: transparent; | |
} | |
.btn-octicon:hover { | |
color: #0366d6 | |
} | |
.btn-octicon.disabled, .btn-octicon[aria-disabled=true] { | |
color: #959da5; | |
} | |
.btn-octicon.disabled:hover, .btn-octicon[aria-disabled=true]:hover { | |
color: #959da5 | |
} | |
.btn-octicon-danger:hover { | |
color: #cb2431 | |
} | |
body>div.footer ul:nth-child(1) { | |
justify-content: space-evenly !important; | |
padding: 0 2rem !important; | |
margin-left: auto !important; | |
} | |
body>div.footer ul:nth-child(3) { | |
justify-content: space-evenly !important; | |
padding: 0 2rem !important; | |
margin-right: auto !important; | |
} | |
/* } */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mkcoldwolf
😂 yeah i feel ya, that's why i've been constantly adding to this, to make it as uniform as possible, given that they fucked up the html structure, so you can't fully get the old look without injecting some javascript
let me know what annoyances do you find and i'll be fixing them