@charset "UTF-8";
@font-face {
  font-family: "iconfont";
  src: url("font_share_agree/iconfont.ttf?t=1751124309002") format("truetype");
}
/* 按钮通用样式 */
.btn {
  border-width: 1px;
  border-style: solid;
  border-radius: 0.2em;
  padding: 0.3em 1em;
  cursor: pointer;
}

/* 小按钮 */
.btn-sm {
  font-size: 0.8em;
}
.btn-sm span {
  font-size: 100%;
}

/* 图标 */
[class*=" icon-"], [class^=icon-] {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 点赞大拇指 */
.icon-thumbs-up::before {
  content: "\e64d";
}

/* 社交分享 */
.icon-share::before {
  content: "\e68d";
}

/* 通用模板 */
/* 绿色按钮 */
.agree-btn {
  border-color: #007241;
  color: #007241;
  background-color: white;
}
.agree-btn:hover, .agree-btn:focus, .agree-btn:active {
  background-color: #007241;
  color: white;
}
.agree-btn:focus, .agree-btn:active {
  outline: 3px solid rgba(0, 114, 65, 0.3);
}
.agree-btn[disable] {
  background-color: white;
  border-color: #00a55e;
  color: #00a55e;
}

/* 红色按钮 */
.share-btn {
  border-color: #d9230f;
  color: #d9230f;
  background-color: white;
}
.share-btn:hover, .share-btn:focus, .share-btn:active {
  background-color: #d9230f;
  color: white;
}
.share-btn:focus, .share-btn:active {
  outline: 3px solid rgba(217, 35, 15, 0.3);
}
.share-btn[disable] {
  background-color: white;
  border-color: #f03e2b;
  color: #f03e2b;
}

body::after {
  content: "'2025-06-28 16:46:31'";
  color: green;
}

:root {
  background-color: #fff;
}

html, body {
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  background-color: rgb(218, 227, 231);
}

small, #page-post .the-end .inner, #page-post .license, .tags a, #footer, pre, code {
  font-size: 0.8em;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover, a.agree-btn:focus, a.agree-btn:active, a.share-btn:focus, a.share-btn:active, a:active {
  color: #116AF7;
  -webkit-text-decoration: underline solid #116AF7;
          text-decoration: underline solid #116AF7;
}

pre {
  padding: 8px;
  overflow: auto;
  max-height: 800px;
}

pre, code {
  background-color: #F3F3F3;
  font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
}

/** 单独<code>标签样式,markdown用``标记  */
code:not([class]) {
  padding: 2px 0.5em;
  color: red;
  margin: auto 0.2em;
  border-radius: 0.3em;
  font-family: "-apple-system", "BlinkMacSystemFont", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}

pre code {
  margin: 0;
  padding: 3px;
  color: #444;
  border: none;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
  padding: 5px;
  border: 1px solid #E9E9E9;
  width: 100%;
  border-radius: 2px;
  box-sizing: border-box;
}

table {
  border: 1px solid #ddd;
  width: 100%;
}

table th,
table td {
  padding: 5px 10px;
  border: 1px solid #eee;
}

table th {
  background-color: #f3f3f3;
}

/* 标题中首字母要大写 */
a.title {
  text-transform: capitalize;
}

h1 {
  font-size: 1.2em;
}

h2 {
  font-size: 1.14em;
}

h3 {
  font-size: 1.1em;
}

h4 {
  font-size: 1.06em;
}

h5 {
  font-size: 1.03em;
}

h6 {
  font-size: 1.01em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 200%;
  font-weight: 600;
  margin: 0.5em 0 0.3em 0;
  text-transform: capitalize;
}

/** 卡片样式 */
.card {
  border-radius: 5px;
  margin: 10px 5px;
  background-color: white;
}
.card.card-padding, .card .card-padding {
  padding: 16px;
}
.card .card-header {
  padding: 16px 16px 0px 16px;
  border-bottom: 1px solid #00AF64;
}
.card .card-body {
  padding: 0px 16px;
}
.card .card-footer {
  padding: 0px 16px 16px 16px;
}
@media screen and (max-width: 768px) {
  .card { /* 手机上缩小卡片左右内间距 */
    margin-left: 6px;
    margin-right: 6px;
  }
  .card.card-padding,
  .card .card-padding,
  .card .card-header,
  .card .card-body,
  .card .card-footer {
    padding-left: 8px;
    padding-right: 8px;
  }
}

header {
  background-color: white;
  margin-bottom: 10px;
  /*border-bottom: 1px solid #EEE;*/
  box-shadow: 0px 1px 2px #eee;
}

/* 导航栏 */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 8px 20px;
  flex-wrap: wrap;
  row-gap: 1em;
}
nav .right {
  /* 右侧导航栏 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
  nav .right { /* 隐藏菜单项目 */
    display: none;
    margin-top: 1em;
    width: 100%;
    row-gap: 2rem;
  }
}
nav.active { /* 菜单激活显示时 */
  gap: 0.5em; /* 调小行间距 */
}
nav.active .right {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-content: center;
  padding-bottom: 1em;
}
nav .menu {
  /* 导航菜单 */
  display: flex;
  gap: 0.5rem;
  list-style: none;
  transition: 0.3s;
  padding: 0;
}
nav .menu:where(ul) {
  margin: 0px;
  padding: 0px;
}
nav .menu a {
  display: inline-block;
  padding: 0.5em 0.5em;
}
nav .menu a:hover, nav .menu a.agree-btn:focus, nav .menu a.share-btn:focus, nav .menu a:active, nav .menu a.current {
  text-decoration: none;
  background-color: #00AF64;
  border-radius: 0.2em;
  color: white;
}
nav .hamburger {
  /* 右侧小屏显示菜单按钮 */
  display: none;
  color: black;
  font-size: 1.5rem;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  nav .hamburger {
    display: block;
  }
}
nav .logo .site-name {
  color: black;
  font-size: 1.8em;
}
@media screen and (max-width: 768px) {
  nav .logo .site-name {
    font-size: 1em; /*字号调小*/
    font-weight: bold;
  }
}
nav .logo .site-description {
  display: none;
  margin: 0.5em 0 0;
  color: #666;
  font-style: normal;
}
nav .logo a {
  color: inherit;
  text-decoration: none;
  outline: none;
}
nav .logo a:hover, nav .logo a.agree-btn:focus, nav .logo a.share-btn:focus, nav .logo a:active {
  color: inherit;
  -webkit-text-decoration: underline solid transparent;
          text-decoration: underline solid transparent;
}
nav .logo img {
  max-height: 64px;
}

