GitHub.com recently changed its header (toolbar at the top of every page) to a dark theme, which sticks out light a sore thumb against the rest of the page. Below is CSS to approximate the old theme. A browser add-on like Custom Style Script can be configured to inject the CSS into all pages served from the github.com domain.
Last active
February 14, 2017 01:08
-
-
Save nschneid/5d10f152e3e3f5ac48eb82b71b7b8567 to your computer and use it in GitHub Desktop.
Light-themed GitHub toolbar
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
.header { | |
padding-top: 12px; | |
padding-bottom: 12px; | |
background-color: #f5f5f5; | |
border-bottom: 1px solid #e5e5e5; | |
} | |
.header .header-logo-invertocat { color: #555; } | |
.header .form-control,.header-dark .form-select { | |
color: #333; background-color: #fff; | |
min-height: 34px; | |
font-size: 14px; | |
border: 1px solid #ddd; | |
outline: none; | |
box-shadow: inset 0 1px 2px rgba(0,0,0,0.075); | |
} | |
.header .header-nav-link { color: #555; } | |
.header .header-search-input::placeholder,.header-dark .header-search-input::-moz-placeholder { color: #999; } | |
.header .header-search-input { | |
display: table-cell; | |
width: 99.999%; | |
min-height: 26px; | |
padding-top: 0; | |
padding-bottom: 0; | |
background: none; | |
border: 0; | |
box-shadow: none; | |
} | |
.header .header-nav-link:hover, .header .header-nav-link:focus { | |
color: #4078c0; | |
} | |
.header-dark .header-search-scope { | |
font-size: 12px; | |
color: #767676; | |
line-height: 20px; | |
border-right: 1px solid #eee; | |
} | |
.header .notification-indicator .mail-status { | |
border: 2px solid #f3f3f3; | |
} | |
.header .header-search-scope { | |
color: #767676; border-right: 1px solid #eee; | |
} | |
.header .header-search-wrapper.focus .header-search-scope { | |
color: #4078c0; | |
background-color: #edf2f9; | |
border-color: #c6d7ec; | |
} | |
.header .header-logo-wordmark { | |
color: #333; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment