Last active
November 5, 2018 16:15
-
-
Save pmarsceill/6ede10ec502eb37bc38110c4204d10b3 to your computer and use it in GitHub Desktop.
User Style for GitHub Wide Header ++
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
*[itemtype="http://schema.org/SoftwareSourceCode"] { | |
overflow: visible !important; | |
} | |
*[itemtype="http://schema.org/SoftwareSourceCode"] > div { | |
overflow: visible !important; | |
max-width: 100%; | |
} | |
.page-dashboard .header-logo-invertocat::after { | |
content: "~"; | |
font-size: 21px; | |
margin-left: 12px; | |
float: left; | |
} | |
.project-full-screen .reponav, | |
.project-full-screen .repohead { | |
display: none !important; | |
} | |
.reponav { | |
flex: 1 1 auto; | |
order: 1; | |
padding-left: 6px !important; | |
padding-right: 0 !important; | |
margin-top: 0 !important; | |
top: 0 !important; | |
max-width: none !important; | |
width: auto !important; | |
} | |
.repohead:not(.gisthead) { | |
background-color: #fff !important; | |
display: flex; | |
align-items: center; | |
} | |
.repohead:not(.gisthead) .repohead-details-container { | |
padding-left: 16px !important; | |
padding-right: 16px !important; | |
} | |
.repohead-details-container .btn, | |
.repohead-details-container .btn.disabled, | |
.repohead-details-container .social-count { | |
background-image: none !important; | |
background-color: transparent !important; | |
border: 0 !important; | |
padding: 0 !important; | |
font-weight: 400; | |
color: #586069; | |
} | |
.repohead:not(.gisthead) .pagehead-actions > li + li { | |
margin-left: 12px !important; | |
} | |
.repohead-details-container .octicon { | |
color: rgba(27, 31, 35, .3) !important; | |
} | |
.repohead-details-container .btn.disabled { | |
color: #959da5 !important; | |
} | |
.repohead-details-container .starred .octicon { | |
color: #f66a0a !important; | |
} | |
.repohead-details-container .social-count { | |
margin-left: 6px !important; | |
font-weight: 700; | |
} | |
.repohead:not(.gisthead) .repohead-details-container { | |
float: right !important; | |
margin-bottom: 0 !important; | |
width: auto !important; | |
order: 2; | |
} | |
.repohead:not(.gisthead) .reponav-item { | |
border: 0 !important; | |
padding: 15px 16px 12px !important; | |
border-bottom: 3px solid transparent; | |
} | |
.repohead:not(.gisthead) .reponav-item.selected { | |
border-bottom: 3px solid #f6670c !important; | |
background-color: transparent !important; | |
} | |
.repohead:not(.gisthead) .repohead-details-container h1 { | |
position: absolute !important; | |
top: -41px !important; | |
left: 62px !important; | |
display: flex !important; | |
max-width: 28.34% !important; | |
white-space: nowrap !important; | |
overflow: hidden; | |
} | |
.repohead:not(.gisthead) .repohead-details-container h1 a, | |
.repohead:not(.gisthead) .repohead-details-container h1 .octicon { | |
color: #fff !important; | |
} | |
.repohead:not(.gisthead) .repohead-details-container h1 .octicon, | |
.repohead:not(.gisthead) .repohead-details-container h1 .author { | |
opacity: 0.8; | |
} | |
.repohead:not(.gisthead) .repohead-details-container h1 .author { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
.repohead:not(.gisthead) .repohead-details-container h1 strong { | |
flex: 1 1 auto !important; | |
text-overflow: ellipsis; | |
} | |
.repohead:not(.gisthead) .repohead-details-container h1 .Label--outline { | |
color: #fff; | |
border-color: #fff; | |
opacity: 0.6; | |
margin-left: 6px; | |
align-self: center !important; | |
} | |
.repohead:not(.gisthead).pagehead { | |
padding-top: 0 !important; | |
} | |
body:not(.height-full) .repohead:not(.gisthead).pagehead { | |
margin-bottom: 32px !important; | |
} | |
.HeaderMenu ul:not(.user-nav)[role="navigation"] li:nth-child(1), | |
.HeaderMenu ul:not(.user-nav)[role="navigation"] li:nth-child(2) { | |
display: none !important; | |
} | |
.HeaderMenu { | |
justify-content: end !important; | |
flex: none !important; | |
} | |
.HeaderMenu .header-search { | |
position: absolute !important; | |
top: 10px !important; | |
left: 33.34% !important; | |
width: 33.34% !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment