Last active
June 25, 2020 19:25
-
-
Save montanaflynn/ca64cc0fcf55bcd4556a016bffd8a7e3 to your computer and use it in GitHub Desktop.
Userstyle to align GitHub's new design https://userstyles.org/
This file contains 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
/* | |
You can add this with the stylish extension using this regex: | |
https:\/\/github\.com/(?!notifications)(.+) | |
Stylish for chrome: https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe | |
Stylish for firefox: https://addons.mozilla.org/en-US/firefox/addon/stylish/ | |
Based off https://gist.github.com/healingbrew/acc65ad439379eabdbb276e86975275e | |
*/ | |
@media (min-width: 1312px) { | |
.pagehead.repohead > div { | |
width: 1280px; | |
margin: 0 auto; | |
} | |
.pagehead.repohead > nav > ul { | |
width: 1216px; | |
margin: 0 auto; | |
} | |
.notifications-v2.notification-shelf > div { | |
width: 1280px; | |
margin: 0 auto; | |
padding-left: 32px; | |
} | |
header.Header { | |
width: 1248px; | |
margin: 0 auto; | |
} | |
div.Header { | |
width: 1012px; | |
margin: 0 auto; | |
} | |
header.Header:before, div.Header:before { | |
content: ""; | |
background: #24292e; | |
border-bottom: 1px solid #343434 !important; | |
left: 0; | |
right: 0; | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
z-index: -1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks