html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Button选中后加蓝色圈 */
/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

html {
  position: relative;
  min-height: 100%;
}
/*文章内容*/
.MyContent table, .MyContent td, .MyContent th {
    border: 1px solid ;
}
.MyContent table {
    width: 100%;
    border-collapse: collapse;
}
.MyContent p, .MyContent div {
    text-indent: 2em; /*每个P段落，首行空出两个空格，即缩进两个字符*/
}
.MyContent h1, .MyContent h2, .MyContent h3, .MyContent h4, .MyContent h5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.MyContent a:hover {
        color: #f60;
}


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


/* 相邻新闻链接 */
/*.prevNews a {
    float: left
}

.nextNews a {
    float: right
}*/

/* 间隔背景色 */
.tdbg {
    background: #fff;
}

.tdbg-dark {
    background: #f3ba41;
}

/*iconfont样式*/
.icon {
    width: 1.3em;
    height: 1.3em;
    vertical-align: -0.30em;
    fill: currentColor;
    overflow: hidden;
}

/*校验样式*/
input:invalid {
    border: 2px dashed red;
}

.hover-image {
    transition: transform 0.3s ease;
}
.hover-image:hover {
    transform: scale(1.01);
}

/* bktlink样式 */
.link-bkt a {
    color: var(--link-color);
    text-decoration: none;
}
.link-bkt a:hover {
        text-decoration: underline;
    }
/* 定义CSS变量 */
:root {
    --link-color-day: #0f0f0f; /* 白天模式下的链接颜色 */
    --link-color-night: ##f1f1f1; /* 夜晚模式下的链接颜色 */
}

html[data-bs-theme="dark"] {
    --link-color: var(--link-color-night);
}

html[data-bs-theme="light"] {
    --link-color: var(--link-color-day);
}