@charset "UTF-8";
/*
Theme Name: 求和!李姐万岁! GitBook For WordPress
Theme URI: https://github.com/zhaoolee/gitbook-for-wordpress
Author: zhaoolee
Author URI: https://zhaoolee.com
Description: GitBook布局锤子便签配色的WordPress主题
Version: 0.1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: github-com-zhaoolee-gitbook-for-wordpress
*/
body {
  /* background-color: $color-background; */
  color: #635753 !important;
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Microsoft Yahei", 微软雅黑, STHeiti, 华文细黑, sans-serif;
  overflow: hidden;
  background: #f0dab3 url(./image/bg.jpg) !important;
}

.no-border-radius {
  border-radius: 0 !important;
}

header nav {
  border-bottom: 1px solid #e4e8ec;
  background: -webkit-linear-gradient(top, #827265, #716053) !important;
}
header nav #headerMenuModal .modal-content {
  z-index: 100;
  border-radius: 6px;
  background: #f0dab3 url(./image/bg.jpg) !important;
  max-height: 60vh;
}
header nav #headerMenuModal .modal-content .modal-body {
  display: flex;
}
header nav #headerMenuModal .modal-content .body-content-container {
  flex: 1;
  overflow-y: auto;
  border-radius: 6px;
}
header nav #headerMenuModal .modal-content .list-group {
  border-radius: 5px;
  background-color: #fbf7ee !important;
}
header nav #headerMenuModal .modal-content .list-group a {
  text-decoration: none;
}
header nav #headerMenuModal .modal-content .list-group .list-group-item {
  border: none;
  font-weight: 600;
  color: #635753;
  white-space: nowrap; /* 使文本在一行内显示，不换行 */
  overflow: hidden; /* 超出容器宽度的内容将被隐藏 */
  text-overflow: ellipsis; /* 超出容器宽度的文本将以省略号表示 */
  max-width: 100%;
}
header nav #headerMenuModal .modal-content .list-group .list-group-item:hover {
  background-color: #f0ece2;
  color: #635753 !important;
}
header .bg-light {
  color: #ffffff !important;
}
header .no-wrap-container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
}
header .navbar-brand {
  color: #ffffff !important;
}
header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}
header .navbar-left {
  display: flex;
  align-items: center;
}
header .navbar-left .navbar-toggler {
  margin-right: 20px;
}
header .search-and-menu {
  display: flex;
}
header .search-and-menu .top-menu-btn {
  font-size: 16px;
  font-weight: 600;
  background: -webkit-linear-gradient(top, #827265, #716053);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}
header .search-and-menu .top-menu-btn:hover {
  background-color: #1d1f20;
}

.custom-select-margin {
  margin-left: 16px;
  margin-right: 16px;
  margin-top: 16px;
  width: calc(100% - 32px) !important;
  box-sizing: border-box;
}

.site-left-right-container {
  display: flex;
  height: calc(100vh - 56px);
}

.left-sidebar {
  height: calc(100vh - 56px);
  width: 350px;
}

.left-sidebar li,
.left-sidebar-mobile li {
  list-style-type: none;
}

.left-sidebar-container {
  border-right: 1px solid #e4e8ec;
  background-color: #fbf7ee !important;
}
.left-sidebar-container .left-sidebar .left-sidebar-post-list {
  overflow-y: auto;
  height: calc(100vh - 120px);
}
.left-sidebar-container .left-sidebar .left-sidebar-post-list .gitbook-active {
  color: #000;
  font-weight: bold;
  background-color: #f1ece1 !important;
}
.left-sidebar-container .left-sidebar .left-sidebar-post-list .list-group-item {
  position: relative;
}
.left-sidebar-container .left-sidebar .left-sidebar-post-list .gitbook-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 100%;
  transform: translateY(-50%);
  font-weight: bold;
}
.left-sidebar-container .left-sidebar .list-group-item {
  border: 0;
  background-color: #fbf7ee !important;
  color: #635753 !important;
}
.left-sidebar-container .left-sidebar-mobile .left-sidebar-post-list {
  width: auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.left-sidebar-container .left-sidebar-mobile .left-sidebar-post-list .list-group-item {
  background-color: #fbf7ee !important;
  color: #635753 !important;
  border: 0 !important;
  border-radius: 0px !important;
}
.left-sidebar-container .left-sidebar-mobile .offcanvas-body {
  padding: 0;
  background-color: #fbf7ee !important;
  color: #635753 !important;
  display: flex;
  flex-direction: column;
}
.left-sidebar-container .left-sidebar-mobile .offcanvas-body .gitbook-active {
  color: #000;
  font-weight: bold;
  background-color: #f1ece1 !important;
}
.left-sidebar-container .left-sidebar-mobile .offcanvas-header {
  background-color: #fbf7ee !important;
  color: #635753 !important;
}

.right-content {
  flex-grow: 1;
  height: calc(100vh - 56px);
  overflow: scroll;
  padding-top: 24px;
  padding-bottom: 24px;
  word-wrap: break-word; /* 允许在单词内换行 */
  white-space: normal; /* 让文本自然换行并合并多个空格 */
  line-height: 2;
  background-color: #fbf7ee !important;
}
.right-content .right-content-sidebar .widget {
  overflow-x: auto;
}
.right-content .post-content {
  overflow-x: scroll;
}
.right-content h2 {
  line-height: 2;
}
.right-content img {
  max-width: 100%;
  box-shadow: 14px 14px 28px #e6e6e6, -14px -14px 28px #fff;
  border: 9px solid #ffffff;
  outline: 1px solid #ebdfd5;
}
.right-content pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  font-size: 14px;
  margin: 0;
  overflow: auto;
  padding: 16px;
}
.right-content code {
  border-radius: 3px;
  font-size: 14px;
}
.right-content a {
  text-decoration: none;
  color: #635753 !important;
  border-bottom: 1px dashed #635753 !important;
  transition: border-bottom 0.3s;
}
.right-content a:hover {
  border-bottom: 1px solid #635753 !important;
}
.right-content a:visited, .right-content a:active {
  color: #635753 !important;
}

/* pc */
@media (min-width: 992px) {
  .right-content {
    margin-left: 70px;
    margin-right: 70px;
    padding-left: 40px;
    padding-right: 40px;
  }
}
/* mobile */
@media (max-width: 991px) {
  .right-content {
    margin-left: 6px;
    margin-right: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
.comments-area {
  margin-bottom: 30px;
}
.comments-area h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.commentlist img {
  max-width: 100%;
  box-shadow: none;
  border: none;
  outline: none;
}

.comment {
  padding: 20px;
  margin-bottom: 10px;
  background-color: #fbf7ee !important;
  border-radius: 6px;
}
.comment .comment-author {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
.comment .comment-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}
.comment .comment-reply-link {
  font-size: 14px;
  color: #635753 !important !important;
  text-decoration: none;
}
.comment .comment-reply-link:hover {
  text-decoration: underline;
}
.comment .comment-content {
  font-size: 16px;
  margin-bottom: 10px;
}

.children {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 20px;
}

.comment-respond {
  margin-top: 40px;
}

.comment-form {
  display: flex;
  flex-direction: column;
}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
  font-size: 16px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  width: 100%;
}
.comment-form input[type=submit] {
  font-size: 16px;
  font-weight: 600;
  background: -webkit-linear-gradient(top, #827265, #716053);
  border: none;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  border-radius: 4px;
}
.comment-form input[type=submit]:hover {
  background-color: #1d1f20;
}

#wprs_subscribe_to_comment {
  margin-right: 5px;
}

.search-form {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.search-form input,
.search-form textarea {
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  width: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  height: 38px;
}
.search-form .search-submit {
  font-size: 16px;
  font-weight: 600;
  background: -webkit-linear-gradient(top, #827265, #716053);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 80px;
}
.search-form .search-submit:hover {
  background-color: #1d1f20;
}
.search-form input {
  flex-grow: 1;
  margin-right: 5px;
  padding: 0 10px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 36px;
  height: 36px;
  margin: 0 5px 10px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #666;
  background-color: #f0f0f0;
}
.pagination .page-numbers:hover {
  color: #fff;
  background-color: #888;
}
.pagination .page-numbers.current {
  color: #fff;
  background-color: #666;
}
.pagination .prev, .pagination .next {
  padding: 0 10px;
}
.pagination .prev:hover, .pagination .next:hover {
  color: #fff;
  background-color: #888;
}

@media (max-width: 480px) {
  .pagination .page-numbers {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    margin: 0 3px 6px;
  }
}
/* Footer */
.site-footer {
  background-color: #fbf7ee;
  padding: 40px 0;
  color: #777;
}
.site-footer .widget {
  margin-bottom: 20px;
}
.site-footer .widget h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.site-footer .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .widget ul li {
  margin-bottom: 10px;
}
.site-footer .copyright {
  font-size: 14px;
  margin-top: 20px;
}

/*# sourceMappingURL=style.css.map */
