/* 自定义鼠标光标 */
body, html {
  cursor: url('/shubiao/alternate1743925579.cur'), auto !important;
  font-size: 16px; /* 调小基础字体大小 */
  font-family: 'TTQHaoShenTi', 'YouSheShenTi', serif;
}

/* 引入字体 */
@font-face {
  font-family: 'SourceCodePro';
  src: url('/PicGoDemo/fonts/SourceCodePro.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Consolas';
  src: url('/PicGoDemo/fonts/Consolas.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'TTQHaoShenTi';
  src: url('/PicGoDemo/fonts/甜甜圈海报字体.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'YouSheShenTi';
  src: url('/PicGoDemo/fonts/优设好身体.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'XiaWuWenKai';
  src: url('/PicGoDemo/fonts/霞鹜文楷.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'ZhuZiAYuan';
  src: url('/PicGoDemo/fonts/ZhuZiAYuanJWD.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'TangMeiRen';
  src: url('/PicGoDemo/fonts/HYTangMeiRen55W.woff2') format('woff2');
  font-display: swap;
}

/* 标题字体 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'YouSheShenTi', 'TTQHaoShenTi', serif;
  font-weight: 600;
}

/* 正文字体大小 */
.article-container, #article-container, .card-widget, .recent-post-info {
  font-size: 0.95rem;
}

/* 标题字体大小 */
#article-container h1 {
  font-size: 1.7rem;
}

#article-container h2 {
  font-size: 1.5rem;
}

#article-container h3 {
  font-size: 1.4rem;
}

a, button, input[type="submit"], select {
  cursor: url('/shubiao/alternate1743925579.cur'), auto !important;
}

/* 页面背景 */
body {
  background: url('/img/haer.jpg') fixed !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* 确保所有页面使用相同背景图 */
#page-header.not-home-page,
#page-header.post-bg, 
#page-header.tag-bg,
#page-header.archive-bg,
#page-header.category-bg,
#page-header.messageboard-bg {
  background: url('/img/haer.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* 文章卡片美化 */
#recent-posts > .recent-post-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s;
}

#recent-posts > .recent-post-item:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* 文章特色图片 */
#recent-posts > .recent-post-item .post_cover {
  overflow: hidden;
  border-radius: 8px;
  margin: 10px;
}

#recent-posts > .recent-post-item .post_cover img {
  transition: transform 0.6s;
  object-fit: cover;
}

#recent-posts > .recent-post-item:hover .post_cover img {
  transform: scale(1.05);
}

/* 侧边栏美化 */
#aside-content .card-widget {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  font-size: 1rem;
}

#aside-content .card-widget:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* 侧边栏个人信息卡片动态渐变色 */
#aside-content > .card-widget.card-info {
  background: linear-gradient(
    -45deg,
    #e8d8b9,
    #eccec5,
    #a3e9eb,
    #bdbdf0,
    #eec1ea
  );
  box-shadow: 0 0 5px rgb(66, 68, 68);
  position: relative;
  background-size: 400% 400%;
  -webkit-animation: Gradient 10s ease infinite;
  -moz-animation: Gradient 10s ease infinite;
  animation: Gradient 10s ease infinite !important;
}
@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 黑夜模式适配 */
[data-theme="dark"] #aside-content > .card-widget.card-info {
  background: #191919ee;
}

/* 个人信息Follow me按钮 */
#aside-content > .card-widget.card-info > #card-info-btn {
  background-color: #3eb8be;
  border-radius: 8px;
}

/* 侧边栏个人信息卡片文字样式 */
#aside-content > .card-widget.card-info .card-info-avatar .author-info__name,
#aside-content > .card-widget.card-info .card-info-avatar .author-info__description {
  color: #3c3c3c;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

#aside-content > .card-widget.card-info .card-info-data .card-info-data-item .headline,
#aside-content > .card-widget.card-info .card-info-data .card-info-data-item .length-num {
  color: #3c3c3c;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

#aside-content > .card-widget.card-info .card-info-social-icons .social-icon {
  color: #3c3c3c;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

