/* 公司概况页面样式 */ /* 页面内容区域 */ .page-content { padding-top: 80px; /* 为固定导航栏留出空间 */ } em {font-style: normal;} /* 顶部横幅 */ .page-banner { padding: 140px 0; color: #fff; position: relative; background-image: ; background-size: cover; background-position: center; background-repeat: no-repeat; } .page-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; /* background-color: rgb(185 27 34 / 22%)*/; } .page-banner .container { position: relative; z-index: 1; } .page-banner h1 { font-size: 28px; font-weight: bold; font-family: '微软雅黑'; margin-bottom: 10px; } /* 面包屑导航 */ .breadcrumb { font-size: 16px; color: rgba(255, 255, 255, 0.8);display:none } .breadcrumb a { color: rgba(255, 255, 255, 0.8); transition: all 0.3s ease; } .breadcrumb a:hover { color: #fff; } /* 主内容区域 */ .page-main { padding: 50px 0 60px; background-color: #fff; } .page-main .container { display: flex; gap: 30px; } /* 侧边栏 */ .sidebar { width: 280px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); } .sidebar-header { background: linear-gradient(to right, #c81e1e, #ff6b6b); /* 从左到右红色到浅红色渐变 */ padding: 25px 20px; color: #fff; text-align: left; position: relative; border: none; } .sidebar-header h2 { font-size: 20px; font-weight: 600; margin-bottom: 5px; letter-spacing: 0.5px; } .sidebar-header span { position: absolute; right: 20px; bottom: 12px; font-size: 13px; opacity: 0.9; text-align: right; font-style: italic; font-weight: 300; } .sidebar-menu { border: 1px solid #e5e5e5; border-top: none; background: #fff; } .sidebar-menu li { border-bottom: 1px solid #e5e5e5; position: relative; transition: all 0.3s ease; background: #fff; } .sidebar-menu li:last-child { border-bottom: none; } .sidebar-menu li:hover { background-color: #f8f9fa; } .sidebar-menu a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; color: #333; font-size: 16px; font-weight: 400; transition: all 0.3s ease; position: relative; } .sidebar-menu a::after { content: ''; width: 8px; height: 8px; border-top: 2px solid #999; border-right: 2px solid #999; transform: rotate(45deg); transition: all 0.3s ease; opacity: 0.6; flex-shrink: 0; } .sidebar-menu li:hover a { color: #c81e1e; } .sidebar-menu li:hover a::after { border-color: #c81e1e; opacity: 1; } /* 激活状态样式 - 红色文字和底部红色线条 */ .sidebar-menu li.active { background: #fff; } .sidebar-menu li.active a { color: #c81e1e; font-weight: 600; } .sidebar-menu li.active a span { position: relative; } .sidebar-menu li.active a span::after { content: ''; position: absolute; bottom: -18px; /* 定位到li底部边框位置 */ left: 0; width: 100%; /* 与文字宽度一致 */ height: 3px; background: linear-gradient(to right, #c81e1e, #ff6b6b); /* 从左到右红色到浅红色渐变 */ z-index: 2; } .sidebar-menu li.active a::after { border-color: #c81e1e; opacity: 1; } .sidebar-menu li.active:hover { background: #fff; } .sidebar-menu li.active:hover a { color: #c81e1e; } /* 主内容区 */ .content-main { flex: 1; min-height: 600px; border: 1px solid #eee; padding: 30px; } .qualification-showcase-item:hover .qualification-showcase-title { color: #d32f2f; transform: translatey(0px) !important; } .qualification-showcase-header h2,.overview-title,.culture-title{ font-size:24px } /* 响应式样式 */ @media (max-width: 992px) { .page-main .container { flex-direction: column; } .page-main{padding-top: 0;} .sidebar{display: none;} .sidebar { width: 100%; margin-bottom: 30px; } } @media (max-width: 767px) { .page-banner { padding: 50px 0; } .page-banner h1 { font-size: 16px;margin: 0; } .content-main { padding: 20px; } .sidebar-header { padding: 20px; } .sidebar-header h2 { font-size: 18px; } .sidebar-header span { font-size: 12px; bottom: 10px; } .sidebar-menu a { padding: 15px 18px; font-size: 15px; } .sidebar-menu li.active a span::after { bottom: -15px; } } /*内容样式*/ * { margin: 0; padding: 0; box-sizing: border-box; } .content-main { max-width: 800px; margin: 0 auto; padding: 20px; } .article-list { list-style: none; } .article-item { display: flex; height: 180px; padding: 30px 0; border-bottom: 1px solid #333333; -webkit-transition: all .66s cubic-bezier(.17,.84,.44,1); transition: all .66s cubic-bezier(.17,.84,.44,1); transform: translatey(20px); opacity: 0; animation: slideup 0.6s ease-out forwards; position: relative; overflow: hidden; } .article-item:hover { transform: translatey(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } /* 移动端hover效果 */ .article-item::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #c81e1e; color: #fff; transform: translatey(100%); -webkit-transition: all 0.6s cubic-bezier(0.77,0,0.175,1) 100ms; transition: all 0.6s cubic-bezier(0.77,0,0.175,1) 100ms; z-index: -1; opacity: 0; } @media (max-width: 768px) { .article-item:hover { transform: translate(0, -100%); } .article-item:hover::after { transform: translatey(0); opacity: 0.9; z-index: 1; } .article-item:hover .article-content, .article-item:hover .article-image { position: relative; z-index: 2; color: #fff; } .article-item:hover .article-title { color: #fff; } .article-item:hover .article-text { color: #fff; } .article-item:hover .article-date { color: #fff; } .overview-title{ font-size: 16px !important; margin-bottom: 0 !important;} .overview-subtitle{font-size: 12px !important;} .qualification-showcase-header h2{font-size: 16px !important; margin-bottom: 0 !important;} .culture-title{font-size: 16px !important; margin-bottom: 0 !important;} } @keyframes slideup { to { transform: translatey(0); opacity: 1; } } .article-image { width: 30%; padding-right: .9375rem; padding-left: .9375rem; } .article-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; } .article-content { width: 70%; padding-right: .9375rem; padding-left: .9375rem; display: flex; flex-direction: column; justify-content: space-between; } .article-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 10px; cursor: pointer; transition: color 0.3s ease; line-height: 1.4; } .article-title:hover { color: #c81e1e; } .article-text { color: #666; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .article-meta { margin-top: 10px; } .article-date { font-size: 12px; color: #999; } /* 分页样式 */ .pagination { display: flex; justify-content: center; align-items: center; margin-top: 40px; gap: 8px; } .pagination button { padding: 8px 12px; border: 1px solid #ddd; background: white; color: #666; cursor: pointer; border-radius: 4px; font-size: 14px; transition: all 0.3s ease; } .pagination button:hover:not(:disabled) { background: #f5f5f5; color: #333; } .pagination button:disabled { opacity: 0.5; cursor: not-allowed; } .pagination button.active { background: #c81e1e; color: white; border-color: #c81e1e; } .pagination .prev-next { display: flex; align-items: center; gap: 4px; } /* 响应式设计 */ @media (max-width: 768px) { .content-main { max-width: 100%; padding: 15px; margin-top:30px; } .article-item { height: auto; min-height: 140px; padding: 20px 10px; } .article-image { width: 35%; padding-right: 0.5rem; padding-left: 0.5rem; } .article-content { width: 65%; padding-right: 0.5rem; padding-left: 0.5rem; } .article-title { font-size: 16px; line-height: 1.3; } .article-text { font-size: 13px; line-height: 1.4; -webkit-line-clamp: 3; } .pagination { flex-wrap: wrap; gap: 4px; } .pagination button { padding: 6px 10px; font-size: 12px; } } @media (max-width: 480px) { .article-item { flex-direction: column; height: auto; padding: 20px 10px; min-height: auto; } .article-image { width: 100%; margin-bottom: 15px; padding: 0; height: 120px; } .article-content { width: 100%; padding: 0; } .article-title { font-size: 15px; } .article-text { font-size: 12px; } }