- Merged overview h2 into lead paragraphs - Converted timeline tables to chronological narrative h3 with date ranges - Added task achievements section to all unmanned mission pages - Unified infobox format with label/data columns Co-Authored-By: Claude <noreply@anthropic.com>
42 lines
5.4 KiB
HTML
42 lines
5.4 KiB
HTML
<style>
|
||
.wiki-article { max-width: 1180px; margin: 0 auto; padding: 24px 32px 48px; color: #202122; background: #fff; font-family: sans-serif; font-size: 14px; line-height: 1.65; }
|
||
.wiki-article h1 { font-family: "Linux Libertine", Georgia, serif; font-weight: normal; border-bottom: 1px solid #a2a9b1; margin: 0 0 8px; font-size: 2.15em; }
|
||
.wiki-article p { margin: 0.45em 0 0.85em; }
|
||
.wiki-article a { color: #0645ad; text-decoration: none; }
|
||
.wiki-article a:hover { text-decoration: underline; }
|
||
.wiki-article .image-placeholder { min-height: 150px; border: 1px dashed #72777d; background: #eaecf0; color: #54595d; display: flex; align-items: center; justify-content: center; padding: 40px 16px; text-align: center; box-sizing: border-box; font-size: 0.92em; }
|
||
@media (max-width: 820px) { .wiki-article { padding: 18px 16px 36px; } }
|
||
|
||
.wiki-article img[data-wiki-asset] { cursor: zoom-in; }
|
||
.wiki-image-lightbox { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(32,33,34,0.84); z-index: 10000; box-sizing: border-box; }
|
||
.wiki-image-lightbox[hidden] { display: none; }
|
||
.wiki-image-lightbox-panel { position: relative; width: min(1120px, 96vw); max-height: 92vh; overflow: auto; margin: 0; padding: 10px; border: 1px solid #a2a9b1; background: #fff; box-shadow: 0 12px 38px rgba(0,0,0,0.35); box-sizing: border-box; }
|
||
.wiki-image-lightbox-panel img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; background: #000; }
|
||
.wiki-image-lightbox-close { position: sticky; top: 0; float: right; width: 30px; height: 30px; margin: -2px -2px 8px 10px; border: 1px solid #a2a9b1; background: #eaecf0; color: #202122; font-weight: bold; line-height: 26px; cursor: pointer; }
|
||
.wiki-image-lightbox-close:hover, .wiki-image-lightbox-close:focus { background: #fff; }
|
||
body.wiki-image-lightbox-open { overflow: hidden; }
|
||
@media (max-width: 820px) { .wiki-image-lightbox { padding: 12px; } .wiki-image-lightbox-panel { width: 98vw; max-height: 94vh; } }
|
||
</style>
|
||
|
||
<article class="mw-parser-output wiki-article">
|
||
|
||
<h1 id="top">金蟾部署任务-02 任务图集</h1>
|
||
<p style="margin-bottom:1.5em;"><a href="/home/mission/Guanghan_Program/JC-02">← 返回任务页</a></p>
|
||
<p style="margin-bottom:1.5em;"><b>任务图集导航</b>:<a href="/home/mission/Guanghan_Program/JC-01/Gallery">← JC-01 图集</a></p>
|
||
|
||
<p>JC-02 的影像素材待补充。</p>
|
||
<div class="image-placeholder">JC-02 任务影像待补充</div>
|
||
|
||
<p style="margin-top:1.5em;"><b>任务图集导航</b>:<a href="/home/mission/Guanghan_Program/JC-01/Gallery">← JC-01 图集</a></p>
|
||
<p style="margin-top:1.5em;"><a href="/home/mission/Guanghan_Program/JC-02">← 返回任务页</a></p>
|
||
</article>
|
||
<script>
|
||
(function () {
|
||
function ready(fn) { if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', fn, { once: true }); } else { fn(); } }
|
||
function captionFor(image) { var container = image.closest('figure, td, tr, .infobox-image, .gallery-item'); if (!container) { return image.alt || ''; } var caption = container.querySelector('.thumbcaption'); return caption ? caption.textContent.trim() : (image.alt || ''); }
|
||
function install(article) { if (!article || article.dataset.lightboxReady === '1') { return; } article.dataset.lightboxReady = '1'; var overlay = document.createElement('div'); overlay.className = 'wiki-image-lightbox'; overlay.hidden = true; overlay.innerHTML = '<figure class="wiki-image-lightbox-panel" role="dialog" aria-modal="true"><button class="wiki-image-lightbox-close" type="button">x</button><img alt=""><figcaption class="thumbcaption"></figcaption></figure>'; document.body.appendChild(overlay); var pi = overlay.querySelector('img'); var pc = overlay.querySelector('figcaption'); var cb = overlay.querySelector('.wiki-image-lightbox-close'); function cp() { overlay.hidden = true; pi.removeAttribute('src'); pc.textContent = ''; document.body.classList.remove('wiki-image-lightbox-open'); } function op(image, event) { event.preventDefault(); event.stopPropagation(); if (event.stopImmediatePropagation) { event.stopImmediatePropagation(); } pi.src = image.currentSrc || image.src; pi.alt = image.alt || ''; pc.textContent = captionFor(image); overlay.hidden = false; document.body.classList.add('wiki-image-lightbox-open'); cb.focus(); } article.querySelectorAll('img[data-wiki-asset]').forEach(function (image) { if (image.dataset.lightboxBound === '1') { return; } image.dataset.lightboxBound = '1'; image.addEventListener('click', function (event) { op(image, event); }, true); }); article.addEventListener('click', function (event) { var image = event.target.closest && event.target.closest('img[data-wiki-asset]'); if (!image || !article.contains(image) || image.closest('.wiki-image-lightbox')) { return; } op(image, event); }); cb.addEventListener('click', cp); overlay.addEventListener('click', function (event) { if (event.target === overlay) { cp(); } }); document.addEventListener('keydown', function (event) { if (event.key === 'Escape' && !overlay.hidden) { cp(); } }); }
|
||
function installAll() { document.querySelectorAll('.wiki-article, .vulture-article').forEach(install); }
|
||
ready(function () { installAll(); if (window.MutationObserver) { var observer = new MutationObserver(installAll); observer.observe(document.body, { childList: true, subtree: true }); } window.setTimeout(installAll, 500); window.setTimeout(installAll, 1500); window.setTimeout(installAll, 3000); });
|
||
}());
|
||
</script>
|