:root {
  --blog-title: #34495e;
  --glitch-pink: #FF5BC5;
  --glitch-cyan: #0DEBF2;
}

html::-webkit-scrollbar-track-piece{opacity:1;}
html::-webkit-scrollbar{width:8px;height:8px;}
html::-webkit-scrollbar-thumb{height:40px;background-color:#eee; border-radius: 16px;}
html::-webkit-scrollbar-thumb:hover{background-color:#ddd;}

#instantclick-bar {
  background: none;
}
body::before {
  content: '';
  background-repeat: no-repeat;
  background-position: center;
  opacity: 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;
}
/* PostTor CSS */
.post-tor-content {
  position: relative;
  z-index: 0;
  width: 100%;
  margin-right: auto!important;
  margin-left: auto!important;
  text-align: right;
}
.post-tor {
  margin-left: 6px;
  border-left: 1px solid rgba(221, 221, 221, 0.32);
  font-size: 12px;
  position: fixed;
  z-index: 0;
  top: 100px;
  display: inline-block;
  text-align: left;
}
.torarc-t {
  width:160px;
  float:left;
  position:relative;
  min-height:1px;
}
.torarc-tile {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: relative;
  padding: 6px;
}
.torarc-tile a {
  color: #bac1c8;
  transition: .2s;
}
.torarc-tile a:hover {
  color: #34495e;
}
.tori {
  font-weight: 400;
  font-size: 14px;
}
.torii {
  font-size: 14px;
  transition: .3s;
}
.torii::before {
  font-family: 'Material-Design-Iconic-Font';
  color:#3eaf7c;
  margin-right: 4px;
  content: "#";
}
/* end */
.text-bar {
  color: #34495e;
  margin-top: -6px;
  font-size: 22px;
}
.text-bar a {
  color: #34495e;
  letter-spacing: 10px;
}
.text-bar a:hover,.text-bar a:visited,.text-bar a:focus {
  color: #34495e;
}
.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;
}

@media screen and (min-width: 768px){
  .cover-image {
    height: 40vw;
    max-height: 400px;
  }
}

