Last active
July 14, 2023 00:31
-
-
Save lsh-0/6bfbb6ba85cbf184f78e8dd82e50c2b7 to your computer and use it in GitHub Desktop.
improved Github CSS
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
.js-repo-nav, | |
.px-lg-5, | |
.repos-split-pane-content { | |
#max-width: 1280px; | |
margin-left: auto; | |
margin-right: auto; | |
padding-left: 32px !important; | |
padding-right: 32px !important; | |
} | |
/* Horizontal line under header */ | |
.AppHeader { | |
background-color: #ddd; | |
box-shadow: inset 0 -2px 0 #bbb !important; | |
} | |
.AppHeader .Button-withTooltip, a#AppHeader-notifications-button { | |
display: none; | |
} | |
.AppHeader-globalBar-end * { | |
} | |
.AppHeader-globalBar { | |
padding: 5px 10px 5px 5px !important; | |
} | |
.AppHeader-globalBar-start .AppHeader-logo { | |
display: none | |
} | |
.AppHeader-localBar .UnderlineNav { | |
min-height: 0px; | |
} | |
.AppHeader-localBar nav { | |
padding-inline-start: 0 !important; | |
} | |
.AppHeader-localBar li a { | |
margin: 0; | |
padding: 0; | |
padding-left: 15px; | |
padding-bottom: 5px | |
} | |
.pagehead { | |
box-shadow: inset 0 -1px 0 #e1e4e8 !important; | |
} | |
/* Lines between files/folders. */ | |
.js-navigation-item { | |
border-bottom: solid 1px #8e8e8e4a; | |
} | |
/* Squarish avatars. */ | |
.circle, | |
.avatar-user { | |
border-radius: 0px !important; | |
} | |
.d-flex:has(.pr-review-reactions) { | |
padding: 10px 0 0 0; | |
margin-right: -5px; | |
float: right; | |
} | |
/* 'star' button gets squarish corners */ | |
button.btn-sm { | |
border-radius: 2px !important; | |
} | |
/* squarish corners */ | |
* { | |
border-radius: 2px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment