Skip to content

Instantly share code, notes, and snippets.

@SuneBear
Forked from tianyuf/quora-china.css
Last active April 23, 2016 10:10
Show Gist options
  • Save SuneBear/db37a645de6a61573a754ae13f5db02f to your computer and use it in GitHub Desktop.
Save SuneBear/db37a645de6a61573a754ae13f5db02f to your computer and use it in GitHub Desktop.
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;
}
.zg-link-litblue, .zg-link-litblue-normal {
color: #b92b27!important;
}
.zg-link-litblue:hover, .zg-link-litblue-normal:hover, .meta-item:hover {
color: #92221F!important;
}
.zu-top-nav-li.current>.zu-top-nav-link {
color: #b92b27!important;
font-weight: 700;
}
a {
color: #333;
}
.Link--light {
color: #888;
}
.icon, i[class^=z-icon-], .modal-dialog-title-close, .goog-option-selected .goog-menuitem-checkbox, .zg-content-img-icon, .zg-content-video-icon, .tr-icon, .tr-inline-icon, .z-ico-community {
-webkit-filter: hue-rotate(120deg);
}
.zm-item-vote-count, .zm-votebar .up, .zm-votebar .down, .zm-item-tag, .item-collapse.is-sticky, a.zu-main-feed-fresh-button, .zm-profile-vote-count {
background: #F3E5E4 !important;
color: #b92b27 !important;
border-color: #F3E5E4;
}
.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, .zm-item-vote-count:hover, .zm-side-nav-link:hover .zg-num, .zm-votebar .up:hover, .zm-votebar .down:hover, .zu-edit-button:hover, a.zu-main-feed-fresh-button:hover {
color: #b92b27 !important;
background: #EAC1C0 !important;
border-radius: 3px;
text-decoration: none;
border-color: #F3E5E4;
}
.zm-votebar .up.pressed, .zm-votebar .down.pressed {
background: #b92b27 !important;
color: white !important;
}
.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-search {
margin-left: 50px
}
.topnav-noauth a {
color: #0e78e7;
text-shadow: none;
}
.topnav-noauth a:hover {
color: #259;
text-shadow: none;
}
.shameimaru-section {
display: none;
}
@SuneBear
Copy link
Author

screen-shot-2016-04-21-at-8 40 43-pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment