:root {
    --main-color: tomato;
    --font-color: #555;
    --sub-font-color: #999;
    --underline-font-color: #555;
    --link-color: tomato;
    --border-color: #F0F0F0;
    --shadow-color: #DDD;
    --underline-color: #f7f7f7;
    --background-color: #F5F5F5;
    --page-color: #FFF;
    --body-background-image: url(/images/circuit.png);
}

[data-theme="dark"] {
    --main-color: tomato;
    --font-color: #B8B8B8;
    --underline-font-color: #FFF;
    --sub-font-color: #646161;
    --link-color: tomato;
    --border-color: #111;
    --shadow-color: #1B1B1B;
    --underline-color: #171514;
    --background-color: #171514;
    --page-color: #232222;
    --body-background-image: none;
}

abbr,article,aside,audio,blockquote,body,code,div,em,fieldset,footer,form,h1,h2,h3,h4,h5,h6,header,html,img,label,legend,li,nav,object,ol,p,pre,section,span,table,tbody,tfoot,thead,time,tr,ul,video {
    font-weight: inherit;
    vertical-align: baseline;
    border: 0;
    background-color: transparent
}

iframe {
    font-size: 100%;
    font-weight: inherit;
    vertical-align: baseline
}

iframe,small,strong,sub,sup,td,th {
    margin: 0;
    padding: 0;
    background-color: transparent
}

small {
    border: 0
}

small,strong {
    vertical-align: baseline
}

small,sub,sup {
    font-weight: inherit
}

strong,sub,sup,td,th {
    font-size: 100%
}

html {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    overflow-y: scroll;
    box-sizing: border-box;
    -webkit-text-size-adjust:none;
}

*,:after,:before {
    box-sizing: inherit;
    background-repeat: no-repeat
}

body {
    line-height: 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

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

audio,embed,iframe,img,object,video {
    max-width: 100%;
    height: auto
}

iframe,strong,sub,sup,td,th {
    border: 0
}

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

blockquote,q {
    quotes: none
}

blockquote:after,blockquote:before,q:after,q:before {
    content: none
}

sup {
    vertical-align: text-top
}

input[type=radio],sub {
    vertical-align: text-bottom
}

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

caption,td,th {
    font-weight: 400;
    text-align: left;
    vertical-align: top
}

input,select {
    vertical-align: middle
}

input[type=checkbox] {
    vertical-align: middle
}

b,strong {
    font-weight: 700
}

small {
    font-size: 80%
}

abbr,acronym {
    cursor: help;
    text-decoration: none;
    border-bottom: .1em dotted
}

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

input {
    border-radius: 0
}[role=button],[type=button],[type=reset],[type=submit],button,input[type=file],label {
    cursor: pointer
}[disabled] {
    cursor: default
}

button,input,select,textarea {
    margin: 0;
    text-transform: none;
    border: 0
}

img {
    border-style: none
}

code,kbd,pre,samp {
    font-family: monospace
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: Lato,"PingFang SC","Microsoft YaHei",sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--underline-font-color);
}

body {
    font-size: 16px;
    line-height: 1.8;
    /* color: #555; */
    color: var(--font-color);
    /* background: #F5F5F5; */
    background: var(--background-color);
    background-image: var(--body-background-image);
    background-repeat: repeat-x, repeat-x;
}

/* body, html {
    height: 100%;
} */

a {
    text-decoration: none;
    background-color: transparent;
    color: var(--link-color);
    border-bottom: 1px solid var(--main-color);
}

a, code {
    word-wrap: break-word;
}

h2, h3, h4, h5, h6 {
    margin: 20px 0 15px;
    padding: 3px 0;
}

h1 {
    font-size: 22px;
}

@media (max-width:767px) {
    h1 {
        font-size:18px
    }
}

h2 {
    font-size: 20px;
}

@media (max-width:767px) {
    h2 {
        font-size:16px
    }
}

h3 {
    font-size: 18px;
}

@media (max-width:767px) {
    h3 {
        font-size:14px
    }
}

h4 {
    font-size: 14px;
}

@media (max-width:767px) {
    h4 {
        font-size:12px
    }
}

h5 {
    font-size: 18px;
}

@media (max-width:767px) {
    h5 {
        font-size:14px
    }
}