/* 黑夜模式文字样式适配 */
[data-theme="dark"] #aside-content > .card-widget.card-info .card-info-avatar .author-info__name,
[data-theme="dark"] #aside-content > .card-widget.card-info .card-info-avatar .author-info__description,
[data-theme="dark"] #aside-content > .card-widget.card-info .card-info-data .card-info-data-item .headline,
[data-theme="dark"] #aside-content > .card-widget.card-info .card-info-data .card-info-data-item .length-num,
[data-theme="dark"] #aside-content > .card-widget.card-info .card-info-social-icons .social-icon {
  color: #eee;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}

/* 网站头部美化 */
#page-header {
  position: relative;
  background-color: transparent !important;
}

#page-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

/* 页脚美化 */
#footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

/* 修改文章缺失图片为自定义图片 */
.recent-post-item:not(.no-article-cover) .post-cover-img {
  object-fit: cover;
}

.recent-post-item .post-cover-none,
.error-img {
  background-image: url('/img/dtcat.png') !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f8f8f8;
}

/* 修改404错误图片 */
.error-img {
  width: 100%;
  height: 200px;
}

/* 欢迎弹窗 */
#welcome-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-align: center;
  font-size: 16px;
  display: none;
  max-width: 80%;
  line-height: 1.6;
}

#welcome-popup h3 {
  margin-top: 0;
  color: #49b1f5;
  font-size: 22px;
}

#welcome-popup p {
  margin: 10px 0;
}

#welcome-close {
  background-color: #49b1f5;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s;
}

#welcome-close:hover {
  background-color: #37a0e4;
}

/* 文章页H1-H6图标样式效果 */
/* 控制风车转动速度 4s那里可以自己调节快慢 */
h1::before,
h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
  -webkit-animation: ccc 4s linear infinite;
  animation: ccc 4s linear infinite;
}
/* 控制风车转动方向 -1turn 为逆时针转动，1turn 为顺时针转动，相同数字部分记得统一修改 */
@-webkit-keyframes ccc {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-1turn);
    transform: rotate(-1turn);
  }
}
@keyframes ccc {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-1turn);
    transform: rotate(-1turn);
  }
}
/* 设置风车颜色 */
#content-inner.layout h1::before {
  color: #ef50a8;
  margin-left: -1.55rem;
  font-size: 1.3rem;
  margin-top: -0.23rem;
}
#content-inner.layout h2::before {
  color: #fb7061;
  margin-left: -1.35rem;
  font-size: 1.1rem;
  margin-top: -0.12rem;
}
#content-inner.layout h3::before {
  color: #ffbf00;
  margin-left: -1.22rem;
  font-size: 0.95rem;
  margin-top: -0.09rem;
}
#content-inner.layout h4::before {
  color: #a9e000;
  margin-left: -1.05rem;
  font-size: 0.8rem;
  margin-top: -0.09rem;
}
#content-inner.layout h5::before {
  color: #57c850;
  margin-left: -0.9rem;
  font-size: 0.7rem;
  margin-top: 0rem;
}
#content-inner.layout h6::before {
  color: #5ec1e0;
  margin-left: -0.9rem;
  font-size: 0.66rem;
  margin-top: 0rem;
}
/* s设置风车hover动效 6s那里可以自己调节快慢*/
#content-inner.layout h1:hover,
#content-inner.layout h2:hover,
#content-inner.layout h3:hover,
#content-inner.layout h4:hover,
#content-inner.layout h5:hover,
#content-inner.layout h6:hover {
  color: var(--theme-color);
}
#content-inner.layout h1:hover::before,
#content-inner.layout h2:hover::before,
#content-inner.layout h3:hover::before,
#content-inner.layout h4:hover::before,
#content-inner.layout h5:hover::before,
#content-inner.layout h6:hover::before {
  color: var(--theme-color);
  -webkit-animation: ccc 0.8s linear infinite;
  animation: ccc 0.8s linear infinite;
}

/* 全局默认鼠标指针 */
body,
html {
  cursor: url('/shubiao/alternate1743925579.cur'), auto !important;
}

