Created
April 21, 2016 11:18
-
-
Save tianyuf/0dda7c3b1b44ce8822017c817f4a18ec to your computer and use it in GitHub Desktop.
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
@-moz-document domain("zhihu.com") { | |
body { | |
font-family: var(--SanFrancisco); | |
} | |
.zu-top { | |
background: white; | |
border-top: 3px solid #b92b27; | |
/*#086ed5*/ | |
box-shadow: 0 5px 2px -2px rgba(200,200,200,0.2); | |
border-bottom: none; | |
} | |
.zu-top-link-logo { | |
background-image: url(//qsf.is.quoracdn.net/-images.logo.wordmark_default.svgf0fecd31dbaf49fa.svg)!important; | |
/*http://tianyuf.github.io/zhihu-minimal/logo_2x.png*/ | |
background-size: 61px 30px; | |
} | |
.zu-top-nav-li.current>.zu-top-nav-link { | |
color: #b92b27!important; | |
font-weight: 700; | |
} | |
a { | |
color: #333; | |
} | |
.Link--light { | |
color: #888; | |
} | |
.SidebarListNav-itemLink:active, html.no-touchevents .SidebarListNav-listItem .follow-link:hover+.SidebarListNav-itemLink, html.no-touchevents .SidebarListNav-itemLink:hover, .zm-side-nav-link.active, html.no-touchevents .zm-side-nav-link:hover { | |
color: #b92b27; | |
background: #EAC1C0; | |
border-radius: 3px; | |
text-decoration: none; | |
} | |
.zu-top-nav-li, .zu-top-nav-link, .zu-top-nav-link:visited { | |
color: #999; | |
text-shadow: none; | |
background: #fff; | |
box-shadow: none; | |
} | |
.zu-top-nav-link:hover { | |
color: #888; | |
} | |
/* Navbar profile item */ | |
.top-nav-profile .zu-top-nav-userinfo, .zu-top-nav-userinfo { | |
color: #b92b27; | |
text-shadow: none; | |
text-align: center; | |
text-indent: inherit; | |
background: none; | |
} | |
.top-nav-profile a, .zu-top-nav-userinfo:hover, .zu-top-nav-userinfo.selected, html.no-touchevents .top-nav-profile:hover .zu-top-nav-userinfo { | |
background-color: #fff!important; | |
background: #fff!important; | |
box-shadow: none; | |
font-size: 13px; | |
font-weight: 300; | |
} | |
/* Profile dropdown */ | |
.top-nav-dropdown li a { | |
color: #b92b27; | |
padding-left: 30px; | |
box-shadow: none; | |
border-top: none; | |
text-shadow: none; | |
font-size: 13px; | |
} | |
.top-nav-dropdown li a:hover { | |
color: #259; | |
} | |
.zg-icon-dd-home, .zg-icon-dd-pm, .zg-icon-dd-settings, .zg-icon-dd-logout { | |
display: none; | |
} | |
.zu-top-nav-userinfo .Avatar { | |
display: none; | |
} | |
/* iOS style notification badge */ | |
.zg-noti-number { | |
font-weight: 300; | |
background: #fe0002; | |
border: 1px solid #fe0002; | |
box-shadow: none; | |
} | |
/* Question Icon */ | |
.zu-top-add-question, .zu-top-add-question:active { | |
background: transparent!important; | |
color: #b92b27; | |
border: none; | |
box-shadow: none; | |
font-size: 13px; | |
width: 50px; | |
height: 25px; | |
line-height: 25px; | |
margin-top: 9.5px; | |
text-shadow: none; | |
font-weight: 500; | |
} | |
.zu-top-add-question:hover { | |
color: #259; | |
} | |
.zu-top-search-input, .zu-top-search-input:active { | |
width: 100%; | |
color: #49525c; | |
font-size: 13px; | |
background-color: transparent!important; | |
border: none; | |
border-radius: 0px; | |
box-shadow: none; | |
outline: 0; | |
} | |
.zu-top-search-input:focus { | |
background-color: #fff; | |
box-shadow: none; | |
} | |
.zu-top-search-form { | |
width: inherit; | |
} | |
/* Search button */ | |
.zu-top-search-form .zu-top-search-button { | |
display: none; | |
background: #fff!important; | |
border: none; | |
border-top-right-radius: 0px; | |
border-bottom-right-radius: 0px; | |
box-shadow: none; | |
box-sizing: border-box; | |
outline: 0; | |
cursor: pointer; | |
} | |
.zu-top-nav, .zu-top-search { | |
float: right; | |
} | |
.topnav-noauth a { | |
color: #0e78e7; | |
text-shadow: none; | |
} | |
.topnav-noauth a:hover { | |
color: #259; | |
text-shadow: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment