/* Text AutoSpace https://github.com/mastermay/text-autospace.js */
html.han-la hanla:after {
  content: " ";
  display: inline;
  font-family: Arial;
  font-size: 0.89em;
}
html.han-la pre hanla,
html.han-la kbd hanla,
html.han-la code hanla,
html.han-la samp hanla {
  display: none;
}
html.han-la ol > hanla,
html.han-la ul > hanla {
  display: none;
}
/* ruby 样式来自于 https://github.com/journey-ad/MDRuby-Typecho-Plugin/ */
ruby {
  background-color: rgba(146, 185, 204, 0.2);
  margin: 2px;
  padding: 0 2px;
  border-radius: 4px;
}
ruby > rt {
  font-style: italic;
  color: #6a8998;
  margin-right: 2px;
  font-weight: 400;
  font-size: 1rem;
}
hr { border-top: 1px dashed #cfd8dc7a !important; }
html {
  font-size: 11px;
}
::-moz-selection { 
  color: white;
  background: #1abc9c;
}
::selection { 
  color: white;
  background: #1abc9c;
}
/* body 样式来自于 https://imjad.cn/ */
/* 字体样式来自于 https://csspod.com/using-the-system-font-in-web-content/ */
body {
  font-size: 1.7rem;
  color: #606975;
  font-family: sans-serif;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1);
  font-weight: 300;
  transition: background-color .8s ease-in-out;
}
/* 灰度背景样式来自于 https://imjad.cn/ */
main::after {
  background-image: url(/img/desktop/kyoko.png);
}
main::after {
  content: "";
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.025;/* 初始值 0.025 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  -webkit-filter: grayscale(100%);
     -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
       -o-filter: grayscale(100%);
          filter: grayscale(100%);
          filter: gray;
}
footer {
  clear: both;
  background-color: transparent;
  text-align: center;
  padding-bottom: 9px;
}
/* The 'target="_blank"' link use alias cursor */
a[target="_blank"] {
  position: relative;
}
a[target="_blank"],
a[target="_blank"] img {
  cursor: alias;
}
a[target="_blank"]::before {
  font-family: 'Flat-UI-Icons';
  font-size: 12px;
  font-weight: 600;
  content: "\e63c  " attr(href);
  position: absolute;
  top: -50%;
  padding: 0 10px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 800px;
  white-space: pre-wrap;
  word-break: break-all;
  -webkit-transition: opacity 0.3s, color 0.3s, -webkit-transform 0.3s, background-position 0.2s;
  transition: opacity 0.3s, color 0.3s, transform 0.3s, background-position 0.2s;
  transition-delay: 0s, 0s, 0s, 0s;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  margin: 0;
  background-color: transparent;
  line-height: 2em;
  color: transparent;
  pointer-events: none;
  text-shadow: none;
}
a[target="_blank"]:hover::before {
  color: #404d5b;
  background-color: #f7f7f5;
  border: solid 1px;
  border-color: #e2e2e2;
  -webkit-transition-delay: 0s, 0s, 0s, 0.1s;
  transition-delay: 0s, 0s, 0s, 0.1s;
  -webkit-transform: scale(1) translateY(-75%);
  transform: scale(1) translateY(-75%);
  pointer-events: auto;
}
.post-nav {
  text-align: center;
  margin: 0 auto;
}
.index-topic {
  font-weight: 700;
  color: #34495e;
}
/* ellip */
.ellip {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.bottom-tools {
  margin-left: 10px;
  margin-bottom: 15px;
  padding-left: 40px;
}
.bottom-tools p {
  margin: 0;
  font-size: 90%;
  line-height: 2.067;
}
.bottom-tools a {
  color: rgb(154, 164, 175);
  font-weight: 400;
}
.bottom-tools a:hover {
  color: #1abc9c;
}
/* PostTor CSS */
.post-tor {
  position: relative;
  z-index: 0;
  width: 100%;
  text-align: right;
  display: block;
}
.post-tor-content {
  margin-left: 1rem;
  text-align: left;
  position: fixed;
  top: 100px;
  padding: .6rem;
  padding-top: 2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  font-size: 1rem;
  color: rgb(96, 105, 117);
  border-radius: 2px;
}
.post-tor-content::after {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  content: "文章目录";
  display: block;
  color: #b1b1b1;
  font-size: 1.1rem;
  font-weight: bold;
  height: 2em;
  padding: 2px 8px;
}

.post-tor-content p {
  padding: 0 8px;
  margin-top: 15px;
  font-size: inherit;
}
.torarc-tile {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: relative;
  padding: 6px;
}
.tori {
  font-weight: bold;
  color: #34495e;
}
.torii {
  font-weight: bold;
  margin-left: .5rem;
  color: #5f5f5f;
}
.toriii {
  margin-left: 1rem;
  color: #5f5f5f;
  font-weight: 700;
}
.toriiii {
  margin-left: 1.5rem;
}
.toriiii::before {
  font-family: 'Material-Design-Iconic-Font';
  color:#16a085;
  margin-right: 4px;
  content: "#";
}
.toriiiii {
  margin-left: 2rem;
}
.toriiiii::before {
  color:#546e7a;
  font-family: 'Material-Design-Iconic-Font';
  margin-right: 5px;
  content: "\f184";
}
/* end */
.cover-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 3em;
  height: 50vw;
  width: 100vw;
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
     -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
       -o-transform: translateX(-50%);
          transform: translateX(-50%);
  max-width: 100vw;
}

.post {
  padding: 12px;
  padding-top: 0;
}
.post-header {
  padding: 30px 12px 0 12px;
}
.post-headline {
  color: rgb(96, 105, 117);
  margin-top: 0;
  font-size: 4rem;
  line-height: 6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.post-text-bar {
  color: #34495e;
  margin-top: -6px;
  font-size: 22px;
}
.post-text-bar a {
  color: #34495e;
  letter-spacing: 10px;
}
.post-text-bar a:hover,
.post-text-bar a:visited,
.post-text-bar a:focus {
  color: #34495e;
}
/* page-content */
.page-content a {
  display: inline-block;
  color: #b1b1b1;
}
.page-content .friend {
  margin-bottom: .7rem;
  margin-right: .3rem;
  padding: 8px;
  border-radius: 5px;
  background-color: rgba(238, 238, 238, 0.5);
  transition-timing-function: ease-in;
}
.page-content .friend:hover {
  box-shadow: 1px 2px 3px rgba(221, 221, 221, 0.8);
}
.page-content .friend .friend-avatar {
  width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  overflow: hidden;
  display: inline-block;
}
.container {
  width: 80%;
  max-width: 820px;
}
/* post-content */
.post-content {
  margin-bottom: 2em;
}
.post-content a {
  font-weight: 400;
}
.post-content img {
  max-width: 100%;
  box-shadow: 2px 2px 5px #e0e0e0;
  margin: 2rem 0;
  border-radius: 5px;
}
.post-content > ul,
.post-content > ol {
  padding: 0;
}
.post-content ul li {
  text-indent: 0;
  list-style: square;
  margin-left: 2rem;
}
.post-content ol {
  padding-left: 1rem;
}
.post-content ol li {
  text-indent: 0;
  margin-left: 11px;
}
.post-content ol li::before {
  margin-right: 4px;
}
.post-content p,
.post-content li {
  font-size: 1.7rem;
  letter-spacing: .6px;
  word-break: break-all;
  text-align: justify;
}
.post-content a {
  color: #16a085;
  font-weight: 400;
}
.post-content a:hover{
  color: #bcaaa4;
}
.post-content figcaption {
  text-align: center;
  color: #999;
  font-style: italic;
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 300;
}
.post-content h1 {
  font-size: 2.4em;
  margin-left: -1px;
}
.post-content h2 {
  font-size: 1.8em;
  margin-left: -1px;
}
.post-content h3 {
  font-size: 1.6em;
  margin-left: -1px;
}
.post-content h4,
.post-content h5 {
  font-size: 1.1em;
  color:#546e7a;
  font-weight: 400;
  margin-top: 25px;
  margin-bottom: 10px;
  margin-left: -.5em;
}
.post-content > h4::before {
  margin-right: 6px;
  content: "#"; 
  color: #16a085;
}
.post-content > h5::before {
  color:#546e7a;
  font-family: 'Material-Design-Iconic-Font';
  margin-right: 5px;
  content: "\f184";
}
.post-content > h6 {
  color:#78909c;
  font-weight: normal;
  font-size: 1em;
  font-weight: 300;
  margin-left: -2px;
}
/* Table 样式来自于 Bootstrap */
.post-content > table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.7rem;
  font-weight: 400;
  width: fit-content;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  background-color: rgba(238, 238, 238, 0.5);
  box-shadow: 1px 2px 3px rgba(221, 221, 221, 0.8);
  display: block;
  color: #999;
  margin-bottom: 1rem;
}
.post-content > table th,
.post-content > table td {
  padding: .7rem;
  vertical-align: top;
}
.post-content > table td:nth-child(n+2),
.post-content > table th:nth-child(n+2){
  border-left: 1px solid #dee2e6;
}
.post-content > table tbody tr {
  border-top: 1px solid #dee2e6;
}
.post-content > table tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.post-content blockquote {
  position: relative;
  background-color: transparent;
  border-radius: 2px;
  border-left: 0;
  margin: 0 0 10px;
  padding: 8px 12px;
  padding-left: 30px;
  padding-bottom: 18px;
  margin-bottom: 30px;
}
.post-content blockquote p {
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  text-indent: 0;
  margin: 6px 0 5px 0;
  padding: 0;
}
.post-content blockquote pre {
  background-color: inherit;
}
.post-content blockquote::before {
  font-family: 'Material-Design-Iconic-Font';
  color: rgba(224, 224, 224, 0.5);
  content: "\f1b2";
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
  font-size: 2em;
  position: absolute;
  left: 8px;
  top: 12px;
  line-height: .1em;
}

.post-content blockquote::after {
  font-family: 'Material-Design-Iconic-Font';
  color: rgba(224, 224, 224, 0.5);
  content: "\f1b2";
  font-size: 5em;
  position: absolute;
  right: 8px;
  bottom: 0px;
  line-height: .1em;
}
.post-content blockquote strong {
  font-size: 1.5rem;
  font-weight: 400;
}
.post-content pre {
  margin: 0;
  overflow: auto;
  border: 0;
  background: inherit;
  position: relative;
}
.post-content :not(pre) code {
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  font-family: Monaco, "Source Code Pro", Consolas, Menlo, monospace, sans-serif;
}
/* 重写代码块开始 */
.post-content figure,
.post-content table {
  max-width: 100%;
}
.post-content figure {
  overflow-x: auto;
  margin-bottom: 1em;
}
.post-content figure.highlight {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  padding-bottom: 0;
  background-color: rgba(238, 238, 238, 0.5);
  box-shadow: 1px 2px 3px rgba(221, 221, 221, 0.8);
  border-radius: 5px;
  overflow: auto;
}
.post-content figure.highlight::after {
  font-family: Monaco, "Source Code Pro", Consolas, Menlo, monospace, sans-serif;
  width: 100%;
  font-size: 1.2rem;
  height: 2em;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-radius: 5px 5px 0 0;
  padding: 2px 8px;
  font-weight: bold;
  color: #b1b1b1;
  background: #292d3e;
  content: attr(data-language);
}
.post-content figure.highlight pre {
  counter-reset: gutter;
  margin: 0;
  padding: 2em 0 0 0;
  font-size: 1.2rem;
  line-height: 0;
  border-radius: initial;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace, Arial, sans-serif;
}
.post-content figure.highlight pre .line {
  display: block;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 2.5rem;
  letter-spacing: 0.1rem;
  width: fit-content;
  min-width: 100%;
}
.post-content figure.highlight pre .line:hover {
  background-color: rgba(255, 255, 255, .125);
}
.post-content figure.highlight pre .line::before {
  counter-increment: gutter;/* 增加计数器值 */
  content: counter(gutter); /* 显示计数器 */
  color: rgb(202, 202, 202);
  display: inline-block;
  text-align: right;
  padding: 0 8px;
}
.post-content figure.highlight pre .line:nth-child(-n+9)::before {
  content: " "counter(gutter);
}
.post-content figure.highlight pre .line:hover::before {
  color: #b1b1b1;
}
.post-content figure.highlight pre .line::after {
  content: "";
  padding-right: 8px;
}
/* 滚动条样式来自于 https://i.chainwon.com/ */
.post-content figure.highlight pre::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.post-content figure.highlight pre::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: rgba(105, 76, 164, 0.4);
  transition: .7s linear
}
.post-content figure.highlight pre::-webkit-scrollbar-thumb:hover {
  background-color: rgba(105, 76, 164, 0.8);
}
.post-content figure.highlight .tools {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 32px;
  height: 2rem;
  line-height: 2rem;
  text-align: right;
  vertical-align: middle;
  padding: 2px 8px;
}
.post-content figure.highlight .tools::after {
  font-size: 1.5rem;
  cursor: pointer;
  color: #b1b1b1;
  font-family: 'Material-Design-Iconic-Font';
  margin-right: 5px;
  content: "\f237";
}
.post-content img.github-emoji {
  width: 2rem;
  height: 2rem;
}
.post-banner {
  display: block;
  position: relative;
  box-shadow: 0 2px 15px 1px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  border-radius: 6px;
  height: auto;
  max-width: 100%;
  min-height: 50px;
  transition: all .6s;
}
.post-banner:hover {
  transform: scale(1.03);
  animation-timing-function: ease-in-out;
  animation-name: breathe;
  animation-duration: 2700ms;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
/* post-timeline from https://nexmoe.github.io/single-page/mixcm-avatar/ */
.post-timeline {
  overflow: hidden;
  padding: 10px;
  padding-left: 2rem;
  margin: -10px;
}
.post-timeline ul,
.post-timeline ol {
  padding-left: 1.6rem;
  margin: 0;
}
.post-timeline li {
  list-style: disc!important;
}
.post-timeline > h4 {
  position: relative;
  margin: 25px 0;
}
.post-timeline > h4::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  background: #1abc9c;
  display: inline-block;
  vertical-align: middle;
  margin-top: -4px;
  margin-right: 11px;
  border-radius: 100%;
  border: 3px solid #fff;
  box-shadow: 0 0 5px #b0b0b0;
}
.post-timeline > h4::after {
  content: "";
  height: 100vh;
  width: 2px;
  background: #1abc9c;
  position: absolute;
  left: 0.67rem;
  top: 1.7rem;
}
/* CopyRight 样式部分来自于 https://imjad.cn/ */
.post-copyright {
  background-color: rgba(238, 238, 238, 0.5);
  box-shadow: 1px 2px 3px rgba(221, 221, 221, 0.8);
  color: #999;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 400;
  display: block;
  margin: 15px 0 10px;
  padding: 0 10px;
  border-radius: 2px;
}
.description p {
  font-size: 1.5rem;
}
/* post-tags CSS部分来自 https://www.linpx.com/ */
.post-tags {
  margin: 0;
  padding: 5px 0 15px;
}
.post-tags .post-list a:nth-child(1n) {
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.1);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  border: 1px solid #fff;
  border-radius: 15px;
  color: rgba(51, 51, 51, 0.78);
}
.post-tags .post-list a {
  margin: 4px 8px 0 0;
  font-size: 13px;
  font-weight: 350;
  display: inline-block;
  padding: 0 12px;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  letter-spacing: 0;
}
.post-tags .post-list a:hover {
  color:rgb(51, 51, 51);
}
.post-tags .tags-list a:nth-child(1n) {
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.1);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  border: 1px solid #fff;
  border-radius: 15px;
  color: rgba(51, 51, 51, 0.78);
}
.post-tags .tags-list a::before {
  content:"# ";
  color: #16a085;
  -webkit-transition: .5s;
          transition: .5s;
}
.post-tags .tags-list a:hover::before {
  color: #fff;
}
.post-tags .tags-list a {
  margin: 4px 8px 0 0;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  padding: 0 12px;
  -webkit-transition: .5s;
          transition: .5s;
  letter-spacing: 0;
}
.post-tags .tags-list a:hover {
  color:rgb(255, 255, 255);
  border: 1px solid #16a085;
  background-color: #16a085;
}
.post-info {
  margin: 0;
  padding: 5px 0 15px;
  margin-bottom: 25px;
}
.post-info a:nth-child(1n) {
  color: #fff;
  border-radius: 15px;
  background: #16a085;
}
.post-info a {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin: 4px 8px 0 0;
  padding: 1px 15px;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  letter-spacing: 0;
}
.post-info a:hover {
  color:#16a085;
  background:#fff0;
}
.post-info .post-info-tag a::before {
  content: '# ';
}
.post-info time {
  cursor: pointer;
}
/* --- */
.arc-t {
  width:33.3%;
  float:left;
  position:relative;
  min-height:1px;
  padding-right:5px;
  padding-left:5px;
}
.arc-tile {
  line-height: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: relative;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(184,197,214,.2);
  border-radius: 6px;
  background: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.04);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.arc-date {
  color: #5f5f5f;
  font-size: 12px;
  position: relative;
}
.tarc-t {
  width:90%;
  position:relative;
  min-height:1px;
  padding-right:5px;
  padding-left:5px;
}
.tarc-tile {
  font-size:14px;
  position: relative;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(184,197,214,.2);
  border-radius: 6px;
  background: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.04);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
