├── README.md └── stylus.css /README.md: -------------------------------------------------------------------------------- 1 | stylus.css 2 | === 3 | * style to make topbar white (modified from [Github Return Light Themed Header](https://userstyles.org/styles/138766/github-return-light-themed-header) 4 | 5 | github-tweak 6 | === 7 | [Moved](https://github.com/lilydjwg/tampermonkey-scripts) 8 | -------------------------------------------------------------------------------- /stylus.css: -------------------------------------------------------------------------------- 1 | @-moz-document domain("github.com"), domain("gist.github.com") { 2 | [role=banner] { 3 | border-bottom: 1px solid #E5E5E5 !important; 4 | background-color: #F5F5F5 !important; 5 | } 6 | 7 | [role=banner] .header-logo-invertocat, 8 | [role=banner] .header-logo-wordmark { 9 | color: #555 !important; 10 | } 11 | 12 | [role=banner] .header-logo-invertocat:hover, 13 | [role=banner] .header-logo-wordmark:hover { 14 | color: #4078C0 !important; 15 | } 16 | 17 | [role=banner] .header-nav-link, 18 | [role=banner] .header-navlink, 19 | [role=banner] .HeaderNavlink, 20 | [role=banner] div.header-navlink a { 21 | color: #555 !important; 22 | } 23 | 24 | [role=banner] .header-nav-link:hover, 25 | [role=banner] .header-nav-link:focus, 26 | [role=banner] .header-navlink:hover, 27 | [role=banner] .header-navlink:focus, 28 | [role=banner] .HeaderNavlink:hover, 29 | [role=banner] .HeaderNavlink:focus, 30 | [role=banner] div.header-navlink a:hover, 31 | [role=banner] div.header-navlink a:focus { 32 | color: #4078c0 !important; 33 | } 34 | 35 | [role=banner] .header-nav-link:hover .dropdown-caret, 36 | [role=banner] .header-nav-link:focus .dropdown-caret, 37 | [role=banner] .header-navlink:hover .dropdown-caret, 38 | [role=banner] .header-navlink:focus .dropdown-caret { 39 | border-top-color: #4078c0 !important; 40 | } 41 | 42 | [role=banner] .notification-indicator .mail-status { 43 | border-color: #f3f3f3 !important; 44 | } 45 | 46 | [role=banner] .notification-indicator .octicon-bell { 47 | fill: #555 !important; 48 | } 49 | 50 | [role=banner] .header-search { 51 | font-size: 14px !important; 52 | } 53 | 54 | [role=banner] .form-control.header-search-wrapper { 55 | line-height: 21px !important; 56 | } 57 | 58 | [role=banner] .header-search-scope { 59 | font-size: 12px !important; 60 | line-height: 20px !important; 61 | color: #767676 !important; 62 | border-right-color: #EEE !important; 63 | } 64 | 65 | [role=banner] .header-search-scope:empty+.header-search-input { 66 | /*width: 100%; */ /* 99.999% */ 67 | } 68 | 69 | [role=banner] .header-search-wrapper { 70 | min-height: 0 !important; 71 | font-size: 14px !important; 72 | color: #333 !important; 73 | background-color: #FFF !important; 74 | border: 1px solid #DDD !important; 75 | box-shadow: inset 0 1px 2px rgba(0,0,0,0.075) !important; 76 | } 77 | 78 | [role=banner] .header-search-wrapper.focus { 79 | background-color: #FFF !important; 80 | box-shadow: inset 0 1px 2px rgba(0,0,0,0.075), 0 0 5px rgba(81,167,232,0.5) !important; 81 | border-color: #51A7E8 !important; 82 | } 83 | 84 | [role=banner] .header-search-wrapper.focus .header-search-scope { 85 | color: #4078C0 !important; 86 | background-color: #EDF2F9 !important; 87 | border-right-color: #C6D7EC !important; 88 | } 89 | 90 | [role=banner] .header-search-input { 91 | min-height: 26px !important; 92 | font-size: 14px !important; 93 | color: #333 !important; 94 | } 95 | 96 | [role=banner] .header-search-input::-webkit-input-placeholder { 97 | color: #999 !important;/*AAA*/ 98 | } 99 | [role=banner] .header-search-input::-moz-placeholder { 100 | color: #999 !important;/*AAA*/ 101 | } 102 | [role=banner] .header-search-input:-ms-input-placeholder { 103 | color: #999 !important;/*AAA*/ 104 | } 105 | [role=banner] .header-search-input::placeholder { 106 | color: #999 !important;/*AAA*/ 107 | } 108 | 109 | } 110 | /* vim:se fdm=marker fmr={,}: */ 111 | --------------------------------------------------------------------------------