@media (min-width: 768px) {
  #header .navbar-collapse {
    padding-right: 0;
  }
}
#header {
  z-index: 199;
}
.page-navigator {
  list-style: none;
  margin: 10px 0;
  padding-left: 1px;
  overflow: hidden;
}
.page-navigator li {
  display: inline;
  float: left;
}
.page-navigator li a {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.page-navigator li span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #999;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.page-navigator li.current a {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.page-navigator li:first-child a {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.page-navigator li:last-child a {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.post-meta {
  color: var(--bs-tertiary-color);
}
.post-content {
  margin: 20px 0;
}
#footer {
  margin-top: 20px;
}
#footer .container {
  padding: 30px 0;
}
#footer {
  width: 100%;
}
body {
  --min-height: 100vh;
  min-height: var(--min-height);
}
#body {
  flex: 1;
}
.warp-footer {
  min-height: var(--min-height);
  flex-direction: column;
}
#main .breadcrumb {
  color: #777;
  font-size: 13px;
}
.widget-list li {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.widget-list li {
  padding: 0;
}
.widget-list li a {
  display: block;
  padding: 10px 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.widget-list li a i {
  color: var(--bs-secondary-color);
  margin: 2px;
  vertical-align: baseline;
}
.recent-comments .widget-list li {
  padding: 10px 20px;
}
.recent-comments .widget-list li a {
  display: inline;
  padding: 0;
}
.recent-comments .widget-list li .katex-display {
  display: inline !important;
}
.recent-comments .widget-list li .katex-display * {
  display: inline !important;
}
.tags > .badge > a {
  color: inherit;
  text-decoration: none;
}
.post-title a {
  text-decoration: none;
}
#comments > h3 {
  font-size: 18px;
  color: #777;
}
#comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#comments .comment-list li {
  padding: 10px;
  margin-top: 10px;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  border-radius: 4px;
  overflow: hidden;
}
#comments .comment-list li.comment-level-odd {
  background: var(--bs-secondary-bg);
}
#comments .comment-list li.comment-level-even {
  background: var(--bs-tertiary-bg);
}
#comments .comment-list li.comment-by-author {
  position: relative;
}
#comments .comment-list li.comment-by-author:after {
  content: "作者";
  display: block;
  position: absolute;
  width: 100px;
  right: -30px;
  top: 5px;
  padding: 2px 3px;
  color: white;
  font-size: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  transform: rotate(30deg);
}
#comments .comment-list li .comment-reply {
  text-align: right;
  font-size: 0.92857em;
}
.comment-meta a {
  color: var(--bs-secondary-color);
  font-size: 0.92857em;
}
.comment-author {
  display: block;
  margin-bottom: 3px;
  color: var(--bs-body-color);
}
.comment-author .avatar {
  float: left;
  margin-right: 10px;
  border-radius: 50%;
}
.comment-author cite {
  font-weight: bold;
  font-style: normal;
}
.comment-list .respond {
  margin-top: 15px;
  border-top: 1px solid #eee;
}
.respond > h3 {
  font-size: 18px;
  color: #777;
}
.respond .cancel-comment-reply {
  float: right;
  margin-top: 15px;
  font-size: 0.92857em;
}
#comment-form .custom-input-group {
  position: relative;
}
#comment-form .custom-input-group .input-group-addon {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px 12px;
  width: 38px;
  line-height: 20px;
  border-right: 1px solid #ccc;
}
#comment-form .custom-input-group .text {
  text-indent: 40px;
}
#comment-form .custom-input-group.has-error .input-group-addon {
  border: 1px solid #a94442;
}
#comment-form .custom-input-group-url {
  float: left;
  width: 100%;
}
#comment-form .custom-input-group-url .input-group-addon {
  top: auto;
  bottom: 0;
}
#comment-form .custom-input-group-url.has-error .input-group-addon {
  top: auto;
  bottom: 30px;
}
#comment-form .form-group label.error {
  margin-top: 5px;
  color: #a94442;
  font-weight: normal;
}
@media (min-width: 768px) {
  #comment-form .form-group-inline {
    width: 49%;
    float: left;
  }
  #comment-form .form-group-inline:nth-child(2) {
    float: right;
  }
}
.post-near {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #888;
  overflow: hidden;
}
.post-near li {
  width: 100%;
  padding: 0;
  border-radius: 4px;
  position: relative;
}
.post-near li:last-child {
  background: rgba(0, 0, 0, 0.025);
}
.post-near li:hover {
  background: rgba(0, 0, 0, 0.1);
}
.post-near li a {
  display: block;
  font-size: 17px;
  line-height: 50px;
  padding: 0 30px 0 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.post-near li a:last-child {
  padding: 0 10px 0 30px;
}
.post-near li i {
  position: absolute;
  left: 10px;
  top: 33%;
}
.post-near li:last-child i {
  left: 100%;
  margin-left: -25px;
}
@media (min-width: 768px) {
  .post-near li {
    width: 49.8%;
    float: left;
  }
  .post-near li:last-child {
    float: right;
  }
  .post-near li a {
    font-size: 20px;
    line-height: 60px;
    padding: 0 40px 0 20px;
  }
  .post-near li a:last-child {
    padding: 0 20px 0 40px;
  }
  .post-near li i {
    top: 37%;
    left: 20px;
  }
  .post-near li:last-child i {
    left: auto;
    right: 15px;
  }
}
.post-content,
.comment-content {
  line-height: 1.5;
  word-wrap: break-word;
}
.post-content h2,
.comment-content h2 {
  font-size: 1.28571em;
}
.post-content img,
.comment-content img,
.post-content video,
.comment-content video {
  max-width: 100%;
}
.post-content a img,
.comment-content a img {
  background: #fff;
  position: relative;
  bottom: -4px;
}
.post-content hr,
.comment-content hr {
  margin: 2em auto;
  width: 100px;
  border: 1px solid #e9e9e9;
  border-width: 2px 0 0 0;
}
.post-content .more {
  text-align: center;
}
