section {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-update {
    font-size: 0.8rem;
    color: #f66; /* 选择一个醒目的颜色 */
    margin-right: 1rem;
}


.header-content {
    display: flex;
    align-items: center;
}

.latest-update {
    font-size: 0.8rem;
    color: #f66; /* 选择一个醒目的颜色 */
    margin-left: 1rem; /* 修改为左边距 */
}


section h1 {
    font-size: 1.5rem; /* 减小标题字体大小 */
    margin: 0.25rem 0; /* 减小标题外边距 */
}


main {
    padding: 1rem;
    flex-grow: 1;
}


section h2 {
    margin-bottom: 0.3rem;
}

section a {
    color: #333;
    text-decoration: none;
}

section a:hover {
    color: #f00;
}




.show-more1 {
    color: #333;
    cursor: pointer;
  
    margin-top: 1rem;
    text-align: center;
    background-color: lightgray;
    height: 40px;
    
     display: flex;
  align-items: center;
  justify-content: center;

}



/* 在现有的CSS代码中添加或修改以下内容 */
section ul {
    /*display: flex;*/
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

section li {
    box-sizing: border-box;
    /*display: flex; */
    display: inline-block;
    align-items: center;
    /*flex-basis: calc(16% - 2rem);*/
    justify-content: center;
    margin: 1rem;
    padding: 0; /* 移除内边距 */
    border: none; /* 移除边框 */
    border-radius: 0; /* 移除圆角 */

    min-width: 120px; /* 设置最小宽度 */
    max-width: 100%;  /* 确保li不会超出其父容器 */
}

@media (max-width: 1000px) {
    section li {
        /*flex-basis: calc(20% - 2rem);  每行显示5个项目，针对小屏幕 */
    }
    

}



@media (max-width: 768px) {
    section li {
        /* flex-basis: calc(33.3333% - 2rem); 每行显示3个项目，针对小屏幕 */
    }
    

}

@media (max-width: 510px) {
    section li {
        /* flex-basis: calc(50% - 2rem);  每行显示2个项目，针对超小屏幕 */
    }
    

}

section img {
    margin-right: 0.3rem;
}


section li.hidden {
    display: none;
}


section h2 {
    text-align: center;
}

section p {
    text-align: center;
    font-size: 13px;
}


section {
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-bottom: 50px;
  background-color: #f0f0f0;

}


section div{

  max-height: 500px; 
  overflow-y: auto;
}

.website-name {
  margin-left: 1px;
  font-size: 20px;
  display: inline;
}


section img {
  width: 16px;
  height: 16px;
}


a:visited {
  /* color: purple;  */
}


section::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
}

section::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

@media (hover: none) {
  /* 适用于移动设备的样式 */
  section::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
  }
}