/* 定义页面宽度 */
.container, #body {
  margin: 0 auto;
}
@media screen and (min-width: 1200px) {
  .container, #body { /* 宽屏显示 */
    max-width: 968px;
  }
}

/* Search */
#search {
  position: relative;
  /*
   * Hide only visually, but have it available for screenreaders: h5bp.com/v
   */
}
#search input {
  padding-right: 30px;
}
#search input:focus {
  outline: 3px solid #39E639;
  border: 1px solid black;
  color: #333333;
  background-color: lightyellow;
}
#search button {
  position: absolute;
  right: 4px;
  top: 2px;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  background: transparent url(../img/icon-search.png) no-repeat center center;
  direction: ltr; /* fix RTL language */
  text-indent: -9999em;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #search button {
    background-image: url(../img/icon-search@2x.png);
    background-size: 24px 24px;
  }
}
#search .sr-only {
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  /*
  * Extends the .sr-only class to allow the element to be focusable
  * when navigated to via the keyboard: h5bp.com/p
  */
}
#search .sr-only.focusable:active, #search .sr-only .focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

#body {
  color: black;
  display: grid;
  grid-template-columns: 70% 30%;
}
@media screen and (max-width: 768px) {
  #body { /* 窄屏幕上行显示 */
    grid-template-columns: 100%;
  }
}

main {
  padding: 0; /* 取消gird.css定义的样式 */
}
main .post-meta {
  /* 文章标题下面的信息 */
  margin-top: 0;
  padding: 0;
  color: #444;
  font-size: 0.92857em;
}
main .post-meta li {
  display: inline-block;
  margin: 0 8px 0 0;
  padding-left: 12px;
  border-left: 1px solid #EEE;
}
main .post-meta li:first-child {
  margin-left: 0;
  padding-left: 0;
  border: none;
}
@media screen and (max-width: 768px) {
  main .post-meta { /* 小屏（手机）上居中 */
    text-align: center;
  }
}
main .post { /* 文章内容 */
  padding: 1px 0;
  border: none;
}

/* Page nav */
.page-navigator {
  list-style: none;
  margin: 25px 0;
  padding: 0;
  text-align: center;
}
.page-navigator li {
  display: inline-block;
  margin: 0 4px;
}
.page-navigator a {
  display: inline-block;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
}
.page-navigator a:hover, .page-navigator a.agree-btn:focus, .page-navigator a.agree-btn:active, .page-navigator a.share-btn:focus, .page-navigator a.share-btn:active, .page-navigator a :active {
  background-color: #EEE;
  text-decoration: none;
  border-bottom: none;
}
.page-navigator .current a {
  color: #666;
  background-color: #EEE;
}

/* ------------------
 * secondary
 * --------------- */
#secondary {
  word-wrap: break-word;
}
#secondary li {
  font-size: 92%;
}
#secondary .widget-list {
  padding: 0;
  margin: 0px;
  display: flex;
  row-gap: 1em;
  -moz-column-gap: 1em;
       column-gap: 1em;
  flex-wrap: wrap;
  justify-content: start;
}
#secondary .widget-list li {
  list-style-type: none;
  display: flex-start;
  color: #444;
}
#secondary .widget-title {
  color: black;
  font-weight: bold;
  font-size: 1em;
}
#secondary .widget-title::before {
  content: "▌"; /* 开始引号 */
  color: #00AF64;
  display: inline-block;
  font-style: normal;
  font-size: 0.9em;
}
#secondary .card {
  padding-top: 0.1em;
}