h6 {
    font-size: 12px;
}

@media (max-width:767px) {
    h6 {
        font-size:8px
    }
}

article h2:before, article h3:before, article h4:before, article h5:before, article h6:before {
    content: '[';
    margin-right: 4px;
    color: var(--main-color);
}

article h2:after, article h3:after, article h4:after, article h5:after, article h6:after {
    content: ']';
    margin-left: 4px;
    color: var(--main-color);
}

::selection {
    background: var(--main-color);
    color: #fff;
}

img {
    border: 0;
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

code {
    padding: 2px 4px;
    color: var(--sub-font-color);
    background: var(--underline-color);
    border-radius: 3px;
    font-size: 14px;
}

code, pre {
    font-family: consolas,Menlo,"PingFang SC","Microsoft YaHei",monospace;
}

caption, td, th {
    padding: 8px;
    text-align: left;
    font-weight: 400;
}

caption, code, td, th {
    vertical-align: middle;
}

table {
    margin: 20px 0;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    font-size: 14px;
    table-layout: fixed;
    word-wrap: break-all;
}

table>tbody>tr:nth-of-type(odd) {
    background-color: var(--background-color);
}

td {
    border-bottom-width: 1px;
}

td, th {
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

b, dt, optgroup, strong {
    font-weight: 700;
}

blockquote {
    margin: 0;
    padding: 0 15px;
    color: #666;
    border-left: 4px solid var(--border-color);
}

.recent-posts, .post, .page, .archive, .tag, .category, .archive {
    min-height: 520px;
}

.recent-posts img, .post img, .page img, .archive img, .tag img, .category img, .archive img {
    box-sizing: border-box;
    margin: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 5px 5px 10px var(--shadow-color);
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    margin: 40px 0;
    height: 1px;
    border: none;
    background-color: var(--border-color);
}

article {
    padding: 20px 0;
}

.container {
    margin: 60px auto;
    position: relative;
    width: 708px;
    background: var(--page-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 8px 8px 14px var(--shadow-color);
}

@media (max-width:767px) {
    .container {
        margin: 0;
        width: 100%;
        padding: 20px;
        word-break: break-word;
    }
}

.header-outer {
    min-width: 100%;
    display: inline-block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-site {
}

.header-title {
    font-size: 38px;
}

.header-subtitle {
    font-style: oblique;
    color: var(--sub-font-color);
    font-size: 14px;
}

.header-menu {
    margin: 8px 0;
}

.header-nav {
    font-size: 16px;
}

.recent-post-year-title .recent-post-year {
    margin: 18px 0;
    font-weight: 400;
    line-height: 34px;
}

.recent-post-items {
    margin: 15px 0;
}

.recent-post-items .recent-post-time {
    float: left;
    overflow: hidden;
    color: var(--sub-font-color);
    font-size: 14px;
    line-height: 25px;
    display: block;
}

.recent-post-items .recent-post-item {
    margin-left: 85px;
    display: block;
}

.recent-post-item a {
    font-size: 16px;
}

@media (max-width:767px) {
    .gitment-editor-footer-tip {
        display: none !important;
    }
}

.post-footer {
    margin-top: 2em;
}

.post-footer .post-category, .post-footer .post-tags, .post-footer .post-author {
    font-size: 14px;
    color: var(--sub-font-color);
    text-align: right;
}

.pagination {
    display: table;
    margin-top: 15px;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.noborder {
    border: none;
}

.pagination .nav-prev {
    display: table-cell;
    padding: 10px 0 0;
    width: 45%;
    text-align: right;
}

.pagination .nav-next {
    display: table-cell;
    padding: 10px 0 0;
    width: 45%;
    text-align: left;
}

.nav-item a {
    position: relative;
    display: block;
    line-height: 25px;
    font-size: 16px;
    border-bottom: none;
}

.footer-outer {
    margin-top: 2em;
    padding: .4em 0;
}

.footer-items, .footer-other {
    color: var(--sub-font-color);
    font-size: 14px;
}

.footer-copyright {
    margin-right: 2px;
}

.footer-year, .footer-author {
    margin: 0 2px;
}

.footer-icon {
    color: var(--main-color);
}

.footer-wordcount {
    margin-left: 2px;
}