/* 悬停图片时的鼠标指针 */
img {
  cursor: url('/shubiao/alternate1743925579.cur'), auto !important;
}

/* 选择链接标签时的鼠标指针 */
a:hover {
  cursor: url('/shubiao/link1743925579.cur'), auto !important;
}

/* 选中输入框时的鼠标指针 */
input:hover {
  cursor: url('/shubiao/alternate1743925579.cur'), auto !important;
}

/* 悬停按钮时的鼠标指针 */
button:hover {
  cursor: url('/shubiao/link1743925579.cur'), auto !important;
}

/* 悬停列表标签时的鼠标指针 */
i:hover {
  cursor: url('/shubiao/link1743925579.cur'), auto !important;
}

/* 悬停页脚链接标签（例如页脚徽标）时的鼠标指针 */
#footer-wrap a:hover {
  cursor: url('/shubiao/link1743925579.cur'), auto !important;
}

/* 悬停页码时的鼠标指针 */
#pagination .page-number:hover {
  cursor: url('/shubiao/link1743925579.cur'), auto !important;
}

/* 悬停菜单栏时的鼠标指针 */
#nav .site-page:hover {
  cursor: url('/shubiao/link1743925579.cur'), auto !important;
}

/* 忙碌状态鼠标指针 */
.loading,
.waiting {
  cursor: url('/shubiao/busy1743925579.cur'), auto !important;
}

/* 帮助状态鼠标指针 */
.help-icon,
.tooltip-trigger {
  cursor: url('/shubiao/help1743925579.cur'), auto !important;
}

/* 工作中状态鼠标指针 */
.processing,
.submitting {
  cursor: url('/shubiao/working1743925579.cur'), auto !important;
}

/* 电子时钟样式 */
#aside-content.aside-content > .sticky_layout > .card-widget.card-clock > .card-glass > .card-background {
    background-color: unset;
    box-shadow: unset;
}

/* 自定义电子时钟样式 */
.card-clock {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.card-clock:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* 电子时钟数字样式 */
#electric_clock {
    font-family: 'Arial', sans-serif !important;
}

/* 电子时钟天气图标样式 */
.weather-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

/* 电子时钟温度显示样式 */
.card-clock .temp {
    font-weight: bold;
    color: #49b1f5;
}

.toast-title {
  font-weight: bold;
}
.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}
.toast-message a,
.toast-message label {
  color: #FFFFFF;
}
.toast-message a:hover {
  color: #CCCCCC;
  text-decoration: none;
}
.toast-close-button {
  position: relative;
  right: -0.3em;
  top: -0.3em;
  float: right;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  -webkit-text-shadow: 0 1px 0 #ffffff;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.8;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  filter: alpha(opacity=80);
  line-height: 1;
}
.toast-close-button:hover,
.toast-close-button:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  filter: alpha(opacity=40);
}
.rtl .toast-close-button {
  left: -0.3em;
  float: left;
  right: 0.3em;
}
/*Additional properties for button version
 iOS requires the button element instead of an anchor tag.
 If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}
.toast-top-center {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-left {
  top: 12px;
  left: 12px;
}
.toast-top-right {
  top: 12px;
  right: 12px;
}
.toast-bottom-right {
  right: 12px;
  bottom: 12px;
}
.toast-bottom-left {
  bottom: 12px;
  left: 12px;
}
#toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  /*overrides*/
}
#toast-container * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#toast-container > div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 6px;
  padding: 15px 15px 15px 50px;
  width: 300px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
  background-position: 15px center;
  background-repeat: no-repeat;
  color: #0e0808;
  opacity: 1.0;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  filter: alpha(opacity=80);
}
#toast-container > div.rtl {
  direction: rtl;
  padding: 15px 50px 15px 15px;
  background-position: right 15px center;
}
#toast-container > div:hover {
  -moz-box-shadow: 0 0 12px #000000;
  -webkit-box-shadow: 0 0 12px #000000;
  box-shadow: 0 0 12px #000000;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  cursor: pointer;
}

