Skip to content

Instantly share code, notes, and snippets.

@kinduff
Last active April 24, 2021 22:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kinduff/3d7c306774ca9b04d1d09b4c1e96c6a0 to your computer and use it in GitHub Desktop.
[Fix Github Header using Stylus] #stylus

Fix Github Header using Stylus

Step 1: Install Stylus

Step 2: Install the style

Install directly with Stylus

/* ==UserStyle==
@name Fix Github Header
@description That would be 100 dollars
@namespace github.com
@homepageURL https://gist.githubusercontent.com/kinduff/3d7c306774ca9b04d1d09b4c1e96c6a0
@supportURL https://gist.githubusercontent.com/kinduff/3d7c306774ca9b04d1d09b4c1e96c6a0
@updateURL https://gist.githubusercontent.com/kinduff/3d7c306774ca9b04d1d09b4c1e96c6a0/raw/gh.user.styl
@author kinduff <kinduff@pm.me> (https://github.com/kinduff)
@version 1.0.1
@license MIT
@preprocessor stylus
==/UserStyle== */
@-moz-document domain("github.com") {
.pagehead > div,
.pagehead > nav {
max-width: 1214px;
margin: 0 auto;
padding-left: 0 !important;
padding-right: 0 !important;
}
.UnderlineNav {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment