Template:Marker: Difference between revisions
From The Fifth City Wiki
m Hopefully this'll not stretch out the markers infinitely large this time |
m New approach! |
||
Line 72: | Line 72: | ||
Tooltip | Tooltip | ||
-->{{#if | --><div class = "tooltip" style = " | ||
width: | {{#if:{{{notooltip|}}}|display: none;}} | ||
width: 25vw; /* Width of tooltip */ | |||
transform: | transform: | ||
translateX(- | translateX(-10vw) | ||
scale({{#expr:1/{{{scale|0.75}}}}}) /* Undo scaling applied by marker to tooltip */ | scale({{#expr:1/{{{scale|0.75}}}}}) /* Undo scaling applied by marker to tooltip */ | ||
; | ; | ||
Line 83: | Line 82: | ||
text-align: left; | text-align: left; | ||
padding: 10px; | padding: 10px; | ||
"> | "> |
Revision as of 09:01, 25 June 2025

Unnamed Marker
