@font-face {
  font-family: mixFont;
  src: local('Georgia'), local('serif'), url('Adobe_Garamond_Pro.ttf');
  font-display: swap;
}

@font-face {
  font-family: mixFont;
  src: local('SimSun'), local('STSong'), url('SourceHanSerifSC-Regular.otf');
  unicode-range: U+4E00-9FCB;/*汉字字符集*/
  font-display: swap;
}

@font-face {
  font-family: fangzhengkaiti;
  src: local('SimSun'), local('STSong'), url('fangzhengkaiti.ttf');
  font-display: swap;
}

@font-face {
  font-family: customcursive;
  src: local('cursive'), url('Eutemia.ttf');
  font-display: swap;
}




body{
  max-width: 1400px;
  margin: 0 auto;
  font-family: mixFont,Georgia,serif;
  font-size: 20px;
  color:  #111111;
  background-color: #FFFCF4;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

code{
  font-style: normal;
  margin: 0 2px;
  padding: 0px 5px;
  border: 1px solid #EAEAEA;
  background-color: #F8F8F8;
  border-radius: 3px;
}

pre code{
  border-style: none;
  margin: 0px;
  padding: 0px;
}
pre,code{
  font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
  font-size: 12px;
}
pre{
  font-size:1em;
  background-color: #F8F8F8;
  border: 1px solid #CCC;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

pre#char{
  background-color: white;
  border-style: none;
}

p, li{
}

a{
  color:  #0074D9;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

#post_list {
  width: 100%;
  margin-top: 20px;
}
.per_post {
  border-bottom: thin solid rgb(200, 200, 200);
}
#post_list .title{
  font-size: 30px;
  // white-space: nowrap;
}
#post_list .title a{
  color:  rgb(60, 60, 60);
}
#post_list .title a:hover{
  color:black;
  // font-weight: bold;
  text-decoration: none;
}
#comment{
  padding-top: 20px;
}


header#page_header{
  text-align: right;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

header#page_header nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
#page_header nav ul li{
  padding: 0;
  margin: 0 20px 0 0;
  display: inline;
}

#menu-button a {
  display: none;
  font-size: 48px;
}

#index_menu {
  padding: 10px 10px 10px 10px;
  width: 400px;
  height: 96vh;
  overflow-y: scroll;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

#main_content {
  padding: 10px 10px 10px 10px;
  margin: 0 auto;
  max-width: 960px;
  flex-grow: 2;
  flex-shrink: 100;
  overflow: auto;
}

#page_content {
  margin: 0 auto;
}

#post-pagination {
  clear: both;
  width: 100%;
  text-align: center;
  padding: 20px 0 0 0;
  font-size: 18px;
}
#post-pagination ul li{
  display: inline-block;
}
#post-pagination#current-page {
  padding: 3px 10px;
  font-weight: bold;
}
li#page-number{
  margin-right: 20px;
}

footer#page_footer{
  clear: both;
  width: 100%;
  display: block;
  text-align: center;
  padding: 20px 0 0 0;
  font-size: small;
}

.description {
  font-style: italic;
  color:  rgb(120, 120, 120);
  margin-bottom: 20px;
}

#post h1{
  font-size: 30px;
}
#post h2{
  font-size: 22px;
  font-weight: bold;
}
#post h3{
  font-size: 20px;
  font-weight: 600;
}
#post h4{
  font-size: 18px;
  font-weight: 600;
}

#post table{
  width: 90%;
  border: 1px solid black;
  border-collapse: collapse;
}
#post th, #post td {
  padding: 4px;
  border: 1px solid black;
}
#post th{
  text-align: left;
}
#post td{
  margin-right: 20px;
}
#post_footer table{
  width: 100%;
  font-size: 17px;
  padding-top: 30px;
}
#post_footer td#prev{
  text-align: left;
}
#post_footer td#next{
  text-align: right;
}

#content_table {
  display: none;
}

blockquote {
  padding: 10px 20px 10px 20px;
  border: 1px solid #EAEAEA;
  margin-left: 0px;
  font-family: Times;
  font-size: 18px;
}

.zh blockquote {
  font-family: fangzhengkaiti;
  font-size: 18px;
  font-style: normal !important;
}

#article_content img {
  width: 800px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto
}

@media screen and (min-width:900px){
  #post_list #description{
    display: inline;
  }
}
@media screen and (max-width:1060px) {
  #index_menu {
    display: none;
  }

  #menu-button a {
    display: inline;
  }

  #main_content {
    max-width: 96vw;
  }

}

.category_desc {
  font-size: 25px;
  color: rgb(120, 120, 120);
}

#snippets {
  width: 100%;
}

.snippet {
  border-bottom-style: solid;
  border-bottom-color: rgb(200, 200, 200);
  border-bottom-width: 1px;
  padding: 10px;
}

.snippet .metadata {
  font-size: 15px;
  color: rgb(100, 100, 100);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 15px;
  padding-right: 20px;
}

.snippet img {
  width: auto !important;
  height: auto !important;
  display: inline !important;
  max-width: 100%;
}


#load-snippets {
  margin-top: 40px;
  width: 100% !important;
  text-align: center;
  display: block;
  font-size: 25px;
}

.line-numbers {
  margin-right: 10px;
}

.index-entry {
  padding-top: 10px;
  font-size: 18px;
}

.index-intend {
  padding-left: 22px;
  border-left: solid 1px #dddada;
}

.index-index {
  font-weight: bold;
  color: black;
}

.index-post {
  font-size: 17px;
}


.index-post a {
  color: rgb(20, 20, 20);
  font-weight: lighter;
}

.index-selected {
  color: blue;
}

.publish-year {
  font-size: 14px;
}





.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #7D9029 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.highlight .no { color: #880000 } /* Name.Constant */
.highlight .nd { color: #AA22FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0000FF } /* Name.Function */
.highlight .nl { color: #A0A000 } /* Name.Label */
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
.highlight .mf { color: #666666 } /* Literal.Number.Float */
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
.highlight .vc { color: #19177C } /* Name.Variable.Class */
.highlight .vg { color: #19177C } /* Name.Variable.Global */
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */

