/* 网站字体-鸿蒙字体 */
@font-face {
  font-family:HarmonyOS_Sans_SC_Medium;font-style: normal;font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/irozhi/HarmonyOS-Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Medium.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/irozhi/HarmonyOS-Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Medium.woff') format('woff');
}
*{font-family:HarmonyOS_Sans_SC_Medium;}


/* 顶部导航栏 透明 */
nav.navbar.user-info-navbar {
  background: rgba(255, 255, 255) !important;
  height: 66px;
}
.night nav.navbar.user-info-navbar {
  background: rgba(0, 0, 0) !important;
}
.user-info-navbar .user-info-menu > li {
  border-right: 0;
  height: 66px;
}
.user-info-navbar .user-info-menu > li > a {
  border-bottom: 0px;
  top: -4px;
}
.user-info-navbar .user-info-menu > li a[data-toggle="sidebar"] {
  padding-left: 20px;
}
.night .user-info-navbar .user-info-menu > li > a,
.user-info-navbar .user-info-menu > li > a {
  height: 66px !important;
}
.navbar {
  position: fixed;
  z-index: 1;
}
a.github-corner {
  position: fixed;
  right: 0;
}
.navbar.horizontal-menu.navbar-fixed-top {
  background: rgba(255, 255, 255) !important;
  height: 66px;
}
img.hidden-xs {
  position: absolute;
  left: 20px;
  top: 13px;
}

/* GitHub 右上角 猫 */
.night a.github-corner svg {
  fill: #fff !important;
  color: #151513 !important;
}

/* 搜索框 ------------------------------------------------------------ 开始 */
input#txt {
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50px;
  border: none;
}
input#txt::placeholder {
  font-size: 18px;
  color: #666;
}
.night input#txt::placeholder {
  font-size: 18px;
  color: #888;
}
.night input#txt {
  background: rgba(0, 0, 0, 0.7) !important;
}
.sousuo {
  padding: 88px 0;
}
div.search {
  width: 96%;
  /* 搜索框缩短 - 先快后慢 */
  transition: all 0.3s cubic-bezier(0, 0.3, 0.5, 1);
}
div.search:hover {
  width: 100%;
  /* 搜索框拉长 - 先快后慢 */
  transition: all 0.3s cubic-bezier(0, 0.3, 0.5, 1);
}
.search-input {
  font-size: 18px !important;
  color: #111 !important;
  padding-left: 50px;
}
.night .search-input {
  color: #fff !important;
}
.search-icon {
  left: 5px;
}
.search-engine {
  background: rgba(255, 255, 255, 0.7) !important;
}
.night .search-engine {
  background: rgba(0, 0, 0, 0.7) !important;
}
ul.search-engine-list.search-engine-list_zmki_ul {
  list-style: none;
  padding-left: 26px;
}
.search-engine-list li {
  background: transparent;
  color: #222;
  font-size: 17px;
  transition: 0.3s;
}
.night .search-engine-list li {
  color: #ddd;
  background: transparent !important;
  transition: 0.3s;
}
.search-engine-list li:hover {
  background: #fff;
  border-radius: 30px;
}
.night .search-engine-list li:hover {
  background: #666 !important;
  border-radius: 30px;
}
.search-engine-tool {
  font-size: 17px;
  color: black;
}
.night .search-engine-tool {
  color: white;
}
strong.search-engine-tit {
  font-size: 18px;
  color: black;
}
.night strong.search-engine-tit {
  color: white;
}
.search-engine-tool > span {
  float: right;
  display: inline-block;
  width: 25px;
  height: 15px;
  background: url("https://unpkg.zhimg.com/hassan-assets/navi/off_on.png")
    no-repeat 0px 0px;
  cursor: pointer;
  vertical-align: middle;
}
.search-engine {
  width: 58% !important;
}
.search-engine-list::after {
  height: 60px !important;
  width: 100px !important;
  top: -60px !important;
}
/* 搜索图标 */
.fa-search {
  color: #888;
}
.fa-search:hover {
  color: #111;
}
.night .fa-search:hover {
  color: #ddd;
}
.fa-search:before {
  font-size: 24px;
}
/* 搜索框 ------------------------------------------------------------ 结束 */

/* 网址卡片 ---------------------------------------------------------- 开始*/
.xe-widget.xe-conversations {
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.7) !important;
}
.night .xe-widget.xe-conversations {
  border: none;
  background: rgba(0, 0, 0, 0.7) !important;
}
body.night .box2:hover {
  background: rgba(0, 0, 0, 0.7) !important;
}
/* 分类标题 */
h4.text-gray {
  font-family: "HarmonyOS_Sans_SC_Medium", sans-serif;
  font-size: 24px;
  color: #fff;
  text-shadow: -1px 0 #666, 0 1px #666, 1px 0 #666, 0 -1px #666;
  margin: 20px 0 0 0;
  text-align: center;
}
.col-md-12 h4.text-gray {
  color: #666;
  text-align: left;
}
.night .col-md-12 h4.text-gray {
  color: #fff;
}
strong {
  font-family: "HarmonyOS_Sans_SC_Medium", sans-serif;
  font-size: 18px;
  font-weight: normal;
}
p.overflowClip_2 {
  font-size: 16px;
  color: #808080;
}
body.night .xe-comment p {
  color: #aaa !important;
}
/* 标题图标 */
.linecons-tag:before {
  font-size: 24px;
}
/* 标题 */
body.night .xe-comment a {
  color: white;
}
/* 网址卡片 ---------------------------------------------------------- 结束*/

