/* :root { */
/* 深蓝 */
/* --bd-main: #00aeec;
  --bg-light: #e4f6ff;
  --bg-dark: #01212e;
  --code-selection: rgb(73, 154, 185);
  --code-selection-rgb: 3, 154, 185; */
/* 复古 */
/* --bd-main: #b95d40;
  --bg-light: #ece7dd;
  --bg-dark: #0f0400;
  --code-selection: rgb(226, 126, 96);
  --code-selection-rgb: 226, 126, 96; */
/* 抹茶 */
/* --bd-main: #8d9265;
  --bg-light: #e5e6dc;
  --bg-dark: #0b0c00;
  --code-selection: rgb(177, 189, 86);
  --code-selection-rgb: 177, 189, 86; */
/* 祖母绿#176f58 */
/* --bd-main: #1a866a;
  --bg-light: #dff5ef;
  --bg-dark: #2e402c;
  --code-selection: rgb(105, 195, 184);
  --code-selection-rgb: 105, 195, 184;
  /* 优雅紫 */
/* --bd-main: #9999CC;
  --bg-light: #e8e8ee;
  --bg-dark: #23234b;
  --code-selection: rgb(202, 202, 238);
  --code-selection-rgb: 202, 202, 238; */
/* 温柔红 */
/* --bd-main: #d88585;
  --bg-light: #f7efef;
  --bg-dark: #271717;
  --code-selection: rgb(241, 193, 193);
  --code-selection-rgb: 241, 193, 193;
} */

[data-bs-theme="light"] {
  --bs-body: var(--bg-dark);
  --bg-body: var(--bg-light);
  /* 代码高亮样式 */
  --code-color: var(--bs-body);
  --code-textshadow: white;
  --code-backgroundcolor: var(--bg-body);
  --token-cdata: #8292a2;
  --token-delete: #f92672;
  --token-number: #ae81ff;
  --token-insert: #639108;
  --token-variable: var(--bs-body);
  --token-punctuation: var(--bs-body);
  --token-classname: #df8908;
  --token-keyword: #15c9ec;
  --token-important: #fd971f;
}

[data-bs-theme="dark"] {
  --bs-body: var(--bg-light);
  --bg-body: var(--bg-dark);
  /* 代码高亮样式 */
  --code-color: var(--bs-body);
  --code-textshadow: rgba(0, 0, 0, 0.3);
  --code-backgroundcolor: var(--bg-body);
  --token-cdata: #8292a2;
  --token-delete: #f92672;
  --token-number: #ae81ff;
  --token-insert: #a6e22e;
  --token-variable: var(--bs-body);
  --token-punctuation: var(--bs-body);
  --token-classname: #ebd723;
  --token-keyword: #66d9ef;
  --token-important: #fd971f;
}

.bd-main {
  background-color: var(--bd-main);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

.bg-main {
  background-color: var(--bg-body) !important;
}

/* @font-face {
  font-family: "HarmonyOS_Sans";
  src: url(./HarmonyOS_Sans/HarmonyOS_Sans_SC_Regular.ttf);
} */
.hidden {
  display: none;
}
body {
  font-size: 14px;
  /* background-image: url(./img/xt.svg); */
  /* background-attachment: fixed; */
}

/* 超长单词溢出换行 */
body > * {
  word-wrap: break-word;
  /*允许长单词换行到下一行*/
  word-break: break-all;
  /*允许在单词内换行 */
}

p {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  line-height: 30px;
  align-items: center;
}

section .endline {
  border-bottom: 0.05rem solid var(--bd-main);
}

/* 导航栏 */
.header-sticky {
  background-color: var(--bd-main);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  font-weight: 700;
  z-index: 5;
}

.header-nav {
  display: flex;
  padding-top: 0;
  padding-bottom: 0;
  justify-content: space-between;
  align-items: center;
}

.header-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.header-nav ul li a {
  display: block;
  padding-top: calc(0.8rem + 0.2vw);
  padding-bottom: calc(0.8rem + 0.2vw);
  padding-left: calc(3px + 0.5vw);
  padding-right: calc(3px + 0.5vw);
  text-align: center;
}

.header-nav .nav-item:hover {
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color, 1.5s;
}

.header-nav .nav-logo {
  display: flex;
  align-items: center;
}

.header-nav .nav-logo a {
  display: flex;
  align-items: center;
}

input[type="checkbox"]:checked ~ .nav-items {
  transform: translate(0);
}

.nav-items-show {
  transform: translate(0);
}

#navitems-filter {
  backdrop-filter: blur(2px);
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5);
  z-index: 3;
}

