/* ===== 东部战区海军 100%还原 设计系统 ===== */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 14px; color: #333; background: #f5f5f5; line-height: 1.6; } a { color: #333; text-decoration: none; } a:hover { color: #CC0000; } img { border: 0; vertical-align: middle; } ul, ol { list-style: none; } table { border-collapse: collapse; } button { cursor: pointer; border: 0; background: none; font-family: inherit; } .inner { width: 1200px; margin: 0 auto; } .block { background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-top: 10px; padding: 15px 0; } .more { float: right; font-size: 12px; color: #666; } .more:hover { color: #CC0000; } /* ===== 板块1:顶部工具栏 ===== */ .topbar { background: #1a1a1a; color: #ccc; height: 35px; line-height: 35px; font-size: 12px; } .topbar .inner { display: flex; align-items: center; } .topbar .welcome { flex: 0 0 auto; } .topbar .searchbox { flex: 1; display: flex; justify-content: center; } .topbar .searchbox input { width: 240px; height: 22px; padding: 0 8px; border: 1px solid #444; background: #fff; border-radius: 3px; font-size: 12px; } .topbar .searchbox button { height: 22px; padding: 0 12px; background: #003366; color: #fff; border-radius: 3px; font-size: 12px; } .topbar .toplinks { flex: 0 0 auto; } .topbar .toplinks a { color: #ccc; margin: 0 5px; } .topbar .toplinks a:hover { color: #fff; } /* ===== 板块2:网站头部 ===== */ .site-header { background: #fff; padding: 20px 0; border-bottom: 1px solid #e0e0e0; } .site-header .inner { display: flex; align-items: center; justify-content: space-between; } .logo-area { display: flex; align-items: center; } .logo-img { width: 100px; height: 80px; background: #ddd; display: flex; align-items: center; justify-content: center; text-align: center; color: #888; font-size: 12px; margin-right: 20px; border-radius: 4px; } .site-name h1 { font-size: 32px; color: #003366; font-weight: bold; letter-spacing: 4px; } .site-name p { font-size: 12px; color: #888; letter-spacing: 2px; } .slogan { font-size: 18px; color: #003366; font-weight: bold; letter-spacing: 2px; } /* ===== 板块3:主导航 ===== */ .mainnav { background: #003366; } .mainnav .inner { display: flex; align-items: center; height: 50px; } .mainnav ul { display: flex; flex: 1; } .mainnav li { position: relative; } .mainnav li a { display: block; padding: 0 22px; height: 50px; line-height: 50px; color: #fff; font-size: 15px; font-weight: 500; } .mainnav li:hover a { background: #002244; } .mainnav li.cur a { background: #002244; } .mainnav li.cur::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #CC0000; } .nav-icons { display: flex; } .nav-icon { width: 40px; height: 40px; background: #002244; color: #fff; margin-left: 5px; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 3px; } .nav-icon:hover { background: #CC0000; color: #fff; } /* ===== 板块通用:标题栏 ===== */ .sec-title { height: 40px; line-height: 40px; border-bottom: 1px solid #e0e0e0; margin-bottom: 10px; padding-left: 12px; position: relative; } .sec-title .star { color: #CC0000; font-size: 16px; margin-right: 6px; } .sec-title .bar { display: inline-block; width: 4px; height: 20px; background: #CC0000; margin-right: 8px; vertical-align: middle; } .sec-title .title-text { font-size: 16px; font-weight: bold; color: #333; } .sub-title { font-size: 14px; font-weight: bold; color: #003366; height: 32px; line-height: 32px; padding-left: 10px; border-bottom: 1px solid #ddd; border-left: 3px solid #CC0000; margin-bottom: 8px; } /* ===== 通用:新闻列表 ===== */ .news-list li { display: flex; align-items: center; height: 32px; line-height: 32px; border-bottom: 1px dashed #f0f0f0; padding: 0 4px; } .news-list li::before { content: ''; width: 5px; height: 5px; background: #CC0000; border-radius: 50%; margin-right: 8px; flex-shrink: 0; } .news-list li a { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; } .news-list li a:hover { color: #CC0000; } .news-list li span { font-size: 12px; color: #999; flex-shrink: 0; margin-left: 8px; } .news-list li:hover { background: #fafafa; } .news-list li.imp a { font-weight: bold; color: #CC0000; } .news-list .red { color: #CC0000; } .news-list .new { background: #f44336; color: #fff; padding: 0 4px; font-size: 10px; border-radius: 2px; margin-left: 4px; } .news-list .hot { background: #ff9800; color: #fff; padding: 0 4px; font-size: 10px; border-radius: 2px; margin-left: 4px; } /* ===== 板块4:头条焦点区 ===== */ .block-headline .inner { display: flex; gap: 15px; } .hd-left { flex: 0 0 70%; } .hd-right { flex: 1; display: flex; flex-direction: column; gap: 10px; } .carousel { position: relative; height: 400px; overflow: hidden; background: #000; } .carousel-list { position: relative; height: 100%; } .carousel-list li { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; } .carousel-list li.on { opacity: 1; } .carousel-img { width: 100%; height: 100%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #3a5f7d !important; } .carousel-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); } .carousel-cap a { color: #fff; font-size: 20px; font-weight: bold; } .carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 60px; line-height: 60px; text-align: center; background: rgba(0,0,0,0.3); color: #fff; font-size: 30px; } .carousel-prev { left: 0; } .carousel-next { right: 0; } .carousel-prev:hover, .carousel-next:hover { background: rgba(0,0,0,0.6); } .carousel-dot { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; } .carousel-dot li { width: 10px; height: 10px; background: #fff; border-radius: 50%; cursor: pointer; opacity: 0.6; } .carousel-dot li.on { background: #CC0000; opacity: 1; } .hd-rt-top { flex: 1; } .hd-rt-bot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 130px; } .quick { background: #f5f8fc; border: 1px solid #cce0ff; color: #003366; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 4px; transition: all 0.2s; } .quick .qi { font-size: 24px; margin-bottom: 4px; } .quick:hover { background: #003366; color: #fff; border-color: #003366; } .quick:hover .qi { color: #fff; } /* ===== 板块5:第一内容区(三栏) ===== */ .block-3col .inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; } .col-feature { margin-bottom: 10px; } .feature-img { width: 100%; height: 160px; background: #ddd; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 2px; } .feature-tit { display: block; font-size: 14px; font-weight: bold; line-height: 1.4; margin-top: 8px; color: #333; } .feature-tit:hover { color: #CC0000; } .news-list.img-news li { height: 50px; } .news-list.img-news .thumb { width: 60px; height: 40px; background: #ddd; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; margin-right: 8px; flex-shrink: 0; } .news-list.img-news a { font-size: 13px; } .news-list.text-list li:nth-child(even) { background: #fafafa; } /* ===== 板块6:红色宣传横幅 ===== */ .red-banner { background: linear-gradient(90deg, #CC0000 0%, #DE2910 100%); padding: 20px 0; margin-top: 10px; } .red-banner .inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .red-btn { padding: 8px 20px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); color: #fff; border-radius: 4px; font-size: 14px; transition: all 0.2s; } .red-btn:hover { background: #fff; color: #CC0000; } /* ===== 板块7:学习强军 ===== */ .block-study { padding: 0; background: #f5f5f5; border: 0; box-shadow: none; } .study-hd { background: #003366; height: 50px; line-height: 50px; color: #fff; } .study-hd .inner { display: flex; align-items: center; } .study-hd .star { color: #fff; font-size: 18px; margin-right: 8px; } .study-hd .title { font-size: 20px; font-weight: bold; } .study-hd .more { color: #fff; } .study-tabs { background: #eef3f8; border-bottom: 1px solid #cce0ff; } .study-tabs .inner { display: flex; } .study-tabs .tab { padding: 0 25px; height: 40px; line-height: 40px; color: #003366; font-size: 14px; } .study-tabs .tab.cur { background: #fff; border-top: 3px solid #003366; font-weight: bold; } .study-tabs .tab:hover { background: #fff; } .study-body { background: #fff; padding: 15px 0; } .study-3col { display: grid; grid-template-columns: 30% 40% 30%; gap: 15px; } .study-sub { font-size: 14px; font-weight: bold; color: #003366; margin-bottom: 8px; padding-left: 8px; border-left: 3px solid #003366; } .data-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; } .data-card { background: #f5f8fc; border: 1px solid #cce0ff; padding: 8px; text-align: center; border-radius: 4px; } .data-card .num { font-size: 20px; color: #003366; font-weight: bold; } .data-card .lab { font-size: 12px; color: #666; margin-top: 4px; } .sub-tabs { border-bottom: 1px solid #ddd; margin-bottom: 8px; display: flex; gap: 5px; } .sub-tabs a { padding: 4px 12px; font-size: 12px; color: #666; background: #f5f5f5; border-radius: 12px; } .sub-tabs a.cur { background: #CC0000; color: #fff; } .calendar { background: #fff; border: 1px solid #e0e0e0; } .cal-hd { background: #003366; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; } .cal-prev, .cal-next { color: #fff; padding: 0 6px; font-size: 14px; } .cal-title { font-size: 14px; font-weight: bold; } .cal-tb { width: 100%; } .cal-tb th, .cal-tb td { text-align: center; padding: 6px 4px; font-size: 12px; } .cal-tb th { background: #f5f8fc; color: #003366; } .cal-tb td { color: #333; } .cal-tb td.wk { color: #CC0000; } .cal-tb td.today { color: #CC0000; font-weight: bold; } .cal-tb td.cur { background: #003366; color: #fff; border-radius: 50%; } .study-3col-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #ddd; } .course { display: flex; gap: 8px; padding: 6px; border-bottom: 1px dashed #f0f0f0; align-items: center; } .course:hover { background: #fafafa; } .course-img { width: 80px; height: 50px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; } .course-info { flex: 1; min-width: 0; } .course-name { display: block; font-size: 13px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .course-meta { display: block; font-size: 11px; color: #999; margin-top: 2px; } .star-list li { display: flex; align-items: center; padding: 6px 0; border-bottom: 1px dashed #f0f0f0; } .star-list .avatar { width: 40px; height: 40px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; border-radius: 50%; margin-right: 8px; flex-shrink: 0; } .star-list li > div { flex: 1; min-width: 0; } .star-list li a { font-size: 13px; font-weight: bold; display: block; } .star-list li span { font-size: 12px; color: #888; } /* ===== 板块8:东海视线(视频) ===== */ .block-video .video-2col { display: grid; grid-template-columns: 60% 40%; gap: 15px; } .video-big { position: relative; display: block; } .vb-img { display: block; width: 100%; height: 280px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; } .vb-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(255,255,255,0.8); color: #CC0000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 6px; } .vb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-size: 14px; } .video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .video-sm { position: relative; display: block; } .vs-img { display: block; width: 100%; height: 135px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; } .vs-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; background: rgba(255,255,255,0.8); color: #CC0000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; padding-left: 3px; } .vs-cap { display: block; background: #000; color: #fff; font-size: 12px; padding: 6px 8px; line-height: 1.4; } .video-big:hover .vb-img, .video-sm:hover .vs-img { transform: scale(1.03); transition: transform 0.3s; } /* ===== 板块9:练兵备战 ===== */ .block-train .train-pic { display: grid; grid-template-columns: 60% 1fr; gap: 10px; margin-bottom: 15px; } .train-big { position: relative; display: block; } .tb-img { display: block; width: 100%; height: 200px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; } .tb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-size: 14px; } .train-pic-r { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; } .train-sm { position: relative; display: block; } .ts-img { display: block; width: 100%; height: 95px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; } .ts-cap { display: block; padding: 4px 8px; background: rgba(0,0,0,0.5); color: #fff; font-size: 12px; position: absolute; left: 0; right: 0; bottom: 0; } .train-list-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; } /* ===== 板块10:政治/后装/纪律三栏卡片 ===== */ .block-3col-cards .inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; } .col-card { background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); } .col-card-hd { height: 45px; display: flex; align-items: center; padding: 0 15px; color: #fff; } .col-card-hd.political { background: linear-gradient(90deg, #CC0000 0%, #003366 100%); } .col-card-hd.logistics { background: linear-gradient(90deg, #003366 0%, #1f4e79 100%); } .col-card-hd.discipline { background: linear-gradient(90deg, #CC0000 0%, #5a3d2d 100%); } .col-card-hd .ico { width: 28px; height: 28px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; font-size: 14px; } .col-card-hd .title { font-size: 18px; font-weight: bold; } .cc-img { display: block; margin: 10px; } .cc-img span { display: block; width: 100%; height: 120px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; } .cc-tit { display: block; font-size: 14px; font-weight: bold; margin: 0 10px 8px; } .tags { padding: 0 10px 8px; display: flex; flex-wrap: wrap; gap: 5px; } .tags a { padding: 2px 8px; background: #003366; color: #fff; font-size: 11px; border-radius: 12px; } .tags a:hover { background: #CC0000; color: #fff; } .col-card .news-list { padding: 0 10px 10px; } /* ===== 板块11/12:两栏 ===== */ .block-2col .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } .expert-list { padding: 10px 0; } .expert { display: flex; gap: 12px; padding: 10px; border-bottom: 1px dashed #eee; align-items: flex-start; } .expert .avatar { width: 60px; height: 60px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; border-radius: 50%; flex-shrink: 0; } .expert .info { flex: 1; } .expert .name { font-size: 16px; font-weight: bold; color: #003366; } .expert .meta { font-size: 12px; color: #666; margin: 2px 0; } .expert .field { font-size: 12px; color: #888; } .consult-btn { display: inline-block; padding: 2px 12px; background: #003366; color: #fff; font-size: 12px; border-radius: 3px; margin-top: 4px; } .consult-btn:hover { background: #CC0000; color: #fff; } .service-time { padding: 8px 10px; color: #888; font-size: 12px; background: #fafafa; border-top: 1px solid #eee; } .public-table { width: 100%; } .public-table th, .public-table td { padding: 8px; border: 1px solid #eee; font-size: 13px; } .public-table th { background: #f5f8fc; color: #003366; } .public-table td { text-align: center; } .public-table td:nth-child(2) { text-align: left; } .public-table .red { color: #CC0000; font-weight: bold; } .digit-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; } .stat { background: linear-gradient(180deg, #f5f8fc, #eef3f8); border: 1px solid #cce0ff; padding: 10px; text-align: center; border-radius: 4px; } .stat .num { font-size: 28px; color: #003366; font-weight: bold; } .stat .lab { font-size: 12px; color: #666; margin-top: 4px; } .timeline { padding: 10px; } .tl-item { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 12px; border-bottom: 1px dashed #eee; } .tl-item .dot { width: 8px; height: 8px; background: #CC0000; border-radius: 50%; margin-top: 6px; flex-shrink: 0; } .tl-item .year { color: #CC0000; font-weight: bold; flex-shrink: 0; min-width: 70px; } .tl-item .evt { flex: 1; color: #555; } /* ===== 板块13:东海清风 ===== */ .block-discipline .sec-title .star.red { color: #CC0000; } .discipline-2col { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 15px; } .discipline-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .di-img { position: relative; display: block; } .di-img span:first-child { display: block; width: 100%; height: 100px; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; } .di-img span:last-child { display: block; padding: 4px 6px; font-size: 12px; background: rgba(0,0,0,0.5); color: #fff; position: absolute; left: 0; right: 0; bottom: 0; } /* ===== 板块14:东海文化图片墙 ===== */ .block-culture { padding: 0; background: #f5f5f5; border: 0; box-shadow: none; } .culture-hd { background: #003366; height: 50px; line-height: 50px; color: #fff; } .culture-hd .inner { display: flex; align-items: center; } .culture-hd .star { color: #fff; font-size: 18px; margin-right: 8px; } .culture-hd .title { font-size: 20px; font-weight: bold; flex: 0 0 auto; margin-right: 30px; } .culture-hd .sub-tabs { flex: 1; display: flex; gap: 5px; background: transparent; border: 0; margin: 0; } .culture-hd .sub-tabs a { padding: 4px 12px; color: #fff; background: rgba(255,255,255,0.1); border-radius: 12px; } .culture-hd .sub-tabs a.cur { background: #CC0000; } .culture-hd .more { color: #fff; } .block-culture .inner { background: #fff; padding: 15px; border: 1px solid #e0e0e0; } .imgwall { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 8px; } .imgwall a { position: relative; display: block; overflow: hidden; } .imgwall a span:first-child { display: block; width: 100%; height: 100%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; } .imgwall a .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-size: 12px; } .iw-big { grid-row: span 2; } .imgwall a:hover { transform: scale(1.03); transition: transform 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.2); } /* ===== 板块15:底部 ===== */ .site-footer { background: #002244; color: #ccc; margin-top: 10px; padding: 30px 0 0; } .footer-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #1a3a5a; } .fm-tit { font-size: 14px; color: #fff; font-weight: bold; margin-bottom: 10px; } .fm-col a { display: block; font-size: 12px; color: #aaa; line-height: 28px; } .fm-col a:hover { color: #fff; } .footer-info { text-align: center; padding: 20px 0; } .ft-name { font-size: 18px; color: #fff; font-weight: bold; margin-bottom: 5px; } .footer-info p { font-size: 12px; color: #aaa; } .footer-copy { text-align: center; padding: 15px 0; font-size: 12px; color: #888; border-top: 1px solid #1a3a5a; } .footer-line { height: 3px; background: linear-gradient(90deg, #CC0000, #003366, #CC0000); } /* ===== 返回顶部 ===== */ .back-top { position: fixed; right: 30px; bottom: 50px; width: 40px; height: 40px; background: #003366; color: #fff; display: none; align-items: center; justify-content: center; border-radius: 4px; font-size: 20px; z-index: 99; } .back-top:hover { background: #CC0000; color: #fff; } .back-top.show { display: flex; } /* ===== 响应式微调 ===== */ @media (max-width: 1240px) { .inner { width: 100%; padding: 0 10px; } }