﻿* {    margin: 0;    padding: 0;    box-sizing: border-box;}body {    font-family: "Microsoft YaHei", sans-serif;    background-color: #f5f5f5;    overflow-x: hidden;}.timeline-container {    width: 100%;    position: relative;}.timeline-wrapper {    width: 100%;    position: relative;    width: 90%;    margin: 0 auto;    overflow-x: auto;    -webkit-overflow-scrolling: touch;    /* 增强iOS滚动体验 */    scrollbar-width: none;    /* 隐藏Firefox滚动条 */    -ms-overflow-style: none;    /* 隐藏IE滚动条 */}/* 隐藏滚动条但保持功能 */.timeline-wrapper::-webkit-scrollbar {    display: none;}.timeline {    position: relative;    width: 120%;    /* 足够长的宽度容纳所有节点 */    height: 420px;    margin: 0 auto;}/* 主轴 */.main-axis {    position: absolute;    top: 50%;    left: 50px;    width: 100%;    /* 主轴只显示在可视区域内 */    height: 10px;    background-color: rgb(165, 165, 165);    transform: translateY(-50%);}/* 右箭头 */.main-axis:after {    content: '';    position: absolute;    right: -15px;    top: 50%;    width: 0;    height: 0;    border-style: solid;    border-width: 10px 0 10px 15px;    border-color: transparent transparent transparent #ccc;    transform: translateY(-50%);}/* 节点 */.node {    position: absolute;    width: 200px;    transition: all 0.3s ease;}/* 鼠标悬浮效果 */.node:hover .connector {    background-color: #3374C9;}.node:hover .dot,.node:hover .dot-max {    background-color: #3374C9;}.node:hover .year,.node:hover .description {    color: #3374C9;}.node:hover .node-image {    border: 5px solid #3374C9;}.node:hover .node-image {    border: 5px solid #3374C9;}.node:hover .node-image {    border: 5px solid #3374C9;}/* 连接线 */.connector {    position: absolute;    width: 2px;    background-color: rgb(165, 165, 165);    left: 50%;    transform: translateX(-50%);    min-height: 60px;    /* 最低高度设为60px */    max-height: 130px;    transition: background-color 0.3s ease;}/* 上方节点 */.node-top {    bottom: 50%;    margin-bottom: 30px;}.node-top .connector {    bottom: -25px;    height: auto;    /* 高度自适应 */}.node-top .node-text {    position: absolute;    left: 150px;    bottom: 0;    width: 250px;}.node-image {    border: 5px solid rgb(218, 218, 218);}.node-top .node-image {    position: absolute;    left: 50%;    transform: translateX(-50%);    bottom: 30px;    width: 80px;    height: 80px;    background-color: #fff;    border-radius: 50%;    display: flex;    align-items: center;    justify-content: center;}.node-top .node-image img {    width: 40px;    height: 40px;    filter: invert(1);}/* 下方节点 */.node-bottom {    top: 50%;    margin-top: 30px;}.node-bottom .connector {    top: -25px;    height: auto;    /* 高度自适应 */}.node-bottom .node-text {    position: absolute;    right: 150px;    top: 0;    width: 250px;    text-align: right;}.node-bottom .node-image {    position: absolute;    left: 50%;    transform: translateX(-50%);    top: 30px;    width: 80px;    height: 80px;    background-color: #fff;    border-radius: 50%;    display: flex;    align-items: center;    justify-content: center;}.node-bottom .node-image img {    width: 40px;    height: 40px;    filter: invert(1);}/* 年份 */.year {    font-size: 24px;    font-weight: bold;    color: #333;    margin-bottom: 10px;    transition: color 0.3s ease;}/* 描述 */.description {    font-size: 14px;    color: #666;    line-height: 1.5;    text-align: left;    transition: color 0.3s ease;}/* 点 */.dot {    position: absolute;    width: 10px;    height: 10px;    background-color: rgb(165, 165, 165);    border-radius: 50%;    left: 50%;    transform: translateX(-50%);    z-index: 10;    transition: background-color 0.3s ease;}/* 上方节点的点位置 */.node-top .dot {    bottom: 0;}/* 下方节点的点位置 */.node-bottom .dot {    top: 0;}/* 主轴大点 */.dot-max {    position: absolute;    width: 30px;    height: 30px;    background-color: rgb(88, 88, 88);    border-radius: 50%;    z-index: 10;    left: 0;    transform: translate(0, -50%);    transition: background-color 0.3s ease;}/* 上方节点的主轴点位置 */.node-top .dot-max {    bottom: -25px;    /* 连接线起点位置 */    transform: translate(0, 50%);}/* 下方节点的主轴点位置 */.node-bottom .dot-max {    top: -25px;    /* 连接线起点位置 */    transform: translate(0, -50%);}/* 导航按钮 */.nav-buttons {    position: absolute;    top: 45%;    width: 100%;    transform: translateY(-50%);    z-index: 20;    pointer-events: none;    left: 50%;    transform: translate(-50%, -50%);}.nav-button {    background-color: #0e76bc;    color: white;    border: none;    border-radius: 50%;    width: 50px;    height: 50px;    font-size: 20px;    cursor: pointer;    display: flex;    align-items: center;    justify-content: center;    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);    transition: background-color 0.3s;    position: absolute;    pointer-events: auto;}.prev-button {    left: 10px;}.next-button {    right: 10px;}.nav-button:hover {    background-color: #0a5b8f;}.nav-button:disabled {    background-color: #ccc;    cursor: not-allowed;    opacity: 0.5;}/* 滚动提示 */.scroll-hint {    text-align: center;    margin-top: 20px;    color: #999;    font-size: 14px;    animation: fade 2s infinite;}@keyframes fade {    0%,    100% {        opacity: 0.3;    }    50% {        opacity: 1;    }}/* 响应式设计 */@media screen and (max-width: 768px) {    .timeline {        height: 420px;    }    .node-top .node-text,    .node-bottom .node-text {        width: 120px;    }}.node-image img {    transition: transform 0.8s ease; /* 设置过渡效果，持续时间0.8秒，缓动函数ease */}.node-image img:hover {    transform: rotate(360deg); /* 鼠标悬停时旋转360度 */}.node-image:hover{    border: 5px solid #3374C9;}.gywm_j_c_d2_d1_jc{    width: 80%;margin: 0 auto;margin-top: 20px;:}