Jump to content

Template:Key Facts Box: Difference between revisions

From WikiMesothelioma — Mesothelioma Knowledge Base
Created Key Facts Box template for shipyard pages
 
Fixed dark mode contrast - added explicit text color
 
Line 29: Line 29:
! style="background:#1a5276; color:white; padding:12px; text-align:left; font-size:1.1em;" | Key Facts
! style="background:#1a5276; color:white; padding:12px; text-align:left; font-size:1.1em;" | Key Facts
|-
|-
| style="padding:15px; background:#f8f9fa;" |
| style="padding:15px; background:#f8f9fa; color:#202122;" |
<ul style="margin:0; padding-left:20px; line-height:1.8;">
<ul style="margin:0; padding-left:20px; line-height:1.8; color:#202122;">
{{#if:{{{fact1|}}}|<li style="margin-bottom:8px;">{{{fact1}}}</li>}}
{{#if:{{{fact1|}}}|<li style="margin-bottom:8px;">{{{fact1}}}</li>}}
{{#if:{{{fact2|}}}|<li style="margin-bottom:8px;">{{{fact2}}}</li>}}
{{#if:{{{fact2|}}}|<li style="margin-bottom:8px;">{{{fact2}}}</li>}}

Latest revision as of 01:00, 29 January 2026