@font-face {
  font-family: 'Courier Prime Mod';
  src: url('fonts/courier-prime/courier-prime.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Courier Prime Mod';
  src: url('fonts/courier-prime/courier-prime-semibold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}




/********** General **********/

body {
  font-size: 18px;
  color: #525d67;
  background: #FFF;
  font-family: 'Times New Roman', Times, Arial, 
    /*apple*/ "Songti SC", "Songti",
    /*second choice*/ "Source Han Serif SC", "Source Han Serif CN", "Source Han Serif", "思源宋体 CN", "思源宋体",
    /*windows*/ SimSun,
    /*kindle*/ STSong,
    /*others*/ serif, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}

h1,h2,h3,h4,h5,h6 {
  margin: 40px 0;
  color: #010101;
}

h1, h2 {
  font-size: 2.3rem;
}

h3 {
  font-size: 2rem;
  font-weight: bolder;
}

h4 {
  font-size: 1.8rem;
  color: #bdc3c7;
}

h5, h6 {
  font-size: 1.4rem;
}

hr {
  width: 10%;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

a {
  color: #34495E;
}

a:link {
  text-decoration: none;
}

blockquote {
  border-left: 5px solid #000000;
  font-size: 15px;
  padding: 0 0 0 15px;
}

p {
  font-weight: 400;
  line-height: 1.7em;
}

ul, ol {
  /* list-style: none; */
  margin: 0;
  margin-bottom: 30px;
}

/* 修改这里覆盖prism没有处理的部分 */

code {
  /* border: 1px dashed #ccc; */
  /* Use none to fix link problem */
  background: none;
  color: #202020;
  font-family: "Courier Prime Mod", Consolas, "DejaVu Sans Mono", monospace;
}

pre {
  /* same as prism */
  background: #ffffff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: none;
  line-height: 1.8em;
  margin-bottom: 25px;
  padding: 10px;
  font-family: "Courier Prime Mod", Consolas, "DejaVu Sans Mono", monospace;
}

pre code {
  border: none;
  box-shadow: none;
  margin: 0px;
  white-space: pre;
  color: #202020;
}

img {
  width: auto\9;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/* same as prism */

::selection {
  background: hsl(230, 1%, 90%); /* Safari */
}

::-moz-selection {
  background: hsl(230, 1%, 90%);; /* Firefox */
}




/********** divs **********/

.title {
  font-size: 3rem;
  margin-left: -5px;
  margin-bottom: 30px;
  color: #000000;
}

.title a:link,.title a:visited {
  color: #000000;
  text-decoration: none;
}

.date_below_title {
  font-size: 0.8em;
  margin-left: -5px;
  /* just harcoded (-.title.margin-bottom + 2) */
  margin-top: -28px;
  /* == .title.margin-bottom */
  margin-bottom: 30px;
}

/* unused? */
.eof {
  text-align: center;
}

.hidden {
  display: none;
}

/* unused? */
.more .title {
  font-size: 1.1em;
}

/* unused? */
.end {
  margin-top: -20px;
}

.footer {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 30px;
}

.footer a:link {
  color: #747f8c;
  text-decoration: none;
  margin: 0 2px;
  padding: 3px;
}

.footer a:hover {
  color: #41474e;
}

.comments a:link {
  color: #747f8c;
  text-decoration: none;
  margin: 0 2px;
  padding: 3px;
}

.comments a:visited {
  color: #747f8c;
  text-decoration: none;
}




/********** container **********/

.container {
  max-width: 900px;
  overflow: hidden;
  padding: 20px;
  padding-top: 40px;
}




/********** content **********/

.content h3 {
  margin: 40px 0 40px 0;
}

.content, blockquote {
  line-height: 2.0em;
  color: #000000;
}

.content i, .content em {
  font-style: italic;
}

.content img {
  display: block;
  margin: auto;
}

.content strong {
  color: #000000;
  /* margin: 0px 3px 0px 3px; */
}

.content li {
  /* list-style: initial; */
  margin-bottom: 0px;
  line-height: 2em;
}

.content ul {
  /* list-style: initial; */
  margin-bottom: 0px;
  line-height: 2em;
}

.content ol {
  /* list-style: decimal; */
  margin-bottom: 0px;
  line-height: 2em;
}

.content a {
  border-bottom: 2px solid rgb(232, 232, 232)
}

.content a:visited,.content a:link,.content a:hover {
  color: #362626;
  margin: 0 2px;
  padding: 3px;
}

.content a:hover {
  color: #707070;
}

.content .center {
  font-style: italic;
  color: #bdc3c7;
  text-align: center;
  margin-top: -15px;
  margin-bottom: 15px;
}

.content .collect_info {
  margin-bottom: 40px;
  color: #747f8c;
}

/* table */

.content table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	width: 100%;
}

.content thead th {
  padding-left: 0.4em;
	border-bottom: 2px solid #000000;
}

.content th {
	text-align: left;
}

.content tr {
	border-bottom: 1px solid #eee;
}

.content td {
	padding: 0.4em;
}

.content th:first-child, td:first-child {
	padding-left: 0;
}

.content th:last-child, td:last-child {
	padding-right: 0;
}

.content p {
  margin-bottom: 1em;
  margin-top: 0.6em;
}




/********** archive **********/

.archive,.content, .index_posts li {
  list-style: none;
  padding: 0;
}

.archive {
  font-size: 18px;
}

.archive li {
  line-height: 1.1em;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.archive li time {
  color: #b1b1b1;
  font-family: 'Palatino Linotype', 'Times New Roman', Times, Arial;
  font-size: 16px;
}

.archive .year {
  color: #818181;
  text-transform: uppercase;
  margin: 25px 0;
  font-weight: bolder;
}

.archive a {
  border: 0px;
}



/********** Other pages **********/

.not { text-align: center;}

.notfound {
  text-align: center;
  font-size: 6rem;
  margin-top: 40px;
  margin-bottom: 40px;
}

.index_dragon {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.index_dragon pre {
    line-height: 1.2em;
    font-size: 1.6em;
}

.index_dragon img {
  border-radius: 0%;
  width:auto;
  display: block;
};

.index_dragon figure {
  border: thin #c0c0c0 solid;
  display: flex;
  flex-flow: column;
  padding: 0;
  margin: 0;
}

.index_dragon figcaption {
  color: #b1b1b1;
  font: irgb(209, 209, 209)c smaller sans-serif;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  line-height: 1.6em;
}

.index_center {
    text-align: center;
}

/* For home */

.menu {
  padding: 0;
  margin: 0 auto;
}

.menu li {
  display: inline-block;
  margin: 0 15px;
}

/* For ToC */

.post_toc {
  min-width: 300px;
  max-width: max-content;
  padding: 10px;
  word-wrap: break-word;
  box-sizing: border-box;
  color:#362626;
  font-size: 14px;
  border-style: solid;
  border-width: 2px;
  border-color: #362626;
}

.post_toc a:hover {
  color:#707070;
}

.post_toc a {
  color:#362626;
}

.post_toc ul {
  margin: 0;
}

.post_toc_title {
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 0 0;
}

.catbox {
  display: inline-block;
  /* border: 1px solid #9f9f9f; */
  border-radius: 5px;
  background-color: #efefef;
  text-decoration: none;
  font-size: 10px;
  margin-left: 0.25em;
  padding: 0px 0.4em 1px 0.4em;
  vertical-align: middle;
  line-height: 14px;
  opacity: 20%;
  font-family: sans-serif;
}




/********** Workarounds **********/

.workaround_link a {
	-webkit-box-shadow: inset 0 -1.5px 0 rgba(15, 15, 15, 1);
	box-shadow: inset 0 -1.5px 0 rgba(15, 15, 15, 1);
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
  text-decoration: none;
  border-bottom: 0;
  padding: 3px 3px 5px 3px;
}

.workaround_link a:visited, .workaround_link a:link, .workaround_link a:hover {
  color: #362626;
  padding: 3px 3px 5px 3px;
}

.workaround_link a:hover {
  color: #362626;
  -webkit-box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 1);
	box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 1);
  padding: 3px 3px 5px 3px;
}

.screen_height {
  padding-top: 7%;
}