@media (min-width: 768px) {
  .header-nav .menu-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-items-hidden:not(.nav-items-show) {
    transform: translate(-100%);
  }

  .header-nav .nav-items {
    position: absolute;
    background-color: var(--bd-main);
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.15);
    padding-top: 20px;
    /* top: 0px; */
    left: 0px;
    width: 60%;
    height: 100vh;
    flex-direction: column;
    /* transform: translate(-100%); */
    transition: transform 0.5s ease-in-out;
    z-index: -1;
  }

  .header-nav .nav-items .nav-item {
    width: 100%;
  }

  .nav-hidden {
    display: none;
  }
}

/* 模式灯样式 */
i.bgd {
  color: var(--bg-body);
}

i.bgd:hover {
  color: var(--bs-body);
}

/* 页面正文样式 */

.post-box {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 100px !important;
  padding-right: 100px !important;
  border-radius: 5px;
  /* background-image: url(./img/texture.png); */
}

@media (max-width: 1400px) {
  .post-box {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media (max-width: 1200px) {
  .post-box {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media (max-width: 992px) {
  .post-box {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

.post-content {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  /* border-bottom: 0.4rem solid var(--bd-main); */
  margin-bottom: 2rem;
  padding: 5px;
  /* background-color: rgba(var(--bs-body-bg-rgb), 0.8); */
}

/* ------------------
 * blockquote样式
 * --------------- */
.post-content blockquote {
  position: relative;
  padding: 35px 20px 30px 20px;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border: 2px solid var(--bd-main);
  margin: 2rem 0px;
}

.post-content blockquote:before {
  content: "\F6B0";
  font-family: "bootstrap-icons";
  background: var(--bd-main);
  position: absolute;
  top: -20px;
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
}

.post-content blockquote p {
  font-weight: bold;
  font-size: 18px;
  font-style: inherit;
}

.post-content .block-book:before {
  content: "\f194";
}

.post-content .block-book img {
  box-shadow: 5px 5px #676767;
}

.post-content .block-film:before {
  content: "\f3c3";
}

.post-content .block-extra {
  display: flex;
  align-items: flex-start;
  font-weight: bold;
}

.post-content .block-extra img {
  width: 150px;
  height: auto;
  margin-right: 50px;
}

.post-content .block-extra br:nth-child(2) {
  display: none !important;
}

@media (max-width: 992px) {
  .post-content .block-extra {
    align-items: center;
    flex-direction: column;
  }

  .post-content .block-extra img {
    width: 150px;
    height: auto;
    margin-right: 0;
  }
}

.post-content .block-down:before {
  content: "\f30a";
  left: 20px;
  top: 40px;
}

.post-content .block-down {
  padding-left: 80px;
  flex-direction: column;
}

.block-down-footer {
  margin-top: 30px;
  padding-top: 30px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--bd-main);
}

.block-down-info {
  font-size: 14px;
  margin-right: 50px;
  color: var(--bd-main);
  margin-bottom: 10px;
}

.block-down-info span {
  color: var(--bd-main);
}

.block-down-button {
  position: relative;
  text-align: center;
  background: var(--bd-main);
  padding: 0px 25px;
  width: 150px;
  height: 40px;
  overflow: hidden;
  display: block;
  box-shadow: 1px 1px 1px var(--bg-body);
}

.block-down-title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.block-down-button p {
  line-height: 20px !important;
  color: var(--bg-body);
}

.block-down-button a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  opacity: 0;
}

/*  文章图片样式  */
.post-content img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  padding: 2px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 文章内序列 */
.post-content ul {
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 30px;
}

/* Page nav 分页 */
/* .page-navigator {
  list-style: none;
  margin: 1rem 0.25rem;
  padding: 0;
  text-align: center;
  border-radius: var(--bg-body);
  background-color: var(--bd-main);
}

.page-navigator li {
  display: inline-block;
  margin: 0 4px;
}

.page-navigator a {
  display: flex;
  padding: 0 10px;
  height: 40px;
  line-height: 30px;
  text-decoration: none;
  align-items: center;
}

.page-navigator a:hover {
  background-color: var(--bs-secondary-color);
}

.page-navigator .current a {
  background-color: var(--bs-tertiary-color);
} */

.page-navigator {
  display: flex;
  justify-content: center;
  padding-left: 0;
}

.page-navigator li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 4px;
  font-weight: 700;
}

.page-navigator li a {
  display: flex;
  border-radius: 50%;
  background-color: var(--bd-main);
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.page-navigator li a:hover {
  background-color: var(--bs-secondary-color);
}

.page-navigator .current a {
  background-color: var(--bs-tertiary-color);
}

/* ---------------------------------
## 文章内容的显示格式 
----------------------------------*/

.archive-head {
  font-size: large;
  font-weight: bolder;
  padding: 0.5rem;
  /* background-color: var(--bg-body); */
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  /* box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);; */
}

/* 标题头部 */
.post-head {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.4rem solid var(--bd-main);
  margin-bottom: 2rem;
}

/* 文章标题样式 */
.post-title {
  font-size: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

article h1:not(.post-title) {
  font-size: 1.4rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-left: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-left: 1rem solid var(--bd-main);
  border-bottom: 0.1rem solid var(--bd-main);
}

article h2 {
  font-size: 1.3rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-left: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-left: 1rem double var(--bd-main);
  border-bottom: 0.05rem solid var(--bd-main);
  /* background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0),var(--bs-warning-text)); */
}

article h3 {
  font-size: 1.2rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

article h4,
article h5,
article h6 {
  font-size: 1rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* 文章 table */
article > table {
  --bs-table-color: var(--bs-emphasis-color);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100%;
  margin-bottom: 1rem;
  color: var(--bs-table-color);
  vertical-align: top;
  /* border-color: rgba(var(--bs-secondary-rgb), 1); */
  border-color: var(--bd-main);
}

article > table > :not(caption) > * {
  border-width: var(--bs-border-width) 0;
}

article > table > :not(caption) > * > * {
  border-width: 0 var(--bs-border-width);
}

article > table > :not(caption) > * > * {
  padding: 0.25rem 0.25rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--bs-border-width);
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

article > table > tbody {
  vertical-align: inherit;
}

article > table > thead {
  vertical-align: bottom;
}

article a:not(.filedown) {
  color: darkturquoise !important;
}

/* 超链接 */
a:not(.post-info):not(.post-content) {
  color: var(--bs-emphasis-color);
}

a:link:not(.post-content) {
  text-decoration: none;
}

/* 标签 */
.tags a {
  color: var(--bs-success-text) !important;
}

/* 默认avatar图像 */
.avatar {
  border-radius: 50%;
  display: block;
  margin: auto;
}

/* 首字母图像背景 */
.avatar-bg {
  border-radius: 50%;
  display: block;
  margin: auto;
  background-size: cover;
  width: 40px;
  height: 40px;
}

/* 文本超出1行隐藏 */
.oneline-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

/* 文本超出2行隐藏 */
.twoline-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.logo-bg {
  background: linear-gradient(
    to bottom,
    var(--bs-success-text) 50%,
    rgba(0, 0, 0, 0) 50%
  );
}

/* 全灰 */
/* html {
  filter: grayscale(100%)
} */

/*返回顶部按钮*/
.scrollToTopBtn {
  background-color: var(--bd-main);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 16px;
  height: 48px;
  width: 48px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s ease;
}

.scrollToTopBtn:hover {
  background: var(--bg-dark);
  color: #fff;
}

.showBtn {
  opacity: 1;
  transform: translateY(0);
}

/* 友情链接样式 */
.link-content {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  /* -webkit-justify-content: space-between;
  justify-content: space-between; */
}

.link-content li {
  flex: 0 0 auto;
  width: 100%;
  padding: 3px;
  margin-top: 3px;
}

.link-content li a {
  display: flex;
  align-items: center;
  border: 1px solid var(--bd-main);
  border-radius: 5px;
  background-color: var(--bg-body);
  padding: 10px;
}

.link-content li a:hover {
  background-color: var(--bd-main);
  color: white;
}

.link-content li a img {
  display: flex;
  border: 2px solid white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
}

.link-content li a:hover img {
  transition: 0.9s !important;
  -webkit-transition: 0.9s !important;
  -moz-transition: 0.9s !important;
  -o-transition: 0.9s !important;
  -ms-transition: 0.9s !important;
  transform: rotate(360deg) !important;
  -webkit-transform: rotate(360deg) !important;
  -moz-transform: rotate(360deg) !important;
  -o-transform: rotate(360deg) !important;
  -ms-transform: rotate(360deg) !important;
}

.link-content li a span {
  flex: 1 1 auto;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
  .link-content li {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .link-content li {
    width: 33.33333333%;
  }
}

/* 归档样式 */
.entry ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.entry ul li {
  flex: 0 0 auto;
  width: 100%;
  font-size: 18px;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  transition: all 0.3s ease;
  border-left: solid 4px var(--bg-light);
}

.entry ul li:hover {
  font-size: 20px;
}

/* 说说样式 */
.shuoshuo > * {
  margin-left: 1rem;
  margin-right: 1rem;
}

.shuoshuo .card-body {
  background-color: var(--bg-body);
}
.shuoshuo .card-footer {
  display: flex;
  justify-content: space-between;
}
.shuoshuo .card-footer div {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
}

/* 评论样式 */
.comment-begin > ol {
  padding-left: 0px;
}

.comment-content {
  background-color: var(--bg-body);
}

/* OwO 样式 */
.OwO-div {
  float: left;
  cursor: pointer;
  font-weight: 300;
}

.OwO .OwO-body .OwO-items {
  overflow: auto;
  font-size: 0;
  text-align: left;
}

.OwO .OwO-body .OwO-items .OwO-item {
  padding: 5px 10px;
  display: inline-block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

.OwO .OwO-body .OwO-items .OwO-item img {
  height: 30px;
  box-shadow: none !important;
}

.OwO .OwO-body .OwO-items .OwO-item:hover {
  transform: scale(1.3);
}

.OwO.OwO-open > .OwO-body > .OwO-items {
  max-height: 200px !important;
  margin: 10px 0 !important;
  padding: 10px !important;
  transition: max-height 0.8s, margin 0.8s, padding 0.8s;
}

/*--------------------------------------------------------------
## 短代码
--------------------------------------------------------------*/
/* 短代码-相册 */
.album {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.album img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.album img:hover {
  transform: scale(1.05);
  transition: all 0.2s ease;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* 短代码-grid */
.grid {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.grid > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
  /* 注意：grid子元素用到了bootstrap样式 */
}

/* 短代码-视频挂载 */
.iframe_div {
  position: relative;
  display: block;
  padding: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.iframe_div .iframe_video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 0;
  /* background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: rgba(120, 120, 120, 0.1); */
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.iframe_div:after {
  content: "";
  display: block;
  padding-top: 100%;
}

.iframe_div-16x9:after {
  padding-top: 56.25%;
}

/* 短代码-下载 */
.file {
  display: flex;
  border: 1px solid var(--bd-main);
  padding: 5px;
  border-radius: 5px;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.file .filetext {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.file .filetext i {
  font-size: 26px;
  margin-right: 5px;
}

.file .filedown {
  display: inline-flex;
  flex-grow: 0;
  width: 35px;
  height: 35px;
  color: white;
  cursor: pointer;
  padding: 3px;
  background-color: var(--bd-main);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}

.post-container {
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  flex-wrap: wrap;
}

.post-container > * {
  width: 100%;
}

/*--------------------------------------------------------------
## 文章卡片列表
--------------------------------------------------------------*/
.post-card {
  flex: 0 0 auto;
  width: 33.333333%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.list-card {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  background-color: rgba(var(--bs-body-bg-rgb), 0.5);
  border-radius: .5rem;
  overflow: hidden;
  align-items: center;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
  /*让子元素高度一致*/
}

.list-card-img {
  --img-base-width: 50px;
  display: flex;
  position: relative;
  flex: 0 0 calc(4 * var(--img-base-width));
  /* border-top-left-radius: 5px;
  border-top-right-radius: 5px; */
  overflow: hidden;
}

/*--------------------------------------------------------------
## 文章头图列表
--------------------------------------------------------------*/

.list-thumb {
  display: flex;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  background-color: rgba(var(--bs-body-bg-rgb), 0.5);
  border-radius: 5px;
  align-items: center;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: stretch;
  /*让子元素高度一致*/
}

.list-thumb-img {
  --img-base-width: 60px;
  display: flex;
  position: relative;
  flex: 0 0 calc(5 * var(--img-base-width));
  min-height: calc(3 * var(--img-base-width));
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-right: 5px;
  overflow: hidden;
}

.list-thumb-shuoshuo {
  --shuoshuo-base-width: 20px;
  display: flex;
  flex: 0 0 calc(4 * var(--shuoshuo-base-width));
  height: calc(4 * var(--shuoshuo-base-width));
  margin-right: 5px;
}

.list-thumb-shuoshuo > div {
  display: flex;
  margin: auto;
}

/* 头图.back-img 样式 */
.back-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  /* background-color: #9e9e9e; */
  background-color: rgba(120, 120, 120, 0.1);
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.5s ease-in-out;
  transform: translate(0, 0) scale(1);
}

.list-card .back-img:after,
.list-thumb .back-img:after {
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(transparent),
    to(rgba(255, 255, 255, 0.2))
  );
  background-image: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2)
  );
  content: "";
  position: absolute;
  display: block;
  width: 50%;
  height: 100%;
  top: 0;
  left: -75%;
  z-index: 2;
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
  pointer-events: none;
}

.list-card:hover,
.list-thumb:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(var(--bs-body-bg-rgb), 0.8);
}

.list-card:hover .back-img,
.list-thumb:hover .back-img {
  transform: translate(0, 0) scale(1.1);
}

@keyframes background-zoom {
  0% {
    background-size: cover;
  }

  100% {
    background-size: 120%;
    /* 设置为你想要的最大尺寸 */
  }
}

.list-card:hover .back-img:after,
.list-thumb:hover .back-img:after {
  -webkit-animation: shine 0.8s;
  animation: shine 0.8s;
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.list-card-header,
.list-card-content,
.list-thumb-content,
.list-shuoshuo-content {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  display: flex;
  height: auto;
  /*该子元素高/宽度与图片一致*/
  flex-direction: column;
  justify-content: space-between;
}

.list-card-content,
.list-thumb-content,
.list-shuoshuo-content{
  flex-grow: 1;
}

.list-card-content h3 {
  font-size: 24px !important;
}

.list-card-title,
.list-thumb-title {
  display: flex;
  flex-grow: 1;
}

.list-card-meta,
.list-thumb-meta {
  font-size: small;
  display: flex;
  align-items: flex-end;
}

.list-card-meta-left,
.list-thumb-meta-left {
  display: flex;
  flex-grow: 1;
}

.list-card-meta-right,
.list-thumb-meta-right {
  display: flex;
  flex-grow: 0;
}

.list-card-meta-right div,
.list-thumb-meta-right div {
  display: flex;
}

@media (max-width: 1200px) {
  .list-card-content h3 {
    font-size: 20px !important;
  }

  .list-thumb-content h3 {
    font-size: 24px !important;
  }

  .post-card {
    width: 50%;
  }
}

@media (max-width: 992px) {
  .list-card-img,
  .list-thumb-img {
    --img-base-width: 45px;
  }

  .list-card-content h3,
  .list-thumb-content h3 {
    font-size: 20px !important;
  }

  .list-card-description,
  .list-thumb-description,
  .list-shuoshuo-description {
    font-size: 13px;
    flex:0 1 auto;
  }
}

@media (max-width: 768px) {
  .post-card {
    width: 100%;
  }

  .list-card,
  .list-thumb {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .list-thumb-img {
    --img-base-width: 30px;
  }

  .list-thumb-content h3 {
    font-size: 18px !important;
  }

  .list-thumb-description {
    display: none;
  }

  .list-thumb-meta {
    font-size: 12px;
  }

  .list-thumb-meta-right div {
    display: none;
  }
}

/* -----------------------------------
## 目录树 
------------------------------------*/
#toc {
  --toc-width: 260px;
  position: fixed;
  top: 0;
  /* right: 0px; */
  right: calc(-1 * var(--toc-width));
  height: 100vh;
  width: var(--toc-width);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  z-index: 5;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  /* Safari */
}

.tocwidth {
  right: 0px !important;
}

.toc-left {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  margin-left: -25px;
  margin-right: -25px;
  z-index: 6;
}

.toc-left .toc-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bd-main);
  cursor: pointer;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.15);
}

.toc {
  display: flex;
  flex-wrap: nowrap;
  height: auto;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bd-main);
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.15);
}

.toc > span {
  background-color: var(--bd-main);
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  font-size: larger;
  font-weight: bolder;
  text-align: left;
  padding: 10px;
  margin-bottom: 2px;
  margin-left: 20px;
}

.toc ol {
  list-style-type: none;
  margin-left: 20px;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.toc ol li {
  flex: 0 0 auto;
  width: 100%;
  padding-left: 0px;
}

.toc ol ol {
  padding-left: 5px;
}

.toc li li {
  padding-left: 5px;
}

.toc ol li a {
  display: block;
  padding: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.toc ol li a:hover {
  background-color: var(--bd-main);
  color: white;
}

@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
}

.in {
  animation: myfirst 3s;
  -webkit-animation: myfirst 3s;
  /* Safari and Chrome */
}

@keyframes myfirst {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes myfirst

/* Safari and Chrome */ {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* -----------------------------------
## highlight  高亮自定义样式
------------------------------------*/
pre {
  position: relative;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

pre *:not(.hljs-button) {
  position: static;
}

/* for block of numbers */
pre code td.hljs-ln-numbers {
  text-align: center;
  /* color: #9c9c9c; */
  border-right: 0.5px solid #9c9c9c;
  vertical-align: top;
  padding-left: 0.5rem;
  padding-right: 0.8rem;
}

/* for block of code */
pre code td.hljs-ln-code {
  padding-left: 1rem;
  padding-right: 0.5rem;
  /* color: #9c9c9c; */
}

code.hljs {
  /* margin-top: 15px;
  margin-bottom: 15px; */
  border-radius: 5px;
  padding-top: 58px !important;
  border: 1px;
  width: auto;
  overflow: hidden;
}

code.hljs:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fc625d;
  width: 12px;
  height: 12px;
  left: 15px;
  top: 15px;
  box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
  z-index: 2;
}

code.hljs:after {
  content: "";
  position: absolute;
  background-color: var(--bd-main);
  background-clip: padding-box;
  width: 100%;
  height: 40px;
  left: 0px;
  top: 0px;
  z-index: 1;
}

.hljs-button {
  z-index: 3;
}

/* prism 代码外观样式 */
/* .code-toolbar {
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  background-color: var(--bd-main);
  padding-top: 36px !important;
  border: 1px;
}

.code-toolbar:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fc625d;
  width: 12px;
  height: 12px;
  left: 15px;
  top: 15px;
  box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
  z-index: 2;
} */



.index-comments >ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.index-comments >ul >li{
  margin-left: 5px;
  padding-left: 5px;
}
.comment-form{
  margin-left: 5px;
  margin-top:5px;
}

.index-comments >ul .comment-content {
  cursor: help;
}