/*
Theme Name: TimeScape
Theme URI: https://tech.dukeyin.com
Author: DukeYin
Author URI: https://www.dukeyin.com/
Description: Very simple wordpress theme
Version: 1.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-logo, custom-menu, editor-style, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: timescape
Requires at least: 4.9.6
Requires PHP: 7.0
Tested up to: 5.9
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.wp-caption {}

.wp-caption-text {}

.sticky {
    border-left: 3px solid #29d
}

.screen-reader-text {}

.gallery-caption {}

.bypostauthor {}

.alignright {
    clear: both;
	display: block;
	float: none;
	margin-right: auto;
	margin-left: auto;
    text-align: right
}

.alignleft {
    text-align: left
}

.aligncenter {
    clear: both;
	display: block;
	float: none;
	margin-right: auto;
	margin-left: auto;
    text-align: center
}

.float-left {
    float: left
}

.float-right {
    float: right
}
.clear {
    clear: both;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: 800
}

dfn {
    font-style: italic
}

.h3,
h1,
h2,
h3,
h4 {
    font-weight: 800
}

h1 {
    margin: .563em 0;
    font-size: 1.6em
}

h1,
h2 {
    line-height: 1.1em
}

h2 {
    margin: 2em 0 .625em;
    font-size: 1.5em
}

h3 {
    font-size: 1.17em
}

h3,
h4 {
    margin: 1.313em 0;
    line-height: 1.1em
}

h4 {
    font-size: 1em
}

h5 {
    margin: 1.313em 0;
    font-size: 0.83em
}

h5,
h6 {
    line-height: 1.1em;
    font-weight: 800;
}

h6 {
    margin: .75em 0;
    font-size: 0.67em;
    letter-spacing: 5px;
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}
h4.index-cat{
font-size: 1em;
    display: inline;
    font-weight: normal;
    line-height: 22px;
}
h4.index-cat a{
	display:inline-block;
	font-style: italic;
	padding: 0 0.5em;
}
.index a.index-title{
	display: inline-flex;
}

a.index-title {
    font-weight: normal;
    margin: 0;
    width: calc(100% - 400px);
}
h2.index-title {
    font-size: 1.2em;
    font-weight: normal;
    margin: 0;
	width: 100%;
	height: 27px;
    white-space: nowrap;
    text-overflow: ellipsis;
	overflow:hidden
}


hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-size: 1em;
    font-family: Consolas, Source Code Pro, Liberation Mono, Courier New, Courier, monospace
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    outline: 0;
    color: inherit;
    font: inherit
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    cursor: pointer;
    -webkit-appearance: button
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0
}

input {
    line-height: normal
}

input[type=checkbox],
input[type=radio] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search] {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: textfield
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    margin: 0 2px;
    padding: .35em .625em .75em;
    border: 1px solid silver
}

legend {
    padding: 0;
    border: 0
}

textarea {
    display: block;
    overflow: auto;
    max-width: 100%;
    border: 2px solid rgba(0, 39, 59, .2);
    border-radius: 4px;
    background: none repeat scroll 0 0 #fff
}

optgroup {
    font-weight: 700
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}



.hidden {
    display: none
}



.nav-icons .iconfont:before {
    font-size: 1.8em
}

.nav-icons a {
    margin-right: 10px
}
.ico-lines:before{
font-size: 25px;
line-height: 40px;
}
.ico-weibo:hover {
    color: #e74c3c
}

.ico-zhihu:hover {
    color: #0080ff
}

.ico-douban:hover {
    color: #35c87a
}

.ico-weichat:hover {
    color: #58d68d
}

.ico-twitter:hover {
    color: #51c6e7
}

.ico-facebook:hover {
    color: #3598db
}

body {
    color: #444;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.615
}



* {
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

a {
    position: relative;
    display: inline-block;
    padding: 1px 0;
    color: #707070;
    line-height: 22px
}

a:hover {
    color: #222
}

a:focus:after,
a:hover:after {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -ms-transform: translateY(0)
}

.pace .pace-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    height: 2px;
    background: #7f7f7f;
    -webkit-transition: width .4s ease-in;
    transition: width .4s ease-in
}

.pace-inactive {
    display: none
}

.scrollbar-measure {
    position: absolute;
    top: -9999px;
    overflow: scroll;
    width: 100px;
    height: 100px
}

.hidden {
    visibility: collapse
}

.lefted {
    text-align: left
}

.righted {
    text-align: right
}

.centered {
    text-align: center
}

body {
    margin: 0;
    font-family: 'Segoe UI', SegoeUI, 'Helvetica Neue', Helvetica, 'Microsoft YaHei', PingFang SC, sans-serif;
    line-height: 1.915em
}

a {
    background: 0 0;
    text-decoration: none
}

a:focus {
    outline: thin dotted
}

a:active,
a:hover {
    outline: 0
}

code,
pre {
    padding: 5px 3px;
    border-radius: 2px
}

code:not([data-gist-id]),
pre:not([data-gist-id]) {
    background: #f8f9fa
}

.gist .file-data {
    font-size: 15px !important;
    line-height: 1.4 !important
}

.full-width {
    width: 100%
}

::-moz-selection {
    background-color: #ccc
}

::selection {
    background-color: #ccc
}

body,
html {
    height: 100%
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 749px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1024px;
    }
}


@media only screen {
    .header {
        z-index: 10;
        padding: 1em;
        border-right: 1px solid #eee;
        background-color: #fff
    }

    .header h1 {
        margin: 0;
        font-size: 3em;
        width:100%;
        text-align: center;
    }

    .fade {
        height: 100px
    }

    .fade p {
        text-align: center
    }

    #techlogo {
        width: 100px;
        fill: #383838
    }

    #search_ico {
        fill: #a7a7a7
    }

    .header h1 a {
        line-height: normal
    }
}

@media only screen and (max-width:1480px) {
    .header h1 {
        font-size: 3em
    }
}

@media only screen and (max-width:1200px) {
    .header h1 {
        font-size: 2.6em
    }
}

@media only screen and (max-width:960px) {
    h1 {
        font-size: 1.6em;
        line-height: 1.6em
    }

    h2 {
        font-size: 1.3em
    }

    h3 {
        font-size: 1.1em
    }

    h4 {
        font-size: .8em
    }

    h2.index-title {
        font-size: .9em;
        padding-left: 0;
    }

    .article,
    .index,
    .nav-bar {
        padding: 0 !important
    }

    .header {
        position: relative;
        padding-bottom: 1em;
        width: auto;
        height: 8em;
        border-right: none;
        text-align: center
    }

    .header h1 {
        margin: 0;
        font-size: 2.2em
    }

}

.nav-bar {
    z-index: 2;
    margin: auto;
    padding: 1em 0 0
}

.nav-bar .nav-container {
    height: 50px;
    line-height: 50px
}

.nav-bar .nav-container a {
    line-height: 22px
}

div#search-container {
    transition: unset;
    display: none
}

label.screen-reader-text {
    display: none
}

input#s,
.search-field,
input#s-404 {
    width: calc(100% - 120px);
    margin: 10px 0;
    padding: 10px 10px;
    border: 2px solid #c5c5c5;
    border-radius: 5px;
}

input#searchsubmit,
input.search-submit {
    -webkit-appearance: none;
    background-color: #eee;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}

@media only screen {
    .nav-bar .nav-container {
        border-bottom: 1px solid #eee
    }

    .nav-bar .nav-container .nav-text {
        display: inline
    }

    .nav-text li {
        display: inline-block;
        font-weight: normal;
        height: 50px;
        list-style: none outside none
    }
    .nav-text li.current-menu-item{
        font-size:1.1em;
        font-weight: 800;
    }
    .nav-text li .sub-menu{
        display: none;
        position: absolute;
        background: #eee;
        z-index: 999;
        margin: 0;
        padding: 10px 20px;
    }

    .sub-menu li {
        display: list-item;
    }
    .nav-bar .nav-container .nav-text a {
        margin-right: .8em
    }

    .nav-bar .nav-container .nav-icons {
        float: right;
        display: inline
    }
}

@media only screen and (max-width:720px) {
    .nav-bar .nav-container .nav-text {
        float: none;
        display: none;
        overflow: hidden;
        margin: auto;
        height: 50px
    }

    .nav-bar .nav-container .nav-text a {
        margin: 0 .4em
    }

    .nav-bar .nav-container .nav-icons {
        float: none;
        display: block;
        margin: auto
    }

    .nav-bar .nav-container .lefted {
        text-align: center
    }

    h2.index-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width:100%
    }
}
#toggle_menu{
    display:none;
    -webkit-appearance:none;
    float: left;
    border: none;
    width: 40px;
    height: 40px;
}

@media (max-width: 992px) {
    #toggle_menu{
        display:block;
    }
    .nav-bar .nav-container .nav-text{
        display: none;
    }
    .nav-text li{
        display: list-item;
        text-align: left;
        height: unset;
    }
    .nav-bar .nav-container .lefted.active{
        display: block;
        position: absolute;
        width: 100%;
        height: auto;
        background: #eee;
        z-index: 999;
        top: 225px;
        left: 0;
    }

    .nav-bar .nav-container .lefted.active li  ul.sub-menu{
        margin:0;
        padding: 0 0 0 10px;
        position: relative;
        }
        .nav-bar .nav-container .lefted.active li a{
            width:100%;
            line-height: 50px;
            padding: 0 30px;
        }
        .nav-bar .nav-container .lefted.active li.menu-item-has-children a{
            width:50%
        }
}

.logo {
    max-height: 100px;
}

@media only screen and (max-width:960px) {

    #techlogo,
    .logo {
        max-height: 60px
    }

    .nav-bar .nav-container {
        border-bottom: 0 solid #eee;
        text-align: center
    }
}

@media only screen and (max-width:960px) {
    .nav-bar {
        margin:3em 0 0;
        text-align: center
    }
}

.nav-bar .img {
    width: 32px;
    height: 32px;
    background-image: url(i/icons_32.png);
    opacity: .6;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%)
}

.nav-bar .img:hover {
    box-shadow: 0 0 5px 1px hsla(0, 0%, 100%, .4);
    opacity: 1;
    -webkit-filter: grayscale(0);
    filter: grayscale(0)
}

.index .index-list {
    background-color: #fff
}

.index .index-header {
    padding-bottom: 1em;
    width: 100%
}

.index .index-header {
    margin-bottom: 0;
    color: #fff;
    text-align: center
}

.index .index-date {
    color: grey;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
}

@media only screen and (max-width: 960px) {
	
    .index .index-date {
        font-size: 0.6em;
        overflow: hidden;
        line-height: 16px;
        display: none;
    }
	a.index-title{
		width:100%
	}
	h4.index-cat{
		display:none
	}
}

.index .index-element {
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
    font-size: 1.1em
}



.index .sliders {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out
}

.index .sliders:hover {
    background-color: #fafafa
}

.index .index-container {
    margin-bottom: 1em;
    border-radius: 3px;
    background-color: #fff
}

.index .index-container .index-content {
    word-wrap: break-word;
    word-break: break-word
}

.index .index-container img {
    margin: 1em 0;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .4)
}

.index a {
    display: block;
    background: 0 0;
    color: #707070;
}

.index a:after {
    background: #707070;
    -webkit-transition: opacity .3s, -webkit-transform .3s;
    transition: opacity .3s, transform .3s;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -ms-transform: translateY(0)
}

.index a:hover {
    color: #222
}

.index a:focus:after,
.index a:hover:after {
    opacity: 0
}

.article {
    overflow: visible;
    margin: 0 auto;
    padding: 0 2em;
    width: 100%;
    max-width: 1160px
}


.article .article-header {
    padding-bottom: 1em;
    width: 100%;
    font-size: 1.2em
}
i.page-title {
    float: left;
}
.article-meta {
    font-size: 0.9em;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}
.article-meta div{
    margin: 0 6px;
}
@media only screen and (max-width:960px) {
    .article-meta{
        font-size:0.8em;
    }
}

.article-meta .author {
    width: calc(100% - 90px);
}

.author_name span em,
.comment-meta {
    font-size: 0.8em;
}

.author_name h5 {
    margin: 0
}

.article .article-header .article-title {
    margin: 3em 0 1.33em;
}

.article-comments #comments {
    max-width: 640px;
    margin: 0 auto
}

li.comment {
    border-top: 1px solid #eee;
    margin: 20px 0;
    padding-top: 10px;
}

textarea#comment,
input#author,
input#email,
input#url,
.comment-form input#submit {
    padding: 10px;
    width: 100%;
}

@media only screen and (max-width:720px) {
    .article .article-header .article-title {
        margin: 1.6em 0 1em;
    }
}

@media only screen and (max-width:720px) {
    .article .article-header .article-title {
        padding-top: 1.4em
    }
}

.article .article-container {
    margin-bottom: 1em;
    border-radius: 3px;
    background-color: #fff;
    font-size: 1.2em
}

.article .article-container .article-content {
    word-wrap: break-word;
    word-break: break-word
}

.article .article-container img {
    z-index: 100;
    height: auto;
}



@media only screen and (max-width:1100px) {
    .article .article-container img {
        margin: 1em auto 1em 1%;
        width: 100%
    }
}

@media only screen and (max-width:720px) {
    .article .article-container img {
        margin: 1em auto 1em 1%;
        width: 100%
    }
}

.article .article-container .image-p {
    max-width: 100%
}

.article .article-container .article-comments {
    margin-top: 2em;
    padding-top: 2em;
    width: 100%;
    border-top: 1px solid #eee
}

.article .article-container .image-p img {
    margin: 0
}

ol.commentlist {
    padding: 0;
}

.footer {
    width: 100%;
    height: 30px;
    font-size: .8em;
    line-height: 1.5em
}

.footer .footer-wrapper {
    margin: 5em auto;
    width: 100%;
    max-width: 1160px
}

.footer .footer-wrapper .footer-container {
    width: 100%;
    text-align: center
}

@media only screen and (max-width:960px) {
    .footer .footer-wrapper .footer-container {
        padding: 0 1em
    }
}

@media only screen and (max-width:960px) {
    .footer .footer-wrapper {
    }
}

@media only screen and (max-width:960px) {
    .footer {
        padding: 0 1em 2.5em
    }
}


.inline {
    display: inline-block
}

@media only screen and (max-width:720px) {
    .hidden-s {
        display: none
    }
}

.parent-table {
    position: relative;
    overflow: hidden;
    width: 100%
}

code {
    font-size: 1em;
    line-height: 1.1em;
    word-break: normal
}

:after,
:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

blockquote {
    margin: 1.5em 10px;
    padding: .5em 10px;
    border-left: 10px solid #ccc;
    background: #f9f9f9;
}

.main-container {
    -webkit-animation: up .5s ease-in-out;
    animation: up .5s ease-in-out
}

.going-container {
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-animation: down .5s ease-in-out;
    animation: down .5s ease-in-out;
    -ms-transform: translateY(10px)
}

@-webkit-keyframes up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        -webkit-transform: translate(0);
        transform: translate(0)
    }
}

@keyframes up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        -webkit-transform: translate(0);
        transform: translate(0)
    }
}

@-webkit-keyframes down {
    0% {
        opacity: 1;
        -webkit-transform: translate(0);
        transform: translate(0)
    }

    to {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }
}

@keyframes down {
    0% {
        opacity: 1;
        -webkit-transform: translate(0);
        transform: translate(0)
    }

    to {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }
}

.light-box {
    display: block
}

.light-box:after {
    background-color: transparent
}

.commentlist li {
    list-style: none
}

.avatar {
    float: left;
    margin: 0 20px 0 0;
    padding: 0 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.avatar.avatar-50.photo.avatar-default {
    margin: 0
}

#commentform input {
    display: inline;
    margin-top: 10px;
    max-width: 100%;
    border: 2px solid rgba(0, 39, 59, .2);
    border-radius: 4px;
    background: none repeat scroll 0 0 #fff
}

@media only screen and (max-width:960px) {

    #commentform input#submit,
    input#author,
    input#email,
    input#url,
    textarea#comment {
        width: 100%
    }
}

.required {
    color: red
}

* {
    transition: all .5s ease 0s
}

.form-submit>#submit:hover {
    border: 2px solid #555;
    background-color: #555;
    color: #fff;
    transition: all .4s ease 0s
}

.pagination-wrapper {
    margin: 0 -15px;
}

.pagination .nav-links {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    font-size: 1em;
    font-weight: 600;
    justify-content: center;
}

.pagination-separator {
    margin: 5rem 0;
}

.nav-links>* {
    padding: 1em;
}

.nav-links .placeholder {
    display: none;
    visibility: hidden;
}

.nav-links>.current {
    color: #0080ff;
}

.pagination a {
    text-decoration: none;
}


.pagination .dots {
    transform: translateY(-0.3em);
    padding: 0;
}

#commentform label {
    display: none
}

#commentform label[for='wp-comment-cookies-consent'],.require_notice {
    font-size: 12px;
    display: inline
}

img.avatar.avatar-50.photo {
    margin: 0
}

p a {
    text-decoration: underline
}

#nprogress {
    pointer-events: none
}

#nprogress .bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 2px;
    background: #29d
}

#nprogress .peg {
    position: absolute;
    right: 0;
    display: block;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #29d, 0 0 5px #29d;
    opacity: 1;
    -webkit-transform: rotate(3deg) translateY(-4px);
    transform: rotate(3deg) translateY(-4px);
    -ms-transform: rotate(3deg) translateY(-4px)
}

#nprogress .spinner {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 100;
    display: block
}

#nprogress .spinner-icon {
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border-color: #29d transparent transparent #29d;
    border-style: solid;
    border-width: 2px;
    -webkit-animation: nprogress-spinner .4s linear infinite;
    animation: nprogress-spinner .4s linear infinite
}

@-webkit-keyframes nprogress-spinner {
    0% {
        -webkit-transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(1turn)
    }
}

@keyframes nprogress-spinner {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(1turn)
    }
}

@media (prefers-color-scheme:dark) {
    img {
        filter: brightness(.8);
        -webkit-filter: brightness(.8)
    }

    body {
        color: #8c909a
    }

    td,
    th {
        border-color: #444
    }

    .article hr {
        border-color: #080808
    }

    #techlogo {
        fill: #6d788a
    }

    #search_ico {
        fill: #6d788a
    }

    .article .article-container,
    .header,
    .index .index-container,
    body {
        background-color: #1a1a1c
    }

    .index a:hover,
    a:hover {
        color: #888
    }

    .h3,
    h1,
    h2,
    h3,
    h4 {
        color: #999
    }

    #commentform input,
    .index .sliders:hover,
    blockquote,
    input,
    textarea {
        outline: 0;
        border: 0;
        background-color: #0d0d0e;
        -webkit-appearance: none
    }

    .article .article-header .article-date,
    .index .index-element,
    .nav-bar .nav-container {
        border-bottom: 1px solid #222
    }

    .article .article-container .article-comments {
        border-top: 1px solid #222
    }

    .header {
        border-right: 1px solid #222
    }

    .enlighter-t-wpcustom,
    code:not([data-gist-id]),
    pre:not([data-gist-id]) {
        background-color: #131313 !important
    }

    .enlighter-t-wpcustom.enlighter-hover div.enlighter>div:hover {
        background-color: #292929 !important
    }
    .nav-text li .sub-menu{
        background: #000;
    }
    .nav-bar .nav-container .lefted.active{
        background: #000;
    }

    .enlighter-t-wpcustom .enlighter-text {
        color: unset !important
    }
    input#s, .search-field, input#s-404{
        border:2px solid #1a1a1a
    }
    input#searchsubmit, input.search-submit{
        background-color: #000;
    }
    li.comment{
        border-top: 1px solid #262626;
    }
}