#toast-container > .toast-success {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;
}
#toast-container.toast-top-center > div,
#toast-container.toast-bottom-center > div {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
#toast-container.toast-top-full-width > div,
#toast-container.toast-bottom-full-width > div {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.toast {
  background-color: #030303;
}
.toast-success {
  background-color: #ffffff;
}
.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000000;
  opacity: 0.4;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  filter: alpha(opacity=40);
}
/*Responsive Design*/
@media all and (max-width: 240px) {
  #toast-container > div {
    padding: 8px 8px 8px 50px;
    width: 11em;
  }
  #toast-container > div.rtl {
    padding: 8px 50px 8px 8px;
  }
  #toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
  #toast-container .rtl .toast-close-button {
    left: -0.2em;
    right: 0.2em;
  }
}
@media all and (min-width: 241px) and (max-width: 480px) {
  #toast-container > div {
    padding: 8px 8px 8px 50px;
    width: 18em;
  }
  #toast-container > div.rtl {
    padding: 8px 50px 8px 8px;
  }
  #toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
  #toast-container .rtl .toast-close-button {
    left: -0.2em;
    right: 0.2em;
  }
}
@media all and (min-width: 481px) and (max-width: 768px) {
  #toast-container > div {
    padding: 15px 15px 15px 50px;
    width: 25em;
  }
  #toast-container > div.rtl {
    padding: 15px 50px 15px 15px;
  }
}

/* 今日诗词卡片样式 */
#card-poem.card-widget {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

#card-poem .card-content {
  position: relative;
  padding: 16px;
  z-index: 1;
}

#card-poem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/img/yugui.jpg') center center / cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

#card-poem .item-headline {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 6px;
}

#card-poem .item-headline i {
  margin-right: 8px;
  color: #49b1f5;
}

#poem_sentence {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  font-family: "楷体", KaiTi, serif;
  font-weight: bold;
  text-align: center;
}

#poem_info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.9rem;
}

#poem_dynasty {
  font-style: italic;
  margin-bottom: 4px;
  color: #858585;
}

#poem_author {
  font-weight: bold;
}

/* 文章内容字体大小 */
.post-content {
  font-size: 1.3rem !important;
  font-family: 'XiaWuWenKai', 'ZhuZiAYuan', 'TangMeiRen', sans-serif !important;
  line-height: 1.75 !important;
  color: #333333;
  text-align: justify;
  letter-spacing: 0.05em;
}

.post-content h1 {
  font-size: 2.1rem !important;
}

.post-content h2 {
  font-size: 1.9rem !important;
}

.post-content h3 {
  font-size: 1.7rem !important;
}

.post-content h4 {
  font-size: 1.5rem !important;
}

/* 文章段落间距 */
.post-content p {
    margin-bottom: 1.2em;
}

/* 文章标题样式 */
#article-container h1,
#article-container h2,
#article-container h3,
#article-container h4,
#article-container h5,
#article-container h6 {
    font-family: 'YouSheShenTi', 'TTQHaoShenTi', sans-serif;
    font-weight: 600;
    margin: 1.2em 0 0.8em 0;
    color: #444;
}

#article-container h1 {
    font-size: 2.1rem !important;
}

#article-container h2 {
    font-size: 1.9rem !important;
}

#article-container h3 {
    font-size: 1.7rem !important;
}

#article-container h4 {
    font-size: 1.5rem !important;
}

/* 链接样式 */
.post-content a {
    color: #49b1f5;
    text-decoration: none;
    border-bottom: 1px solid #49b1f5;
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: #ff7242;
    border-bottom-color: #ff7242;
}

/* 引用块样式 */
.post-content blockquote {
    border-left: 4px solid #49b1f5;
    background-color: rgba(73, 177, 245, 0.1);
    padding: 1em 1em 1em 2em;
    margin: 1em 0;
    border-radius: 0 8px 8px 0;
}

