Template:Marker: Difference between revisions
From The Fifth City Wiki
align text to the left, give more padding. |
Use FL-style map markers, hopefully |
||
Line 4: | Line 4: | ||
left: {{{x}}}%; | left: {{{x}}}%; | ||
top: {{{y}}}%; | top: {{{y}}}%; | ||
width: fit-content; | width: fit-content; | ||
" | " | ||
class = "hastooltip" | class = "hastooltip" | ||
><!-- | ><!-- | ||
--><div style = " | --><div style = "justify-content: center;"><!-- | ||
-->[[File:Border-fanciness-top.png]]<!-- | |||
--><div style = " | |||
background-color: rgb(111, 133, 134); | |||
border: 1px solid #fff; | |||
border-radius: 4px; | |||
box-shadow: 0px 0px 5px 0px rgb(111, 133, 134); | |||
">{{{name|Unnamed Marker}}}</div><!-- | |||
-->[[File:Border-fanciness-bottom.png]]<!-- | |||
--></div><!-- | |||
--><div class = "tooltip" style = "width: 30vw; transform: translateX(-15vw); transform: translateX(calc({{{width}}}/2)px); text-align: left; padding: 10px;"> | --><div class = "tooltip" style = "width: 30vw; transform: translateX(-15vw); transform: translateX(calc({{{width}}}/2)px); text-align: left; padding: 10px;"> |