hr {
  border-top: 1px dashed #cfd8dc7a !important;
}
.post-content {
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1);
}
.post-content p,.post-content li {
  font-size: 16px;
  letter-spacing: .6px;
  /* text-align: justify; */
}
.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 {
  font-size: 1.15em;
  color:#546e7a;
  font-weight: 400;
  margin-top: 25px;
  margin-bottom: 10px;
  margin-left: -.5em;
}
.post-content h4::before{
  margin-right: 6px;
  font-weight: 600;
  content: "#"; 
  color:#3eaf7c;
}
.post-content h5 {
  color:#546e7a;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: -2px;
  font-size: 1.1em;
}
.post-content h5::before {
  color:#546e7a;
  font-family: 'Material-Design-Iconic-Font';
  margin-right: 6px;
  content: "\f184"; 
}
.post-content h6{
  color:#78909c;
  font-weight: normal;
  font-size: 1em;
  font-weight: 300;
  margin-left: -2px;
}
.post-content ul li{
  text-indent: 0;
  list-style: square;
}
.post-content a{
  color: #3eaf7c;
}
.post-content a:hover,.post-content a:focus{
  color: #4abf8a;
}
.post-content ul li::before{
  margin-right: 5px;
}
.post-content ol li{
  text-indent: 0;
  margin-left: 11px;
}
.post-content ol li::before{
  margin-right: 4px;
}
.post-content blockquote {
  background-color: #FFFFFF00;
  border:none;
  margin:0;
  padding:0;
  padding: 32px;
  position: relative;
  line-height: 30px;
  margin-bottom: 30px;
}
.post-content blockquote p{
  font-family: Monaco, Menlo, Consolas, "Courier New", Microsoft JhengHei, Microsoft Yahei UI, monospace;
  margin: 6px;
  text-indent: 0;
  color: rgba(52,73, 94, .65);
  font-size: 15px;
}
.post-content blockquote:before {
  font-family: 'Material-Design-Iconic-Font';
  color: rgba(52,73,94.1);
  content: "\f1b2";
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
  font-size: 3em;
  position: absolute;
  left: 8px;
  top: 12px;
  line-height: .1em;
  z-index: -1;
  opacity: .1;
}
.post-content blockquote:after {
  font-family: 'Material-Design-Iconic-Font';
  color: rgba(52,73,94.1);
  content: "\f1b2";
  font-size: 3em;
  position: absolute;
  right: 8px;
  bottom: 0px;
  line-height: .1em;
  opacity: .1;
}
.post-content blockquote strong {
  font-size:15px;
}
.post-content p img {
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 15px 0px rgba(0,0,0,0.1);
  display:block;
  margin:0 auto;
  text-align: center;
  width: 100% \9;
  max-width: 100%;
  height: auto;
  margin-bottom: 50px;
}
.description {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  overflow: hidden;
  cursor: pointer;
  transition: .3s;
  animation: fadeIn 1s ease-out;
}
.description span {
  display: none;
  position: absolute;
}
.description .maxim_source {
  color: #9aa4af;
  font-size: 14px;
  opacity: 0;
  transform: translateX(100%);
  visibility: visible;
  transition: .2s;
}
.show-maxim-source {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
/* 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: #3eaf7c;
}
.post-tags .tags-list a {
  margin: 4px 8px 0 0;
  font-size: 12px;
  font-weight: 350;
  display: inline-block;
  padding: 0 12px;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  letter-spacing: 0;
}
.post-tags .tags-list a:hover {
  color:rgb(51, 51, 51);
}
.post-info {
  margin: 0;
  padding: 5px 0 15px;
  margin-bottom: 25px;
}
.post-info a:nth-child(1n) {
  color: #3eaf7c;
}
.post-info a {
  font-size: 16px;
  font-weight: normal;
  display: inline-block;
  margin-right: 24px;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  letter-spacing: 0;
}
.post-info a:hover {
  color:#4abf8a;
}
.post-info .post-info-n a::before {
  content: '';
}
/* --- */
.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: rgba(52, 73, 94, 1);
  font-size: 14px;
  position: relative;
}
.bottomtool {
  margin:10px;
}

.post-content li {
  margin-bottom: 15px;
}

@media screen and (max-width: 992px){
  .arc-t {
    width:50%;
  }
  .post-tor-content {
    display: none;
  }
  .pager {
    flex-direction: row;
  }
  .article-category {
    display: block;
  }
  .maxim_source {
    visibility: visible;
  }
}
@media screen and (max-width: 768px){
  .arc-t {
    width:100%;
  }
  .post-tor-content{
    display: none;
  }
  #bottomtools ul{
    padding: 2px;
  }
  .comment_reply {
    display: block !important;
  }
  .post-content ul,.post-list,.tags-list {
    margin-left: -1em;
    margin-right: 1em;
  }
  .pager {
    flex-direction: column !important;
  }
  .article-category {
    display: none;
  }
  .maxim_source {
    visibility: hidden !important;
  }
}

.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);
}

#main-index article {
  cursor: pointer;
  padding: 10px 0;
  transition: .3s;
}
#main-index article:hover {
  background: #3eaf7c17;
}
#main-index article:hover dl {
  margin-left: 5px;
}
.bottomTools_section {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.bottomTools_section a {
  margin-right: 10px;
  text-shadow: 0 0 1px rgba(0,0,0,.1);
  text-transform: uppercase;
}
.bottomtool {
  margin-bottom: 50px;
}

.post-info a {
  text-transform: uppercase;
}
.post-info-n {
  color: #3eaf7c;
  cursor: pointer;
}

#pagenav .pagenav_num {
  margin: 20px 0;
}

#pagenav .pagenav_num a {
  padding: 8px 10px;
  color: #9aa4af;
  transition: .2s;
}

