/* 标签页 */
/*
html {
  height: 100%;
  background: black;
}

body {
  height: inherit;
  margin: 0;
}

img {
  display: block;
  width: 100%;
}
*/

.add-button {
  position: absolute;
  top: 1px;
  left: 1px;
  display: none;
}

/*
@media (orientation: landscape) {
  img {
    height: 100%;
    object-fit: cover;
  }
}
*/

.nav-tabs {
  border-bottom-color: #303840;
  margin-bottom: 1rem;
}
.nav-tabs > li > a {
  margin-right: 0px;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: #f8f6f8;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  color: #4d5259;
  border: none;
  background-color: transparent;
  border-bottom: 3px solid #7169eb;
}
.nav-tabs.nav > li > a:hover,
.nav-tabs.nav > li > a:focus {
  text-decoration: none;
  background-color: transparent;
  border-bottom: 3px solid #7169eb;
}
.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:focus,
.nav-tabs.nav-justified>.active>a:hover {
  color: #4d5259;
  border: none;
  border-bottom: 3px solid #7169eb;
}
@media (min-width: 768px) {
  .nav-tabs.nav-justified>li>a {
    border-bottom-color: #303840;
    -webkit-border-radius: 0px;
    border-radius: 0px;
  }
}
.img-placeholder{
    position: relative;
    overflow: hidden;
}
.img-placeholder:before{
    content:"";
    display:block;
    padding-bottom:100%; // H / W * 100;
}
.img-placeholder>img{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.div-placeholder {
  background-color: black;
  width: 100%; /* 根据图片容器的宽度设置 */
  padding-top: 100%; /* 根据图片容器的高度比例设置，这里假设宽高比为1:1 */
  position: relative; /* 确保img标签可以绝对定位 */
  border-radius: 5%;
}

.div-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 确保图片宽度充满容器 */
  height: 100%; /* 确保图片高度充满容器 */
  object-fit: cover; /* 确保图片覆盖整个容器，同时保持宽高比 */
}