/* 网站背景 */
div.bg {
  /* position一定要加fixed，可以使图片固定在浏览器，bg-attachment没这好使 */
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  /* background: url("https://unpkg.zhimg.com/hassan-assets/navi/TortoiseFairyHouse.jpg") */
  background: url(../img/day.png)
    no-repeat center center;
  background-size: cover; /* 填充 */
}
.night div.bg {
  /* background: url("https://unpkg.zhimg.com/hassan-assets/navi/TortoiseFairyHouse_dark.png") */
  background: url(../img/nighty.png)
    no-repeat center center;
  background-size: cover; /* 填充 */
}

/* 关于我页面 */
body.page-body.boxed-container.vsc-initialized {
  /* 禁止滚动 */
  overflow: hidden;
}
.boxed-container div .main-content {
  background: rgba(255, 255, 255, 0.7) !important;
}
.night.boxed-container div .main-content {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* 左侧栏 ------------------------------------------------------------------开始 */
.sidebar-menu .main-menu {
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.sidebar-menu-inner.ps-container {
  /* background: url(https://unpkg.zhimg.com/hassan-assets/navi/LeftColumn.jpg) !important; */
  background-color: rgba(0, 0, 0, 0.7) !important;
  background-attachment: fixed;
}
.sidebar-menu.collapsed .sidebar-menu-inner {
  position: fixed;
}
.sidebar-menu .main-menu a {
  border: none;
  transition: 0.3s;
  border-radius: 12px;
  padding: 10px 5px;
}
.sidebar-menu .main-menu a:hover {
  background: #888;
}
.sidebar-menu .main-menu a:hover i,
.sidebar-menu .main-menu a:hover span {
  color: #fff;
}
span.title,
span.tooltip-blue,
span#busuanzi_container_site_pv,
span#busuanzi_value_site_pv,
span#busuanzi_container_site_uv,
span#busuanzi_value_site_uv {
  /* font-family: "Candy", sans-serif !important; */
  color: #ddd;
  /* 字体大小 */
  font-size: 17px;
}
.sidebar-menu .main-menu li.has-sub > a:before,
.sidebar-menu i {
  color: #ddd;
}
@media screen and (min-width: 768px) {
  .sidebar-menu.collapsed .main-menu > li:hover > ul {
    border-radius: 0 12px 12px 0;
  }
}
/* 左侧栏 ------------------------------------------------------------------结束 */

/* 底栏 */
footer.main-footer.sticky.footer-type-1 {
  background: rgba(255, 255, 255, 0.7) !important;
}
.night footer.main-footer.sticky.footer-type-1 {
  background: rgba(0, 0, 0, 0.7) !important;
}
.footer-inner p {
  text-align: center;
  vertical-align: center;
}

footer.main-footer {
  margin-left: -31px;
}


/* icon图标 */
i::before {
  font-size: 17px;
}
/* 展开箭头 */
.sidebar-menu .main-menu li.has-sub > a:before {
  font-size: 17px;
}
/* 右下角回到首页图标 */
.night div.go-up a i {
  color: #fff;
}

/* 底栏 */
.footer-inner p {
  font-size: 16px;
  color: #666;
}
.night .footer-inner p {
  color: #bbb;
}
blockquote p a,
.footer-inner strong {
  color: #6ac6bc;
}
.night blockquote p a,
.night .footer-inner strong {
  color: #62cec4;
}

/* 左上角站点logo */
.sidebar-menu .logo-env {
  padding: 10px 23px 10px 13px;
  border-bottom: none;
}
/* 左上角功能按钮 */
body.night .user-info-navbar .user-info-menu > li > a,
body.night .user-info-navbar .user-info-menu > li > a:hover {
  border: none !important;
}


/* 滚动条 */
::-webkit-scrollbar {
  width: 12px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background-color: #d0f2ee;
}
::-webkit-scrollbar-thumb {
  background-color: #222;
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.4) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.4) 75%,
    transparent 75%,
    transparent
  );
  border-radius: 5em;
}
::-webkit-scrollbar-corner {
  background-color: transparent;
}
::-moz-selection {
  color: #fff;
  background-color: #1f1f1f;
}

/* 鼠标样式 */
body {
  cursor: url(https://cdn.jsdelivr.net/gh/constown/HexoCustomFile/public/cursors/default.cur),
    default;
}
a,
img {
  cursor: url(https://cdn.jsdelivr.net/gh/constown/HexoCustomFile/public/cursors/pointer.cur),
    default;
}

.boxed-container .page-container .main-content {
  background-color: #9f232399;
}