
外部精选
软件工程
#开发者实时流Fighter Radomes Explained: Why noses pass radar
* === MiGFlug Homepage Layout Overrides === */
Hacker News 最新anon_cow11112026/11/10 · 今天30 分钟阅读
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
- === MiGFlug Homepage Layout Overrides === / body.home div.et_pb_section.et_pb_section_0_tb_body, body.blog div.et_pb_section.et_pb_section_0_tb_body { background-image: none !important; background-color: #F0F0F0 !important; padding: 0 !important; min-height: 0 !important; } body.home div.et_pb_section.et_pb_section_2_tb_body, body.blog div.et_pb_section.et_pb_section_2_tb_body { background-image: none !important; } body.home div.et_pb_section.et_pb_section_3_tb_body, body.blog div.et_pb_section.et_pb_section_3_tb_body { background-image: none !important; } body.home .et_pb_section_2_tb_body .et_pb_row, body.blog .et_pb_section_2_tb_body .et_pb_row { max-width: 1080px !important; width: 90% !important; display: flex !important; gap: 28px !important; align-items: stretch !important; } body.home .et_pb_section_3_tb_body .et_pb_row, body.blog .et_pb_section_3_tb_body .et_pb_row { max-width: 1080px !important; width: 100% !important; } body.home div.et_pb_section.et_pb_section_0_tb_header, body.blog div.et_pb_section.et_pb_section_0_tb_header { background-image: none !important; } / Homepage body background / body.home, body.blog { background-color: #F0F0F0 !important; } / Section 3 needs max-width like section 2 / body.home div.et_pb_section.et_pb_section_3_tb_body, body.blog div.et_pb_section.et_pb_section_3_tb_body { max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; } / Override #main-content white background on homepage / body.home #main-content, body.blog #main-content { background-color: #F0F0F0 !important; } / === Fix 1: Subbar full-width dark navy === / body.home .et_pb_section_0_tb_header, body.blog .et_pb_section_0_tb_header, body.single-post .et_pb_section_0_tb_header { background-color: #FFFFFF !important; } / Make subbar row (row 1) full-width with navy bg / body .et_pb_row_1_tb_header { max-width: 100% !important; width: 100% !important; padding-left: 40px !important; padding-right: 40px !important; } / === Fix 2: Rename "Aviation Journal" to "MiGFlug Blog" via CSS content swap === / / (Text change requires JS or builder edit - will handle via JS injection) / / === Fix 3: Hide duplicate section 2 (2-column blog) on homepage === / body.home .et_pb_section_2_tb_body, body.blog .et_pb_section_2_tb_body { display: none !important; } / === Subbar text and link colors === / / "MiGFlug Blog" text — white and bold / .et_pb_row_1_tb_header .et_pb_text_0_tb_header, .et_pb_row_1_tb_header .et_pb_text_0_tb_header .et_pb_text_inner, .et_pb_row_1_tb_header .et_pb_text_0_tb_header h1, .et_pb_row_1_tb_header .et_pb_text_0_tb_header h2, .et_pb_row_1_tb_header .et_pb_text_0_tb_header h3, .et_pb_row_1_tb_header .et_pb_text_0_tb_header h4, .et_pb_row_1_tb_header .et_pb_text_0_tb_header p, .et_pb_row_1_tb_header .et_pb_text_0_tb_header div { color: #FFFFFF !important; font-weight: 700 !important; font-size: 13px !important; letter-spacing: 0.3px !important; } / Category menu links — white on dark navy / .et_pb_row_1_tb_header .et_pb_menu__menu a, .et_pb_row_1_tb_header .menu-item a, .et_pb_row_1_tb_header .et_pb_menu a { color: rgba(255, 255, 255, 0.55) !important; } .et_pb_row_1_tb_header .et_pb_menu__menu a:hover, .et_pb_row_1_tb_header .menu-item a:hover { color: #FFFFFF !important; } / Active category link — white with blue underline / .et_pb_row_1_tb_header .current-menu-item a, .et_pb_row_1_tb_header .current_page_item a { color: #FFFFFF !important; border-bottom: 2px solid #5C91FF !important; } / Fix menu module white bg in subbar / .et_pb_row_1_tb_header .et_pb_menu_1_tb_header, .et_pb_row_1_tb_header .et_pb_menu_1_tb_header .et_pb_menu__wrap, .et_pb_row_1_tb_header .et_pb_menu_1_tb_header .et-menu-nav { background-color: transparent !important; background: transparent !important; } / Also fix the search icon if present / .et_pb_row_1_tb_header .et_pb_menu__icon { color: rgba(255, 255, 255, 0.55) !important; } / ====== PROPOSAL B: Editorial Journal Section ====== / / Section 2: white bg, visible, proper max-width / body.home div.et_pb_section.et_pb_section_2_tb_body, body.blog div.et_pb_section.et_pb_section_2_tb_body { display: block !important; background-color: #FFFFFF !important; background-image: none !important; max-width: 100% !important; padding: 36px 0 0 !important; } / Row: 1080px centered, 2fr/1fr columns / body.home .et_pb_section_2_tb_body .et_pb_row, body.blog .et_pb_section_2_tb_body .et_pb_row { max-width: 1080px !important; width: 90% !important; display: flex !important; gap: 28px !important; } / Left column: 2/3 / body.home .et_pb_section_2_tb_body .et_pb_column_0_tb_body, body.blog .et_pb_section_2_tb_body .et_pb_column_0_tb_body { width: calc(66.666% - 14px) !important; flex: 0 0 calc(66.666% - 14px) !important; margin: 0 !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; } / Right column: 1/3 / body.home .et_pb_section_2_tb_body .et_pb_column_1_tb_body, body.blog .et_pb_section_2_tb_body .et_pb_column_1_tb_body { width: calc(33.333% - 14px) !important; flex: 0 0 calc(33.333% - 14px) !important; margin: 0 !important; min-width: 0 !important; } / === LEFT: First post as card (image top, text below) === / body.home .et_pb_blog_0_tb_body .et_pb_post:first-child, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child { position: relative !important; overflow: hidden !important; background: #ffffff !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child .entry-featured-image-url, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child .entry-featured-image-url { position: relative !important; display: block !important; margin: 0 !important; padding: 0 !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child .entry-featured-image-url img, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child .entry-featured-image-url img { width: 100% !important; height: auto !important; display: block !important; object-fit: cover !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child h2 a, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child h2 a { color: #1A2A44 !important; font-size: 22px !important; font-weight: 800 !important; line-height: 1.25 !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child .post-meta, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child .post-meta { color: #666666 !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child .post-meta a, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child .post-meta a { color: #5C91FF !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child .post-content, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child .post-content { display: none !important; } / Hide all but first post in left column / body.home .et_pb_blog_0_tb_body .et_pb_post:not(:first-child), body.blog .et_pb_blog_0_tb_body .et_pb_post:not(:first-child) { display: none !important; } / === RIGHT: Show only first 2 posts as cards === / body.home .et_pb_blog_1_tb_body .et_pb_post, body.blog .et_pb_blog_1_tb_body .et_pb_post { background: #fff !important; box-shadow: none !important; margin-bottom: 28px !important; overflow: hidden !important; } body.home .et_pb_blog_1_tb_body .et_pb_post .entry-featured-image-url img, body.blog .et_pb_blog_1_tb_body .et_pb_post .entry-featured-image-url img { height: 160px !important; object-fit: cover !important; width: 100% !important; } body.home .et_pb_blog_1_tb_body .et_pb_post h2 a, body.blog .et_pb_blog_1_tb_body .et_pb_post h2 a { font-size: 15px !important; font-weight: 700 !important; color: #1a2a44 !important; } body.home .et_pb_blog_1_tb_body .et_pb_post .post-meta a, body.blog .et_pb_blog_1_tb_body .et_pb_post .post-meta a { color: #5C91FF !important; } / Hide post excerpt on right cards / body.home .et_pb_blog_1_tb_body .et_pb_post .post-content, body.blog .et_pb_blog_1_tb_body .et_pb_post .post-content { display: none !important; } / Hide posts 3+ in right column / body.home .et_pb_blog_1_tb_body .et_pb_post:nth-child(n+3), body.blog .et_pb_blog_1_tb_body .et_pb_post:nth-child(n+3) { display: none !important; } / === Divider between journal and grid === / body.home .et_pb_section_3_tb_body, body.blog .et_pb_section_3_tb_body { border-top: 1px solid #ddd !important; } / Hide pagination in journal section / body.home .et_pb_section_2_tb_body .et_pb_blog_0_tb_body > div > .pagination, body.home .et_pb_section_2_tb_body .et_pb_blog_1_tb_body > div > .pagination, body.home .et_pb_section_2_tb_body .wp-pagenavi, body.home .et_pb_section_2_tb_body .pagination, body.blog .et_pb_section_2_tb_body .et_pb_blog_0_tb_body > div > .pagination, body.blog .et_pb_section_2_tb_body .et_pb_blog_1_tb_body > div > .pagination, body.blog .et_pb_section_2_tb_body .wp-pagenavi, body.blog .et_pb_section_2_tb_body .pagination { display: none !important; } / Also hide any "Older Entries" links / body.home .et_pb_section_2_tb_body .et_pb_posts_nav, body.blog .et_pb_section_2_tb_body .et_pb_posts_nav, / === Fix: No ALL CAPS on date and category === / body.home .et_pb_blog_0_tb_body .post-meta, body.blog .et_pb_blog_0_tb_body .post-meta, body.home .et_pb_blog_1_tb_body .post-meta, body.blog .et_pb_blog_1_tb_body .post-meta, body.home .et_pb_blog_2_tb_body .post-meta, body.blog .et_pb_blog_2_tb_body .post-meta, body.home .et_pb_blog_0_tb_body .post-meta a, body.blog .et_pb_blog_0_tb_body .post-meta a, body.home .et_pb_blog_1_tb_body .post-meta a, body.blog .et_pb_blog_1_tb_body .post-meta a, body.home .et_pb_blog_2_tb_body .post-meta a, body.blog .et_pb_blog_2_tb_body .post-meta a { text-transform: none !important; } / === Fix: Right column fills height, cards distribute evenly === / body.home .et_pb_section_2_tb_body .et_pb_column_1_tb_body, body.blog .et_pb_section_2_tb_body .et_pb_column_1_tb_body { display: flex !important; flex-direction: column !important; } body.home .et_pb_blog_1_tb_body, body.blog .et_pb_blog_1_tb_body { flex: 1 !important; display: flex !important; flex-direction: column !important; } body.home .et_pb_blog_1_tb_body .et_pb_post, body.blog .et_pb_blog_1_tb_body .et_pb_post { flex: 1 !important; display: flex !important; flex-direction: column !important; } body.home .et_pb_blog_1_tb_body .et_pb_post .entry-featured-image-url img, body.blog .et_pb_blog_1_tb_body .et_pb_post .entry-featured-image-url img { flex: 1 !important; min-height: 0 !important; } body.home .et_pb_blog_1_tb_body .et_pb_post:last-visible-child, body.blog .et_pb_blog_1_tb_body .et_pb_post:nth-child(2) { margin-bottom: 0 !important; } / === Fix: Left column blog module fills height === / body.home .et_pb_section_2_tb_body .et_pb_column_0_tb_body .et_pb_blog_0_tb_body, body.blog .et_pb_section_2_tb_body .et_pb_column_0_tb_body .et_pb_blog_0_tb_body { flex: 1 !important; display: flex !important; flex-direction: column !important; } body.home .et_pb_blog_0_tb_body .et_pb_post:first-child, body.blog .et_pb_blog_0_tb_body .et_pb_post:first-child { flex: 1 !important; } / === Fix: Pagination container must also flex to fill height === / body.home .et_pb_blog_0_tb_body .et_pb_ajax_pagination_container, body.blog .et_pb_blog_0_tb_body .et_pb_ajax_pagination_container { display: flex !important; flex-direction: column !important; flex: 1 !important; } body.home .et_pb_blog_1_tb_body .et_pb_ajax_pagination_container, body.blog .et_pb_blog_1_tb_body .et_pb_ajax_pagination_container { display: flex !important; flex-direction: column !important; flex: 1 !important; } / === Fix: Remove bottom mar
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。