-
-
Save jonathanchu/0a70222f0819008643a9be0edd266884 to your computer and use it in GitHub Desktop.
GitHub Fixed Header for better accessibility.
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
/** | |
1. Install the Stylish(https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) extension for Chrome. | |
2. Open up extension options and paste the whole CSS mentioned below. | |
3. Specify the domain name to be `github.com`. | |
4. Add a title and save. | |
*/ | |
.header { | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: #f5f5f5; | |
border-bottom: 1px solid #e5e5e5; | |
position: fixed; | |
top: 0; | |
width: 100%; | |
z-index: 99999; | |
} | |
div[role="main"] { | |
padding-top: 50px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment