* {
  transition: background-color 0.4s ease, color 0.3s ease;
}
:root {
  --bs-body-bg: #fff;
  --bs-body-color: #212529;
}
[data-bs-theme="dark"] {
  --bs-body-bg: #212529;
  --bs-body-color: #f8f9fa;
}
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

#preview img {
  display: block;
  margin: 25px auto;
}

#container {
  padding: 0;
}
  #container a:link, a:visited {
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    text-decoration: none;
  }
  #container a:hover {
    text-decoration: underline;
  }

#content {
  position: relative; 
  margin-top: 65px;
}

#footer {
  width: 100%;
}
  #footer a {
    color: #666;
  }
  #footer a:link, a:visited {
    font-size: 12px;
    color: #333;
    text-decoration: none;
  }
  #footer a:hover {
    text-decoration: underline;
  }

.index {
  padding: 120px 0;
  height: -webkit-calc(100vh - 68px);
  height: -moz-calc(100vh - 68px);
  height: calc(100vh - 68px);
  background-image: url('/static/img/wavy-lines.svg');
  background-position: 0 68px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.logo {
  padding: 0 30px 5px 0;
  font-size: 22px;
  background: -webkit-linear-gradient(315deg, #42d392 25%, #647eff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.index-logo {
  background: -webkit-linear-gradient(315deg, #42d392 15%, #800080);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.copy {
  color: #666;
  font-size: 12px;
  text-align: center;
  line-height: 18px;
  margin: 50px 0 20px;
  padding: 10px 0;
}

#back-to-top {
  position: fixed;
  color: #fff;
  background-color: rgba(102, 102, 102, 0.3);
  border-radius: 5px;
  bottom: 100px;
  right: 10px;
}
  #back-to-top a {
    color: #fff;
  }
  #back-to-top a:hover {
  color: #fff;
  background-color: rgba(102, 102, 102, 1);
  }
  
.tag-cloud {
  margin: 10px;
  line-height: 2em;
}
  .tag-cloud a {
    margin-top: 15px;
    text-decoration: none; /* 去掉下划线 */
    }
  .tag-cloud .tag {
    font-size: 12px; /* 默认字体大小 */
    background-color: #f0f0f0;
    padding: 0 10px;
    color: #333;
    border-radius: 3px;
    display: inline-block;
  }

#open-menu {
  position: fixed;
  top: 150px;
  right: 10px;
}
  #open-menu a {
    color: #fff;
  }
  #open-menu a:hover {
      color: #fff;
      background-color: rgba(102, 102, 102, 1);
  }