/* 代码块样式 */
.post-content code {
    font-family: 'Fira Code', 'Source Code Pro', Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
    background-color: rgba(73, 177, 245, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* 列表样式 */
.post-content ul, 
.post-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.post-content li {
    margin-bottom: 0.6em;
}

/* 表格样式 */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
}

.post-content table th,
.post-content table td {
    border: 1px solid #eee;
    padding: 0.75em;
}

.post-content table thead th {
    background-color: rgba(73, 177, 245, 0.1);
}

/* 图片样式 */
.post-content img {
    max-width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 1.2em auto;
    display: block;
}

/* 首行缩进 */
.post-content p:not(.gallery-group) {
    text-indent: 2em;
}

/* 特殊段落不缩进 */
.post-content blockquote p,
.post-content li p,
.post-content .gallery-group {
    text-indent: 0;
}

/* 全局字体大小调整 */
#content-inner {
  font-size: 1.3rem !important; /* 增加文章内容字体大小 */
}

/* 文章标题字体大小 */
.post-title {
  font-size: 2.1rem !important;
}

/* 侧边栏字体大小 */
#aside-content .card-widget {
  font-size: 1.2rem !important;
}

/* 导航菜单字体大小 */
#nav .site-page {
  font-size: 1.25rem !important;
}

/* 文章元数据字体大小 */
.post-meta {
  font-size: 1.1rem !important;
}

/* 文章卡片摘要字体大小 */
.recent-post-info .content {
  font-size: 1.2rem !important;
}

/* 卡片标题字体大小 */
.card-widget .item-headline {
  font-size: 1.35rem !important;
}

/* 雪花特效 */
[data-theme="light"] #snow{
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

/* 雪花黑夜模式不显示 */
[data-theme="dark"] #snow{
  display: none;
}

/* 引入自定义图标字体 */
@font-face {
  font-family: "iconfont";
  src: url('../tubiao/iconfont.woff2?t=1743916188978') format('woff2'),
       url('../tubiao/iconfont.woff?t=1743916188978') format('woff'),
       url('../tubiao/iconfont.ttf?t=1743916188978') format('truetype');
}

.custom-icon {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 自定义图标代码 */
.icon-qq:before {
  content: "\e667";
}

.icon-home:before {
  content: "\e601";
}

.icon-heart:before {
  content: "\e741";
}

.icon-handshake:before {
  content: "\e6b5";
}

.icon-comment:before {
  content: "\e650";
}

.icon-search:before {
  content: "\e600";
}

/* 美化导航栏图标 */
#nav .site-page {
  display: flex;
  align-items: center;
}

#nav .site-page i {
  margin-right: 4px;
}

/* 添加悬停效果 */
.custom-icon {
  transition: transform 0.3s ease;
}

.custom-icon:hover {
  transform: scale(1.2);
}

/* 导航栏滚动隐藏效果 */
#nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

#nav.nav-fixed.nav-visible {
  transform: translateY(0);
}

#nav.nav-fixed.nav-hidden {
  transform: translateY(-60px); /* 根据导航栏高度调整此值 */
}

/* 添加一个js代码到底部来控制导航栏的显示和隐藏 */

/* 评论区样式增强 */
.vcontent img.vemoji {
  display: inline-block !important;
  height: 1.5em !important;
  width: auto !important;
  margin: 0 1px !important;
  vertical-align: middle !important;
}

/* 表情图片样式 */
.vemoji {
  max-width: none !important;
  max-height: 1.5em !important;
  vertical-align: middle !important;
}

/* 修复评论中的图片显示 */
.vcontent img {
  display: inline-block;
  max-height: 300px;
}

/* 确保 class="vemoji" 的图片正确显示 */
img[class="vemoji"] {
  display: inline-block !important;
  height: 1.5em !important;
  width: auto !important;
  margin: 0 1px !important;
  vertical-align: middle !important;
}

/* Valine 评论框样式美化 */
#vcomments .vcards .vcard {
  padding: 15px 20px 0 20px !important;
  border-radius: 10px !important;
  margin-bottom: 15px !important;
  box-shadow: 0 0 4px rgba(0,0,0,0.1) !important;
  transition: all 0.3s !important;
}

#vcomments .vcards .vcard:hover {
  box-shadow: 0 0 8px rgba(0,0,0,0.2) !important;
} 