Template:MapLightbox: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><a class="open-map-lightbox">📍 View map</a>
<includeonly>
{{#tag:html|
<a href="#" class="open-map-lightbox">📍 View map</a>
<div id="map-lightbox" style="display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.75); z-index:10000;">
<div id="map-lightbox" style="display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.75); z-index:10000;">
   <div style="position:relative; width:90%; max-width:1000px; height:80%; margin:5% auto; background:#000;">
   <div style="position:relative; width:90%; max-width:1000px; height:80%; margin:5% auto; background:#000;">
Line 5: Line 7:
     <button id="close-map-lightbox" style="position:absolute; top:10px; right:10px; background:#fff; border:none; padding:5px 10px; font-weight:bold;">✕</button>
     <button id="close-map-lightbox" style="position:absolute; top:10px; right:10px; background:#fff; border:none; padding:5px 10px; font-weight:bold;">✕</button>
   </div>
   </div>
</div></includeonly>
</div>
}}
</includeonly>

Revision as of 20:07, 11 June 2025