@charset "UTF-8"; /*紫色 #16953e*/ /*绿色 #3f51b5*/ /*粉色 #ff4081*/ /*黑色 #343642*/ /*橙色 #ff5722*/ @theme-color: @themeColor; @cover-color: @coverColor; @cover-title-color: @coverTitleColor; @theme-color-darken: darken(@theme-color, 5%); @theme-color-lighten: lighten(@theme-color, 5%); @bg-color: #FFF; @text-color: #333; /* 封面标题的字体颜色 */ .cover-title-color() when(@cover-title-color=0) { color: contrast(@cover-color, #333, #fff, 50%); } .cover-title-color() { color: @cover-title-color; } .box-shadow() { /* box-shadow: 0 1px 2px 0 rgba(0,0,0,.25); */ -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1); } html { font-size: 14px; font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; -ms-overflow-style: -ms-autohiding-scrollbar; /* font-family: -apple-system,BlinkMacSystemFont,"Lucida Grande","Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei","Noto Sans CJK SC","Source Han Sans CN",SimSun,sans-serif; */ font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif; line-height: 1.7; color: #333; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -ms-text-autospace: ideograph-numeric; } article, aside, footer, header, nav, section { display: block } h1 { margin: .67em 0; font-size: 2em } h2, h3, h4, h5, h6 { color: contrast(@bg-color, @theme-color, #333); margin: 50px 0px 20px 0px; } figcaption, figure, main { display: block } figure { margin: 1em 40px } hr { height: 0; box-sizing: content-box; overflow: visible } pre { font-family: monospace; font-size: 1em } a { background-color: transparent; -webkit-text-decoration-skip: objects } a:active, a:hover { outline-width: 0 } abbr[title] { text-decoration: underline; text-decoration: underline dotted; border-bottom: none } b, strong { font-weight: inherit } b, strong { font-weight: bolder } code, kbd, samp { font-family: monospace, monospace; font-size: 1em } dfn { font-style: italic } mark { color: #000; background-color: #ff0 } small { font-size: 80% } sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline } sub { bottom: -.25em } sup { top: -.5em } audio, video { display: inline-block } audio:not([controls]) { display: none; height: 0 } img { border-style: none } svg:not(:root) { overflow: hidden } button, input, optgroup, select, textarea { margin: 0; font-family: sans-serif; font-size: 100%; line-height: 1.15 } button, input { overflow: visible } button, select { text-transform: none } [type=reset], [type=submit], button, html [type=button] { -webkit-appearance: button } [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner { padding: 0; border-style: none } [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring { outline: 1px dotted thick; } fieldset { padding: .35em .625em .75em; margin: 0 2px; border: 1px solid silver } legend { display: table; max-width: 100%; box-sizing: border-box; padding: 0; color: inherit; white-space: normal } progress { display: inline-block; vertical-align: baseline } textarea { overflow: auto } input, textarea, select { appearance: none !important; -moz-appearance: none !important; outline: none !important; -moz-outline: none !important; box-shadow: none !important; -moz-box-shadow: none !important; } [type=checkbox], [type=radio] { box-sizing: border-box; padding: 0 } [type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { height: auto } [type=search] { -webkit-appearance: textfield; outline-offset: -2px } [type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration { -webkit-appearance: none } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit } details, menu { display: block } summary { display: list-item } canvas { display: inline-block } template { display: none } [hidden] { display: none } #catalog:before, #backtop:before, #footer .follow a:before, #get-sidebar:before, #m-panel .m-follow a:before, #search-form .search-submit, #search-form label, #site-menu .menu-item-has-children>a:after, #submit .icon, .mbtn, .nav-links .next:after, .nav-links .prev:before, .page-icon, .post-format:before, .post-navigation .arrow, .search-form .search-submit:before, .social-sharer .icon:before, .material-icons:before { display: inline-block; font-family: "Material Icons"; font-style: normal; font-weight: 400; line-height: 1; text-transform: none; letter-spacing: normal; word-wrap: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga" } #related-posts h3, #mobile-related-posts h3, .comments-title { margin: 1em 0; font-size: 40px; font-weight: 400; color: #222; text-align: center } a { color: @theme-color; text-decoration: none; -webkit-transition: color .2s; transition: color .2s } img { max-width: 90%; height: auto; vertical-align: middle } hr { height: 1px; margin: 1em 0; background-color: #ddd; border: 0 } embed, iframe, object, video { max-width: 100% } h1, h2, h3, h4, h5, h6 { line-height: 1.3 } p { margin: 0 0 1em } button, input, textarea { color: #333; border-radius: 0 } button:focus, input:focus, textarea:focus { outline: 0 } input[type=search] { -webkit-appearance: none } ::-webkit-input-placeholder { color: inherit; opacity: .5 } ::-moz-placeholder { color: inherit; opacity: .5 } :-ms-input-placeholder { color: inherit; opacity: .5 } ::placeholder { color: inherit; opacity: .5 } ::-ms-clear { display: none; } code, kbd, pre, samp { font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace; } code, kbd { padding: .2em .7em; font-size: 90% !important; background: #f7f7f7; border-radius: .2em; } pre { padding: 1em 1.5em; border-radius: .2em; } pre code { padding: 0; background: 0 0; } pre>:first-child { margin-top: 0; } pre>:last-child { margin-bottom: 0; } table { width: 100%; border-spacing: 0; border-collapse: collapse; } caption, td, th { padding: 5px 10px; } td, th { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } thead td, thead th { border-top: 0; border-bottom: 2px solid #ddd; } th { text-align: left; } tr.subheading { background-color: #f7f7f7; } tfoot { font-size: 85%; color: #999; } [tabindex], a, area, button, input, label, select, textarea { -ms-touch-action: manipulation; touch-action: manipulation } .logo-svg { vertical-align: top; fill: currentColor } @font-face { font-family: c7v5; font-style: normal; font-weight: 400; src: url(fonts/iconfont.eot); src: url(fonts/iconfont.eot?#iefix) format("embedded-opentype"), url(fonts/iconfont.woff) format("woff"), url(fonts/iconfont.ttf) format("truetype"), url(fonts/iconfont.svg#iconfont) format("svg") } .icon-page:after { content: "\E24D"; } .icon-search:after { content: "\E8B6"; } .icon-tag:after { content: "\E54E"; } .icon-category:after { content: "\E2C7"; } .icon-archive:after { content: "\E149"; } .icon-links:after { content: "\E1E2"; } .icon-post-format-aside:before { content: "\E873"; padding-bottom: 4px; margin-right: 2px !important; } .icon-post-format-image:before { content: "\E3B6"; } .icon-post-format-gallery:before { content: "\E413"; } .icon-post-format-quote:before { content: "\E244"; } .icon-post-format-chat:before { content: "\E0B7"; } .icon-post-format-audio:before { content: "\E3A1"; } .icon-post-format-video:before { content: "\E02C"; } .icon-post-format-link:before { content: "\E157"; } .icon-post-format-status:before { content: "\E625"; } .icon-weibo:before { content: "\e601"; } .icon-evernote:before { content: "\e600"; } .icon-yingxiang:before { content: "\e600"; } .icon-qzone:before { content: "\e602"; } .icon-qq:before { content: "\e604"; } .icon-wechat:before { content: "\e605"; } .icon-linkedin:before { content: "\e608"; } .icon-renren:before { content: "\e603"; } .icon-facebook:before { content: "\e606"; } .icon-flickr:before { content: "\e60b"; } .icon-twitter:before { content: "\e607"; } .icon-github:before { content: "\e60c"; } .icon-rss:before { content: "\e60a"; } .icon-dribbble:before { content: "\e60d"; } .icon-pingback:before { content: "\e60f"; } .icon-gplus:before { content: "\e609"; } .icon-douban:before { content: "\e60e"; } .icon-email:before { content: "\E0BE"; } .icon-webshare:before { content: "\22ef"; } .icon-paged:before { content: "\E2C7"; } .no-scroll { overflow: hidden; } .embed-responsive { position: relative; display: block; height: 0; padding: 0; overflow: hidden; } .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .embed-responsive-16by9 { padding-bottom: 56.25% } .embed-responsive-4by3 { padding-bottom: 75%; } #comments:after, #comments:before, #promo ul:after, #promo ul:before, .clearfix:after, .clearfix:before, .entry-footer:after, .entry-footer:before, .gallery:after, .gallery:before, .post-list .format-status .status-inner:after, .post-list .format-status .status-inner:before, .widget:after, .widget:before { display: table; content: ""; } #comments:after, #promo ul:after, .clearfix:after, .entry-footer:after, .gallery:after, .post-list .format-status .status-inner:after, .widget:after { clear: both; } .fadeIn { -webkit-animation: fadeIn .5s; animation: fadeIn .5s; } @-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fadeOut { -webkit-animation: fadeOut .5s; animation: fadeOut .5s } @-webkit-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .alignleft { float: left; margin: 1em 1em 1em 0; } .alignright { float: right; margin: 1em 0 1em 1em; } .aligncenter { display: block; margin: 1em auto; clear: both; } .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; } .screen-reader-text:focus { top: 5px; left: 5px; z-index: 100000; display: block; width: auto; height: auto; padding: 15px 23px 14px; clip: auto !important; font-size: 14px; font-size: .875rem; font-weight: 700; line-height: normal; color: #21759b; text-decoration: none; background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6); } img.emoji, img.wp-smiley { width: 1em; height: 1em; margin: 0 .07em; vertical-align: -.1em; } .wp-caption { max-width: 100%; margin: 1em auto; } .wp-caption img { display: block; margin: 35px auto; -webkit-box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35); box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35); } .wp-caption.alignleft { max-width: 520px; margin-top: 0; margin-right: 1em; margin-left: -160px } // #main .post .entry-content a img { // display: block; // margin: 35px auto; // -webkit-box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35); // box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35); // } @media (max-width: 1040px) { .wp-caption.alignleft { margin-left: 0 } } .wp-caption.alignright { max-width: 520px; margin-top: 0; margin-right: -160px; margin-left: 1em } @media (max-width: 1040px) { .wp-caption.alignright { margin-right: 0 } } .wp-caption.aligncenter { width: auto !important; max-width: none !important; -webkit-transition: .5s ease-out; transition: .5s ease-out } @media (min-width: 1920px) { .wp-caption.aligncenter { margin-right: auto; margin-left: auto; } } @supports (margin-left: calc((100vw - 700px - 50px) * -.5)) { .wp-caption.aligncenter { max-width: none !important; margin-right: calc((100vw - 700px - 50px) * -.5); margin-left: calc((100vw - 700px - 50px) * -.5) } } @supports (margin-left: calc((100vw - 700px - 50px) * -.5 + env(safe-area-inset-left))) { .wp-caption.aligncenter { margin-right: calc((100vw - 700px - 50px) * -.5 + env(safe-area-inset-right)); margin-left: calc((100vw - 700px - 50px) * -.5 + env(safe-area-inset-left)) } } .wp-caption-text { margin: .5em 0; font-size: 14px; line-height: 1.5; color: #666; text-align: center } .gallery { margin: 0 -2px 1em } .gallery-item { position: relative; float: left; margin: 0; overflow: hidden } .gallery-item .attachment-thumbnail { width: 100% } .gallery-columns-1 .gallery-item { width: 100% } .gallery-columns-2 .gallery-item { width: 50% } .gallery-columns-3 .gallery-item { width: 33.33% } .gallery-columns-4 .gallery-item { width: 25% } .gallery-columns-5 .gallery-item { width: 20% } .gallery-columns-6 .gallery-item { width: 16.66% } .gallery-columns-7 .gallery-item { width: 14.28% } .gallery-columns-8 .gallery-item { width: 12.5% } .gallery-columns-9 .gallery-item { width: 11.11% } .gallery-icon { margin: 2px } .gallery-caption { position: absolute; right: 2px; bottom: 2px; left: 2px; box-sizing: border-box; padding: 6px 8px; margin: 0; font-size: 12px; line-height: 1.5; color: #fff; text-align: left; pointer-events: none; background: #333; background-color: rgba(0, 0, 0, .7); opacity: 0; -webkit-transition: opacity .3s; transition: opacity .3s } .gallery-item:hover .gallery-caption { opacity: 1 } .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none } .container, .wp { margin-right: auto; margin-left: auto; clear: both } .wp { width: 700px } .container { width: 960px } #main { min-height: 500px; clear: both; /* padding-bottom: 25px; */ /* box-shadow: inset 0px 15px 10px -15px rgb(0, 0, 0); */ } .acme.single #main { padding-bottom: 0px; } #header { height: 0; color: #fff; background: @theme-color } #header a { color: #fff } #site-branding { display: none; padding: 100px 0; line-height: 1; text-align: center } #site-branding a { display: inline-block; padding: 10px } #logo.logo-svg { width: 120px; margin-bottom: 30px } #site-title { min-height: 1em; margin: 0 0 10px; font-size: 70px; font-weight: 400; line-height: 1.2 } #site-description { min-height: 1em; margin: 0; font-size: 30px; font-style: italic; line-height: 1 } #site-description:before { content: "- " } #site-description:after { content: " -" } #navbar { position: fixed; top: 0; left: 0; z-index: 99; width: 100%; height: 60px; padding-top: env(safe-area-inset-top); font-size: 16px; text-align: center; -webkit-transition: background-color .4s; transition: background-color .4s } #navbar .brand { float: left; width: 60px; height: 60px; margin: 0 auto } #navbar .brand .logo-svg { height: 36px; margin-top: 11px } #navbar .brand .logo-img img { height: 100% } #navbar .brand .logo-img .colored, #navbar .brand .logo-img .m { display: none } #navbar .brand:after { display: inline-block; font-size: 26px; line-height: 1em; vertical-align: middle } #navbar-placeholder { display: none; height: 60px } .admin-bar.home #navbar.pinned, .admin-bar:not(.home) #navbar { top: 32px } @media screen and (max-width: 600px) { .admin-bar.home #navbar.pinned, .admin-bar:not(.home) #navbar { top: 0 } } #nav { display: none; clear: none } #nav ul { padding: 0; margin: 0; list-style: none } #site-menu { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center } #site-menu>li { display: inline-block; height: 60px; overflow: hidden; -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; flex: auto } #site-menu>li>a { display: block; height: 60px; padding: 0 1em; line-height: 62px; color: #fff; color: contrast(@theme-color, #333); border-bottom: 4px solid #fff; -webkit-transition: .15s ease-in-out; transition: .15s ease-in-out } #site-menu>li:hover>a { height: 56px } #site-menu .menu-item-has-children { position: relative; overflow: visible !important } #site-menu .menu-item-has-children>a { position: relative; z-index: 2; min-width: 4em; border-bottom: 0 !important } #site-menu .menu-item-has-children>a:after { margin-left: 2px; vertical-align: middle; content: "\E313" } #site-menu .sub-menu { position: absolute; top: 0; left: 0; width: 100%; min-width: 6em; padding-top: 60px; padding-bottom: .5em; visibility: hidden; background: #fff; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); opacity: 0; -webkit-transition: .15s ease-in-out; transition: .15s ease-in-out } #site-menu .sub-menu a { display: block; padding: 0 1em; line-height: 40px; color: @theme-color; -webkit-transition: .15s ease-in-out; transition: .15s ease-in-out } #site-menu .sub-menu a:hover { color: #fff; background: @theme-color } #site-menu .sub-menu ul { display: none } #site-menu .menu-item-visible-tablet-down { display: none } #site-menu .menu-item-has-children.show>a, #site-menu .menu-item-has-children:hover>a { color: @theme-color } #site-menu .menu-item-has-children.show .sub-menu, #site-menu .menu-item-has-children:hover .sub-menu { visibility: visible; opacity: 1 } #site-menu .menu-item-has-children.hide>a { color: #fff } #site-menu .menu-item-has-children.hide .sub-menu { visibility: hidden; opacity: 0 } #search-form { position: absolute; top: 0; right: 0; display: none; height: 100% } #search-form label { float: left; width: 60px; height: 60px; font-size: 32px; line-height: 62px; cursor: pointer } #search-form label:before { content: "\E8B6" } #search-form .search-submit { display: none } #search-form .popular-tags { display: none; width: 70%; margin: 1em auto; font-size: 14px; color: #999; text-align: center } #search-form .popular-tags strong { font-weight: 400 } #search-form .popular-tags a { font-size: 1em !important; color: #999; white-space: nowrap } #search-form .popular-tags a:hover { color: #333 } #s { width: 1px; height: 30px; padding: 0; margin: 15px 0 0 -1px; font-size: 16px; color: #fff; background: 0 0; border: 0; border-bottom: 2px solid #fff; opacity: 0; -webkit-transition: .3s; transition: .3s } #s:focus { width: 200px; margin-right: 15px; opacity: 1 } #navbar.unpinned #search-form { display: block } #navbar.pinned { background: 0 0; -webkit-animation: navbarIn .4s; animation: navbarIn .4s } #navbar.pinned .logo { color: @theme-color } #navbar.pinned .logo .white { display: none } #navbar.pinned .logo .colored { display: block } .touch #navbar.pinned { -webkit-animation: none; animation: none } @-webkit-keyframes navbarIn { from { top: -60px } } @keyframes navbarIn { from { top: -60px } } #navbar:hover, .touch #navbar { background: @theme-color; background: fade(@theme-color, 97%); /** box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12); **/ } #navbar:hover .logo, .touch #navbar .logo { color: #fff } #navbar:hover .logo .white, .touch #navbar .logo .white { display: block } #navbar:hover .logo .colored, .touch #navbar .logo .colored { display: none } #navbar:hover #nav, #navbar:hover #search-form, .touch #nav, .touch #search-form { display: block } .mbtn { position: relative; z-index: 3; display: none; width: 50px; height: 50px; font-size: 30px; line-height: 50px; cursor: pointer } .mbtn-search { float: right } .mbtn-search:before { content: "\E8B6" } .mbtn-menu { float: left } .mbtn-menu:before { content: "\E5D2" } .navigation { margin: 50px auto; clear: both; color: #999; text-align: center; } .navigation a { color: #999; } .navigation a:hover { /* color: @theme-color; */ /* border-color: @theme-color; */ } .navigation .loading { display: inline-block; width: 16px; height: 16px; margin: 14px 0 24px; color: #fff; vertical-align: middle; border: 2px solid #ddd; border-top-color: @theme-color; border-radius: 50%; -webkit-animation: loading .7s ease-in-out infinite; animation: loading .7s ease-in-out infinite; } @-webkit-keyframes loading { to { -webkit-transform: rotate(360deg); transform: rotate(360deg) } } @keyframes loading { to { -webkit-transform: rotate(360deg); transform: rotate(360deg) } } .nav-links .page-numbers { display: inline-block; min-width: 40px; border: 2px solid transparent } .nav-links .current { border-color: #ddd } .nav-links .dots, .nav-links .next, .nav-links .prev { min-width: 0; border: 0 } .nav-links .next:after, .nav-links .prev:before { position: relative; top: -2px; font-size: 32px; vertical-align: middle } .nav-links .prev { margin-right: 5px } .nav-links .prev:before { content: "\E5CB" } .nav-links .next { margin-left: 5px } .nav-links .next:after { content: "\E5CC" } .loadmore { display: block; width: 90px; margin: 0 auto 50px; line-height: 35px; color: #999; text-align: center; border: 1px solid #ddd; border-radius: 24px; -webkit-transition: .2s; font-size: 14px; transition: .2s; &:hover { .box-shadow(); color: @theme-color; border-color: @theme-color; } } .page-indicator { position: relative; height: 0; margin-top: -50px; text-align: center } .page-indicator small { position: relative; top: -.5em; display: inline-block; padding: 0 1em; font-size: 14px; line-height: 1; color: #ccc; vertical-align: top; background: #fff } .posts-navigation .nav-links .next, .posts-navigation .nav-links .prev { padding: 0 2em } .posts-navigation .nav-links .page-number { color: #ccc } .posts-navigation { ul.pagination { border: 1px solid #e7eaf1; border-radius: 50px; background-color: #fff; padding: 0 8px; overflow: auto; box-shadow: 0 1px 3px rgb(0 37 55 / 6%); display: inline-flex; .box-shadow(); li { margin: 6px 2px; list-style: none; a { display: block; width: 34px; height: 34px; font-size: 16px; color: #a9b0bc; line-height: 34px; text-align: center; border-radius: 50px; cursor: pointer; &:hover { color: #8f98aa; background-color: #eef0f4; } &.active { color: #fff; background-color: @theme-color; } } } } } .pagination { font-size: 16px; line-height: 40px } .pagination a:hover { color: @theme-color; } .pagination a { color: #999; } .search-form .search-field { width: 100%; height: 56px; box-sizing: border-box; padding: 0 53px 0 10px; font-size: 16px; color: inherit; background: 0 0; border: 3px solid #ccc } .search-form .search-field:focus { border-color: @theme-color } .search-form .search-submit { position: absolute; top: 3px; right: 3px; width: 53px; height: 50px; padding: 0 0 0 3px; font-size: 36px; color: #ccc; background: 0 0; border: 0 } .search-form .search-submit:before { content: "\E8B6" } .search-form .search-submit:hover { color: #fff; background: @theme-color } .with-bg-color #comments { background-color: #eee; } #comments { padding-bottom: 40px; clear: both; // background: #eee; border-top: 7px solid #ddd } .comments-closed { margin: 40px 0; color: #666; text-align: center } .no-comments { padding: 100px 0; color: #999; text-align: center } #respond { margin-bottom: 20px; clear: both } #reply-title span { display: none } #cancel-comment-reply-link { position: relative; top: -5px; float: right; font-weight: 400 } #commentform { position: relative; margin-left: 100px; clear: both } #commentform :invalid { outline: 0 } #commentform .required { position: absolute; top: 13px; right: 6px; font-size: 22px; line-height: 1em; color: #f44336; pointer-events: none } #commentform.guest-must-log-in { margin-left: 0; background: #fff; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) } #commentform.guest-must-log-in .author-info { position: static; float: left } #commentform.guest-must-log-in .comment-form-main { overflow: hidden } #commentform.guest-must-log-in .must-log-in { margin-bottom: 0; line-height: 100px; text-align: center } .author-info { position: absolute; top: 0; left: -100px; z-index: 2; width: 100px; height: 100px; overflow: hidden; background: #f7f7f7; border-radius: 2px 0 0 2px } .author-info .avatar { width: 100%; height: 100% } .author-info .logged-in-as { position: absolute; right: 0; bottom: -30px; left: 0; padding: 2px; margin: 0; font-size: 12px; color: #fff; text-align: center; background: rgba(0, 0, 0, .6); -webkit-transition: bottom .3s ease-out; transition: bottom .3s ease-out } .author-info .logged-in-as a { color: #fff } .author-info:hover .logged-in-as { bottom: 0 } .comment-form-main { position: relative; margin-bottom: 10px } .comment-textarea-wrapper { padding-left: 100px; margin-bottom: 10px; margin-left: -100px; background: #fff; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) } .comment-form-comment { padding: 10px 10px 0 10px; margin: 0 } .comment-form-comment label { display: none } #comment { width: 100%; height: 60px; padding: 0; overflow: auto; line-height: 1.5; vertical-align: top; resize: none; border: 0 } #comment::-webkit-scrollbar { width: 5px } #comment::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .2); border-radius: 2px } #comment:disabled { color: #999; background: #fff } .comment-form-toolbar { position: relative; height: 20px; padding: 5px 7px } .comment-form-toolbar .icon-smilies { position: relative; top: -1px; width: 1em; height: 1em; font-size: 21px; color: #999; cursor: pointer } .comment-form-toolbar .icon-smilies:before { content: "\E24E" } .comment-smilies { position: absolute; top: 100%; left: 0; z-index: 1; display: none; width: 150px; padding: 5px; background: #fff; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; -webkit-animation: commentSmiliesIn .3s; animation: commentSmiliesIn .3s } .comment-smilies.out { -webkit-animation-name: commentSmiliesOut; animation-name: commentSmiliesOut; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards } .comment-smilies .emoji { display: inline-block; width: 1em; margin: 3px; font-size: 24px; line-height: 1; vertical-align: middle; cursor: pointer } @-webkit-keyframes commentSmiliesIn { from { opacity: 0; -webkit-transform: scale(.7); transform: scale(.7) } } @keyframes commentSmiliesIn { from { opacity: 0; -webkit-transform: scale(.7); transform: scale(.7) } } @-webkit-keyframes commentSmiliesOut { to { opacity: 0; -webkit-transform: scale(.7); transform: scale(.7) } } @keyframes commentSmiliesOut { to { opacity: 0; -webkit-transform: scale(.7); transform: scale(.7) } } .comment-form-fields { display: none; float: left; margin-bottom: 10px; background: #fff; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) } .comment-form-fields p { position: relative; float: left; margin-bottom: 0; border-left: 1px solid #eee } .comment-form-fields p:first-child { border-left: 0 } .comment-form-fields label { position: absolute; top: 0; left: 5px; display: none; padding: 0 5px; font-size: 14px; line-height: 38px; color: #999; cursor: text; -webkit-transition: .2s; transition: .2s } .no-placeholder .comment-form-fields label { display: block } .comment-form-fields .fill label { display: none } .comment-form-fields input { width: 150px; height: 38px; padding: 0 10px; background: 0 0; border: 0 } .comment-form-fields.in { -webkit-animation: fadeIn .3s; animation: fadeIn .3s } .comment-notes { display: none } .form-submit { margin: 0 } #submit { position: absolute; top: 71px; right: 20px; width: 56px; height: 56px; padding: 0; overflow: hidden; color: #fff; background: @theme-color; border: 0; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); -webkit-transition: .3s; transition: .3s } #submit .icon { margin-left: 3px; font-size: 28px; vertical-align: middle } #submit .icon:before { content: "\E163" } #submit:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 4px 20px rgba(0, 0, 0, .2) } #submit:active { background-color: @theme-color } #submit:disabled { cursor: wait; cursor: not-allowed } #submit.submitting .icon { -webkit-animation: submitting 2s ease-in-out infinite; animation: submitting 2s ease-in-out infinite } #submit.submitted .icon { -webkit-animation: submitted 2s ease-in-out; animation: submitted 2s ease-in-out } @-webkit-keyframes submitting { to { -webkit-transform: rotateX(360deg); transform: rotateX(360deg) } } @keyframes submitting { to { -webkit-transform: rotateX(360deg); transform: rotateX(360deg) } } @-webkit-keyframes submitted { 49% { opacity: 0; -webkit-transform: translateX(56px); transform: translateX(56px) } 51% { opacity: 0; -webkit-transform: translateX(-56px); transform: translateX(-56px) } to { opacity: 1; -webkit-transform: none; transform: none } } @keyframes submitted { 49% { opacity: 0; -webkit-transform: translateX(56px); transform: translateX(56px) } 51% { opacity: 0; -webkit-transform: translateX(-56px); transform: translateX(-56px) } to { opacity: 1; -webkit-transform: none; transform: none } } .comment-form-extra { margin-bottom: 10px; clear: both } #comment_mail_notify { margin-right: .3em } .comment-list { padding: 0; margin: 0 0 0 100px; list-style: none } .comment-list ol, .comment-list ul { padding: 0; margin: 0; list-style: none } .comment-list #commentform { margin-left: 40px } .comment-list .author-info { left: -40px; width: 40px; height: 40px } .comment-list .author-info .logged-in-as { display: none } .comment-list .comment-form-main { margin-left: 0 } .comment-list .comment-textarea-wrapper { padding-left: 0; margin-left: 0 } .comment-list .comment-form-fields input { width: 135px } .comment-list .depth-2 .comment-textarea-wrapper { margin-bottom: 0; background: 0 0; box-shadow: none } .comment-list .depth-2 .comment-form-main { background: #fff; border-radius: 0 2px 2px 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) } .comment-list .depth-2 .comment-form-fields { float: none; background: 0 0; box-shadow: none } .comment-list .depth-2 .comment-form-fields p { float: none; border-top: 1px solid #eee; border-left: 0 } .comment-list .depth-2 .comment-form-fields input { width: 100%; box-sizing: border-box } .comment-list .children { margin-left: 20px } .comment-list .children .comment-body { min-height: 0 } .comment-list .children .comment-author .avatar { left: -40px; width: 30px; height: 30px } .comment-list .children .children { margin-left: 20px } .comment-list .comment, .comment-list .pingback { border-top: 1px solid #ddd } .comment-list .pingback { font-style: italic; text-align: center } .comment-list .pingback .comment-body { min-height: 0; margin-top: 20px; margin-bottom: 20px } .comment-list .pingback .comment-type { overflow: hidden } .comment-list .pingback .comment-type:before { margin-right: 2px; font-family: c7v5; font-size: 22px; color: #65a606; vertical-align: -3px; content: "\e60f" } .comment-body { position: relative; min-height: 60px; margin: 15px 0 } .comment-meta { padding-top: 4px } .comment-author { display: inline } .comment-author .avatar { position: absolute; top: 4px; left: -65px; width: 50px; height: 50px; border-radius: 50%; -webkit-box-shadow: 0 0 0 0.2em rgba(0, 0, 0, .05); box-shadow: 0 0 0 0.2em rgba(0, 0, 0, .05); } .comment-author .fn { font-weight: 400 } .comment-author .fn a { color: #333 } .bypostauthor>.comment-body .comment-author:after { padding: 2px 4px; font-size: 12px; color: #fff; content: "博主"; background: #ccc; border-radius: 3px } .comment-metadata { display: inline; font-size: 12px; color: #999 } .comment-metadata:before { margin-left: .1em; font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; content: "·" } .comment-metadata a { margin-right: 1em; color: #999 } .comment-awaiting-moderation { float: right; margin: 0; font-size: 12px; color: #f44336 } .comment-content { word-wrap: break-word } .comment-content p { margin: .2em 0 } .comment-actions { position: absolute; top: 5px; right: 0; font-size: 12px; visibility: hidden; opacity: 0; -webkit-transition: .3s; transition: .3s } .comment-body:hover .comment-actions { visibility: visible; opacity: 1 } .comment-actions a { margin-left: .7em; color: #999 } .no-comments { padding: 30px 0 100px 0; } .no-comments:before { content: ''; display: block; width: 226px; height: 100px; margin: 50px auto 20px; background: url('./img/no_comments.png') no-repeat; background-size: contain; } .comment-reply-link:before { margin-right: .1em; font-size: 16px; vertical-align: middle; content: "\E15E" } .comment-navigation .loading { margin-bottom: 14px } #SOHUCS, #disqus_thread, #lv-container, .uyanframe { width: auto; max-width: 700px; padding: 20px 0; margin: 0 auto; clear: both } @media (max-width: 740px) { #SOHUCS, #disqus_thread, #lv-container, .uyanframe { margin-right: 20px; margin-left: 20px } } @media (max-width: 568px) { #SOHUCS, #disqus_thread, #lv-container, .uyanframe { margin-right: 15px; margin-left: 15px } } #breadcrumbs { padding: 1em 0; clear: both; font-size: 12px; color: #777; background: #222 } #breadcrumbs .container { padding: 0; margin-top: 0; margin-bottom: 0; list-style: none } #breadcrumbs li { display: inline } #breadcrumbs a { color: #999 } #get-sidebar { width: 40px; height: 0; margin: 0 auto; cursor: pointer } #get-sidebar:before { width: 40px; height: 40px; margin-top: -20px; font-size: 24px; line-height: 40px; color: #ccc; text-align: center; content: "\E87A"; background: #111; border-radius: 50%; -webkit-transition: .3s; transition: .3s; position: absolute; z-index: 1; } #get-sidebar:hover:before { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg) } #get-sidebar.loading:before { -webkit-animation: loading 1s ease infinite; animation: loading 1s ease infinite } #sidebar { clear: both; background: #111 } #sidebar .container { padding: 40px 0; overflow: hidden; border-bottom: 1px solid #333 } .widget { float: left; width: 220px; margin-left: 26px; font-size: 12px; color: #666 } .widget:first-child { margin-left: 0 } .widget:nth-child(n+5) { display: none } .widget .widget-title { margin: 0 0 1em; font-size: 18px; font-weight: 400; color: #ddd } .widget ol, .widget ul { padding: 0; margin: 0; list-style: none } .widget li { margin-bottom: .5em; line-height: 1.5 } .widget a { color: #666 } .widget a:hover { color: #999 } .has-3-widgets .widget { width: 300px } .widget_calendar td, .widget_calendar th { padding: 0; line-height: 2.6; border: 0 } .widget_calendar tbody { text-align: center } .widget_calendar tbody a { display: block; background: #222 } .widget_calendar tbody a:hover { color: #999 } .widget-simpletags a, .widget_tag_cloud a { float: left; padding: 2px 5px; margin: 0 3px 3px 0; font-size: 12px !important; white-space: nowrap; background: #040404 } .widget-simpletags a:hover, .widget_tag_cloud a:hover { background: #000 } .widget_categories li, .widget_links li { float: left; width: 50% } .widget_meta abbr { text-decoration: none } #footer { padding: 20px 0; clear: both; font-size: 12px; color: #666; background: #111 } #footer .follow { float: right; margin-top: 4px } #footer .follow a { float: left; margin-left: 10px } #footer .follow a:before { font-family: c7v5; font-size: 31px; vertical-align: middle } #footer .follow .icon-wechat { position: relative } #footer .follow .icon-wechat img { position: absolute; bottom: 100%; left: 50%; display: none; width: 200px; max-width: none; margin-bottom: 10px; margin-left: -100px } #footer .follow .icon-wechat:hover img { display: block } #footer .follow .icon-mail:before { font-family: "Material Icons"; content: "\E0BE" } #footer .follow .icon-rss:before { font-family: "Material Icons"; content: "\E0E5" } #footer .follow .icon-light:before { font-family: "Material Icons"; content: "\E3AC" } #footer .follow .icon-dark:before { font-family: "Material Icons"; content: "\E3A9" } #footer ul { padding: 0; margin: 0; list-style: none } #footer li { display: inline } #footer li+li:before { margin: 0 .3em; content: "\00B7" } #footer a { color: #666 } #footer a:hover { color: #999 } #backtop { position: fixed; right: 20px; bottom: 0; z-index: 3; visibility: hidden; opacity: 0; -webkit-transition: .2s; transition: .2s; z-index: 9000; } #backtop:before { width: 50px; height: 50px; font-size: 48px; line-height: 50px; color: #f7f7f7; text-align: center; vertical-align: middle; content: "\E316"; background: #999; background: rgba(70, 70, 70, .2); -webkit-transition: .2s; transition: .2s; } #backtop:hover:before { background: rgba(70, 70, 70, .4) } #backtop.show { bottom: 20px; visibility: visible; opacity: 1; } #m-panel { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 98; display: none; overflow: auto; -webkit-overflow-scrolling: touch; text-align: center; background: #fff; -webkit-animation: mPanelIn .4s; animation: mPanelIn .4s } #m-panel.out { -webkit-animation-name: mPanelOut; animation-name: mPanelOut; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards } #m-panel .m-nav { padding: 60px 0 0 0; padding-top: calc(60px + env(safe-area-inset-top)); margin: 0; overflow: hidden; list-style: none; background: @theme-color; } #m-panel .m-nav a { display: block; font-size: 24px; line-height: 2.5; color: #fff } #m-panel .m-nav .sub-menu a { font-size: 20px; } #m-panel .m-nav .sub-menu { list-style-type: none; background: #666; padding-left: 0; } #m-panel .m-nav a:hover { background: rgba(255, 255, 255, .2) } #m-panel .m-subnav { padding: 0; margin: 20px; list-style: none } #m-panel .m-subnav li { display: inline-block; margin: 3px 0 } #m-panel .m-subnav li:after { display: inline-block; margin: 0 .2em 0 .4em; color: #ddd; content: "|"; -webkit-transform: scale(1, .7); -ms-transform: scale(1, .7); transform: scale(1, .7) } #m-panel .m-subnav li:last-child:after { display: none } #m-panel .m-subnav a { display: inline; font-size: 14px; color: #666 } #m-panel .m-follow { margin-bottom: 25px } #m-panel .m-follow a { margin: 0 10px; color: #999 } #m-panel .m-follow a:before { font-family: c7v5; font-size: 31px; vertical-align: middle } #m-panel .m-follow .icon-mail:before { font-family: "Material Icons"; content: "\E0BE" } #m-panel .m-follow .icon-rss:before { font-family: "Material Icons"; content: "\E0E5" } #m-panel .m-follow .icon-light:before { font-family: "Material Icons"; content: "\E3AC" } #m-panel .m-follow .icon-dark:before { font-family: "Material Icons"; content: "\E3A9" } .show-mpanel #navbar-placeholder { display: block } .show-mpanel .mbtn-menu:before { content: "\E5CD" } @-webkit-keyframes mPanelIn { from { opacity: 0; -webkit-transform: translate3d(0, -50px, 0); transform: translate3d(0, -50px, 0) } } @keyframes mPanelIn { from { opacity: 0; -webkit-transform: translate3d(0, -50px, 0); transform: translate3d(0, -50px, 0) } } @-webkit-keyframes mPanelOut { to { opacity: 0; -webkit-transform: translate3d(0, -50px, 0); transform: translate3d(0, -50px, 0) } } @keyframes mPanelOut { to { opacity: 0; -webkit-transform: translate3d(0, -50px, 0); transform: translate3d(0, -50px, 0) } } .entry-header, .page-header { clear: both } .entry-header .inner, .page-header .inner { overflow: hidden } .touch .entry-header .inner, .touch .page-header .inner { padding-top: 50px; padding-top: calc(50px + env(safe-area-inset-top)) } .entry-header .wp, .page-header .wp { margin-top: 120px; margin-bottom: 120px } .post-cover img, a.post-cover { display: block } .entry-title, .page-title { margin: 0; font-size: 2.5em; font-weight: 700; line-height: 1.2 } .entry-meta .byline { display: none } .post-format:before { margin-right: 5px; font-size: 16px; vertical-align: middle } // .entry-content, // .entry-summary { // word-break: break-word; // word-wrap: break-word; // p img { // margin: auto; // display: block; // } // } // .entry-content>:first-child, // .entry-summary>:first-child { // margin-top: 0 // } // .entry-content>:last-child, // .entry-summary>:last-child { // margin-bottom: 0 // } // .entry-content h2, // .entry-summary h2 { // position: relative; // margin-top: 50px; // display: inline-block; // } // .entry-content h2:before, // .entry-summary h2:before { // content: ''; // position: absolute; // background: fade(@cover-color, 50%); // left: -10px; // right: -25px; // top: 16px; // height: 20px; // z-index: -1; // display: none; // } // .entry-content a, // .entry-summary a { // border-bottom-color: @theme-color; // -webkit-transition: border-bottom-color .3s; // transition: border-bottom-color .3s // } // .entry-content a:hover, // .entry-summary a:hover { // border-bottom-color: @theme-color-darken; // border-bottom: 1px solid @theme-color; // } // .entry-content blockquote, // .entry-summary blockquote { // padding: .2em 1em; // margin: 1em 1.5em; // border-left: 4px solid #ddd // } // .entry-content blockquote>:first-child, // .entry-summary blockquote>:first-child { // margin-top: 0 // } // .entry-content blockquote>:last-child, // .entry-summary blockquote>:last-child { // margin-bottom: 0 // } // .entry-content dt, // .entry-summary dt { // font-weight: 700 // } // .entry-content { // margin-bottom: 40px; // font-size: 16px // } // .entry-content pre { // margin-right: -20px; // margin-left: -20px; // overflow: auto // } .page-links { margin: 2em 0; clear: both; color: #999; text-align: center } .page-links a, .page-links>.page-number { display: inline-block; width: 2em; height: 2em; margin: 0 5px; line-height: 2em; background: #fff; border: 2px solid #ddd } .page-links a { color: #999; text-decoration: none; -webkit-transition: .2s; transition: .2s } .page-links a:hover { color: @theme-color; border-color: @theme-color } .page-links>.page-number { color: #fff; background: @theme-color; border-color: @theme-color } .entry-footer { margin-bottom: 40px } .format-quote blockquote { position: relative; padding: 0; margin: 0; font-family: Georgia, STFangsong, STSong, SimSun, serif; font-size: 24px; color: #333; border: 0 } .format-quote blockquote p { margin-bottom: .5em; font-style: italic } .format-quote blockquote footer { font-size: 14px; color: #666; text-align: right } .post-list .post { position: relative; width: 700px; padding-bottom: 50px; margin: 50px auto; clear: both } // .post-list .post:after { // position: absolute; // bottom: -1px; // left: 50%; // width: 150px; // margin-left: -75px; // content: ""; // border-bottom: 2px solid #ddd // } .post-list .post:last-child { padding-bottom: 0; border-bottom: 0; } .post-list .post:last-child:after { display: none; } .post-list .format-audio .entry-header, .post-list .format-gallery .entry-header, .post-list .format-image .entry-header, .post-list .format-video .entry-header { position: relative; } .post-list .entry-summary:first-child, .post-list .post-cover { /* margin-bottom: 1em; */ } .post-list .entry-title { font-size: 24px; font-weight: 400; } .post-list .entry-title a { color: #333; } .post-list .entry-title a:hover { color: @theme-color; } .format-audio .post-list .entry-title, .format-gallery .post-list .entry-title, .format-image .post-list .entry-title, .format-status .post-list .entry-title, .format-video .post-list .entry-title { margin-bottom: 0 } ; .post-list .entry-meta { margin-top: .5em; margin-bottom: .5em; color: #999; } .post-list .entry-meta a { color: #999 } .post-list .entry-meta .cats a, .post-list .entry-meta .post-format { color: @theme-color } .post-list .post-format { position: relative } .post-list .post-format:before { /* position: absolute; */ /* top: -47px; */ /* left: -67px; */ /* z-index: -1; */ /* width: 80px; */ /* height: 80px; */ /* font-size: 48px; */ /* line-height: 80px; */ color: @theme-color; text-align: center; pointer-events: none; /* background: @theme-color; */ /* background-color: rgba(26,188,156,.3); */ /* border-radius: 50% */ } .post-list .format-image .wp-caption-text { display: none } .post-list .format-aside { padding: 0 25px; box-sizing: border-box; } .post-list .format-status { width: auto; padding-bottom: 0; // background: #eeeeee7d; background: #0000000d; } .post-list .format-status:after { display: none } .post-list .format-status .status-inner { position: relative; width: 620px; padding: 0 30px; margin: 0 auto; border-left: 1px dotted #ccc; } .post-list .format-status .post-format { position: absolute; top: 30px; left: -10px; width: 20px; height: 20px } .post-list .format-status .post-format:before { position: static; width: auto; height: auto; padding-top: .1em; font-size: 20px; line-height: 1; color: #ccc; /* background: #eee */ } .post-list .format-status .post-format span, .post-list .format-status .post-format+.slash { display: none } .post-list .format-status .entry-summary { margin-top: 30px; margin-bottom: 0; font-size: 15px } .post-list .format-status .entry-meta { margin-bottom: 30px } .post-list .ads+.format-status, .post-list .post+.format-status { margin-top: -51px } .post pre { margin-top: 0px; margin-bottom: 1em; } code { padding: 2px 4px; font-size: 90%; color: #c7254e; background-color: #f9f2f4; border-radius: 4px; } kbd { color: #fff; background-color: #333; border-radius: 3px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); } .entry-summary { /* color: #333 */ } .single .entry-header { margin-bottom: 80px; background-position-x: 50%; background-position-y: center; background-size: cover; .cover-title-color(); } .single .entry-header .inner { background: @cover-color; -webkit-transition: background-color .5s; transition: background-color .5s } .single .entry-header .wp { margin-top: 150px; margin-bottom: 150px } .single .entry-header.light-bg .entry-meta, .single .entry-header.light-bg .entry-meta a, .single .entry-header.light-bg .entry-title { color: #333; -webkit-transition: color .5s; transition: color .5s } .single .entry-header.light-bg .entry-meta { color: rgba(51, 51, 51, .7) } .single .entry-header.light-bg .entry-meta a { color: rgba(51, 51, 51, .7) } .single .entry-header.light-bg .entry-meta a:hover { color: #333 } .single .entry-title { margin-bottom: 10px } .single #main .entry-meta { .cover-title-color(); } .single #main .entry-meta .slash { margin: 0 .5em } .single #main .entry-meta a { .cover-title-color(); } .single #main .entry-meta a:hover { color: #fff; } .single .post-cover { position: relative; margin-bottom: 30px; box-shadow: 0 0 0 7px #fff } .single .has-post-cover .entry-header { margin-bottom: -110px } .single .has-post-cover .entry-header .inner { /* -webkit-backdrop-filter: blur(10px); */ /* backdrop-filter: blur(10px); */ } .single .has-post-cover .entry-header .wp { margin-bottom: 260px; } .tag-links { float: left; margin-top: 3px; } .tag-links a { position: relative; display: inline-block; padding: 0 7px 0 9px; margin: 0 10px .5em 0px; font-size: 12px; line-height: 31px; color: @theme-color; background: fade(@theme-color, 10%); // background: lighten(@theme-color, 45%); -webkit-transition: none; transition: none; border-radius: 100px; overflow: hidden; margin-bottom: 10px; padding: 0 12px; font-size: 14px; height: 31px; transition: 0.3s; min-width: 20px; text-align: center; } .tag-links a:hover { color: #fff; background: @theme-color; } /** .tag-links a:hover:before { border-right-color: @theme-color } .tag-links a:before { position: absolute; top: 0; left: -12px; width: 0; height: 0; content: ""; border-top: 12px solid transparent; border-right: 12px solid #ddd; border-bottom: 12px solid transparent } .tag-links a:after { position: absolute; top: 9px; left: -2px; width: 5px; height: 5px; content: ""; background-color: #fff; border-radius: 50% } **/ .post-navigation { display: table; width: 100%; margin-top: 40px; margin-bottom: 45px; overflow: hidden; text-align: left; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd } .post-navigation a { position: relative; display: table-cell; width: 50%; padding: 50px 0; color: #666; vertical-align: middle } .post-navigation a:hover .arrow, .post-navigation a:hover strong { color: #333 } .post-navigation strong { font-size: 20px; font-weight: 400; line-height: 1.5 } .post-navigation .text { display: none; color: #999 } .post-navigation .arrow { position: absolute; top: 50%; width: 1em; height: 1em; margin-top: -.5em; font-size: 48px; color: #ddd } .post-navigation .prev { padding-right: 30px; padding-left: 65px } .post-navigation .prev .arrow { left: 10px } .post-navigation .prev .arrow:before { content: "\E5CB" } .post-navigation .next { padding-right: 65px; padding-left: 30px; text-align: right } .post-navigation .next .arrow { right: 10px } .post-navigation .next .arrow:before { content: "\E5CC" } .page-header, body.page .entry-header { overflow: hidden; color: #fff; text-align: center; background: url(img/headerbg.svg) repeat fixed 50%; background-size: cover } .page-header .inner, body.page .entry-header .inner { background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .5) 0, transparent 80%); background-image: linear-gradient(to top, rgba(0, 0, 0, .5) 0, transparent 80%) } .os-ios .page-header, .os-ios body.page .entry-header { background-attachment: scroll } .author-avatar, .page-icon { display: inline-block; width: 150px; height: 150px; margin-bottom: 60px; font-size: 96px; line-height: 150px; color: #fff; background: @theme-color; background: fade(@theme-color, 70%); border-radius: 50% } .page-title, body.page .entry-title { line-height: 1; text-shadow: 0 2px 5px rgba(0, 0, 0, .2); text-shadow: 0 2px 5px rgba(51, 51, 51, 0.5); } .page-description { margin-top: 1em; font-size: 16px; text-shadow: 0 1px 3px rgba(0, 0, 0, .2); text-shadow: 0 2px 5px rgba(51, 51, 51, 0.5); } body.page .entry-content { margin-top: 50px; margin-bottom: 50px } .no-results { margin-top: 200px; margin-bottom: 200px; text-align: center } .home #header { height: auto; background: url(img/headerbg.svg) repeat 50% 0; background-size: cover } .home #site-branding { display: block } .home #navbar.pinned+#navbar-placeholder { display: block } .home #navbar.unpinned { position: relative; background: 0 0; background: rgba(0, 0, 0, .1); background: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, .5)); background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .5)) } .home #navbar.unpinned .brand { display: none } .home #navbar.unpinned .mbtn-menu { width: 50px } .home #navbar.unpinned .mbtn-menu:before { margin-left: 0 } .home #navbar.unpinned #nav { display: block } .home #navbar.unpinned #nav>ul>li>a { border-bottom-color: @theme-color } .home .post.sticky .entry-title { position: relative } .home .post.sticky .entry-title:before { position: absolute; top: .4em; left: -3.5em; padding: .2em .4em; font-size: 14px; color: #fff; content: "置顶"; background: @theme-color } .home.show-mpanel #navbar.unpinned { position: fixed; background: @theme-color } .home.show-mpanel #navbar.unpinned .brand { display: block } #promo { padding: 30px 0; clear: both; text-align: center; background: #eee } #promo ul { padding: 0; margin: 0; list-style: none } #promo li { float: left; width: 23%; max-width: 220px; margin: 0 1% } #promo a { display: inline-block; overflow: hidden; color: #333; background: #fff; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) } #promo a:hover { color: @theme-color } #promo img { width: 100% } #promo span { display: block; margin: 7px 9px; font-size: 12px; text-align: left } .author .author-avatar .avatar { width: 100%; height: 100%; vertical-align: top; border-radius: 50%; } .page-template-page-full-width-php .entry-content { width: auto; } .page-template-page-links-php .entry-content { width: auto; } .page-template-page-links-php .entry-content h3 { margin-top: 4em; text-align: center; } #links { max-width: 1366px; margin: 0 auto; text-align: center; } #links .linkcat { clear: both } #links .blogroll { padding: 0; margin: 0; overflow: hidden; list-style: none } #links .blogroll li { position: relative; float: left; width: 20% } #links .blogroll li:after { position: absolute; top: 50%; right: 0; height: 40px; margin-top: -20px; content: ""; border-left: 1px solid #ddd } #links .blogroll li:nth-child(5n):after { display: none } #links .blogroll a { display: block; padding: 40px 0; margin: 0 1em; text-align: center; border-bottom: 0 } #links .blogroll a:hover { color: #fff; background: @theme-color } #links .blogroll a:hover .name { color: #fff } #links .blogroll a:hover .domain { color: #fff; color: rgba(255, 255, 255, .6) } #links .blogroll .domain, #links .blogroll .name { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } #links .blogroll .name { font-size: 22px; font-weight: 400; line-height: 1.2; color: #222 } #links .blogroll .domain { margin-bottom: 5px; color: #999 } #links .blogroll .favicon { width: 16px; height: 16px } .error404 { text-align: center } .error404 #main { height: 100%; color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, .1); background: #483c6b url(img/headerbg_home.jpg) repeat 50% 0; background-size: cover } .error404 .logo-link { position: absolute; top: 0; left: 0; color: #fff } .error404 .logo-link .logo-svg { height: 36px; margin: 13px } .error404-box { position: absolute; top: 50%; left: 50%; width: 420px; height: 300px; margin: -150px 0 0 -210px } .error404-title { margin: 0; font: 250px/1 sans-serif; color: #fff; text-shadow: 5px 5px 0 rgba(0, 0, 0, .1) } .error404-desc { margin: 0; font-size: 24px; color: rgba(255, 255, 255, .7) } .error404-desc a { padding-bottom: 2px; color: #fff; border-bottom: 2px solid #fff; opacity: .7; -webkit-transition: opacity .3s; transition: opacity .3s } .error404-desc a:hover { opacity: 1 } .ads { text-align: center } .ads-l { position: relative; width: 700px; max-width: 100%; padding-bottom: 50px; margin: 50px auto; clear: both } .ads-l:after { position: absolute; bottom: -1px; left: 50%; width: 150px; margin-left: -75px; content: ""; border-bottom: 2px solid #ddd } .ads-l:last-child { padding-bottom: 0; border-bottom: 0 } .ads-l:last-child:after { display: none } .ads-comments, .ads-post-btm, .ads-post-top { margin: 40px 0 } .ads-header { margin-top: 40px } .ads-footer { padding-bottom: 40px } .single .ads-footer { background: #eee } .adsbygoogle { min-width: 320px; max-width: 728px; max-height: 100px; margin-right: -14px; margin-left: -14px; overflow: hidden } #browsehappy { padding: .8em 0; font-family: arial; color: #aa6800; text-align: center; background: #fff7d3; border-bottom: 1px solid #ddd } #browsehappy a { padding: 4px; color: #008dfd } #browsehappy a:hover { text-decoration: underline } .social-sharer { float: right; text-align: center } .social-sharer .icon { display: inline-block; width: 30px; height: 30px; margin-left: 10px; font-size: 18px; line-height: 31px; vertical-align: middle; border: 1px solid currentColor; border-radius: 50%; -webkit-transition: .3s; transition: .3s } .social-sharer .icon:before { font-family: c7v5 } .social-sharer .icon:hover { color: #fff } .social-sharer .icon-weibo { color: #e6162d; border-color: #e6162d } .social-sharer .icon-weibo:hover { background-color: #e6162d } .social-sharer .icon-qzone { color: #f3b73d; border-color: #f3b73d } .social-sharer .icon-qzone:hover { background-color: #f3b73d } .social-sharer .icon-renren { color: #0070ce; border-color: #0070ce } .social-sharer .icon-renren:hover { background-color: #0070ce } .social-sharer .icon-qq { color: #28a8e2; border-color: #28a8e2 } .social-sharer .icon-qq:hover { background-color: #28a8e2 } .social-sharer .icon-wechat { color: #0cc417; border-color: #0cc417 } .social-sharer .icon-wechat:hover { background-color: #0cc417 } .social-sharer .icon-facebook { color: #3b5999; border-color: #3b5999 } .social-sharer .icon-facebook:hover { background-color: #3b5999 } .social-sharer .icon-twitter { color: #1da1f2; border-color: #1da1f2 } .social-sharer .icon-twitter:hover { background-color: #1da1f2 } .social-sharer .icon-linkedin { color: #0077b6; border-color: #0077b6 } .social-sharer .icon-linkedin:hover { background-color: #0077b6 } .social-sharer .icon-gplus { color: #dd4b39; border-color: #dd4b39 } .social-sharer .icon-gplus:hover { background-color: #dd4b39 } .social-sharer .icon-evernote { color: #79c13a; border-color: #79c13a } .social-sharer .icon-evernote:hover { background-color: #79c13a } .social-sharer .icon-yingxiang { color: #79c13a; border-color: #79c13a } .social-sharer .icon-yingxiang:hover { background-color: #79c13a } .social-sharer .icon-douban { color: #071; border-color: #071 } .social-sharer .icon-douban:hover { background-color: #071 } .social-sharer .icon-email { color: #1c9ff7; border-color: #1c9ff7 } .social-sharer .icon-email:hover { background-color: #1c9ff7 } .social-sharer .icon-webshare { color: @theme-color; border-color: @theme-color } .social-sharer .icon-webshare:hover { background-color: @theme-color } .social-sharer .qrcode-box { position: absolute; bottom: 100%; left: -115px; width: 260px; padding: 20px 0; margin-bottom: 20px; font-size: 14px; text-align: center; cursor: default; visibility: hidden; background: #fff; border-radius: 3px; box-shadow: 0 10px 50px rgba(0, 0, 0, .5); opacity: 0; -webkit-transition: .3s; transition: .3s; -webkit-transform: scale(.5); -ms-transform: scale(.5); transform: scale(.5); -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100% } .social-sharer .qrcode-box:after { position: absolute; bottom: -20px; left: 50%; width: 0; height: 0; margin-left: -10px; content: ""; border: 10px solid transparent; border-top-color: #fff } .social-sharer .qrcode-box h4 { margin: 0; font-size: 1em; color: #333 } .social-sharer .qrcode-box img { /* display: block; */ width: 200px; height: 200px; margin: 10px 0; } .social-sharer .qrcode-box p { margin: 0; line-height: 1; color: #666 } .social-sharer .icon-wechat { position: relative } .social-sharer .icon-wechat:hover .qrcode-box { visibility: visible; opacity: 1; -webkit-transform: none; -ms-transform: none; transform: none } .social-sharer .icon-email:before { font-family: "Material Icons"; line-height: 31px } .tip-box { margin: 2em 0; clear: both; text-align: center } .tip-button { position: relative; display: inline-block; padding: 0 1.5em; margin: 0 auto 10px; font-size: 18px; font-weight: 700; line-height: 44px; color: #fff; cursor: pointer; background: #f36; border-radius: 22px } .tip-button:hover .tip-popover { visibility: visible; opacity: 1; -webkit-transform: none; -ms-transform: none; transform: none } .tip-popover { position: absolute; bottom: 100%; left: -115px; width: 300px; padding: 10px; margin-bottom: 20px; font-size: 14px; font-weight: 400; line-height: 1em; color: #333; text-align: center; cursor: default; visibility: hidden; background: #fff; border-radius: 3px; box-shadow: 0 10px 50px rgba(0, 0, 0, .5); opacity: 0; -webkit-transition: .3s; transition: .3s; -webkit-transform: scale(.5); -ms-transform: scale(.5); transform: scale(.5); -webkit-transform-origin: 50% 100%; -ms-transform-origin: 50% 100%; transform-origin: 50% 100% } .tip-popover:after { position: absolute; bottom: -20px; left: 50%; width: 0; height: 0; margin-left: -10px; content: ""; border: 10px solid transparent; border-top-color: #fff } .tip-popover div { float: left; width: 50% } .tip-popover img { width: 130px; margin: 10px } .tip-popover span { display: block; margin-bottom: 10px } .tip-desc { color: #777 } #related-posts { clear: both; } #related-posts .related-posts-body { overflow: auto; // background: @theme-color; background: #F3F3F3; -webkit-transition: .6s; transition: .6s } #related-posts ul { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; max-width: 1350px; padding: 0; margin: 0 auto; list-style: none; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; margin: 32px auto; @related-post-item-width: 280px; &.size-1 { min-width: (@related-post-item-width); } &.size-2 { min-width: 2 * (@related-post-item-width); } &.size-3 { min-width: 3 * (@related-post-item-width); } &.size-4 { min-width: 4 * (@related-post-item-width); } &.size-5 { min-width: 5 * (@related-post-item-width); } } #related-posts .post-item { position: relative; display: block; height: 200px; width: 245px; min-width: 245px; background: #fff; border-radius: 5px; overflow: hidden; text-decoration: none; margin: 0 10px; // background: @theme-color; -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s; .box-shadow(); &:hover { -webkit-transform: scale(1.04); // transform: scale(1.04); -webkit-transform: translate3d(0, -3px, 0); transform: translate3d(0, -3px, 0); box-shadow: 0 10px 15px -4px rgba(0, 0, 0, 0.15); } .post-item-image { height: 100px; width: 245px; max-width: 100%; object-fit: cover; border-top-left-radius: 5px; border-top-right-radius: 5px; } .post-item-title { line-height: 22px; margin: 12px; display: -webkit-box; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; min-width: 225px; color: #121212; } .post-item-summary { line-height: 20px; margin: 8px 12px; max-height: 118px; display: -webkit-box; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 6; -webkit-box-orient: vertical; color: #121212; } .post-item-footer { line-height: 20px; position: absolute; bottom: 12px; left: 12px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; width: 100%; font-size: 14px; color: #8590a6; } } #mobile-related-posts { display: none; padding: 0 30px; ul { padding: 0; } li { list-style-type:none; } } #mobile-related-posts .post-item { border-width: .33333px; border-bottom: 1px solid #ebebeb; display: -webkit-box; display: -ms-flexbox; display: flex; position: relative; .post-item-description { -webkit-box-flex: 1; -ms-flex: 1 1; flex: 1 1; width: 54%; margin: 17.5px 10px 17.5px 0; } .post-item-image { overflow: hidden; object-fit: cover; border-radius: 4px; vertical-align: top; width: 113px; height: 77px; margin: 16px auto 16px 10px; } .post-item-title { display: -webkit-box; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 17px; line-height: 1.5; color: #121212; font-weight: 500; } .post-item-summary { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px 0; line-height: 18.5px; font-size: 14px; color: #444; } .post-item-footer { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 4px; font-size: 13px; color: #999; } } .yarpp-related+#comments { border-top: 0 } #newsletter { background: #eee; } #newsletter .envelope { padding-top: 10px; background: #fff url(img/newsletter_border.png) repeat-x 2px 0; background: #fff; border-radius: 2px 2px 0 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); -webkit-transition: background-position .3s; transition: background-position .3s } #newsletter .envelope:hover { background-position: -124px 0 } #newsletter .inner { padding: 20px; overflow: hidden; background: url(img/newsletter_poststamp.png) no-repeat 320px 2px } #newsletter .subscribe { float: left; width: 400px } #newsletter .subscribe .title { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.4 } #newsletter .subscribe .desc { display: block; margin: .6em 0 1em; font-size: 1em; color: #999 } #newsletter .subscribe .email { float: left; width: 280px; height: 40px; padding: 0 10px; font-size: 20px; background: #f7f7f7; border: 0; border-bottom: 3px solid #eee } #newsletter .subscribe .submit { width: 100px; height: 40px; box-sizing: content-box; padding: 0; font-size: 20px; color: #fff; background: #2ecc71; border: 0; border-bottom: 3px solid #27ae60 } #newsletter .subscribe .submit:focus { background-color: #27ae60; border-top: 3px solid #239c56; border-bottom: 0 } #newsletter .promo { position: relative; float: right; width: 220px } #newsletter .promo:before { position: absolute; top: 12px; left: -20px; display: block; height: 100px; content: ""; border-left: 1px solid #ddd } #newsletter .slides { position: relative; width: 220px; height: 110px; margin-bottom: 7px; overflow: hidden } #newsletter .slides .list { position: relative; left: 0; width: 1100px; padding: 0; margin: 0; list-style: none; -webkit-transition: left .2s ease-out; transition: left .2s ease-out } #newsletter .slides .item { float: left; width: 220px; height: 110px } #newsletter .slides-nav { font-size: 0; text-align: center } #newsletter .slides-nav span { display: inline-block; width: 12px; height: 4px; margin: 0 2px; cursor: pointer; background: #ddd } #newsletter .slides-nav .current { background: @theme-color } #newsletter.no-slides .inner { background-position: 580px 2px } #newsletter.no-slides .subscribe { float: none; width: auto } @supports (background-image: -webkit-repeating-linear-gradient(45deg, blue, red)) or (background-image:repeating-linear-gradient(45deg, blue, red)) { #newsletter .envelope { background: #fff repeat-x 7px 0; background-image: -webkit-repeating-linear-gradient(135deg, #4882ce, #4882ce 20px, #fff 20px, #fff 35px, #eb1b2e 35px, #eb1b2e 55px, #fff 55px, #fff 70px); background-image: repeating-linear-gradient(-45deg, #4882ce, #4882ce 20px, #fff 20px, #fff 35px, #eb1b2e 35px, #eb1b2e 55px, #fff 55px, #fff 70px); background-size: 100% 10px } #newsletter .envelope:hover { background-position: -50px 0 } } @media only screen and (min-device-width: 375px) and (max-device-width:812px) and (-webkit-min-device-pixel-ratio:3) and (orientation:landscape) { .ads-l, .container, .post-list .post, .wp { margin-right: max(20px, env(safe-area-inset-right)); margin-left: max(20px, env(safe-area-inset-left)) } } @media (max-width: 1024px) { .container { width: auto; margin-right: 20px; margin-left: 20px } #navbar.unpinned .mbtn-search, #navbar:hover .mbtn-search, .touch .mbtn-search { display: block } #navbar.unpinned #search-form, #navbar:hover #search-form, .touch #search-form { display: none } #search-form { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; background: rgba(255, 255, 255, .95); -webkit-animation: fadeIn .5s; animation: fadeIn .5s } #search-form.out { -webkit-animation: fadeOut .5s forwards; animation: fadeOut .5s forwards } #search-form label { display: none } #search-form .popular-tags { display: block } #s { width: 70% !important; height: 1.6em; padding-right: .3em; padding-left: .3em; margin-top: 40%; margin-top: 40vh; margin-right: 0 !important; font-size: 1.4em; color: #333; border-bottom-color: @theme-color; opacity: 1 } .widget { width: 31% !important; margin-right: 2%; margin-left: 0 } .widget:nth-child(n+4) { display: none } #links .blogroll li { width: 25% } #links .blogroll li:nth-child(4n):after { display: none } #links .blogroll li:nth-child(5n):after { display: block } } @media (max-width: 960px) { #links .blogroll li { width: 33.3% } #links .blogroll li:nth-child(3n):after { display: none } #links .blogroll li:nth-child(4n):after { display: block } #links .blogroll a { padding: 30px 0 } #links .blogroll .name { font-size: 20px } } @media (max-width: 768px) { #site-menu>li>a { padding-right: .2em; padding-left: .2em } #site-menu .menu-item-hidden-tablet-up { display: none } #site-menu .menu-item-visible-tablet-down { display: block } } @media (max-width: 740px) { .ads-l, .post-list .post, .wp { width: auto; margin-right: 20px; margin-left: 20px } .adsbygoogle { margin-right: -20px; margin-left: -20px } .post-list .format-status { margin-right: 0; margin-left: 0 } .post-list .format-status .status-inner { width: auto; padding-right: 0; margin: 0 40px } #newsletter { display: none } #related-posts { display: none; } #mobile-related-posts { display: block; } } @media (max-width: 568px) { #backtop, #breadcrumbs, #footer .follow, #promo, #site-menu, .ads-l:after, .comment-reply-login, .format-chat .entry-summary, .format-standard .entry-summary, .no-comments, .post-list .post:after, .post-navigation .arrow, .posts-navigation .nav-links { display: none !important } .ads-l, .container, .post-list .post, .wp { margin-right: 15px; margin-left: 15px } @supports (margin-left: max(15px, env(safe-area-inset-left))) { .ads-l, .container, .post-list .post, .wp { margin-right: max(15px, env(safe-area-inset-right)); margin-left: max(15px, env(safe-area-inset-left)) } } .ads-comments, .ads-post-btm, .ads-post-top { margin: 15px 0 } .adsbygoogle { margin-right: 0; margin-left: 0 } #site-branding { padding: 60px 0 } #logo.logo-svg { width: 70px; margin-bottom: 15px } #logo.logo-img { width: 150px } #site-title { margin-bottom: 5px; font-size: 44px } #site-description { font-size: 18px } #navbar { height: 50px; background: @theme-color; -webkit-animation: none !important; animation: none !important } #navbar .brand { display: inline-block; float: none; width: auto; height: 50px; padding-right: 10px; padding-left: 10px; line-height: 50px; white-space: nowrap } #navbar .brand .logo-svg { height: 28px; margin-top: 11px; margin-right: 4px; color: #fff } #navbar .brand .logo-img { height: 100% } #navbar .brand-svg:after { content: attr(title) } #navbar .brand-img .logo-img .colored, #navbar .brand-img .logo-img .white { display: none } #navbar .brand-img .logo-img .m { display: block } #navbar.pinned { background: @theme-color } #navbar-placeholder { height: 50px } .mbtn-menu, .mbtn-search { display: block } #footer { text-align: center } .navigation { margin: 20px 0 } .nav-links { height: 44px } .nav-links .page-numbers { display: none } .nav-links .current, .nav-links .next, .nav-links .prev { display: inline-block } .nav-links .current { position: absolute; left: 50%; color: #ccc; border: 0; -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0) } .nav-links .prev { float: left } .nav-links .next { float: right } .page-indicator { margin-top: -20px } .home .post.sticky .entry-title:before { position: static; margin-right: .3em; font-size: 12px; vertical-align: 3px } .comment-navigation, .posts-navigation { height: 44px } .loadmore { width: 120px; margin-top: 2px; margin-bottom: 2px; line-height: 40px; border-width: 1px; } .wp-caption { width: auto !important; max-width: none; margin-right: -15px !important; margin-left: -15px !important; } .ads-l, .post-list .post { padding-bottom: 20px; margin-top: 20px; margin-bottom: 20px; // border-bottom: 1px solid #ddd; } .post-list .entry-title, .post-list .format-quote blockquote { font-size: 20px; } .post-list .entry-meta { margin-bottom: 0; } .post-list .post-format:before { position: static; width: 16px; height: 16px; margin-right: 3px; font-size: 12px; line-height: 16px; /* background: @theme-color */ } .post-list .format-status { padding-bottom: 0; margin-right: 0; margin-left: 0; border-bottom: none; } .post-list .format-status .post-format { top: 23px } .post-list .format-status .status-inner { padding-left: 25px; margin: 0 30px; } .post-list .format-status .entry-summary { margin-top: 20px; } .post-list .format-status .entry-meta { margin-bottom: 20px; } .post-list .ads+.format-status, .post-list .post+.format-status { margin-top: -21px; } .single .entry-header { margin-bottom: 30px; } .single .entry-header .inner { background: @cover-color; } .single .entry-header .wp { margin-top: 70px; margin-bottom: 80px; } .single .has-post-cover .entry-header { margin-bottom: -55px; } .single .has-post-cover .entry-header .wp { margin-bottom: 135px; } .single .post-cover { margin-bottom: 20px; box-shadow: 0 0 0 5px #fff; } .single .entry-meta .slash { margin: 0 3px; } .entry-header .inner, .page-header .inner { padding-top: 50px; padding-top: calc(50px + env(safe-area-inset-top)); } .entry-title, .page-title { font-size: 2em; } .entry-footer { margin-bottom: 20px; } .tag-links { display: block; float: none; margin-bottom: 20px; } .social-sharer { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; float: none; text-align: center; -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } .social-sharer .icon { margin: 0 3px; } .post-navigation { display: block; border-bottom: 0; } .post-navigation .next, .post-navigation .prev { display: block; width: auto; padding: 1em; border-bottom: 1px solid #ddd; } .post-navigation .next { text-align: left; } .post-navigation .text { display: block; } .post-navigation strong { height: auto; padding: 0 !important; font-size: 1em; } #related-posts h3, #mobile-related-posts h3, .comments-title { font-size: 26px; } #mobile-related-posts .post-item-summary { display: none; } // .entry-content pre, // .entry-content table { // margin-right: -15px; // margin-left: -15px; // } #comments { padding-bottom: 10px; } #commentform { margin-left: 0px; } #commentform.guest-must-log-in .comment-form-main { background: 0 0; box-shadow: none; } #commentform.guest-must-log-in .comment-form-main .must-log-in { line-height: 52px; } .author-info { left: -52px; width: 52px; height: 52px; display: none; } .author-info .logged-in-as { display: none; } .comment-form-main { margin-left: 0; background: #fff; border-radius: 0 2px 2px 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) } .comment-textarea-wrapper { padding-left: 0; margin-bottom: 0; margin-left: 0; background: 0 0; box-shadow: none } .comment-form-fields { float: none; background: 0 0; box-shadow: none } .comment-form-fields p { float: none; border-top: 1px solid #eee; border-left: 0 } .comment-form-fields input { width: 100%; box-sizing: border-box } .comment-meta { padding-top: 0 } .comment-list { margin-left: 52px } .comment-list #commentform { margin-left: 30px } .comment-list .author-info { left: -30px; width: 30px; height: 30px } .comment-list .children { margin-left: 10px !important } .comment-list .children .comment-author .avatar { top: -2px; left: -30px; width: 24px; height: 24px } .comment-author { display: block; line-height: 1.2 } .comment-author .avatar { top: -2px; left: -44px; width: 36px; height: 36px } .comment-metadata { display: block } .comment-metadata:before { display: none } .comment-actions { top: 0 } #sidebar .container { padding-bottom: 0 } .widget { float: none; width: auto !important; margin: 0 0 20px; clear: both } .author-avatar, .page-icon { width: 100px; height: 100px; margin-bottom: 40px; font-size: 60px; line-height: 100px } .error404 #main { position: relative; min-height: 320px; text-shadow: 1px 1px 0 rgba(0, 0, 0, .1) } .error404-box { left: 0; width: 100%; height: auto; margin: 0; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%) } .error404-title { font-size: 150px } .error404-desc { font-size: 16px } .error404-desc a { border-bottom-width: 1px } .page-template-page-links-php .entry-content { margin-right: 0 !important; margin-left: 0 !important } #links .blogroll li { width: 50% } #links .blogroll li:nth-child(odd):after { display: block } #links .blogroll li:nth-child(even):after { display: none } #links .blogroll a { padding: 20px 0 } #links .blogroll .name { font-size: 18px } .page-header, body.page .entry-header { background-attachment: scroll } .page-header .wp, body.page .entry-header .wp { margin-top: 60px; margin-bottom: 60px } .ads-comments { margin-top: 20px; margin-bottom: 20px; display: none; } } @media (max-width: 320px) { .adsbygoogle { margin-right: -10px; margin-left: -10px; display: none; } } @media (min-width: 569px) { .mbtn-search { width: 60px; height: 60px; line-height: 60px } } @media (orientation: landscape) { #m-panel .m-nav li { float: left; width: 25% } #m-panel .m-subnav { margin: 20px 70px } } /* ACME */ html, body { height: 100%; margin: 0; padding: 0; } .home #main { background-size: cover; } /** .lazyload,.lazyloading { opacity: 0; } .lazyloaded { opacity: 1; transition: opacity 300ms; } **/ body.acme, body.acme.home.paged { background-color: #FAFAFA; } body.acme.home, body.acme.single { background-color: @bg-color; } .acme .post-list .post-delimiter { height: 0; width: 150px; margin: auto; margin-top: 30px; margin-bottom: 30px; border-top: 1px solid #DDD; display: none; } .acme .post-list { padding-top: 50px; padding-bottom: 50px; } .acme .post-list .post-entry { cursor: inherit; } .acme .post-list .post { padding-bottom: 0; margin: 15px auto; } // .acme .post-list .post:last-child:after { // display: none // } // .acme .post-list .post:after { // position: absolute; // bottom: -1px; // left: 50%; // width: 150px; // margin-left: -75px; // content: ""; // border-bottom: 2px solid #DDD; // } .acme .post-list .post.format-standard { transition: all 0.25s; } .acme .post-list .post.format-standard:hover { /* box-shadow: rgba(0,0,0,0.2) 0px 10px 30px; */ } .acme .post-list .post.format-chat .entry-header { position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 16px; padding-left: 18px; } .acme .post-list .chats { position: relative; display: inline-table; background: white; margin-left: 30px; /*font-weight: 500;*/ box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; border-radius: 3px; transition: all 0.25s; .box-shadow(); } .acme .post-list .chats i.arrow { position: absolute; left: -5px; top: 11px; width: 10px; height: 10px; background: #fff; .box-shadow(); transform: rotate(45deg); } .acme .post-list .chats i.arrow.arrow-mask { left: 0px; transform: rotate(0); width: 9px; height: 18px; top: 8px; box-shadow: none; } .acme .post-list .post.format-chat .chats a { color: @text-color; } .acme .post-list .post.format-chat .chats p { margin: 3px !important; height: auto; padding: 2px 5px; -webkit-line-clamp: inherit; -webkit-box-orient: inherit; } .acme .post-list .post .mdui-card-header-avatar { position: absolute; left: 0; top: 33px; transform: translateY(-50%); width: 30px !important; height: 30px !important; margin-right: 20px; border: 1px solid white; -webkit-box-shadow: 1px 2px 10px -4px #333; box-shadow: 1px 2px 10px -4px #333; border-radius: 100%; } .acme .post-list .post.format-chat .entry-meta { padding-left: 46px; margin-top: 0px; } .acme .post-list .post .post-cover { height: 220px; background-repeat: repeat; background-position: 50% 50%; background-size: cover; background-origin: padding-box; background-attachment: scroll; border-top-left-radius: 3px; border-top-right-radius: 3px; } .acme .post-list .post .post-cover img { display: none; } .acme .post .entry-content .post-cover { height: 220px; background-repeat: repeat; background-position: 50% 50%; background-size: cover; background-origin: padding-box; background-attachment: scroll; } .acme .post .entry-content .post-cover img { display: none; } .acme .post-list .post.format-standard { background: #fff; border-radius: 3px; .box-shadow(); } .acme .post-list .post.format-standard.without-post-cover { /*padding: 25px 0px;*/ .box-shadow(); } .acme .post-list .post.format-standard .entry-header { padding: 25px 25px 0 25px; } .acme .post-list .post.format-standard .entry-summary { padding: 0 25px 25px 25px; } .acme .page-indicator { position: relative; margin-top: inherit; text-align: center } .acme .page-indicator small { color: #999; position: relative; background: none; } .acme .navigation { margin: 0 auto 0; } .acme .navigation.posts-navigation.wp { padding-bottom: 50px; } .acme #footer { position: absolute; left: 0; right: 0; padding: 20px 0; clear: both; font-size: 12px; color: #666; background: #111; } @media (max-width: 960px) { .acme .post-list .post { margin: 15px auto; } .acme .post-list .post.format-status { margin-right: 0; margin-left: 0; } } @media (max-width: 768px) { .acme .post-list .post { margin: 10px 15px; } } /* 首页Banner */ .home #header.acme-banner { background: none; height: 100%; } .acme-banner #topBg { display: none; } .home .acme-banner #topBg { z-index: -1; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; /* background-image: url(img/headerbg.svg); */ background-position: center center; color: transparent; display: block; -webkit-animation: fadeIn 1s ease-in; animation: fadeIn 1s ease-in; } .acme-banner #site-branding { position: absolute; top: 30%; width: 100%; padding: 0; line-height: 1; text-align: center; } .home .acme-banner #scrollDown { position: absolute; top: 100%; margin-top: -80px; width: 100%; } .home .acme-banner #scrollDown .scroll-down-btn { position: absolute; left: 50%; margin-left: -10px; margin-top: 50px; border-right: 3px solid rgba(255, 255, 255, 0.5); border-top: 3px solid rgba(255, 255, 255, 0.5); border-color: #2494e8; height: 20px; width: 20px; cursor: pointer; -webkit-transition: all 0.25s; -moz-transition: all 0.25s; -o-transition: all 0.25s; -ms-transition: all 0.25s; transition: all 0.25s; transform: translateY(-20px) rotate(135deg); } .home .acme-banner #scrollDown .scroll-down-btn:hover { border-right: 3px solid white; border-top: 3px solid white; border-color: #2494e8; } .home .acme-banner #scrollDown .scroll-down-btn:active { border-right: 3px solid rgba(255, 255, 255, 0.35); border-top: 3px solid rgba(255, 255, 255, 0.35); border-color: #2494e8; } .home .acme-banner #scrollDown .scroll-down-1 { animation: scrollDownIconMove 1.5s infinite; } @keyframes scrollDownIconMove { 0 { transform: translateY(-20px) rotate(135deg); opacity: 1; } 100% { transform: translateY(-0) rotate(135deg); opacity: 0; } } /* 导航优化 - start */ .home .acme-banner #navbar.unpinned { position: absolute; top: 0px; width: 100%; height: 60px; transition: all 0.25s; -webkit-transition: all 0.25s; -moz-transition: all 0.25s; -o-transition: all 0.25s; -ms-transition: all 0.25s; background: none; } .home .acme-banner #navbar.unpinned #nav { float: right; clear: none; margin: auto; padding-right: 60px; } .home .acme-banner #logo { display: none; } .home .acme-banner #navbar.unpinned .brand { display: block; } .home .acme-banner #navbar.unpinned #nav.out { display: none; } .home #navbar.unpinned #nav>ul>li>a:before { background-color: #FFF; } .home.paged #header.acme-banner { background: none; height: 0; } .home.paged #site-branding { display: none; } .home.paged #scrollDown { display: none; } .home.paged #navbar.unpinned { position: absolute; } .home.paged #navbar.unpinned #nav { display: none; } .home.paged #navbar:hover { background: none; background-color: @theme-color; } .home.paged #navbar:hover #nav { display: block; } .home.paged .acme-banner #navbar.unpinned { position: absolute; top: 0px; width: 100%; height: 60px; transition: all 0.25s; -webkit-transition: all 0.25s; -moz-transition: all 0.25s; -o-transition: all 0.25s; -ms-transition: all 0.25s; } .home.paged .acme-banner #navbar.unpinned #nav { float: none; clear: none; margin: auto; padding: none; } #navbar #nav>ul>li>a:before { background-color: #FFF; } #site-menu>li>a { border-bottom: none; padding: 0; } #site-menu>li>a { position: relative; display: inline-block; height: 60px; line-height: 62px; color: #fff; transition: all 0.25s; } #site-menu>li:hover>a { height: 60px; } #site-menu>li:hover>a:before { transform: scale(1); } #site-menu>li>a:before { position: absolute; left: 0; bottom: 0; content: ''; width: 100%; height: 4px; background-color: @theme-color; -webkit-transition: all 0.25s; -moz-transition: all 0.25s; -o-transition: all 0.25s; -ms-transition: all 0.25s; transition: all 0.25s; transform: scale(0); } #site-menu>li.menu-item-has-children>a:before { display: none; } @media (max-width: 1024px) { .acme.home #navbar.unpinned #nav { padding-right: 0; } } @media (max-width: 840px) { .acme.home .acme-banner #navbar.unpinned #nav { float: inherit; clear: none; margin: auto; } #site-title { font-family: "Microsoft Yahei"; font-weight: normal; font-size: 44px; margin: 0px; } } /* 导航优化 - end */ .underline { width: 70px; margin: 25px auto; border-bottom: 4px solid #FFF; } #site-title { font-family: "Microsoft Yahei"; font-weight: normal; font-size: 75px; margin: 0px; } #site-description { font-size: 15px; padding-top: 5px; font-style: normal; } .acme .post .post-cover { background-color: #FFF; } @media (max-width: 1024px) { .acme #logo.logo-svg { width: 80px; } .acme #site-title { font-size: 44px; } } @media (max-width: 568px) { .acme #logo.logo-svg { width: 60px; } .acme #site-title { font-size: 32px; } .home .acme-banner #navbar.unpinned .brand { display: none; } .home .acme-banner #logo { display: inline-block; } .acme .post-list .post.format-standard .entry-header { padding: 15px; } .acme .post .entry-content .post-cover { height: 169px; } .acme .post-list .post .post-cover { height: 169px; } } @media (max-width: 480px) { .acme .post .entry-content .post-cover { height: 120px; } .acme .post-list .post .post-cover { height: 120px; } } @media (max-width: 380px) { .acme .post .entry-content .post-cover { height: 100px; } .acme .post-list .post .post-cover { height: 100px; } } @media (max-width: 320px) { .acme .post .entry-content .post-cover { height: 85px; } .acme .post-list .post .post-cover { height: 85px; } } /* 代码高亮和文章样式 */ /* 代码高亮的工具栏样式 */ div.code-toolbar { position: relative; } div.code-toolbar>.toolbar { position: absolute; top: 0 !important; right: 0 !important; opacity: 0; transition: opacity 0.25s ease-in-out; } @media (max-width: 768px) { div.code-toolbar>.toolbar { opacity: 0; } } div.code-toolbar:hover>.toolbar { opacity: 1; } div.code-toolbar>.toolbar .toolbar-item { display: inline-block; } div.code-toolbar>.toolbar a { cursor: pointer; } div.code-toolbar>.toolbar button { background: none; border: 0; color: inherit; font: inherit; line-height: normal; overflow: visible; padding: 0; -webkit-user-select: none; /* for button */ -moz-user-select: none; -ms-user-select: none; } div.code-toolbar>.toolbar a, div.code-toolbar>.toolbar button, div.code-toolbar>.toolbar span { color: #bbb; font-size: .8em; background: rgba(224, 224, 224, 0.2); box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2); border-radius: 0; border-bottom-left-radius: 2px; } div.code-toolbar>.toolbar a:hover, div.code-toolbar>.toolbar a:focus, div.code-toolbar>.toolbar button:hover, div.code-toolbar>.toolbar button:focus, div.code-toolbar>.toolbar span:hover, div.code-toolbar>.toolbar span:focus { color: inherit; text-decoration: none; } .code-toolbar .toolbar .toolbar-item span { line-height: 24px; margin-right: 0; padding: 6px; } .code-toolbar .toolbar .toolbar-item span:hover { color: #bbb; } pre[class*="language-"] { border-radius: 3px; color: #f8f8f2; background-color: #272822; } div.code-toolbar>.toolbar a, div.code-toolbar>.toolbar button, div.code-toolbar>.toolbar span { border-radius: 0px !important; border-bottom-left-radius: 2px !important; } .code-toolbar .toolbar .toolbar-item a { display: inline; border-radius: 0; margin-right: 0; border-bottom: none; padding: 5px; } .code-toolbar .toolbar .toolbar-item a:hover { color: #bbb; text-decoration: none; } /* 段落中的图片居中显示 */ /* imgbox - start */ .check-original-image { position: fixed; bottom: 30px; left: 50%; -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); padding: 8px 20px; border-radius: 20px; border: 1px solid #fff; background-color: rgba(0, 0, 0, .4); font-size: 15px; color: #fff; z-index: 10000001; transition: all 0.25s; } .check-original-image:hover { box-shadow: 0px 0px 10px -2px rgb(0, 0, 0); } a.close-original-image { z-index: 10000001; display: block; width: 96px; height: 96px; border-top-left-radius: 50%; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 50%; background-color: rgba(0, 0, 0, .6); transform: rotate(-50deg); position: fixed; right: -45px; top: -45px; text-align: center; line-height: 94px; transition: background-color 0.5s; } a.close-original-image:hover { background-color: #e53935; } a.close-original-image:before { content: '\E14C'; color: #fff; margin-left: -45px; transform: rotate(50deg); transition: transform 0.5s; } a.close-original-image:hover:before { transform: rotate(230deg); } /* imgbox - end */ /* 评论区按钮 */ .comment-body .comment-actions a { border-radius: 2px; padding: 4px 7px 4px 5px; } .comment-body .comment-actions a:hover { background-color: #fff; } .comment-reply-link:before { margin-bottom: .2em; } .comment-body .comment-actions .comment-edit-link:before { margin-right: .1em; margin-bottom: .2em; font-size: 16px; vertical-align: middle; content: "\E150"; } /* 评论表情 */ .acme-comment-smilies { position: absolute; top: 100%; left: 0; z-index: 2; display: none; width: 310px; padding: 0px; margin-top: 4px; background: #fff; border-radius: 2px; border: 1px solid #d9d9d9; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; -webkit-animation: commentSmiliesIn .3s; animation: commentSmiliesIn .3s; } .acme-comment-smilies:before { position: absolute; top: -9px; left: 7px; content: ""; display: inline-block; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 9px solid transparent; border-bottom-color: #d9d9d9; } .acme-comment-smilies:after { position: absolute; top: -8px; left: 7px; content: ""; display: inline-block; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 9px solid transparent; border-bottom: 9px solid #fff; border-bottom-color: #EEEEEE; } .acme-comment-smilies.smilies-less:after { border-bottom-color: #FFF; } .acme-comment-smilies.out { -webkit-animation-name: commentSmiliesOut; animation-name: commentSmiliesOut; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards } .acme-comment-smilies .emoji { display: inline-block; width: 1em; margin: 3px; font-size: 35px; line-height: 1; vertical-align: middle; cursor: pointer } .acme-comment-smilies .smilies-nav-tabs { padding: 20px 0 10px; margin: 0; background: #EEEEEE; text-align: center; border-bottom: 1px solid #e5e5e5; } .acme-comment-smilies .smilies-nav-tabs li { display: inline; margin: 0 5px; padding: 0; border: none; line-height: 20px; } .acme-comment-smilies .smilies-nav-tabs li a { display: inline-block; width: 10px; height: 10px; background: #999999; text-indent: -9999px; border-radius: 100%; cursor: pointer; color: #333; text-decoration: none; } .acme-comment-smilies .smilies-nav-tabs .active { background: #2F2F2F; } .acme-comment-smilies .smilies-nav-tabs li a:hover { background: #2F2F2F; } .acme-comment-smilies .smilies-tab-content .smilies-tab-pane { display: none; } .acme-comment-smilies .smilies-tab-content .active { display: block; } .acme-comment-smilies .smilies-tab-content .smilies-tab-pane ul { padding: 5px; margin: 0; list-style: none; } .acme-comment-smilies .smilies-tab-content .smilies-tab-pane li { display: inline-block; padding: 4px !important; border-radius: 3px; line-height: 20px; } .acme-comment-smilies .smilies-tab-content .smilies-tab-pane li:hover { background-color: rgba(180, 180, 180, 0.2); } .acme-face { width: 35px; height: 35px; } .acme-face { vertical-align: bottom; } .icon-smilies:hover { color: #2f2f2f; } /* 表格样式 */ .mdui-table-fluid { margin: 0 0 1em; -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .1); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); } .mdui-table { border-collapse: collapse; -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .1); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); } /* 广告 */ .acme .ads-l { padding-bottom: 0px; margin: 20px auto; } .acme .ads-l:after { display: none; } .acme ol { padding-inline-start: 20px; } .acme ul { padding-inline-start: 20px; } body.acme ::-webkit-scrollbar-thumb { background: #dddddd30; border-radius: 3px; } .social-sharer { position: relative; } .social-sharer .icon-like { color: #e53935; border-color: #e53935; -webkit-box-shadow: 0 0 0 -1px #e5393560, 0 0 0 -15px #e5393560, 0 0 0 1px #e5393560 inset; box-shadow: 0 0 0 -1px #e5393560, 0 0 0 -15px #e5393560, 0 0 0 1px #e5393560 inset; } .social-sharer .icon-like:hover { background-color: #e53935; } .social-sharer .icon.icon-like:before { font-family: "Material Icons"; content: "\E87D"; margin-top: 7px; margin-left: 1px; } .social-sharer .icon.icon-like:hover { color: #fff; } .like-done .icon-like { color: #fff; background-color: #e53935; -webkit-box-shadow: 0 0 0 25px #e5393500, 0 0 0 20px #e5393500, 0 0 0 0 transparent inset, 0 0 0 -0 #e5393560; box-shadow: 0 0 0 25px #e5393500, 0 0 0 20px #e5393500, 0 0 0 0 transparent inset, 0 0 0 -0 #e5393560; transition: all 1.3s; } .icon-like.done { color: #fff; background-color: #e53935; -webkit-box-shadow: 0 0 0 25px #e5393500, 0 0 0 20px #e5393500, 0 0 0 0 transparent inset, 0 0 0 -0 #e5393560; box-shadow: 0 0 0 25px #e5393500, 0 0 0 20px #e5393500, 0 0 0 0 transparent inset, 0 0 0 -0 #e5393560; transition: all 1.3s; } .like-count { display: inline-block; margin-left: 6px; min-width: 25px; text-align: center; font-size: 14px; line-height: 1.4; box-sizing: border-box; } @media (min-width: 600px) { body { font-size: 14px } } @media (min-width: 1024px) { body { font-size: 15px; } } /* jBox */ .jBox-Message .jBox-container { border-radius: 2px; background-color: rgba(0, 0, 0, 0.6); } .jBox-Message .jBox-content { padding: 12px 25px; } .jBox-Message-color { color: #fff; text-shadow: 0 -1px 0 #000; } .jBox-Notice .jBox-container { background-color: rgba(255, 255, 255, 0.87); } .jBox-Notice .jBox-content { padding: 12px 25px; } .jBox-Notice-error .jBox-container { border-left: 5px #e53935 solid; box-shadow: 1px 1px 5px -1px; } .jBox-Notice-success .jBox-container { border-left: 5px #43a047 solid; box-shadow: 1px 1px 5px -1px; } .jBox-Notice-warning .jBox-container { border-left: 5px #ffb300 solid; box-shadow: 1px 1px 5px -1px; } .jBox-Notice-info .jBox-container { border-left: 5px #1e88e5 solid; box-shadow: 1px 1px 5px -1px; } /* .jBox-Notice-error .jBox-container:before { font-family: "Material Icons"; content: "\E001" } */ #footer ul { /* display: none; */ } #footer li { position: relative; /* display: block; */ text-indent: 10px; } #footer li>ul li { text-indent: 25px; } #footer li+li:before { /* display: none; */ } /* 文章目录 */ #catalog { position: fixed; right: 20px; top: -50px; z-index: 3; -webkit-transition: .2s; transition: .2s; z-index: 9000; opacity: 0; } #catalog.show { top: 70px; opacity: 1; } #catalog:hover { background-color: rgba(70, 70, 70, .8); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); box-shadow: 0 6px 12px rgba(0, 0, 0, .175); background-clip: padding-box; padding: 0px 0px 40px 0px; position: fixed; right: 20px; top: 70px; font-size: 12px; white-space: nowrap; z-index: 999; cursor: pointer; text-align: right; max-height: 70%; overflow-y: auto; overflow-x: hidden; visibility: visible; opacity: 1; bottom: auto !important; min-width: 200px; max-width: 250px; } #catalog:before { width: 50px; height: 50px; font-size: 30px; line-height: 50px; color: #f7f7f7; text-align: center; vertical-align: middle; content: "\E5D2"; background: rgba(70, 70, 70, .2); -webkit-transition: .2s; transition: .2s; } #catalog:hover:before { background: none; } #catalog:hover ul { display: block; text-align: left; list-style-type: none; } #catalog ul li a { display: block; position: relative; padding: 0 10px; text-decoration: none; ; border-bottom: none; font-size: 14px; color: #fafafa; background: 0 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } #catalog a:hover { color: #fafafa; background: fade(rgb(3, 3, 3), 40%); } #catalog ul li a b { font-weight: 500; } #catalog ul li a b { font-weight: 500; } #catalog ul { display: none; } #catalog li { position: relative; display: block; text-indent: 10px; } #catalog li>ul li { text-indent: 25px; } #catalog li+li:before { display: none; } .acme #sidebar .widget ul { padding-inline-start: 0; } @media (max-width: 1148px) { .svg-elements { display: none; } } .editormd-form input[type=text] { width: 250px; } .dark() { @text-color: #C0C3C4; @bg-color: #323639; @bg-color-lighten: #3C4043; @border-color: #464A4E; @main-bg-image: #323639; // @theme-color: #C0C3C4; // @cover-color: @coverColor; // @cover-title-color: @coverTitleColor; // @theme-color-darken: darken(@theme-color, 5%); body { color: @text-color; background: @bg-color; } h2, h3, h4, h5, h6 { color: lighten(@text-color, 10%); } body.acme, body.acme.home.paged, body.acme.home, body.acme.single { background-color: @bg-color; } .acme.home #main { background-image: url(./img/mainbg-dark.svg) !important; } .acme.home.paged #main { background-image: none !important; } img { filter: brightness(.8); -webkit-filter: brightness(.8) } .single .post-cover img { filter: none; -webkit-filter: none } .tag-links a { color: lighten(@text-color, 20%); background-color: @theme-color; &:hover { color: lighten(@text-color, 50%); background-color: lighten(@theme-color, 10%); } } .markdown-body a { color: lighten(@theme-color, 10%) !important; &:hover { color: lighten(@theme-color, 10%) !important; } } #related-posts h3, #mobile-related-posts h3, .comment-author .fn a, .comments-title, .post-list .entry-title a, .post-navigation .arrow { color: inherit } #links .blogroll .name, .post-list .format-status .entry-summary, .social-sharer .qrcode-box h4, .social-sharer .qrcode-box p, .tip-popover span, .tip-desc, button, input, .markdown-body, textarea { color: @text-color; } .post-list .entry-title a:hover { color: @theme-color; } .post-navigation a:hover .arrow, .post-navigation a:hover strong { color: #bbb } #newsletter .envelope { background-color: @bg-color; border: 1px solid @border-color; } .tip-popover { background-color: @bg-color; &:after { border-top-color: @bg-color; } } .qrcode-box { background-color: @bg-color; &:after { border-top-color: @bg-color; } } #related-posts { .related-posts-body { background-color: @border-color; .post-item { background-color: @bg-color-lighten; .post-item-title, .post-item-summary { color: @text-color; } } } } #mobile-related-posts { .related-posts-body { background-color: @bg-color; .post-item { background-color: @bg-color; border-bottom-color: @border-color; .post-item-title, .post-item-summary { color: @text-color; } } } } .nav-links.pagination { background-color: @bg-color; border-color: @border-color; li a:hover { background-color: @bg-color-lighten; } } #comments, #links .blogroll li:after, .ads-l:after, .comment-form-fields p, .comment-list .comment, .comment-list .pingback, .nav-links .current, .post-list .format-status .status-inner, .post-list .post:after, .post-navigation, td, th { border-color: rgba(255, 255, 255, .2) } #newsletter, #comments { background: rgba(0, 0, 0, .1) } #promo { background: @bg-color; } #promo a, .bypostauthor>.comment-body .comment-author:after, .comment-form-fields, .comment-textarea-wrapper, .post-list .format-status, code, kbd, pre { color: @text-color; } p { code, kbd, pre { background: rgba(255, 255, 255, .1); } } .post-list .post-format:before { color: rgba(255, 255, 255, .5) } .post-list .format-status .post-format:before { /* background: rgba(255,255,255,.5) */ } .post-list .format-status { background: rgba(255, 255, 255, .06); } .acme.home .post.sticky .entry-title:before { opacity: .5; } .tag-links a:before { border-right-color: rgba(255, 255, 255, .1); } .comment-smilies, .tag-links a:after { background: @bg-color; } #comment { color: inherit; background: 0 0; } .acme.single .post-cover { box-shadow: 0 0 0 7px @bg-color; } .acme .post-list .post.format-chat .chats { border: 1px solid @border-color; background-color: @bg-color-lighten; } .acme .post-list .post.format-chat .chats a { color: @text-color; } .acme .post-list .chats i.arrow { border-left: 1px solid @border-color; border-bottom: 1px solid @border-color; background-color: @bg-color-lighten; } .acme .post-list .chats i.arrow.arrow-mask { border: none; } .acme .post-list .post.format-standard { border: 1px solid @border-color; background: @bg-color-lighten; } .acme .post-list .post.format-standard.without-post-cover { background: #3C4043; } .navigation a { border-color: darken(@text-color, 30%); &:hover { border-color: darken(@theme-color, 10%); } } #topBg { filter: brightness(.6); -webkit-filter: brightness(.6) } .acme .post-list .post .post-cover { filter: brightness(.8); -webkit-filter: brightness(.8) } #header a { color: lighten(@text-color, 30%); } .acme.single .entry-header .inner, acme.home.paged #header, #submit, #related-posts .related-posts-body { filter: brightness(.97); -webkit-filter: brightness(.97) } // .acme.single .entry-content blockquote, // .entry-summary blockquote { // color: #333; // -webkit-filter: brightness(0.9); // filter: brightness(0.9); // } .acme.single blockquote code { background-color: lighten(@bg-color, 20%); } .acme .copyright blockquote { color: @text-color !important; border-left: 4px solid #ff1700cc !important; background-color: @bg-color-lighten !important; } .acme .copyright blockquote strong { color: lighten(@text-color, 30%) !important; } #site-menu .menu-item-has-children.show .sub-menu, #site-menu .menu-item-has-children .sub-menu { background-color: lighten(@bg-color, 3%); } .acme #m-panel { background-color: @bg-color; } .acme #promo a { background-color: @bg-color-lighten; span:hover { color: @theme-color; } } .acme .bypostauthor>.comment-body .comment-author:after { color: @text-color; background: @bg-color-lighten; } .acme .comment-body .comment-actions a:hover { background: lighten(@bg-color, 5%); } .acme .comment-textarea-wrapper, .acme .comment-form-fields, .acme .author-info { background: @bg-color-lighten; } .acme .author-info img { filter: brightness(0.6); -webkit-filter: brightness(0.6); } .acme .icon-smilies:hover { color: #cccccc; } details { background-color: @bg-color-lighten; } } html.dark { .dark(); } pre[data-lang]:before { content: attr(data-lang); position: absolute; z-index: 3; top: .8em; right: 1em; font-size: .75rem; color: hsla(0, 0%, 100%, .4); } // book @border-color: #efefef; body.book { background-color: #fff; } .book .article figure { margin: 0; } .book .wp-caption.aligncenter { margin: 0; } .window-container.with-head { padding-top: 55px; overflow-x: hidden; } /*头部*/ .window-container .window-head { position: fixed; flex: none; order: 1; top: 0; left: 0; right: 0; background: #fff; border-bottom: 1px solid @border-color; z-index: 20; // -webkit-box-shadow: 0 2px 8px #f0f1f2; // box-shadow: 0 2px 8px #f0f1f2; } .window-container .window-head .toolbar { display: flex; height: 55px; padding: 0 28px; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; } .window-container .window-head .toolbar .title { color: #333; font-size: 16px; line-height: 55px; font-weight: 700; white-space: nowrap; } .window-container .window-head .toolbar .title img { position: relative; top: -1.5px; height: 32px; margin-right: 16px; } .window-container .window-head .toolbar .extra { margin-left: 15px; display: flex; justify-content: flex-end; width: 100%; } .window-container .window-head .toolbar .extra .menu { margin-left: 10px; } .window-container .window-head .toolbar .extra .menu .item { font-weight: 700; } /*侧边栏*/ .window-body .sidebar { position: fixed; left: -280px; top: 0; bottom: 0; width: 280px; // border-right: 1px solid #ddd; border-right: 1px solid @border-color; // background-color: #fafafa; display: flex; flex-direction: column; flex-wrap: nowrap; transition: left .25s ease; } @media only screen and (max-width: 600px) { .window-container .window-body .sidebar { width: calc(100% - 60px); bottom: 0; left: -100%; } } .window-container.with-head .window-body .sidebar { top: 56px; } .window-container .window-body.with-sidebar .sidebar { left: 0; } .window-body.with-sidebar .sidebar { left: 0; } .window-body .sidebar .sidebar-header { position: relative; flex: none; } .window-body .sidebar .sidebar-header .title { padding: 0 12px; border-bottom: 1px solid @border-color; line-height: 55px; color: inherit; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 16px; } .window-body .sidebar .sidebar-header .search-form { padding: 12px; border-bottom: 1px solid @border-color; flex: none; } .window-body .sidebar .sidebar-header .search-form .input-box { display: flex; position: relative; } .window-body .sidebar .sidebar-header .search-form input { margin: 0; max-width: 100%; flex: 1 0 auto; outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); text-align: left; line-height: 1.28571429em; font-family: Helvetica Neue, NotoSansHans-Regular, AvenirNext-Regular, arial, Hiragino Sans GB, Microsoft Yahei, WenQuanYi Micro Hei, Arial, Helvetica, sans-serif; padding: .64285714em 1em; background: #fff; border: 1px solid rgba(34, 36, 38, .15); color: rgba(0, 0, 0, .87); border-radius: .28571429rem; transition: box-shadow .1s ease, border-color .1s ease; box-shadow: none; border: none; } .window-body .sidebar .sidebar-header .search-form input:focus { border-color: #40a9ff; border-right-width: 1px !important; outline: 0; -webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, .2); box-shadow: 0 0 0 2px rgba(24, 144, 255, .2); } .window-body .sidebar .sidebar-header .search-form .input-box .iconfont { cursor: default; position: absolute; line-height: 1; text-align: center; top: 0; right: 0; margin: 0; height: 100%; width: 1.5em; opacity: .5; border-radius: 0 .3rem .3em 0; transition: opacity .3s ease; display: flex; align-items: center; justify-content: center; color: #909090; font-weight: bold; font-size: 20px; } .window-container .window-body.with-sidebar .workspace { overflow-y: hidden; } .window-body .workspace { transition: margin-left 0.25s ease; min-height: 100vh !important; } .window-body .sidebar .sidebar-body { flex: auto; overflow: hidden; position: relative; } .window-body .sidebar .sidebar-body>div { position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .window-body .sidebar .sidebar-body .catalog-body { padding: 12px 0; overflow-y: auto; display: flex; flex-direction: column; } .window-body .sidebar .sidebar-body .catalog-body::-webkit-scrollbar { -webkit-appearance: none; width: 10px; height: 10px; } .window-body .sidebar .sidebar-body .catalog-body ul { list-style: none; padding: 0; margin: 0; } .window-body .sidebar .sidebar-body .catalog-body ul li { position: relative; cursor: pointer; white-space: nowrap; overflow: hidden; padding-left: 24px; } .window-body .sidebar .sidebar-body .catalog-body ul li .wholerow { width: 100%; position: absolute; left: 0; user-select: none; height: 40px; &:after { position: absolute; top: 0; right: 0; bottom: 0; border-right: 3px solid @theme-color; transform: scaleY(.0001); opacity: 0; transition: transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1); content: ""; } } .window-body .sidebar .sidebar-body .catalog-body ul li.hover>.wholerow { background: #f7f7f7; } .window-body .sidebar .sidebar-body .catalog-body ul li.active>.wholerow { background: #e5e5e5; background-color: fade(@theme-color, 10%); } .window-body .sidebar .sidebar-body .catalog-body ul li.active>.wholerow:after { transform: scaleY(1); opacity: 1; transition: transform .15s cubic-bezier(.645, .045, .355,1), opacity .15s cubic-bezier(0.65, 0.05, 0.36, 1); } .window-body .sidebar .sidebar-body .catalog-body ul li.active>a.text { color: @theme-color-darken; } .window-body .sidebar .sidebar-body .catalog-body>ul>li { padding-left: 0; } .window-body .sidebar .sidebar-body .catalog-body ul li i { width: 24px; height: 24px; line-height: 24px; display: inline-block; text-decoration: none; vertical-align: middle; text-align: center; transform: rotate(270deg); font-size: 24px; user-select: none; color: #333; } .window-body .sidebar .sidebar-body .catalog-body ul li.open i { transform: rotate(0deg); } .window-body .sidebar .sidebar-body .catalog-body ul li .text { display: inline-block; line-height: 40px; word-break: keep-all; white-space: nowrap; color: #333; // vertical-align: middle; position: relative; font-size: 14px; width: 100%; } .window-body .sidebar .sidebar-body .catalog-body ul li>ul { display: none; } .window-body .sidebar .sidebar-body .catalog-body ul li.open>ul { display: block; } .window-body .sidebar .sidebar-body .catalog-body ul li>ul li>ul { margin-left: -24px; text-indent: 12px; } .window-body .workspace .article .article-head { padding: 10px 20px; height: 50px; display: flex; box-sizing: border-box; } .window-body .workspace .article .article-head .left.tools { margin: 0 -10px; position: fixed; z-index: 20; color: #7e888b; height: 30px; padding: 0 5px; line-height: 30px; font-size: 14px; background-color: #fff; } .window-body .workspace .article .article-head .tools .item { display: flex; align-items: center; height: 30px; line-height: 30px; font-size: 14px; cursor: pointer; color: #7e888b; } .window-body .workspace .article .article-head .tools .iconfont { color: #ccc; font-size: 20px; height: auto; width: auto; color: #ccc; display: inline-block; } .window-body .workspace .article .article-head .tools:hover .iconfont { color: #333; } .window-body .workspace .article .article-head h1 { flex: 1; margin: 0; font-size: 20px; font-weight: 200; text-align: center; line-height: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7e888b; } .window-body .workspace .article .article-content { margin-top: 20px; } /*悬浮侧边栏*/ .window-body .catalog-sidebar { width: 280px; /* min-height: 100vh; */ box-sizing: border-box; /* padding: 20px; */ position: fixed; top: 56px; right: 0; margin-top: 75px; } .window-body .catalog-sidebar li { list-style: none; } .window-body .catalog-sidebar a:hover { border: none; text-decoration: none; } .window-body .catalog-sidebar .catalog-title { font-size: 16px; line-height: 26px; font-weight: 700; color: #333; margin-top: 0; margin-bottom: 20px; } .window-body .catalog-sidebar>ul, .window-body .catalog-sidebar>nav>ul { border-left: 2px solid #E5E5E5; padding-left: 15px; word-wrap: break-word; } .window-body .catalog-sidebar ul li { margin-bottom: 8px; } .window-body .catalog-sidebar ul li>a { position: relative; display: block; font-size: 14px; line-height: 24px; font-weight: 400; color: #000; } .window-body .catalog-sidebar ul li a:hover { color: @theme-color; } .window-body .catalog-sidebar ul ul { padding-left: 17px; } .window-body .catalog-sidebar ul li>ul li { margin-top: 4px; margin-bottom: 4px; } .window-body .catalog-sidebar ul li.active>a, .window-body .catalog-sidebar ul li.active>a:hover { color: @theme-color; } .window-body .catalog-sidebar ul li li>a { color: #666; } .window-body .catalog-sidebar ul li a:hover { color: @theme-color; } .window-body .catalog-sidebar ul li li.active>a, .window-body .catalog-sidebar ul li>ul li.active>a:hover { color: @theme-color-darken; } .window-body .catalog-sidebar ul li.active>a:before { content: ''; position: absolute; top: 0; width: 2px; height: 24px; background-color: @theme-color; } .window-body .catalog-sidebar ul>li.active>a:before { left: -17px; } .window-body .catalog-sidebar ul>li>ul>li.active>a:before { left: -34px; } .window-body .catalog-sidebar ul>li>ul>li>ul>li.active>a:before { left: -51px; } .window-body .catalog-sidebar ul>li>ul>li>ul>li>ul>li.active>a:before { left: -68px; } .window-body .catalog-sidebar ul>li>ul>li>ul>li>ul>li>ul>li.active>a:before { left: -85px; } .window-body .catalog-sidebar ul>li>ul>li>ul>li>ul>li>ul>li>ul>li.active>a:before { left: -102px; } /*主体内容*/ @media only screen and (min-width: 1260px) { .window-container .window-body.with-sidebar .workspace { margin-left: 280px; } .window-container .window-body.with-catalog .workspace { margin-right: 280px; } } @media only screen and (max-width: 1260px) { .window-container .window-body.with-sidebar .workspace { margin-left: 280px; } .wp { padding: 0 10px; } .window-body .catalog-sidebar { width: 150px; top: 50px; } .window-container .window-body.with-catalog .workspace { margin-right: 150px; } .window-body .catalog-sidebar .catalog-title { font-size: 14px; } .window-body .catalog-sidebar ul li > a { font-size: 12px; line-height: 14px; } } @media only screen and (max-width:960px) { .window-container .window-body.with-catalog .workspace { margin-right: 0; } .window-body .catalog-sidebar { display: none !important; } } @media only screen and (max-width:680px) { .window-container .window-body .sidebar { width: calc(100% - 60px); bottom: 0; left: -100% } .window-container .window-body .workspace { transition: transform .25s ease } .window-container .window-body.with-sidebar .workspace { transform: translate3d(calc(100% - 60px), 0, 0) } .window-body .catalog-sidebar { display: none !important; } } // 搜索 .search-keyword { border-bottom: 1px dashed #4088b8; font-weight: 700; } #local-search-result { height: 90%; overflow: auto; } .popup { display: none; position: fixed; top: 10%; left: 50%; width: 700px; height: 80%; margin-left: -350px; padding: 3px 0 0 10px; color: #333; z-index: 9999; border-radius: 5px; overflow: hidden; } @media (max-width: 767px) { .popup { padding: 3px; top: 0; left: 0; margin: 0; width: 100%; height: 100%; border-radius: 0; } } .popoverlay { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 2080; background-color: rgba(0, 0, 0, .3) } #local-search-input { width: 98%; } .popup-btn-close { position: absolute; top: 6px; right: 14px; color: #4ebd79; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; } #no-result { position: absolute; left: 44%; top: 42%; color: #ccc; } .local-search-popup { display: none; position: fixed; top: 10%; left: 50%; margin-left: -400px; width: 800px; height: 80%; padding: 0; color: #333; z-index: 9999; border-radius: 5px; backdrop-filter: saturate(180%) blur(1em); background: linear-gradient(90deg, rgba(0, 0, 0, 50%) 0, rgba(0, 0, 0, 50%) 100%); } @media (max-width: 767px) { .local-search-popup { padding: 0; top: 0; left: 0; margin: 0; width: 100%; height: 100%; border-radius: 0; } } .local-search-popup ul.search-result-list { padding: 0; margin: 0 5px; } .local-search-popup p.search-result { border-bottom: 1px dashed #ccc; padding: 5px 0; } .local-search-popup a.search-result-title { font-weight: 700; font-size: 16px; } .local-search-popup .search-keyword { border-bottom: 1px dashed red; font-weight: 700; color: red; } .local-search-popup .local-search-header { padding: 5px; height: 36px; background: #f5f5f5; border-top-left-radius: 5px; border-top-right-radius: 5px; } .local-search-popup #local-search-result { overflow: auto; position: relative; padding: 5px 15px; height: calc(100% - 55px); border: 1px solid rgba(0, 0, 0, 0.1); box-sizing: border-box; border-bottom: none; } .local-search-popup #local-search-result li.search-result-item { padding: 20px; margin-top: 20px; list-style: none; background-color: #fff; border-radius: 3px; transition: transform 0.3s, background-color 0.3s, box-shadow 0.6s; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1); h2 { margin: 10px 0; font-size: 1.3em; color: @theme-color; &:hover { color: @theme-color-darken; } } a { color: @theme-color; } a:hover { color: @theme-color-darken; } .entry-meta { margin: 0.5em 0; } p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } .local-search-popup .local-search-input-wrapper { display: inline-block; width: calc(100% - 90px); height: 36px; line-height: 36px; padding: 0 5px; } .local-search-popup .local-search-input-wrapper input { padding: 8px 0; height: 20px; display: block; width: 100%; outline: 0; border: none; background: 0 0; vertical-align: middle; } .local-search-popup .popup-btn-close, .local-search-popup .search-icon { display: inline-block; font-size: 25px; color: #999; height: 36px; width: 18px; padding-left: 10px; padding-right: 10px; } .local-search-popup .search-icon { float: left; } .local-search-popup .popup-btn-close { border-left: 1px solid #eee; float: right; cursor: pointer; } .local-search-popup #no-result { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); color: #ccc; } .book { ul { padding: 0; margin: 0; list-style: none; } #site-menu { height: 56px; } #site-menu>li { height: 56px; list-style: none; text-align: center; margin: 0 24px; } #site-menu>li>a { display: inline-block; height: 56px; line-height: 56px; color: #333; &:hover { color: @theme-color; } &:before { top: 0; height: 2px; background-color: @theme-color; } } #site-menu { li.menu-item-has-children { margin: 0 0px; } ul.sub-menu { position: relative; min-width: 120px; padding-top: 10px; a { color: #333; &:hover { color: #fff; } } } } } .book-dark() { @text-color: #C0C3C4; @bg-color: #323639; @bg-color-lighten: #3C4043; @border-color: #464A4E; @main-bg-image: #323639; .window-container .window-head { background-color: @bg-color; border-bottom-color: @border-color; } .window-container .window-head .toolbar .title { color: @text-color; } .book #site-menu li a { color: @text-color; } .book #site-menu>li:hover>a { color: @theme-color; } .window-body .catalog-sidebar ul li { a { color: @text-color; } &.active a { color: @theme-color; } } .window-body .catalog-sidebar>ul, .window-body .catalog-sidebar>nav>ul { border-left-color: @border-color; } .window-body .sidebar .sidebar-body .catalog-body ul li .text { color: @text-color; } .window-body .sidebar .sidebar-body .catalog-body ul li.hover>.wholerow { background-color: @bg-color-lighten; } .window-body .sidebar .sidebar-body .catalog-body ul li i { color: darken(@text-color, 40%); } .window-body .sidebar { border-right-color: @border-color; } .window-body .sidebar .sidebar-header .search-form { border-bottom-color: @border-color; } .window-body .workspace .article .article-head .left.tools { background-color: @bg-color; &:hover i { color: darken(@text-color, 20%); } } .window-body .sidebar .sidebar-header .search-form input { color: @text-color; background: none; } .window-body .sidebar .sidebar-body .catalog-body ul li.active>.wholerow { background: #e5e5e5; background-color: fade(@theme-color, 10%); } } html.dark { .book-dark(); } .markdown-body a { color: @theme-color !important; border-bottom-color: @theme-color; -webkit-transition: border-bottom-color .3s; transition: border-bottom-color .3s; } .markdown-body a:hover { border-bottom-color: @theme-color-darken; border-bottom: 1px solid @theme-color; text-decoration: none !important; }