/* copy from https://github.com/Jerkwin/Jerkwin.github.io/blob/master/jscss/pmd.min.css*/
* {
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%;
    padding: 0 .5em 0 .5em
}

body {
    font: 1em/1.5 Helvetica, Arial, "Microsoft YaHei", sans-serif;
    color: #276904
}

ul#markdown-toc {
    display: none;
    font-size: .8em;
    margin: 0;
    padding: .5em;
    max-width: 20%;
    height: 100%;
    overflow: auto;
    border: solid 1px #999;
    border-radius: 1em;
    -moz-border-radius: 1em;
    box-shadow: 2px 2px 2px #999;
    -moz-box-shadow: 2px 2px 2px #999;
    -webkit-box-shadow: 2px 2px 2px #999;
    top: 0;
    left: 2px;
    position: fixed
}

ul#markdown-toc li {
    margin-left: -.2em
}

ul#markdown-toc:before {
    content: "目录";
    font-weight: 900
}

.site-header {
    border-bottom: 2px solid #e8e8e8;
    background-color: #fbfbfb;
    margin: 0;
    padding: 0;
    width: 100%
}

.site-title {
    font-size: 2em
}

.site-title:hover {
    text-decoration: underline
}

.page-link {
    margin-left: .5em
}

.page-link:visited {
    color: #E00
}

.wrap {
    margin: 0 auto;
    zoom: 1;
    text-align: left;
    overflow: visible
}

.wrap:before,
.wrap:after {
    content: "";
    display: table
}

.wrap:after {
    clear: both
}

a {
    color: #E00;
    margin: 0 .3em 0 .3em;
    text-decoration: none
}

a:visited {
    color: #A00
}

a:hover {
    color: #000
}

.meta {
    color: #333;
    font-size: .85em
}

.content {
    padding-bottom: 1em
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
    margin: .5em 0 .2em 0
}

h1 {
    font-size: 1.5em;
    color: #000;
    margin: 1em 0 .2em 0
}

h2 {
    font-size: 1.2em;
    border-bottom: 1px solid
}

h3 {
    font-size: 1.1em
}

h4 {
    font-size: 1em
}

p {
    margin: 1em 0 .5em 0
}

ul,
ol,
dl,
li {
    margin: .5em 0 .5em 1em
}

li p {
    text-indent: 0
}

blockquote,
q {
    font: bold 1em/1 Consolas, "Courier New", "KaiTi", "KaiTi_GB2312", "FangSong_GB2312", SimHei, arial, Monaco, monospace;
    color: #000;
    margin: 1em;
    max-width: 100%;
    background: #f9f9f9;
    quotes: "\201C" "\201D" "\2018" "\2019"
}

blockquote ol {
    margin: 1em
}

blockquote li {
    margin: 1em
}

q:before,
q:after,
blockquote:before,
blockquote:after {
    font-size: 2em;
    color: #ccc;
    line-height: 0;
    vertical-align: -.2em
}

q:before,
blockquote:before,
blockquote:after {
    content: open-quote;
    margin-left: -.5em
}

q:after,
blockquote:after {
    content: close-quote
}

pre,
code {
    font: bold 1em/1.2 Consolas, "Courier New", Monaco, monospace, SimHei;
    overflow: auto;
    background: #f5f2f0;
    max-width: 100%;
    color: #d14;
    tab-size: 2
}

pre code {
    border: 0
}

code {
    padding: 0;
    border: 1.2px solid #e0dfcc;
    margin: 0 .3em 0 .3em
}

.highlighttable {
    background: #f0f0f0;
    overflow: auto;
    display: block;
    max-width: 100%
}

.highlighttable td.code {
    width: 100%
}

#scrollTop,
#tocbtn {
    font-size: 1.4em;
    font-weight: bold;
    width: 1em;
    height: 1.5em;
    color: white;
    background: #6e7173;
    border-radius: 1em;
    opacity: .75;
    cursor: pointer;
    -moz-transition: all 1s ease-out 0s;
    -webkit-transition: all 1s ease-out 0s;
    position: fixed
}

#scrollTop:hover,
#tocbtn:hover {
    background: #40aa53
}

#scrollTop {
    bottom: 1px;
    right: 1px;
    display: none;
    z-index: 200
}

#tocbtn {
    display: none;
    top: 1px;
    left: 1px;
    z-index: 20
}

#Box {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
    align-items: center;
    justify-content: center;
    text-align: center
}

#TopImg {
    border: 3px solid #fff;
    left: 1em
}

#TopTxt {
    min-width: 15em;
    max-width: 20em;
    margin: 1em;
    padding: 1em;
    overflow: auto;
    text-align: left;
    color: #fff;
    border: 5px solid #fff
}

#TopIdx {
    width: 100%;
    position: absolute;
    color: #fff;
    bottom: 0
}

hr {
    color: #999;
    page-break-after: always
}

table {
    font: bold 1em/1.2 Consolas, "Courier New", Monaco;
    text-align: left;
    vertical-align: baseline;
    border: 2px solid #888;
    border-spacing: 1;
    border-collapse: collapse;
    color: #000;
    background-color: #ece8cd;
    max-width: 100%;
    margin: auto;
    overflow: auto
}

th {
    color: #fff;
    background-color: #a82918;
    border: 2px solid #000;
    padding: 5px
}

td,
tr {
    border: 2px solid #AAA;
    padding: 5px
}

table tr:nth-child(2n) {
    background-color: #fffbde
}

tfoot {
    font: 1em/1.2 Consolas, "Courier New", Monaco
}

figure,
img {
    font: bold 1em/1 Helvetica, arial, "Microsoft YaHei", sans-serif;
    max-width: 95%;
    display: block;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 20px;
    text-align: center
}

figure figcaption {
    display: block;
    text-align: center
}

aside {
    display: block;
    float: right;
    width: 390px
}

img.avatar {
    position: relative;
    float: right
}

canvas.ChemDoodleWebComponent {
    border: 1px solid black
}

.listing-item time {
    color: #999
}

.listing-seperator {
    font-weight: bold;
    margin-left: -1em
}

.listing-item,
.listing-seperator {
    list-style-type: none
}

.listing-item {
    margin-left: 3em;
    text-indent: -3em
}

.paginator {
    font-size: .9em;
    color: #AAA;
    margin: 1em 0;
    line-height: 150%;
    display: block
}

.paginator a,
.paginator span {
    padding: 0 .2em;
    margin: .2em;
    text-decoration: none
}

.paginator .current-page {
    color: white;
    background: red
}

.paginator a:hover {
    color: white;
    background: #83bf73
}

.tagbox {
    margin: .3em;
    background: #eee;
    border: 1px dashed #ccc
}

.tagbox span {
    vertical-align: super;
    font-size: .8em;
    color: #07e
}