


/*----------------------------------------------------------------blog页------------------------------------------------------------*/


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
        }
        
        /* 内容容器 - PC端限制宽度，移动端全宽 */
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: white;
        }
        
        @media (max-width: 1200px) {
            .container {
                max-width: 100%;
                padding: 15px;
            }
        }
        
        /* 头部信息 */
        .header {
            margin-bottom: 20px;
              position: sticky;  /* 固定定位 */
              top: 0;           /* 距离顶部0像素 */
              left: 0;          /* 距离左侧0像素 */
              width: 100%;      /* 宽度100% */
              background: whitesmoke; /* 背景色 */
              padding: 10px;    /* 内边距 */
              z-index: 1000;    /* 确保在最上层 */
        }
        
        .user-info {
            display: flex;
            align-items: center;
        }
        
        .avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 12px;
        }

        
        .username {
            font-size: 16px;
            font-weight: bold;
        }
        

        /* 文章标题 */
        .article-title {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 15px;
            line-height: 1.4;
        }
        
        /* 文章内容 */
        .article-content {
            margin-bottom: 30px;
        }
        
        .article-content p, ul, ol {
            margin-bottom: 16px;
            font-size: 16px;
            text-indent: 2em;
        }

        .article-content ul, ol {
            margin: 0 0 16px 32px;
        }

        
        
        /* 图片 */
        .article-image {
            width: 100%;
            border-radius: 2px;
            margin: 15px 0;
            display: block;
        }
        

        

/*----------------------------------------------------------------我自己的标签------------------------------------------------------------*/

        .article-content h6, h5 {
            text-align: center;
        }


/* 返回按钮基础样式 */
.back-button {
  margin-left: auto;
  padding: 6px 15px;
  background-color: #4caf50;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: whitesmoke;
}

.back-button-red {
  margin-left: auto;
  padding: 6px 15px;
  background-color: #f44336;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: whitesmoke;
}

.back-button:hover {
  background-color: green;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}


/* 链接样式 */
.back-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

/* 底线格式 */

.fancy-divider {
  position: relative;
  height: 1px;
  margin: 10px 0;
  background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
}

.fancy-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px; /* 原点大小 */
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 10px white; /* 可选：增加白色描边更清晰 */

}

        .footer {
            height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end; /* 使内容靠下 */
        }
        
        .footer p {
            text-align: center;
            color: rgb(150, 150, 150);
        }

/* 表格格式 */
    table { border-collapse: collapse; }
    th, td { border: 1px solid #ddd; text-align: center; }
    th { background-color: #4CAF50; color: white; }

.calendar {

    font-size: 13px; color: #999;
}