@font-face {
  font-family: 'ykykDiyFont'; /* 自定义字体名称 */
  src: url('lib/FontsLab-XiangMoYu-2.ttf') format('truetype');
  font-weight: 400; /* 字重（如 400=normal, 700=bold） */
  font-style: normal; /* 样式（如 italic） */
  font-display: swap; /* 先显示默认字体，加载后替换 */
}

body {
    background: #eceff1;
    color: #424242;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    margin: auto;
    max-width: 1170px;
    margin-bottom: 4em;    
    padding: 0 1ch;
    word-wrap: break-word;
}

#content {
    background: #FFFFFF;
    padding: 2em;
}

#table-of-contents::after {
    content: "";
    text-align: center;
    display: block;
    border-top: 1px dashed #369;
    padding-top: 2rem;
}

#table-of-contents h2 {
    display: none;
}

.title {
    text-align: center;
    font-size: 2rem;
    color: #369;
}

.subtitle {
    text-align: center;
    font-size: medium;
    font-weight: bold;
    margin-top: 0;
}

.todo {
    color: red;
}

.done {
    color: green;
}

.priority {
    color: orange;
}

.tag {
    background-color: #eee;
    padding: 2px;
    font-size: 80%;
    font-weight: normal;
}

.timestamp {
    /* color: #bebebe; */
}

.timestamp-kwd {
    color: #5f9ea0;
}

.org-right {
    margin-left: auto;
    margin-right: 0px;
    text-align: right;
}

.org-left {
    margin-left: 0px;
    margin-right: auto;
    text-align: left;
}

.org-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.underline {
    text-decoration: underline;
}

#postamble p,
#preamble p {
    font-size: 90%;
    margin: .2em;
}

p.verse {
    margin-left: 3%;
}

.verse a {
    font-weight: normal;
}

pre {
    white-space: pre-wrap;       /* CSS3 */
    white-space: -moz-pre-wrap;  /* Firefox */
    white-space: -pre-wrap;      /* 古老的 Opera */
    white-space: -o-pre-wrap;    /* 古老的 Opera */
    word-wrap: break-word;       /* IE 5.5-7 */
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 8pt;
    overflow: auto;
    margin: 1.2em;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #f2f2f2;
    color: #000    
}

pre code {
    background: none;
}

pre.src {
    position: relative;
    overflow: auto;
}

pre.src:before {
    display: none;
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 3px;
    color: #555;
    background-color: #f2f2f299;
}

pre.src:hover:before {
    display: inline;
    margin-top: 14px;
}

table {
    border-collapse: collapse;
    margin: 10px 0 15px 0;
}

caption.t-above {
    caption-side: top;
}

caption.t-bottom {
    caption-side: bottom;
}

td,
th {
    vertical-align: top;
    border: 1px solid #ddd;
    padding: 3px 10px;
}

th.org-right {
    text-align: center;
}

th.org-left {
    text-align: center;
}

th.org-center {
    text-align: center;
}

td.org-right {
    text-align: right;
}

td.org-left {
    text-align: left;
}

td.org-center {
    text-align: center;
}

dt {
    font-weight: bold;
}

.footpara {
    display: inline;
    font-size: 0.8rem;
}

.footdef {
    margin-bottom: 1em;
}

.figure {
    padding: 1em;
}

.figure p {
    text-align: center;
}

.equation-container {
    display: table;
    text-align: center;
    width: 100%;
}

.equation {
    vertical-align: middle;
}

.equation-label {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
}

.inlinetask {
    padding: 10px;
    border: 2px solid gray;
    margin: 10px;
    background: #ffffcc;
}

#org-div-home-and-up {
    text-align: right;
    font-size: 70%;
    white-space: nowrap;
}

textarea {
    overflow-x: auto;
}

.linenr {
    font-size: smaller
}

.code-highlighted {
    background-color: #ffff00;
}

code {
    color: #3c4349;
    background: rgb(168 189 225 / 50%);
    font-weight: bold;
}

.org-info-js_info-navigation {
    border-style: none;
}

#org-info-js_console-label {
    /* font-size: 10px; */
    font-weight: bold;
    white-space: nowrap;
}

.org-info-js_search-highlight {
    background-color: #ffff00;
    color: #000000;
    font-weight: bold;
}

.org-svg {
    width: 90%;
}

.article-info {
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
    margin-top: -0.3rem;
}

.article-info ul {
    text-align: center;

}

.article-info ul li {
    display: inline;
    color: #666;

}



/* 隐藏 Chrome、Safari 和 Opera 的滚动条 */
*::-webkit-scrollbar {
    display: none
}

/* 隐藏 IE、Edge 和 Firefox 的滚动条 */
* {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    color: blue;
}

a:hover {
    color: #F00;
    text-decoration: underline;
}

b {
    font-weight: bold;
    color: #369;
}

blockquote {
    padding-left: 0.16rem;
    border-left: 1px solid #369;
    color: #369;
}

h2 {
    font-size: 2rem;
    color: #369;
}
h3 {
    font-size: 1.8rem;
    color: #369;
}
h4 {
    font-size: 1.6rem;
    color: #369;
}
h5 {
    font-size: 1.4rem;
    color: #369;
}
h6 {
    font-size: 1.2rem;
    color: #369;
}

h2::before {
    content: ""
}

h3::before {
    content: "　"
}

h4::before {
    content: "　　"
}
h5::before {
    content: "　　　"
}
h6::before {
    content: "　　　　"
}


h2,
h3,
h4,
h5,
h6 {
    margin: 0.18rem 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1em;    
}

.rss-list-timestamp {
    color: #999;
    font-size: 0.6rem;
    margin-left: 2rem;
}

#ykyk-postcomment-box {
    margin: auto;
    max-width: 1170px;    
    text-align: center;
    color: #666;
    margin-bottom: 4em;    
    padding: 0 1ch;
    word-wrap: break-word;    
}

#ykyk-postcomment-textarea {
    position: relative;
    z-index: 99;
}

/* #ykyk-postcomment { */
/*     background-repeat: no-repeat; */
/*     background-position: bottom right; */
/*     background-size: 250px 128px; */
/* } */

.ykyk-comment-info {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: -0.3rem;
}

.ykyk-comment-info ol {
    text-align: left;

}


.article-info-img {
    width: 12px;
    height: 12px;
}

#typearchive:hover {
    color: #F00;
    text-decoration: underline;
}

#datehome:hover {
    color: #F00;
    text-decoration: underline;
}

#rssimg:hover {
    color: #F00;
    text-decoration: underline;
}