/* ------------------
 * Footer 
 * --------------- */
#footer {
  padding: 2em 0 1em 0;
  line-height: 2;
  text-align: center;
  font-style: normal;
}
#footer address {
  font-style: normal;
}

/* -----------------
 * Error page
 * -------------- */
.error-page {
  margin-top: 100px;
  margin-bottom: 100px;
}

/* -----------------
 * Content format
 *--------------- */
.post-content {
  word-wrap: break-word;
}
.post-content img, .post-content video {
  max-width: 100%;
}
.post-content a img {
  background-color: #FFF;
  position: relative;
  bottom: -4px; /* hidden img parent link border  */
}
.post-content a {
  color: #116AF7;
  text-decoration: none;
}
.post-content a:hover, .post-content a.agree-btn:focus, .post-content a.share-btn:focus, .post-content a:active {
  color: #116AF7;
  -webkit-text-decoration: underline solid #116AF7;
          text-decoration: underline solid #116AF7;
}
.post-content hr {
  margin: 2em auto;
  border: 1px solid #E9E9E9;
  border-width: 1px 0 0 0;
}
.post-content p, .post-content li, .post-content div, .post-content td, .post-content th, .post-content blockquote {
  line-height: 200%;
}
.post-content ul, .post-content ol, .post-content dl {
  padding-left: 1em;
}
.post-content blockquote {
  padding: 0.5em 0.5em 0.5em 1em;
  margin: 1em 0;
  background-color: #f9f9f9;
  border-left: 4px solid #080;
  color: #555;
  font-size: 90%;
}
.post-content blockquote > ol, .post-content blockquote > ul, .post-content blockquote > dl {
  margin: none;
  padding: none;
}

/* 单行标题和日期列表 */
.post-list {
  color: inherit;
}
.post-list:where(ul, ol) {
  padding-left: 0;
  list-style-type: none;
  margin-top: 0;
  margin-bottom: 0;
}
.post-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45em 2px;
  line-height: 1.7;
  border-bottom: 1px dashed lightgray;
}
.post-list li time {
  color: #666;
}
.post-list li time:last-child {
  margin-left: 0.5em;
}
.post-list li time:first-child {
  margin-right: 0.5em;
}
.post-list li a {
  color: inherit;
  text-decoration: none;
}
.post-list li a:hover, .post-list li a.agree-btn:focus, .post-list li a.share-btn:focus, .post-list li a:active {
  color: #116AF7;
  -webkit-text-decoration: underline solid transparent;
          text-decoration: underline solid transparent;
}

/** 文字不换行，结尾省略号 */
.nowrap {
  white-space: nowrap; /* 禁止文本换行 */
  overflow: hidden; /* 隐藏超出范围的内容 */
  text-overflow: ellipsis; /* 使用省略号 */
}

.tags {
  color: #666;
}
.tags a {
  display: inline-block;
  background-color: #E9E9E9;
  padding: 0.5em;
  margin: 0.1em auto;
  border-bottom: none;
  border-radius: 0.2em;
  color: initial;
}
.tags a::before {
  content: "#";
  font-size: 80%;
  font-style: italic;
  display: inline-block;
  margin-right: 0.3em;
}

/* 归档页面 */
#page-archives .year {
  justify-content: left;
}
#page-archives .month {
  padding-left: 0.5em;
  color: #444;
}
#page-archives .post-list {
  padding-left: 0.5em;
}
#page-archives .post-list li {
  justify-content: left;
}

/* archive.php 页面 */
#page-archive .archive-title {
  color: #666;
}

#page-post {
  /** 文章主页 */
  color: inherit;
}
#page-post .license {
  color: #666;
  line-height: 180%;
}
#page-post .post-near {
  /* 上一篇和下一篇 */
  list-style: none;
}
#page-post .post-near li {
  line-height: 2.2em;
}
#page-post .post-title { /* 文章标题h1 */
  margin: 1em 0;
}
#page-post .the-end { /* THE END 分割线 */
  font-size: 14px;
  color: #999;
  border: 0;
  border-top: 1px solid #ccc;
  padding: 0;
  margin: 0.5em auto;
}
#page-post .the-end .inner {
  margin: 0 auto;
  padding: 0 10px;
}
#page-post .line-wrap { /* 斜向条纹双色分割线 */
  border: none;
  height: 4px;
  background: repeating-linear-gradient(45deg, #ff9a9e, #ff9a9e 10px, #fad0c4 10px, #fad0c4 20px); /* 斜向条纹效果 */
}

@media screen and (max-width: 768px) { /* 手机上行显示 */
  .post-title {
    text-align: center;
  }
}
/* 作者头像 */
.author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.center {
  text-align: center;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.invisible {
  visibility: hidden;
}

/* 为外部链接添加图标指示 */
a[href^="http://"]:not([href*="xuechun.vip"]):after,
a[href^="https://"]:not([href*="xuechun.vip"]):after {
  content: "⤤";
  display: inline-block;
  color: #116AF7;
  font-weight: bold;
}/*# sourceMappingURL=main.css.map */