#pagenav .pagenav_num a:hover {
  color: #34495e;
}

#pagenav .pagenav_num a i::before {
  display: inline-block;
  transform: translateY(1px);
}

#pagenav .pagenav_num a.current {
  color: #3eaf7c;
}

.dl-horizontal .collapse.in {
  padding-right: 80px;
}

.dl-horizontal dd.article-info {
  display: flex;
  justify-content: space-between;
}

.dl-horizontal dd.article-info .article-title {
  flex: 1;
}

.dl-horizontal dd.article-info .article-category {
  font-size: 14px;
  padding-right:16px;
}

.dl-horizontal dd.article-info .article-category a {
  color: #9aa4af;
}

.dl-horizontal dd.article-info .article-category a:hover {
  color: #3eaf7c;
}

.dl-horizontal dd.article-info .article-category a::after {
  content: ',';
}

.dl-horizontal dd.article-info .article-category a:last-child::after {
  display: none;
  content: '';
}

.dbl-arrow {
  font-size: 16px;
  padding: 0 8px;
}

.container #logo {
  color: #34495e;
}

.container #logo:hover {
  color: #3eaf7c;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
  position: relative;
}
.post-content h1::before {
  content: '#';
  position: absolute;
  top: 0;
  left: -30px;
  color: #3eaf7c;
  text-align: right;
  transform: scale(.8);
}
.post-content h2::before {
  content: '##';
  position: absolute;
  top: 0;
  left: -40px;
  color: #3eaf7c;
  text-align: right;
  transform: scale(.8);
}
.post-content hr {
  margin: 60px 0;
}
.post-tor a {
  display: block;
  margin: 6px 0;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pager {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.pager li {
  display: block;
}

.copyright {
  transition: .2s;
  animation-delay: 2s;
  animation: fadeIn 1s ease-out;
}

.copyright blockquote {
  margin: 40px 0;
  padding: 15px 0;
  font-size: 15px;
  border-left: 0;
  border-top: 1px dotted #3eaf7c80;
  border-bottom: 1px dotted #3eaf7c80;
  text-align: center;
}

/* ------- glitch ------- */
.blog-title {
  color: var(--color);
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
}

.right {
  text-align: right;
  width: 100%;
}

.stack {
  display: grid;
  grid-template-columns: 1fr;
}

.stack span {
  grid-row-start: 1;
  grid-column-start: 1;
  font-size: 60px;
  font-weight: 700;
  margin: 30px 0 15px;
  --stack-height: calc(100% / var(--stacks) - 1px);
  --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
  --clip-top: calc(var(--stack-height) * var(--index));
  --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
  clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
  animation: stack 280ms cubic-bezier(.46,.29,0,1.24) 1 backwards calc(var(--index) * 120ms), glitch 2s ease infinite 2s alternate-reverse;
}

.stack span:nth-child(odd) { --glitch-translate: 8px; }
.stack span:nth-child(even) { --glitch-translate: -8px; }

@keyframes stack {
  0% {
    opacity: 0;
    transform: translateX(-50%);
    text-shadow: -2px 3px 0 var(--glitch-pink), 2px -3px 0 var(--glitch-cyan);
  };
  60% {
    opacity: 0.5;
    transform: translateX(50%);
  }
  80% {
    transform: none;
    opacity: 1;
    text-shadow: 2px -3px 0 var(--glitch-pink), -2px 3px 0 var(--glitch-cyan);
  }
  100% {
    text-shadow: none;
  }
}

@keyframes glitch {
  0% {
    text-shadow: -2px 3px 0 var(--glitch-pink), 2px -3px 0 var(--glitch-cyan);
    transform: translate(var(--glitch-translate));
  }
  2% {
    text-shadow: 2px -3px 0 var(--glitch-pink), -2px 3px 0 var(--glitch-cyan);
  }
  4%, 100% {  text-shadow: none; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}