@charset"utf-8";

/*全局变量*/
:root {
    --main-bg-color: #171717;
    --main-text-color: #E5E5E5;
    --main-text2-color: #afafaf;
    --main-info-color: #202020;
    --img-br: #303030;
    --br-color: #2c2c2c;
    --text-color: #777777;
}

/* 夜间模式 */ 
@media ( prefers-color-scheme: dark ) {
  .yya {
    background: var(--main-info-color) !important;
  }
  ::-webkit-scrollbar-track {
    background: #fff0;
  }
  .notice, .brick a {
    background: var(--main-info-color);
    color: var(--main-text-color);
  }
  .notice:before {
    border-bottom: 10px solid var(--main-info-color);
  }
  .arrow-left-ar {
    border-bottom: 20px solid var(--main-info-color);
  }
  .site-header, .slant-left, .slant-right, body, .site-footer, .comments, #preloader, .search-form--modal, #content, #mo-nav, #mo-nav .m-search input, .wrapper {
      background-color: var(--main-bg-color);
  }
  #centerbg::before{
    background-color: rgb(0 0 0 / 25%);
  }
  .feature img, .postava img, #pagination a, .nextStop, .author-profile .pf-tou img {
    border: 1px solid var(--img-br);
  }
  h1.fes-title, h1.main-title, #archives-temp h2 {
    color: var(--main-text-color);
    border-bottom: 1px dashed var(--br-color);
  }
  .post-list p {
    color: var(--main-text2-color);
  }
  #archives-content {
    border-left: 1px dashed var(--br-color);
  }
  .s-content, #mo-nav .m-search form {
    background: var(--main-info-color);
  }
  .s-content:after {
      border-left: 10px solid var(--main-info-color);
  }
  #mo-nav li ul li a {
    color: var(--main-text-color);
  }
  .comment .commeta, #comments-navi {
    border-bottom: 1px dashed var(--br-color);
  }
  .entry-content table {
    border: 1px dashed var(--br-color);
    color: var(--main-text-color);
  }
  #toc-container {
    border: 1px dashed var(--br-color);
  }
  .author-profile p {
    border-top: 1px solid var(--br-color);
    border-bottom: 1px solid var(--br-color);
    color: var(--main-text-color);
  }
  .info-meta span a, .info-meta span {
    color: #676767;
  }
  .info-meta {
    border-top: 1px solid #676767;
  }
  .show-nav {
    color: #ffffff;
  }
  .lower li ul, .user_inner ul, .fytx_alert_background .fytx_alert_box {
    background: var(--main-info-color);
    box-shadow: 0px 0px 4px rgb(0 0 0 / 36%);
  }
  .site-top ul li a, .entry-title a, #mo-nav ul li a, .fytx_alert_background .fytx_alert_box {
      color: var(--main-text-color);
  }
  .entry-content p, #toc strong, #toc-container a, h1.entry-title {
      color: var(--main-text-color);
  }
  .post-list hr {
      background: var(--br-color);
  }
  .site-footer {
      border-top: 1px solid var(--br-color);
  }
  .feature img, .postava img, #pagination a, .nextStop, .author-profile .pf-tou img {
      border: 1px solid var(--img-br);
  }
  .s-time, .p-time, .breadcrumbs, .comment .info {
        color: #676767;
  }
  .micromb-search {
      color: #d8d8d8;
  }

  .entry-content p, #toc strong, #toc-container a, h1.entry-title, .donate a, .post-share, .show-share, .entry-content h1, h2, h3, h4, h5 {
      color: var(--main-text-color);
  }
  mjx-container{
      color: var(--main-text-color);
  }
  .entry-header hr {
      background: var(--img-br);
  }
  .entry-content code, .entry-content table thead, blockquote, .table-box::-webkit-scrollbar-track {
      background-color: var(--main-info-color);
  }

  .open-message, .comment-respond #cancel-comment-reply-link {
      background-color: var(--main-info-color);
      color: var(--main-text-color);
  }
  .open-message:after {
      border-bottom: 10px solid var(--main-info-color);
  }
  .donate {
      border: 1px solid var(--main-text-color);
  }
  .donate_inner {
      background: var(--main-info-color);
      box-shadow: 0px 0px 4px rgb(0 0 0 / 36%);
      border: 1px solid var(--main-info-color);
  }
  .donate_inner:after, .donate_inner:before {
      border-right: 8px solid var(--main-info-color);
  }

  .comment .body p, #comments a, #comments p, h3#comments-list-title, .author-profile p, .author-profile .meta h3 a, .author-updown, .entry-content ul, .entry-content ol{
      color: var(--main-text-color);
  }

  .notification {
      background: var(--main-info-color);
      color: var(--main-text-color);
      border: 1px solid var(--img-br);
  }
  .comment-respond textarea, .comment-respond input {
      background: var(--main-info-color);
      border: 2px solid var(--img-br);
      color: var(--main-text-color);
  }
  .OwO .OwO-logo, .OwO .OwO-body, .OwO .OwO-body .OwO-bar {
      color: var(--main-text-color);
      background: var(--main-info-color);
      border: 1px solid var(--img-br);
  }
  .OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active, .OwO .OwO-body .OwO-items .OwO-item {
      background: var(--img-br);
  }
  .OwO-items::-webkit-scrollbar-track, :not(pre) > code[class*="language-"], pre[class*="language-"] {
      background: var(--main-info-color);
  }
  .tags-list li a, h1.page-title  {
      color: var(--main-text-color);
      border: 1px dashed var(--img-br);
  }
  .linkss-title {
      color: var(--main-text-color);
      border-bottom: 1px dashed var(--img-br);
  }
  blockquote p, blockquote {
      color: var(--main-text-color);
  }
  .links ul li {
      border: 1px solid var(--br-color);
  }
  .linkdes {
      border-top: 1px dashed var(--img-br);
  }
  .nodata {
      background-color: var(--main-info-color);
      color: var(--main-text-color);
  }
  input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
      color: var(--main-text-color);
  }
  pre[class*="language-"]::-webkit-scrollbar-thumb {
      background-color: #35b995;
  }
}
