/* Theme Name: Menhu 1 Theme URI: https://www.zhutibaba.com/ Author: 主题巴巴 Author URI: https://www.zhutibaba.com/themes/menhu1 Description: 门户一号WordPress主题Q适用于各cd新闻|站、门L站、资讯网站、杂志网站和自媒体网站?Version: 1.4.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: menhu-1 Tags: two-columns, right-sidebar */ /*-------------------------------------------------------------- 0. Reset --------------------------------------------------------------*/ $accent-1: #ff3333; $accent-2: #007fdb; .one-line, .two-lines, .three-lines, .four-lines { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; } .one-line { -webkit-line-clamp: 1; } .two-lines { -webkit-line-clamp: 2; } .three-lines { -webkit-line-clamp: 3; } .four-lines { -webkit-line-clamp: 4; } @import '/css/font-awesome.min.css'; html { -webkit-text-size-adjust: 100%; } *, *:before, *:after { box-sizing: border-box; } html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; word-wrap: break-word; } body { line-height: 1; } article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section,main { display: block; } nav ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; } ins { color: #333; text-decoration: none; } mark { background-color: #ff9; color: #333; font-style: italic; font-weight: bold; } del { text-decoration: line-through; } abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } table { border-collapse: collapse; border-spacing: 0; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #eee; margin: 1em 0; padding: 0; } input, select { vertical-align: middle; } sup { top: -.5em; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } pre { white-space: pre-wrap; } .no-list-style { list-style: none; margin: 0; padding: 0; } figure > img { display: block; } img { height: auto; max-width: 100%; } img[class*="align"], img[class*="attachment-"] { height: auto; } embed, iframe, object { max-width: 100%; width: 100%; } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.5075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; } /*-------------------------------------------------------------- 1. Defaults --------------------------------------------------------------*/ h1,h2,h3,h4,h5,h6 { color: #333; font-weight: bold; } strong, b { font-weight: bold; } input, textarea, select { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } select { box-sizing: border-box; border: 1px solid #ddd; border-radius: 0; padding: 0 .75em; height: 2.507em; font-size: .97em; max-width: 100%; width: 100%; vertical-align: middle; background-color: #fff; color: #333; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); transition: color .3s, border .3s, background .3s, opacity .3s; box-shadow: inset 0 -1.4em 1em 0 rgba(0,0,0,0.02); background-color: #fff; -webkit-appearance: none; -moz-appearance: none; background-image: url('assets/img/arrow-down.png'); background-position: right 10px center; background-repeat: no-repeat; background-size: 10px 10px; } input, textarea { -webkit-appearance: none; } input, input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="tel"], textarea { font-size: 15px; font-weight: normal; background-color: #fff; border: 1px solid #e9e9e9; outline: none; color: #333; &:focus { border-color: #bfbfbf; outline: none; } } input[type="file"] { -webkit-box-shadow: none; box-shadow: none; } textarea { padding: 10px 15px; } input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="tel"] { height: 42px; line-height: 42px; padding: 0 15px; } button, .btn, input[type="submit"], input[type="reset"], input[type="button"] { border: none; padding: 0 15px; white-space: nowrap; vertical-align: middle; cursor: pointer; color: #fff; font-size: 1.1em; font-weight: normal; height: 42px; line-height: 42px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-appearance: none; -webkit-backface-visibility: hidden; } button:hover, .btn:hover, .btn:visited, input[type="reset"]:hover, input[type="submit"]:hover, input[type="button"]:hover { color: #fff; text-decoration: none; } button:focus, textarea:focus { outline:0; } table { color: #333333; border-width: 1px; border-color: #e9e9e9; border-collapse: collapse; width: 100%; } table th { border-width: 1px; padding: 8px; border-style: solid; border-color: #e6e6e6; background-color: #f0f0f0; } table tr:hover td { background-color: #f9f9f9; } table td { border-width: 1px; padding: 8px; border-style: solid; border-color: #e6e6e6; background-color: #ffffff; } .alignleft { float: left; margin: 0 20px 20px 0; } .alignright { float: right; margin: 0 0 20px 20px; } .aligncenter { display: block; margin: 0 auto; text-align: center; clear: both; } .alignnone { display: block; margin-left: auto; margin-right: auto; } /* Clear Floats */ .clear:before, .clear:after { content: ""; display: table; } .clear:after { clear: both; } .clear { clear: both; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute; } .sticky, .bypostauthor { background: inherit; color: inherit; } /* CSS3 Effects */ .box-shadow { box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; -webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; } body, label, input, textarea, button, table { font-family: Arial,"PingFang SC","Microsoft YaHei",sans-serif; } body { background: #fff; color: #333; font-style: normal; font-size: 16px; font-weight: 400; line-height: 1.7em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { text-decoration: none; &:hover { text-decoration: none; } &:visited { color: #333; } &:active, &:focus { outline: 0; } } .container { margin: 0 auto; width: 1115px; } /* =Genericons, thanks to FontSquirrel.com for conversion! -------------------------------------------------------------- */ @font-face { font-family: 'Genericons'; src: url('/css/font/genericons-regular-webfont.eot'); src: url('/css/font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), url('/css/font/genericons-regular-webfont.woff') format('woff'), url('/css/font/genericons-regular-webfont.ttf') format('truetype'), url('/css/font/genericons-regular-webfont.svg#genericonsregular') format('svg'); font-weight: normal; font-style: normal; } /* Genericons */ .comments-title span:before, .bypostauthor > article .fn:before, .comment-edit-link:before, .comment-reply-link:before, .comment-reply-login:before, .comment-reply-title small a:before, .comment-list .children li:before, .contributor-posts-link:before, .menu-toggle:before, .search-toggle:before, .slider-direction-nav a:before, .widget_zhutibaba_ephemera .widget-title:before { -webkit-font-smoothing: antialiased; display: inline-block; font: normal 16px/1 Genericons; text-decoration: inherit; vertical-align: text-bottom; } /*-------------------------------------------------------------- # Header --------------------------------------------------------------*/ #masthead { .container { position: relative; } } .site-header { background-color: #fff; width: 100%; line-height: 1; } .search-icon { display: none; position: absolute; top: 11px; right: 12px; &:hover { cursor: pointer; } .fa { color: #777; display: inline-block; font-size: 14px; } .fa-search.active { display: none; } .fa-close { display: none; } .fa-close.active { display: inline-block; } } .search-input { background: #fff; border: 1px solid #ddd; outline: none; height: 38px; line-height: 38px; color: #333; text-indent: 5px; &:focus { background-color: #fff; border-color: #bfbfbf; } } .search-submit { border-left: none; color: #999; font-size: 15px; font-weight: 600; height: 38px; line-height: 1; outline: none; cursor: pointer; text-align: center; vertical-align: middle; } /* Header Search */ .header-search { background-color: #fff; border: 1px solid #e9e9e9; line-height: 1; width: 400px; height: 42px; position: absolute; top: 29px; //right: 0; left: 50%; margin-left: -200px; z-index: 2; border-radius: 3px; border-radius: 3px; &:before { color: #bbb; font-family: 'Genericons'; font-size: 20px; content: '\f400'; position: absolute; top: 10px; left: 9px; } .search-input { background: transparent; border: none; color: #333; font-size: 14px; width: 400px; height: 40px; line-height: 40px; padding: 0 15px 0 28px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; &:focus { } } .search-submit { background-color: #f8f8f8; border-left: 1px solid #e9e9e9; border-radius: 0; box-shadow: none; color: #333; font-weight: normal; width: 62px; height: 40px; line-height: 40px; padding: 0; position: absolute; top: 0; right: 0; text-align: center; -webkit-backface-visibility: hidden; border-top-right-radius: 3px; border-bottom-right-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03); .genericon { font-size: 20px; } &:hover { background-color: #f4f4f4; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05); } } } .header-icons { position: absolute; top: 0; right: 0; line-height: 100px; span { display: inline-block; span, a { background-size: 24px 24px; background-repeat: no-repeat; background-position: left center; color: #666; cursor: pointer; display: block; font-size: 15px; padding-left: 30px; &:hover { color: #333; } } } .header-mobile { span { background-image: url('assets/img/mobile.png'); } } .header-weixin { margin-left: 15px; span { background-image: url('assets/img/wechat.png') } } .header-weibo { margin-left: 15px; a { background-image: url('assets/img/weibo.png') } } } .site-start { background-color: #fff; display: block; width: 100%; height: 100px; } /*-------------------------------------------------------------- 2.1 Logo --------------------------------------------------------------*/ .site-branding { float: left; text-align: left; #logo { height: 100px; margin: 0; } .helper { display: inline-block; height: 100%; vertical-align: middle; } img { max-height: 80px; vertical-align: middle; } } .site-title { font-size: 28px; font-weight: bold; margin: 25px 0 8px 0; a, a:visited { color: #333; display: block; } a:hover { text-decoration: none; } } .site-description { color: #999; font-size: 14px; } /*-------------------------------------------------------------- 2.1 Navigation Menu --------------------------------------------------------------*/ /* Essential Styles */ .sf-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu { margin: 0; padding: 0; list-style: none; li { position: relative; &:hover > ul, &.sfHover > ul { display: block; } } ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; ul { top: 0; left: 185px; } } > li { float: left; } a { display: block; position: relative; } } /* Theme Navigation Skin */ .sf-menu { float: left; ul { background-color: #fff; width: 200px; box-shadow: rgba(190, 190, 190, 0.45882) 0px 0 5px; -webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; position: absolute; z-index: 999; padding: 0 15px; &:before { content:' '; display: block; position: absolute; width: 9px; height: 9px; left: 30px; top: -9px; transform: translate(-50%,50%) rotate(45deg); background-color: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.2); z-index: 1; } ul:before { content: none; } } a { text-decoration: none; zoom: 1; /* IE7 */ } li { line-height: 48px; white-space: nowrap; /* no need for Supersubs plugin */ *white-space: normal; /* ...unless you support IE7 (let it wrap) */ a { padding: 0 15px; color: #333; font-size: 1em; &:hover { } } li { line-height: 1.5; border-bottom: 1px dotted #eee; &:first-child { background-color: #fff; z-index: 9; } &:last-child { border-bottom: none; } a { background-color: #fff; color: #333; font-size: 1em; padding: 10px 0; } } } li:hover, li.sfHover { li a { color: #333; display: block; } } } /*** arrows (for all except IE7) **/ /* styling for both css and generated arrows */ .sf-arrows .sf-with-ul:after { position: absolute; right: 7px; content: '\f431'; font: normal 14px/1 'Genericons'; display: inline-block; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transition: 0.45s transform; } .sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after { //border-top-color: white; /* IE8 fallback colour */ } /* styling for right-facing arrows */ .sf-arrows ul .sf-with-ul:after { top: 0; right: 0; line-height: 1; content: '\f501'; font: normal 9px/1 'Genericons'; display: inline-block; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transform: none !important; } .sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after { //border-left-color: white; } /* Secondary Nav */ #secondary-bar { background-color: #fff; border-top: 2px solid; border-bottom: 1px solid #e9e9e9; position: relative; } .main-navigation { float: left; } #primary-bar { background-color: #f8f8f8; border-bottom: 1px solid #f0f0f0; height: 40px; } .top-right { float: right; line-height: 40px; color: #666; font-size: 14px; a, a:visited { color: #666; } .current-date { margin-left: 6px; } li { border-right: 1px solid #e9e9e9; display: inline-block; list-style: none; margin-right: 9px; padding-right: 11px; line-height: 1; &:last-child { border-right: none; padding-right: 0; margin-right: 0; } } .header-register, .header-login, .header-logout, .header-user { } } #primary-menu { float: left; &.sf-arrows .sf-with-ul { padding-right: 24px; } &.sf-arrows .sf-with-ul:after { line-height: 39px; } &.sf-arrows li li .sf-with-ul { margin-right: 0; &:after { top: 5px; right: -4px; line-height: 40px; } } li { position: relative; transition: 0.3s all; a { color: #666; font-size: 14px; line-height: 39px; } &.sfHover a, a:hover { background-color: #f1f2f3; box-shadow: 0 0 1px rgba(0, 0, 0, 0.15); &.sf-with-ul:after { transform: rotate(180deg); } } a:hover { text-decoration: none; } &.current-menu-item { li a { color: #111; } } ul { border-top: 1px solid #f0f0f0; margin: 0 0 0 0; } li { border-left: none; line-height: 1.5; padding-top: 0; a:link, a:visited, a:hover { box-shadow: none; -webkit-box-shadow: none; background: none; border-left: none; border-bottom: none; color: #111; line-height: 1.5; margin: 0; } &.current-menu-item { a { color: #111; } } .sf-with-ul:after { margin-top: -5px; } ul { margin-top: -1px; } } } } #secondary-menu { &.sf-arrows .sf-with-ul { padding-right: 27px; } &.sf-arrows .sf-with-ul:after { right: 10px; line-height: 47px; } &.sf-arrows li li .sf-with-ul { margin-right: 0; &:after { top: 1px; right: -5px; line-height: 40px; } } li { &:after { background-color: #e9e9e9; content: " "; display: block; height: 16px; width: 1px; position: absolute; right: 0; top: 16px; } &:last-child { &:after { content: none; } } a { color: #333; line-height: 48px; font-size: 15px; padding-left: 17px; padding-right: 17px; } &.sfHover a, a:hover { &.sf-with-ul:after { transform: rotate(180deg); } } ul { border-top: 1px solid #f0f0f0; padding-left: 17px; padding-right: 17px; ul { margin-top: -1px; left: 182px; } } li { &:after { content: none; } &:first-child a { padding-left: 17px; } padding-bottom: 0; a:link, a:visited, a:hover { background: none; border-right: none; color: #333; font-size: 15px; line-height: 1.5; padding-left: 0; padding-right: 0; } } } } /*-------------------------------------------------------------- 3. Homepage --------------------------------------------------------------*/ .entry-title { line-height: 1.4; a, a:visited { color: #222; } } #page { background-color: #fff; } /* Site Content */ .site-content { position: relative; padding: 25px 0 5px; } #primary { float: left; width: 790px; } .home .site-main { margin-bottom: -1px; } .single, .page { #primary article.hentry { padding: 20px 0; } } .tag-list { margin-bottom: 20px; li { @extend .one-line; border: 1px solid #f0f0f0; display: inline-block; float: left; list-style: none; width: 20%; margin: 0 -1px -1px 0; .tag-count { color: #999; float: right; } a { color: #333; display: block; font-size: 14px; padding: 0 10px; height: 38px; line-height: 38px; &:after { clear: both; content: " "; display: block; } &:hover { color: #fff; .tag-count { color: #fff; } } } } } .error-404, .no-results { padding: 25px 0; } .page-template-all-posts { .site-main { padding: 0; } } .thumbnail-wrap { overflow: hidden; img { transition: 0.5s all; -webkit-backface-visibility: hidden; width: 100%; height: auto; &:hover { //opacity: 0.85; transform: scale(1.08); } } } .single-excerpt { background-color: #f7f7f7; border-radius: 4px; color: #777; margin: 20px 0; padding: 15px 30px; font-size: 16px; position: relative; &:before { background: url('assets/img/quote-left.png') no-repeat 0 0; background-size: 12px 12px; content: " "; display: block; width: 12px; height: 12px; top: 7px; left: 7px; position: absolute; opacity: 0.2; } &:after { background: url('assets/img/quote-right.png') no-repeat 0 0; background-size: 12px 12px; content: " "; display: block; width: 12px; height: 12px; bottom: 7px; right: 7px; position: absolute; opacity: 0.2; } p { } .excerpt-text { color: #333; position: absolute; left: 40px; top: -12px; font-size: 17px; } } /*-------------------------------------------------------------- 3.1 Featured Content --------------------------------------------------------------*/ #featured-content { float: left; position: relative; margin-bottom: 5px; width: 48.5%; img, .wp-post-image { width: 100%; } position: relative; .bxslider { line-height: 0.5; li { display: none; &:first-child { display: block; } } } .bx-wrapper, .bxslider, .thumbnail-link { height: 100%; overflow: hidden; } .featured-slider { margin-bottom: 10px; } .featured-slide { position: relative; img { width: 100%; &:hover { transform: scale(1.04); } } .thumbnail-link { display: block; } } .featured-slide { .entry-title { font-size: 1em; font-weight: normal; line-height: 1.3; padding: 0 10px; a, a:visited { color: #fff; } } .entry-header { background-color: rgba(0,0,0,0.4); position: absolute; bottom: 0; padding: 10px 0; width: 100%; } } } .featured-grid { .featured-small { float: left; width: 48.7%; overflow: hidden; margin-right: 2.6%; margin-bottom: 20px; &:nth-of-type(2n) { margin-right: 0; } &:nth-of-type(2n+1) { clear: left; } .thumbnail-link { display: block; margin-bottom: 8px; } .entry-title { font-size: 15px; font-weight: normal; line-height: 1.5; } } .hentry { line-height: 0.5; -webkit-transition: 300ms ease-in-out; transition: 300ms ease-in-out; -webkit-backface-visibility: hidden; } } .home-latest { float: right; width: 48.5%; ul { li { list-style: none; margin: 0 0 10px 0; padding-left: 14px; position: relative; &:before { background-color: #ccc; border-radius: 2px; content: " "; display: inline-block; width: 4px; height: 4px; position: absolute; left: 0; top: 11px; } &:nth-of-type(1), &:nth-of-type(6), &:nth-of-type(11) { font-size: 1.11em; font-weight: bold; } &:nth-of-type(5n) { margin-bottom: 25px; } strong { font-size: 1.11em; } a, a:visited { color: #333; } } } } .notice { background-color: #f0f0f0; padding: 30px; text-align: center; } #recent-content { position: relative; margin-bottom: 20px; .thumbnail-link { line-height: 0.5; } .widget_ad { line-height: 1; position: relative; text-align: center; .widget-title { display: none; } img { line-height: 0.5; } } .content-ad { text-align: center; .adwidget { line-height: 1; img { line-height: 0.5; } } } } .home #recent-content .widget_ad { margin-bottom: 20px; } .content-loop .widget_ad { border-bottom: 1px solid #e9e9e9; padding: 20px 0 20px; } .content-block { margin-bottom: 25px; width: 100%; overflow: hidden; .section-heading { border-top: 1px solid #e9e9e9; position: relative; margin-bottom: 10px; padding: 0; h3 { font-size: 1.2em; padding: 9px 0 0; position: relative; display: inline-block; border-top: 2px solid; margin-top: -1px; a { color: #333; display: inline-block; &:hover { text-decoration: none; } } } .section-more { position: absolute; right: 0; top: 8px; li { display: inline-block; list-style: none; margin: 0 0 0 8px; &:before { //font-family: "Genericons"; content: '/'; color: #ddd; font-size: 16px; margin-right: 10px; position: relative; top: 1px; } &:first-child { &:before { content: none; } } } a { color: #999; font-size: 14px; font-weight: normal; &:hover { text-decoration: none; } } } } .thumbnail-link img { width: 100%; } .post-small { position: relative; margin-bottom: 8px; padding-left: 14px; &:before { background-color: #ccc; border-radius: 2px; content: " "; display: inline-block; width: 4px; height: 4px; position: absolute; left: 0; top: 9px; } &:nth-of-type(1) { .entry-title { font-weight: bold; } } } } .content-block-square { margin-bottom: 5px; .block-loop { .hentry { margin-bottom: 20px; } .thumbnail-link { display: block; margin-bottom: 10px; } .entry-title { font-size: 15px; font-weight: normal; } } } .content-block-1 { position: relative; &:after { clear: both; content: " "; display: block; } .col-left { float: left; width: 48.5%; margin-bottom: -25px; } .col-right { float: right; width: 48.5%; //margin-bottom: -15px; } .post-big { float: left; width: 48.5%; margin-bottom: 25px; &:nth-of-type(2n) { float: left; margin-left: 3%; } &:nth-of-type(2n+1) { clear: left; } .thumbnail-link { display: block; margin-bottom: 15px; } .entry-title { font-size: 15px; font-weight: normal; margin-bottom: 6px; } } .post-small { margin-bottom: 15px; &.last, &:last-child { border-bottom: none; margin-bottom: 0 !important; } &:nth-of-type(1), &:nth-of-type(6), &:nth-of-type(11) { &:before { top: 10px; } .entry-title { font-size: 1.11em; font-weight: bold; } } &:nth-of-type(5n) { margin-bottom: 25px; } .thumbnail-link { float: left; width: 120px; margin: 0 15px 0 0; } .entry-title { font-size: 1em; font-weight: normal; } } } .content-block-2 { position: relative; .hentry { &:nth-of-type(3) { &:before { top: 10px; } .entry-title { font-size: 1.11em; font-weight: bold; } } } .post-big { float: left; width: 48.5%; margin: 0 0 25px; &:nth-of-type(2n) { float: right; } &:nth-of-type(2n+1) { clear: left; } .thumbnail-link { display: block; margin-bottom: 10px; } .entry-title { font-size: 15px; font-weight: normal; margin-bottom: 5px; } } .post-small { &.last { margin-bottom: 0; } .entry-title { font-size: 1em; font-weight: normal; margin-bottom: 6px; } } .block-left { float: left; width: 48.5%; } .block-right { float: right; width: 48.5%; } } .ajax-loader { text-align: center; margin: 30px auto; display: block; } .breadcrumbs { border-bottom: 1px solid #e9e9e9; position: relative; padding: 0 0 12px 0; } .single .breadcrumbs { border-bottom: none; padding: 0; } .breadcrumbs { position: relative; &.is_zhuanti { border-bottom: none; position: relative; padding-bottom: 0; margin-bottom: 0; .thumbnail { line-height: 0.5; position: relative; } img { line-height: 0.5; width: 100%; } h1 { background-color: #ffbe02; color: #fff; display: none; font-size: 20px; padding: 0 20px; position: absolute; height: 40px; line-height: 40px; bottom: -5px; left: 0; &:before { content: none; } } .taxonomy-description { background-color: #f7f7f7; margin: 0; padding: 15px 20px 18px 20px; } .taxonomy-description { color: #999999; } } h1 { font-size: 1.1em; line-height: 1; margin-bottom: 5px; padding-left: 15px; position: relative; &:before { border-radius: 1px; content: " "; display: block; width: 4px; height: 16px; position: absolute; top: 0; left: 0; } a, a:visited { color: #999; } a:hover { color: #333; text-decoration: none; } } ul.sub-categories { margin: 15px 0 12px 0; li { display: inline-block; font-size: 14px; list-style: none; margin: 0 5px 5px 0; ul, &.cat-item-none { display: none; } a { background-color: #f6f6f6; border-radius: 3px; color: #333; display: inline-block; padding: 0 8px; &:hover { background-color: #f0f0f0; text-decoration: none; } } } } .breadcrumbs-nav { color: #999; display: block; font-size: 14px; a { color: #999; margin-right: 6px; position: relative; &:after { background: url('assets/img/arrow-right-thin.png') no-repeat left center; background-size: 10px 10px; content: " "; display: inline-block; width: 10px; height: 10px; margin-left: 4px; position: relative; top: 0; } } } } .category .breadcrumbs { padding-bottom: 0; .breadcrumbs-nav { margin-bottom: 15px; } } .content-loop { .hentry { border-bottom: 1px solid #e9e9e9; width: 100%; padding: 25px 0; position: relative; &:last-child { border-bottom: none; } } .thumbnail-link { float: left; display: block; width: 261px; margin: 0 20px 0 0; position: relative; line-height: 0.5; text-align: center; img { width: 100%; } } .entry-header { margin-bottom: 10px; } .entry-title { font-size: 1.2em; line-height: 1.4; margin-bottom: 7px; } .entry-meta { font-size: 13px; color: #999; a { color: #999; &:hover { color: #333; } } .meta-right { position: absolute; right: 0; } .entry-author, .entry-category { display: inline-block; margin-right: 15px; } .entry-author { margin-right: 15px; .avatar { width: 20px; border-radius: 50%; margin: 3px 6px 0 0; vertical-align: middle; } } } .entry-summary { display: table; font-size: 15px; p { display: inline; } } .entry-footer { background-color: #fff; border-top: 1px solid #f0f0f0; height: 50px; line-height: 50px; padding: 0 25px; overflow: hidden; ul { float: right; li { float: left; list-style: none; } } } .gallery-list { margin: 15px 0 0; &:after { clear: both; content: " "; display: block; } li { line-height: 1; list-style: none; margin-bottom: 0 !important; img { width: 100%; height: auto; } &:last-child { margin-right: 0; } } } } .content-grid { padding: 25px 0 0 0; .hentry { margin-bottom: 25px; position: relative; &:last-child { border-bottom: none; } .thumbnail-wrap { margin: 0 0 10px 0; } .entry-title { font-weight: normal; strong { font-weight: normal; } } } } .entry-meta { color: #999; font-size: 13px; position: relative; .entry-author { .avatar { border-radius: 50%; float: left; width: 30px; height: auto; margin: -2px 8px 0 0; } a { color: #999; } } .entry-date, .entry-views { margin-right: 15px; } .entry-comment a { color: #999; } } /*-------------------------------------------------------------- 3.3 Pagination --------------------------------------------------------------*/ .scroller-status { font-size: 14px; text-align: center; img { width: 16px; margin: -2px 4px 0 0; vertical-align: middle; } .infinite-scroll-request { background-color: #f7f8f9; color: #999; display: none; padding: 10px 0; } .infinite-scroll-last, .infinite-scroll-error { background-color: #f7f8f9; color: #999; display: none; padding: 10px 0; } } .pagination { display: none; border-top: 1px solid #e9e9e9; padding: 40px 0; width: 100%; text-align: center; .page-numbers { background-color: #f5f5f5; color: #333; display: inline-block; font-size: 16px; height: 44px; line-height: 44px; padding: 0 15px; text-transform: uppercase; &:hover { background-color: #f0f0f0; color: #fff; text-decoration: none; } &.dots { &:hover { color: #333; } } &.current { color: #fff; } } .prev, .next { position: relative; } } /*-------------------------------------------------------------- 4. Single Post/Page --------------------------------------------------------------*/ .page-title { font-size: 1.5em; margin-bottom: 25px; line-height: 1.2; } .single { .entry-header { border-bottom: 1px solid #e9e9e9; margin-bottom: 20px; padding-bottom: 15px; .entry-meta { height: 30px; &:after { content: " "; clear: both; display: block; } .entry-author, .entry-date, .entry-views { float: left; margin-right: 15px; } } } /* Baidu Share */ .custom-share { float: right; position: relative; top: 2px; display: none; &:before { color: #999; font-size: 13px; position: absolute; content: "分n"; display: block; right: 100%; top: -3px; width: 28px; } .bdsharebuttonbox { a { width: 20px; height: 20px; display: inline-block; margin: 0 0 0 4px; background-size: 14px 14px; background-position: center center; background-repeat: no-repeat; padding: 3px; border-radius: 4px; } .bds_qzone { background-color: #fdbe3d; background-image: url('assets/img/qzone-white.png'); } .bds_tsina { background-color: #ff763b; background-image: url('assets/img/weibo-white.png'); } .bds_weixin { background-color: #7bc549; background-image: url('assets/img/wechat-white.png'); } .bds_sqq { background-color: #56b6e7; background-image: url('assets/img/qq-white.png'); } } } .bx-wrapper { visibility: hidden; margin-bottom: 25px; } .gallery-slider { display: none; height: 100%; overflow: hidden; &:after { clear: both; content: " "; display: block; } li { list-style: none; margin: 0; padding: 0; img { width: 100%; margin-bottom: 0; } &:before { content: none; } .image-desc { background-color: #333; background-color: rgba(0, 0, 0, 0.4); color: #fff; font-size: 14px; padding: 12px 2%; position: absolute; bottom: 0; width: 100%; } } } .entry-footer { .entry-tags { float: left; } .entry-like { font-size: 14px; float: right; a { background: url('assets/img/thumbs-up.png') no-repeat 7px center; background-color: #f5f5f5; background-size: 13px 13px; border-radius: 2px; color: $accent-2; display: inline-block; font-size: 14px; height: 26px; line-height: 26px; padding: 0 7px 0 24px; &:hover { background-color: #f2f7f9; color: $accent-2; text-decoration: none; } } em { font-style: normal; } } } } .error404, .single, .page { .site-main { position: relative; .entry-thumbnail { margin-bottom: 10px; } } h1.entry-title { font-size: 1.7em; line-height: 1.4; display: block; margin-bottom: 18px; } } .error404 { .entry-content, .page-content { label { display: inline-block; } } } .entry-related .section-title, .comments-title, #reply-title { font-size: 1em; line-height: 1; padding-left: 15px; position: relative; &:before { border-radius: 1px; content: " "; display: block; width: 4px; height: 15px; position: absolute; top: 0; left: 0; } } .comments-title:before { top: 27px; } /* Related Posts */ .entry-related { border-top: 1px solid #e9e9e9; padding: 20px 0 0 0; h3 { font-size: 20px; margin-bottom: 20px; } .hentry { margin-bottom: 25px; .entry-title { font-size: 15px; font-weight: normal; line-height: 1.4; a { color: #333; } } .thumbnail-link { display: block; width: 100%; margin: 0 0 12px 0; line-height: 0.5; img { width: 100%; } } .thumbnail-wrap { overflow: hidden; } } } /* Entry Tags */ .entry-tags { span { font-size: 14px; margin-right: 10px; } .tag-links a { background-color: #f0f0f0; border-top-left-radius: 1px; border-bottom-left-radius: 1px; display: inline-block; color: #333; font-size: 14px; height: 26px; line-height: 26px; margin: 0 14px 5px 0; padding: 0 5px 0 9px; position: relative; &:hover { color: #fff; text-decoration: none; } &:after { content: ' '; display: block; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 9px solid #f0f0f0; position: absolute; top: 0; right: -9px; } } } /* Author Box */ .author-box { border-top: 1px solid #e9e9e9; padding: 20px 0; .avatar { border-radius: 50%; float: left; width: 72px; height: auto; line-height: 0.8; margin: 0 15px 0 0; } .author-meta { display: table; .author-name { font-size: 1em; margin-bottom: 5px; a { color: #333; } span { } } .author-desc { font-size: 15px; color: #949494; margin-bottom: 5px; } } } /* Entry Content */ .page-content, .entry-content { font-size: 1.1em; .wp-post-image { margin-bottom: 15px; width: 100%; } a { text-decoration: underline; } h1, h2, h3, h4, h5, h6 { margin-bottom: 25px; line-height: 1.5; } h1 { font-size: 26px; } h2 { font-size: 22px; } h3 { font-size: 20px; } h4 { font-size: 18px; } h5,h6 { font-size: 16px; } p { line-height: 2; margin-bottom: 25px; br { } } ul, ol { margin: 0 0 25px 0; ul, ol { margin: 8px 0 0 25px; } } ul li { list-style: none; margin: 0 0 10px 0; padding-left: 18px; position: relative; &:hover { &:before { color: #333; } } &:before { border-radius: 3px; background-color: #ccc; content: " "; display: inline-block; width: 6px; height: 6px; position: absolute; left: 0; top: 10px; } ul li { list-style: none; } } ol li { list-style: inside decimal; margin: 0 0 10px 0; } select { padding: 0 5px; &:focus, &:active { outline: none; } } dl { margin-bottom: 20px; } fieldset { border: 1px solid #e9e9e9; margin: 0 2px 20px 2px; padding: 0.35em 0.625em 0.75em; } input[type="radio"] { -webkit-appearance: radio; } input[type="checkbox"] { -webkit-appearance: checkbox; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } label { display: block; font-weight: bold; } table { margin-bottom: 20px; } input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"] { width: 300px; } input[type="file"] { border: none; } textarea { width: 100%; height: 200px; } .wp-caption { background-color: #f7f7f7; padding: 0 0 1px 0; } .wp-caption-text { font-size: 13px; font-style: italic; color: #999; } /* Begin WP 5.0+ Styles */ .wp-block-gallery { margin: 0 0 9px 0; li{ padding: 0; &:before { content: none; } img { margin: 0; } } } .wp-block-audio figcaption, .wp-block-video figcaption, .wp-block-image figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption { box-sizing: border-box; line-height: 1.6; margin: 0; padding: 0.5rem; text-align: center; } .wp-block-image figcaption { margin-top: -20px; } cite { font-size: 15px; margin-bottom: 20px; } iframe, .wp-block-audio, .wp-block-video { margin-bottom: 20px; } * { p { text-indent: 0; } } /* End WP 5.0+ Styles */ .page-links { color: #999; text-align: center; .page-links-title { border-top-left-radius: 3px; border-bottom-left-radius: 3px; color: #999; } span { border: 1px solid #efefef; background-color: #fff; display: inline-block; margin: 0 -3px; padding: 0 12px; height: 34px; line-height: 34px; } a { text-decoration: none; &:last-child span { border-top-right-radius: 3px; border-bottom-right-radius: 3px; } } } } blockquote { color: #999999; font-size: 18px; font-style: italic; padding: 0.25em 50px; line-height: 1.45; position: relative; &:before { display: block; content: "\201C"; font-size: 64px; position: absolute; left: 0; top: -15px; color: #cccccc; } cite { color: #333333; display: block; margin-top: 10px; &:before { content: "\2014 \2009"; } } } /*-------------------------------------------------------------- 5. Archive/Search Page --------------------------------------------------------------*/ .search-no-results { .page-title { font-size: 24px; margin-bottom: 10px; } .no-results { } .page-content label, .entry-content label { display: inline; } } /*-------------------------------------------------------------- 6. Comments --------------------------------------------------------------*/ .comments-area { margin-bottom: 30px; } .comment-respond { border-top: 1px solid #f0f0f0; margin: 20px 0 0 0; padding: 20px 0 0 0; } .comments-title { font-size: 1em; font-weight: bold; margin-bottom: 20px; border-top: 1px solid #f0f0f0; margin-top: 25px; padding-top: 25px; span { margin-left: 2px; &:before { content: '\f428'; color: #aaa; font-size: 18px; margin-right: 5px; } } } .comment-reply-title { font-size: 1em; font-weight: bold; margin-bottom: 20px; text-transform: uppercase; } .comment-list { list-style: none; } .comment-author { font-size: 14px; } .comment-meta { margin-bottom: 1px; } .comment-list .reply, .comment-metadata { font-size: 13px; } .comment-author .fn { font-weight: normal; } .comment-author a { color: #2b2b2b; } .comment-list .trackback a, .comment-list .pingback a, .comment-metadata a, .comment-list .reply a { color: #999; &:visited { color: #999; } } .comment-list .trackback a:hover, .comment-list .pingback a:hover, .comment-metadata a:hover, .comment-list .reply a:hover { color: #333; } .comment-author a { &:hover { color: #333; } } .comment-list article, .comment-list .pingback, .comment-list .trackback { margin: 0 0 15px 0; border-top: 1px solid #f0f0f0; padding-top: 15px; position: relative; } .comment-list > li:first-child > article, .comment-list > .pingback:first-child, .comment-list > .trackback:first-child { border-top: 0; padding-top: 0; .reply { top: 0; } } .comment-author { position: relative; } .comment-author .avatar { border-radius: 50%; position: absolute; top: 0; left: 0; width: 36px; height: auto; } .says { display: none; } .comment-author, .comment-awaiting-moderation, .comment-content { padding-left: 50px; } .comment-list .reply { visibility: hidden; position: absolute; top: 15px; right: 0; } .comment-body:hover { .reply { visibility: visible; } } .comment-author { display: inline; } .comment-metadata { display: inline; margin-left: 7px; } .comment-edit-link { margin-left: 10px; &:hover { text-decoration: none; } } #cancel-comment-reply-link:hover { text-decoration: none; } .comment-edit-link:before { content: "\f411"; } .comment-reply-link:hover { text-decoration: none; } .comment-reply-link:before, .comment-reply-login:before { content: '\f467'; color: #aaa; margin-right: 2px; } .comment-content { font-size: 15px; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; word-wrap: break-word; } .comment-content ul, .comment-content ol { margin: 0 0 24px 0; } .comment-content li > ul, .comment-content li > ol { margin-bottom: 0; } .comment-content > :last-child { margin-bottom: 0; } .comment-list .children { list-style: none; background: #f7f7f7; padding: 20px; position: relative; margin: 0 0 -1px 0; z-index: 2; &:before { color: #f7f7f7; top: -16px; left: 13px; font-family: "fontawesome"; font-size: 20px; content: "\f0d8"; position: absolute; width: 20px; text-align: center; } li article { border-top-color: #eee; } li:first-child article { border-top: none; padding-top: 0; .reply { top: 0; } } li:last-child article { margin-bottom: 0; } } .comment-respond { } .comment .comment-respond { margin: 25px 0; } .comment-respond h3 { margin-top: 0; } .comment-notes, .comment-awaiting-moderation, .logged-in-as, .no-comments, .form-allowed-tags, .form-allowed-tags code { color: #999; a { color: #999; &:hover { color: #333; } } } .comment-notes, .comment-awaiting-moderation, .logged-in-as { font-size: 14px; margin-bottom: 10px; } .no-comments { font-size: 16px; font-weight: 900; line-height: 1.5; margin-top: 24px; text-transform: uppercase; } .comment-form { .comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url { margin-bottom: 20px; } textarea { width: 100%; } .comment-form-author, .comment-form-email { width: 32%; margin-right: 2%; } .comment-form-url { width: 32%; } .comment-form-author { float: left; } .comment-form-email { float: left; } .comment-form-url { float: right; } &:after { content: ''; display: block; clear: both; } .submit { font-size: 14px; padding: 0 18px; } } .comment-form label { font-size: 14px; } .comment-form-cookies-consent { display: none; // Hide for Chinese Users margin-bottom: 20px; } .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; } .form-allowed-tags, .form-allowed-tags code { font-size: 12px; line-height: 1.5; } .required { color: #c0392b; } .comment-reply-title small a { color: #2b2b2b; float: right; height: 16px; overflow: hidden; width: 16px; } .comment-reply-title small a:before { content: "\f405"; font-size: 20px; } .comment-navigation { font-size: 13px; &:after { clear: both; content: " "; display: block; } .nav-next, .nav-previous { display: inline-block; } .nav-previous { float: left; } .nav-next { float: right; } } #comment-nav-above { margin-bottom: 20px; } #comment-nav-below { margin-bottom: 0; } /*-------------------------------------------------------------- 7. Sidebar --------------------------------------------------------------*/ .sidebar { float: right; width: 300px; .widget { border: 1px solid #e9e9e9; margin-bottom: 20px; padding: 15px; .widget-title { color: #333; font-size: 1em; line-height: 1; margin-bottom: 15px; position: relative; span { padding-left: 15px; position: relative; } &:before { border-radius: 1px; content: " "; display: block; width: 4px; height: 15px; position: absolute; top: 0; left: 0; } } p { margin-bottom: 15px; } ul > li { list-style: none; margin-bottom: 10px; padding: 0 0 0 14px; position: relative; &:before { background-color: #ccc; border-radius: 2px; content: " "; display: inline-block; width: 4px; height: 4px; position: absolute; left: 0; top: 9px; } a { color: #333; } } ul li:last-child { margin-bottom: 0; } select { width: 100%; max-width: 100%; } } .widget_search { input[type='search'] { width: 180px; } input[type='submit'] { width: 80px; text-align: center; padding-left: 0; padding-right: 0; } } .widget_nav_menu, .widget_categories { ul li { display: inline-block; width: 49%; } } .widget_ad { border: none; } } /* Tag Cloud Widget */ .sidebar .widget.widget_tag_cloud { padding-right: 0; } .widget_tag_cloud { .tagcloud a { background-color: #f0f0f0; border-radius: 3px; display: inline-block; color: #333 !important; font-size: 12px !important; height: 26px; line-height: 26px; width: 30.16%; margin: 0 1px -2px 0; padding: 0 6px; position: relative; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; &:hover { background-color: #e9e9e9; } } } /* Recent Posts Widget */ .widget_recent_entries { .post-date { font-size: 13px; color: #999; margin-left: 5px; } } /* Categories Widget */ .widget_categories { ul li { color: #999; } } /*-------------------------------------------------------------- 7. Footer --------------------------------------------------------------*/ .footer-columns { border-bottom: 1px solid #e9e9e9; padding: 20px 0 0; .section-header { font-size: 32px; margin-bottom: 20px; } .widget { margin-bottom: 20px; } } .site-footer { border-top: 1px solid #e9e9e9; .widget { font-size: 15px; margin-bottom: 25px; .widget-title { font-size: 1.1em; margin-bottom: 15px; } p { margin-bottom: 15px; } ul > li { list-style: none; padding: 0; margin-bottom: 10px; a, a:visited { color: #333; } } ul li:first-child { border-top: none; padding-top: 0; } ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } select { width: 100%; max-width: 100%; } } .widget_search { input[type='search'] { width: 100%; margin-bottom: 10px; } input[type='submit'] { width: 100%; } } } .sidebar, .site-footer { .widget { ul li { line-height: 1.45; } } /* Ad Widget */ .widget_ad { background: none; padding: 0; position: relative; .adwidget { line-height: 0.8; } .widget-title { border-bottom: none; color: #fff; display: none; font-size: 12px; font-weight: normal; margin: 0; padding: 0; position: absolute; bottom: 1px; left: 0; z-index: 99; background: rgba(50,50,50,0.3); padding: 2px 5px; border-top-right-radius: 10px; &:before, &:after { content: none; } span { background-color: transparent; padding: 0; position: static; } } } .widget_posts_thumbnail { line-height: 1.4; ul > li { margin-bottom: 10px; padding: 0; list-style: none; position: relative; &:before { content: none; display: none; } &:after { content: ""; display: block; clear: both; } } .thumbnail-wrap, .wp-post-image, img { width: 100%; height: auto; line-height: 0.5; } .entry-wrap { background-color: rgba(0,0,0,0.3); display: none; position: absolute; bottom: 0; left: 0; font-size: 14px; height: 30px; line-height: 30px; overflow: hidden; width: 100%; a, a:hover, a:visited { color: #fff; display: block; padding: 0 10px; } } &.widget-menhu-1-popular, &.widget-menhu-1-views { ul > li { &:first-child { margin-bottom: 12px; } &.post-list { font-size: 15px; padding-left: 25px; position: relative; &:nth-of-type(2) span { background-color: #ffbe02; color: #fff; } &:nth-of-type(3) span { background-color: $accent-2; color: #fff; } &:nth-of-type(4) span { background-color: #46b450; color: #fff; } span { background-color: #f0f0f0; display: inline-block; font-size: 13px; width: 18px; height: 18px; line-height: 18px; color: #999; text-align: center; position: absolute; left: 0; top: 2px; } } } } &.widget-menhu-1-category-posts, &.widget-menhu-1-recent, &.widget-menhu-1-random { ul > li{ &:first-child { margin-bottom: 12px; } &.post-list { font-size: 15px; padding-left: 14px; position: relative; &:before { background-color: #ccc; border-radius: 2px; content: " "; display: inline-block; width: 4px; height: 4px; position: absolute; left: 0; top: 9px; } } } } &.widget-menhu-1-category-posts { position: relative; .widget-title a { color: #333; } .section-more { position: absolute; top: 15px; right: 15px; font-size: 12px; a { color: #999; &:hover { color: #333; } } } } } } .footer-partners { border-bottom: 1px solid #e9e9e9; display: table; padding: 20px 0 20px 0; position: relative; .widget-title { display: none; } .partner-title { background-color: #f3f3f3; color: #999; display: table-cell; font-size: 13px; line-height: 1.6; width: 25px; text-align: center; position: relative; vertical-align: middle; span { //writing-mode: tb-rl; vertical-align: middle; //letter-spacing: 8px; //padding: 10px 0 2px; } .fa { color: #f3f3f3; font-size: 16px; position: absolute; top: 50%; right: -5px; margin-top: -8px; height: 16px; line-height: 16px; } } .partner-wrap { display: table-cell; } .partner-image { display: inline-block; width: 14.2857%; height: 75px; line-height: 75px; text-align: center; img { max-width: 100%; max-height: 75px; width: 84%; padding: 0 8%; height: auto; vertical-align: middle; } } } /* Bottom Right Buttons */ .bottom-right { display: none; width: 40px; position: fixed; right: 10px; bottom: 100px; .icon-contact a { border-top: none; } span.icon-link, a { background-color: #f5f5f5; cursor: pointer; display: inline-block; span { box-shadow: 0 0 1px rgba(0,0,0,0.25); -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.25); color: #999; display: inline-block; line-height: 40px; width: 40px; z-index: 25; background: #f5f5f5; font-size: 24px; text-align: center; -webkit-backface-visibility: hidden; transition: 0.3s all; } .icon { font-size: 18px; line-height: 40px; } .text { color: #fff; display: none; height: 40px; line-height: 1; font-size: 13px; padding: 7px 2px 0 2px; } &:hover { text-decoration: none; .icon { display: none; } .text { display: inline-block; } } } } /* Back to top button */ #back-top { visibility: hidden; } /* Site Bottom */ #site-bottom { font-size: 13px; padding: 20px 0; text-align: center; a { color: #333; } .site-info { } .footer-nav { margin-bottom: 6px; li { border-right: 1px solid #ddd; display: inline-block; list-style: none; line-height: 1; margin-right: 12px; padding-right: 12px; &:last-child { border-right: none; margin-right: 0; padding-right: 0; } li { display: none; } } } } .friend { border-bottom: 1px solid #e9e9e9; padding: 20px 0; h3 { font-size: 1em; line-height: 1; margin-bottom: 10px; padding-left: 14px; position: relative; &:before { border-radius: 1px; content: " "; display: block; width: 4px; height: 15px; position: absolute; top: 0; left: 0; } } } .friend-nav { li { display: inline-block; list-style: none; line-height: 1; margin-right: 15px; font-size: 13px; a { color: #333; } li { display: none; } } } /*-------------------------------------------------------------- 9. Misc. --------------------------------------------------------------*/ #wpadminbar ul#wp-admin-bar-root-default > li.zhutibaba a { background: url('assets/img/zhutibaba-favicon.png') no-repeat left center; background-size: 24px 24px; -webkit-backface-visibility: hidden; padding-left: 26px; } .entry-meta .entry-author, .entry-meta .entry-comment, .entry-footer .edit-link, .entry-tags .edit-link, .author-box .author-meta .author-name { a:hover { color: #111; } } .header-ad { line-height: 1; margin-top: 20px; margin-bottom: -5px; text-align: center; .widget-title { display: none !important; } img { line-height: 0.5; } } .full-width { float: none; width: 100% !important; } .page-template-full-width { .site-content:before { content: none; } } /* Ads */ .single-top-ad { line-height: 1; margin-bottom: 20px; text-align: center; .widget-title { display: none !important; } img { line-height: 0.5; } } .single-bottom-ad { line-height: 1; margin-bottom: 20px; text-align: center; .widget-title { display: none !important; } img { line-height: 0.5; } } .step { color: red; font-weight: bold; } /* Preloader */ .loader-wrap { background: none repeat scroll 0 0 #fff; height: 100%; opacity: 1; position: fixed; text-align: center; transition: opacity 0.2s ease 0s; width: 100%; z-index: 9999; } .loader { position: absolute; height: 30px; width: 30px; left: 50%; top: 45%; } .loader:before { z-index: 1; position: absolute; left: -90%; content: ''; height: 100%; width: 100%; background: #e74c3c; border-radius: 50%; animation: position 2s infinite cubic-bezier(.25,0,.75,1), size 2s infinite cubic-bezier(.25,0,.75,1); animation-delay: 0s, -0.5s; } .loader:after { z-index: 0; position: absolute; left: 80%; content: ''; height: 100%; width: 100%; background: #3498db; border-radius: 50%; animation: position-alt 2s infinite cubic-bezier(.25,0,.75,1), size 2s infinite cubic-bezier(.25,0,.75,1); animation-delay: 0s, 0.5s; } @keyframes position { 50% { left: 80%; } } @keyframes position-alt { 15% { z-index: 2; } 50% { left: -80%; z-index: 0; } } @keyframes size { 50% { transform: scale(.5,.5); } } /* Mobile Menu */ .mobile-menu-icon { color: #666; display: none; font-size: 14px; position: absolute; top: -32px; left: 0; .menu-icon-close i, .menu-icon-open i { color: #666; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; width: 24px; height: 24px; line-height: 24px; text-align: center; -webkit-backface-visibility: hidden; &:hover { opacity: 0.85; } } .menu-icon-close { display: none; } .menu-icon-open.active { display: none; } .menu-icon-close { display: none; } .menu-icon-close.active { display: inline-block; } } .mobile-menu { background-color: #fff; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; display: none; position: absolute; width: 100%; top: 39px; padding: 25px 0 10px 0; z-index: 9999; .menu-right { border-top: 1px solid #e9e9e9; margin: 5px 0 0 0; padding-top: 20px; } ul { li { display: inline-block; list-style: none; margin: 0 15px 15px 0; a { color: #666; font-size: 14px; } ul li { //display: none; } } } } /* Safari Fixes */ _::-webkit-full-page-media, _:future, :root { } /* bxslider */ /** VARIABLES ===================================*/ /** RESET AND LAYOUT ===================================*/ .bx-wrapper { position: relative; padding: 0; *zoom: 1; -ms-touch-action: pan-y; touch-action: pan-y; } .bx-wrapper img { max-width: 100%; display: block; } .bxslider { margin: 0; padding: 0; } ul.bxslider { list-style: none; } .bx-viewport { /*fix other elements on the page moving (on Chrome)*/ -webkit-transform: translatez(0); } /** THEME ===================================*/ .bxslider { width: 100%; overflow: hidden; } .bxslider, .bx-wrapper, .bx-viewport, .bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { margin: 0; padding: 0; } .bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { position: absolute; top: 0; right: 10px; //width: 100%; } /* LOADER */ .bx-wrapper .bx-loading { min-height: 50px; background: url('assets/img/bx_loader.gif') center center no-repeat #ffffff; height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: 2000; } /* PAGER */ .bx-wrapper .bx-pager { text-align: center; font-size: .85em; font-family: Arial; font-weight: bold; color: #666; background: rgba(50,50,50,0.4); border-radius: 8px; height: 16px; line-height: 15px; position: absolute; padding: 0 5px; right: 7px; top: 8px; } @-moz-document url-prefix() { .bx-wrapper .bx-pager { line-height: 14px; } } .bx-wrapper .bx-pager.bx-default-pager a { background: #fff; text-indent: -9999px; display: block; width: 6px; height: 6px; margin: 0 3px; outline: 0; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; transition: all 0.2s; } .bx-wrapper .bx-pager.bx-default-pager a.active { //width: 16px; } .bx-wrapper .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item { display: inline-block; vertical-align: middle; *zoom: 1; *display: inline; } .bx-wrapper .bx-pager-item { font-size: 0; line-height: 0; } /* DIRECTION CONTROLS (NEXT / PREV) */ .bx-wrapper .bx-prev { left: 0; background: rgba(50,50,50, 0.6) url('assets/img/arrow-left-white.png') no-repeat; } .bx-wrapper .bx-next { right: 0; background: rgba(50,50,50, 0.6) url('assets/img/arrow-right-white.png') no-repeat; } .bx-wrapper .bx-prev, .bx-wrapper .bx-next { background-size: 16px 16px; background-position: center center; transition: 0.3s all; &:hover { background-color: rgba(50,50,50, 0.9); } } .bx-wrapper:hover .bx-controls-direction { visibility: visible; } .bx-wrapper .bx-controls-direction { visibility: hidden; a { position: absolute; top: 50%; margin-top: -16px; outline: 0; width: 24px; height: 32px; text-indent: -9999px; z-index: 9; } a.disabled { display: none; } } /* Grid System */ .ht_box { } .ht_grid_1_2 { float: left; width: 48.5%; &:nth-of-type(2n) { margin-left: 3%; } &:nth-of-type(2n+1) { clear: left; } &:nth-of-type(2n+0) { margin-right: 0; clear: right; } } .ht_grid_1_3 { float: left; margin-right: 2%; width: 32%; &:nth-of-type(3n+0) { margin-right: 0; clear: right; } &:nth-of-type(3n+1) { clear: left; } } .ht_grid_1_4 { float: left; margin-right: 2%; width: 23.5%; &:nth-of-type(4n+0) { margin-right: 0; clear: right; } &:nth-of-type(4n+1) { clear: left; } } .ht_fixed_grid_1_3 { float: left; margin-right: 2%; width: 32%; &:nth-of-type(3n+0) { margin-right: 0; clear: right; } &:nth-of-type(3n+1) { clear: left; } } /* Responsive Grid */ @media only screen and (max-width: 959px) { .ht_grid_1_4 { width: 48.5%; margin-bottom: 20px; &:nth-of-type(2n+0) { margin-right: 0; clear: right; } &:nth-of-type(2n+1) { clear: left; } } } @media only screen and (max-width: 600px) { .ht_grid_1_4 { float: none; width: 100%; margin-right: 0; } } @media only screen and (max-width: 480px) { .ht_grid_1_3, .ht_grid_1_2 { float: none; width: 100%; margin-right: 0; } } .tooltip { display: inline-block; position: relative; text-align: left; line-height: 1.7; } .tooltip .bottom { min-width: 200px; top: 40px; left: 50%; transform: translate(-50%, 0); padding: 10px; color: #444444; background-color: #fff; font-weight: normal; font-size: 13px; border-radius: 4px; position: absolute; z-index: 99999999; box-sizing: border-box; box-shadow: 0 1px 8px rgba(0,0,0,0.3); visibility: hidden; opacity: 0; transition: opacity 0.4s; text-align: center; h3 { color: #333; font-weight: normal; } } .bottom-space { padding-top: 40px; } .tooltip:hover .bottom { visibility:visible; opacity:1; } .tooltip .bottom i { position:absolute; bottom:100%; left:50%; margin-left:-12px; width:24px; height:12px; overflow:hidden; } .tooltip .bottom i::after { content:''; position:absolute; width:12px; height:12px; left:50%; transform:translate(-50%,50%) rotate(45deg); background-color:#fff; box-shadow:0 1px 8px rgba(0,0,0,0.3); } // left .left-space { min-width: 210px; position: relative; position:absolute; top: 50%; right:100%; visibility:hidden; opacity:0; transition: opacity 0.8s; } .tooltip .left { min-width:200px; margin-right: 11px; transform:translate(0, -50%); padding: 10px; color:#444444; background-color:#fff; font-weight:normal; font-size:13px; border-radius:4px; z-index:99999999; box-sizing:border-box; box-shadow:0 1px 8px rgba(0,0,0,0.3); h3 { color: #333; font-weight: normal; } } .tooltip:hover .left-space { visibility:visible; opacity:1; } .tooltip .left i { position:absolute; top: 50%; left: 100%; margin-top:-12px; width: 12px; height: 24px; overflow:hidden; } .tooltip .left i::after { content:''; position:absolute; width:12px; height:12px; left: 0; top:50%; transform:translate(-50%,-50%) rotate(-45deg); background-color:#fff; box-shadow: 0 1px 8px rgba(0,0,0,0.3); } .contact-info { h3 { font-size: 16px; text-align: center; margin-bottom: 1px; } strong { display: block; font-size: 18px; margin-bottom: 5px; text-align: center; } p { margin-bottom: 6px; } img { vertical-align: middle; } } .icon-weixin h3 { text-align: center; } /* Social Share */ /* Social Share */ @font-face{font-family:"socialshare";src:url("assets/fonts/iconfont.eot");src:url("../fonts/iconfont.eot?#iefix") format("embedded-opentype"),url("assets/fonts/iconfont.woff") format("woff"),url("assets/fonts/iconfont.ttf") format("truetype"),url("assets/fonts/iconfont.svg#iconfont") format("svg")}.social-share { font-family: "socialshare" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; -moz-osx-font-smoothing: grayscale } .social-share { position: relative; top: -4px; z-index: 9; } .social-share * { font-family: "socialshare" !important } .social-share .icon-tencent:before { content: "\f07a" } .social-share .icon-qq:before { content: "\f11a" } .social-share .icon-weibo:before { content: "\f12a" } .social-share .icon-wechat:before { content: "\f09a" } .social-share .icon-douban:before { content: "\f10a" } .social-share .icon-heart:before { content: "\f20a" } .social-share .icon-like:before { content: "\f00a" } .social-share .icon-qzone:before { content: "\f08a" } .social-share .icon-linkedin:before { content: "\f01a" } .social-share .icon-diandian:before { content: "\f05a" } .social-share .icon-facebook:before { content: "\f03a" } .social-share .icon-google:before { content: "\f04a" } .social-share .icon-twitter:before { content: "\f06a" } .social-share a { position: relative; text-decoration: none; margin: 4px 3px; display: inline-block; outline: none; &:last-child { margin-right: 0; } } .social-share .social-share-icon { position: relative; display: inline-block; width: 20px; height: 20px; font-size: 13px; border-radius: 4px; line-height: 20px; border: none; color: #fff; text-align: center; vertical-align: middle; //transition: background 0.6s ease-out 0s } .social-share .social-share-icon:hover { color: #fff; } .social-share .icon-weibo { color: #fff; background-color: #ff763b } .social-share .icon-weibo:hover { background: #ff763b } .social-share .icon-tencent { color: #fff; background-color: #56b6e7 } .social-share .icon-tencent:hover { background: #56b6e7 } .social-share .icon-qq { color: #fff; background-color: #56b6e7 } .social-share .icon-qq:hover { background: #56b6e7 } .social-share .icon-qzone { color: #fff; background-color: #FDBE3D } .social-share .icon-qzone:hover { background: #FDBE3D } .social-share .icon-douban { color: #fff; background-color: #33b045 } .social-share .icon-douban:hover { background: #33b045 } .social-share .icon-linkedin { color: #fff; background-color: #0077B5 } .social-share .icon-linkedin:hover { background: #0077B5 } .social-share .icon-facebook { color: #fff; background-color: #44619D } .social-share .icon-facebook:hover { background: #44619D } .social-share .icon-google { color: #fff; background-color: #db4437 } .social-share .icon-google:hover { background: #db4437 } .social-share .icon-twitter { color: #fff; background-color: #55acee } .social-share .icon-twitter:hover { background: #55acee } .social-share .icon-diandian { color: #fff; background-color: #307DCA } .social-share .icon-diandian:hover { background: #307DCA } .social-share .icon-wechat { position: relative; color: #fff; background-color: #7bc549 } .social-share .icon-wechat:hover { background: #7bc549 } .social-share .icon-wechat .wechat-qrcode { display: none; border: 1px solid #eee; position: absolute; //top: -205px; bottom: -202px; left: -84px; width: 200px; height: 192px; color: #666; font-size: 12px; text-align: center; background-color: #fff; box-shadow: 0 2px 10px #aaa; transition: all 200ms; z-index: 9999; -webkit-tansition: all 350ms; -moz-transition: all 350ms } .social-share .icon-wechat .wechat-qrcode.bottom { top: 40px; left: -84px } .social-share .icon-wechat .wechat-qrcode.bottom:after { display: none } .social-share .icon-wechat .wechat-qrcode h4 { font-weight: normal; height: 26px; line-height: 26px; font-size: 12px; background-color: #f3f3f3; margin: 0; padding: 0; color: #777 } .social-share .icon-wechat .wechat-qrcode .qrcode { width: 105px; margin: 10px auto } .social-share .icon-wechat .wechat-qrcode .qrcode table { margin: 0 !important } .social-share .icon-wechat .wechat-qrcode .help p { font-weight: normal; line-height: 16px; padding: 0; margin: 0 } .social-share .icon-wechat .wechat-qrcode:after { content: none; //content: ''; position: absolute; left: 50%; margin-left: -6px; bottom: -13px; width: 0; height: 0; border-width: 8px 6px 6px 6px; border-style: solid; border-color: #fff transparent transparent transparent } .social-share .icon-wechat:hover .wechat-qrcode { display: block } /* Mini Page */ body.page-template-page-latest-100, body.page-template-page-latest { background-color: #f0f0f0; } .mini-page { background-color: #fff; border-radius: 4px; width: 540px; margin: 30px auto; padding: 20px 30px 30px 30px; h4 { font-size: 16px; margin-bottom: 5px; a { color: #333; &:hover { color: $accent-1; } } } ul { margin-bottom: 20px; li { color: #999; list-style: none; line-height: 1.4; margin-bottom: 10px; overflow: hidden; position: relative; padding-left: 14px; padding-right: 80px; &:before { border-radius: 50%; background-color: #ccc; content: " "; display: inline-block; width: 5px; height: 5px; position: absolute; left: 0; top: 8px; } &:after { content: " "; clear: both; display: block; } a { color: #666; &:hover { color: $accent-1; text-decoration: underline; } } em { color: #aaa; font-size: 13px; font-style: normal; position: absolute; top: 0; right: 0; } } } } .mini-header { border-bottom: 1px solid #e9e9e9; margin-bottom: 20px; padding: 0 0 10px 0; } .mini-branding { text-align: center; img { width: auto; max-height: 70px; } h1 { font-size: 26px; } } .mini-footer { border-top: 1px solid #e9e9e9; color: #999; font-size: 13px; padding-top: 15px; text-align: center; a { color: #999; &:hover { color: #333; } } } /* Zhuanti */ .zhuanti-list { } .zhuanti-block { margin-bottom: 40px; a { text-decoration: none; } .zhuanti-title { margin: 0 0 12px 0; a, a:visited { color: #333; } } .zhuanti-desc { color: #999; font-size: 15px; line-height: 1.7; margin-bottom: 15px; } .thumbnail-link { display: block; line-height: 0.5; margin-bottom: 18px; } img { margin: 0; } ul { margin-bottom: 0; li { @extend .one-line; font-size: 16px; margin-bottom: 5px; padding-left: 14px; max-height: 27px; a, a:visited { color: #333; } } } } .sub-cats-block { border-top: none; margin: -1px 0 0 0; li.cat-block { border: 1px solid #e9e9e9; list-style: none; margin-bottom: 20px; a, a:visited { color: #333; } a:hover { color: #2266bb; } } .cat-header { background-color: #f9f9f9; border-bottom: 1px solid #e9e9e9; margin-bottom: 15px; padding: 8px 15px; &:hover { background-color: #f9f9f9; } } .cat-title { font-weight: bold; } .cat-more { float: right; font-size: 14px; color: #999; &:hover { color: #2266bb; } } ul.post-title { padding: 0 15px 15px 15px; li { @extend .one-line; display: inline-block; font-size: 0.95em; width: 50%; position: relative; padding-left: 13px; padding-right: 15px; &:before { content: " "; display: block; background-color: #ddd; border-radius: 50%; width: 5px; height: 5px; position: absolute; top: 11px; left: 0; } &:hover { &:before { background-color: #bbb; } } } } } й˵Ƶ