fix(wiki): refine GHC-05 infobox spacing

Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
2026-07-15 16:19:46 +08:00
co-authored by OpenAI Codex
parent e9b54723ec
commit 91d4ddd643
4 changed files with 9 additions and 9 deletions
+9 -9
View File
@@ -10,14 +10,14 @@ body:has(.wiki-article) .page-header-section { display: none !important; }
.wiki-article a:hover { text-decoration: underline; } .wiki-article a:hover { text-decoration: underline; }
.wiki-article ul, .wiki-article ol { margin: 0.4em 0 1em 1.65em; padding: 0; } .wiki-article ul, .wiki-article ol { margin: 0.4em 0 1em 1.65em; padding: 0; }
.wiki-article li { margin-bottom: 0.25em; } .wiki-article li { margin-bottom: 0.25em; }
.wiki-article .infobox { float: right; clear: right; width: 320px; margin: 0 0 16px 28px; border: 1px solid #a2a9b1; border-collapse: collapse; background: #f8f9fa; font-size: 85%; line-height: 1.45; } .wiki-article table.infobox { float: right; clear: right; width: 360px; margin: 0 0 24px 48px !important; border: 1px solid #a2a9b1 !important; border-collapse: separate !important; border-spacing: 0 !important; table-layout: fixed; background: #f8f9fa; font-size: 84%; line-height: 1.45; }
.wiki-article .infobox caption { padding: 7px 8px; background: #eaecf0; border: 1px solid #a2a9b1; border-bottom: 0; font-weight: bold; font-size: 1.15em; } .wiki-article .infobox caption { padding: 9px 12px; background: #eaecf0; border: 1px solid #a2a9b1; border-bottom: 0; font-weight: bold; font-size: 1.15em; line-height: 1.35; }
.wiki-article .infobox caption span { display: block; margin-top: 2px; font-size: 0.88em; font-weight: normal; } .wiki-article .infobox caption span { display: block; margin-top: 3px; color: #54595d; font-size: 0.86em; font-weight: normal; }
.wiki-article .infobox th, .wiki-article .infobox td { padding: 4px 7px; border: 0; vertical-align: top; } .wiki-article .infobox th, .wiki-article .infobox td { border: 0 !important; box-shadow: none !important; vertical-align: top; }
.wiki-article .infobox-label { width: 34%; text-align: left; white-space: nowrap; } .wiki-article table.infobox th.infobox-label { width: 31%; padding: 7px 5px 7px 11px !important; background: #f8f9fa !important; box-shadow: inset 0 1px 0 #eaecf0 !important; color: #54595d; text-align: left; font-weight: 600; white-space: nowrap; }
.wiki-article .infobox-data { width: 66%; } .wiki-article table.infobox td.infobox-data { width: 69%; padding: 7px 11px 7px 7px !important; background: #f8f9fa !important; box-shadow: inset 0 1px 0 #eaecf0 !important; color: #202122; }
.wiki-article .infobox-section th { padding: 4px 7px; background: #eaecf0; text-align: center; font-weight: bold; } .wiki-article .infobox-section th { padding: 6px 9px !important; border-top: 1px solid #a2a9b1 !important; border-bottom: 1px solid #a2a9b1 !important; background: #eaecf0 !important; color: #202122; text-align: center; font-weight: bold; }
.wiki-article .infobox-image { padding: 7px 8px 3px !important; text-align: center; } .wiki-article .infobox-image { padding: 8px 10px 5px !important; border: 0 !important; background: #f8f9fa !important; text-align: center; }
.wiki-article .infobox-image img { display: block; width: 100%; height: auto; cursor: pointer; } .wiki-article .infobox-image img { display: block; width: 100%; height: auto; cursor: pointer; }
.wiki-article .thumbcaption { padding: 4px 3px 2px; color: #202122; font-size: 0.88em; line-height: 1.4; text-align: left; } .wiki-article .thumbcaption { padding: 4px 3px 2px; color: #202122; font-size: 0.88em; line-height: 1.4; text-align: left; }
.wiki-article .infobox .thumbcaption { padding: 4px 0 2px; text-align: center; } .wiki-article .infobox .thumbcaption { padding: 4px 0 2px; text-align: center; }
@@ -47,7 +47,7 @@ body:has(.wiki-article) .page-header-section { display: none !important; }
@media (max-width: 600px) { @media (max-width: 600px) {
.wiki-article { padding: 18px 14px 36px; font-size: 14px; } .wiki-article { padding: 18px 14px 36px; font-size: 14px; }
.wiki-article h1 { font-size: 1.8em; } .wiki-article h1 { font-size: 1.8em; }
.wiki-article .infobox { float: none; width: 100%; margin: 0.75em 0 1em; } .wiki-article table.infobox { float: none; width: 100%; margin: 0.75em 0 1em !important; }
.wiki-article .wikitable { display: block; overflow-x: auto; white-space: nowrap; } .wiki-article .wikitable { display: block; overflow-x: auto; white-space: nowrap; }
.wiki-article .topology-embed-frame { width: 300%; height: 1600px; margin-bottom: -1066.67px; transform: scale(0.333333); transform-origin: top left; } .wiki-article .topology-embed-frame { width: 300%; height: 1600px; margin-bottom: -1066.67px; transform: scale(0.333333); transform-origin: top left; }
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB