Template:Marker: Difference between revisions
From The Fifth City Wiki
m ... but do it right this time. also add text shadow |
m Add scale parameter to rescale marker |
||
Line 5: | Line 5: | ||
top: {{{y}}}%; | top: {{{y}}}%; | ||
width: fit-content; | width: fit-content; | ||
transform: scale({{{scale|1}}}); | |||
" | " | ||
class = "hastooltip" | class = "hastooltip" | ||
Line 22: | Line 23: | ||
text-shadow: 0 0 4px #000; | text-shadow: 0 0 4px #000; | ||
background-color: rgb(111, 133, 134); | background-color: rgb(111, 133, 134); | ||
padding: 4px; | padding: 4px 6px; | ||
border: 1px solid #fff; | border: 1px solid #fff; | ||
border-radius: 4px; | border-radius: 4px; | ||
Line 36: | Line 37: | ||
">[[File:Border-fanciness-bottom.png]]</div><!-- | ">[[File:Border-fanciness-bottom.png]]</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div class = "tooltip" style = "width: 30vw; transform: translateX(-15vw | --><div class = "tooltip" style = "width: 30vw; transform: translateX(-15vw); text-align: left; padding: 10px;"> |